<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
Regarding the first question:<br>
In the repo avocado-vt, file etc/avocado/conf.d/pkvm.conf:<br>
# Keep guest running between tests (faster, but unsafe)<br>
keep_guest_running = False<br>
<br>
This makes the VM shutdown between every test. Set to True to keep
it running.<br>
Also make sure your tests .cfg files don't have kill_vm_before_test
or kill_vm set to "yes" (default is "no"). You could use those
parameters to shutdown after a specific test.<br>
<br>
<br>
Regards,<br>
Olav P. Henschel<br>
<br>
<div class="moz-cite-prefix">On 04-02-2016 10:49, Andrei Stepanov
wrote:<br>
</div>
<blockquote
cite="mid:CAJP9L-1F4OxaH4Y3VFb1tK0JQ4_=xn0=azoBHoL+YmxYVa9reg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hello.<br>
<br>
</div>
<div>I want somehow specify that avocado-vt test should keep
running no matter what test's result is. Is it possible?<br>
</div>
<div><br>
</div>
<div>Currently, _any_ uncaught exception is a result to
immediately shutdown VMs.<br>
<br>
</div>
<div>I want specify:<br>
<br>
1) in some_test.py that it is FAIL<br>
</div>
<div>2) provide cartesian key that VM's should keep running. <br>
</div>
<div><br>
</div>
<div>Using: --vt-extra-params 'kill_vm_timeout = 30000' 'kill_vm
= no' doesn't help me.<br>
<br>
<br>
</div>
<div>Another question.<br>
<br>
<br>
I want run examples from: <a moz-do-not-send="true"
href="https://github.com/avocado-framework/avocado-vt/blob/master/examples/tests/template.py#L2">https://github.com/avocado-framework/avocado-vt/blob/master/examples/tests/template.py#L2</a><br>
<br>
</div>
<div>The comment suggests:<br>
<br>
# Put this file into $test_provider/tests directory and use<br>
<span class=""># $ avocado run template --vt-type qemu to
execute it.</span><br>
</div>
<div><br>
</div>
<div>I tried to copy this files (avocado-vt/examples/tests/*.py)
to:<br>
<br>
avocado-data/avocado-vt/backends/qemu/tests/<br>
or<br>
avocado-data/avocado-vt/test-providers.d/downloads/io-github-autotest-qemu/provider/<br>
or<br>
avocado-data/avocado-vt/test-providers.d/downloads/io-github-autotest-qemu/qemu/tests<br>
<br>
</div>
<div>Result is always the same:<br>
Unable to discover url(s) 'template' with loader plugins(s)
'file', 'vt', 'external', try running 'avocado list -V
template' to see the details.<br>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Avocado-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Avocado-devel@redhat.com">Avocado-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/avocado-devel">https://www.redhat.com/mailman/listinfo/avocado-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>