<div dir="ltr"><div>I am sorry, I am talking about one test. I have a test that fails. I want to debug it as it is finish.<br>I have next keys:<br>14:40:32 test             L0212 DEBUG|     kill_unresponsive_vms = yes<br>14:40:32 test             L0212 DEBUG|     kill_vm = no<br>14:40:32 test             L0212 DEBUG|     kill_vm_before_test = no<br>14:40:32 test             L0212 DEBUG|     kill_vm_gracefully = yes<br>14:40:32 test             L0212 DEBUG|     kill_vm_on_error = no<br><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 4, 2016 at 2:09 PM, Olav Philipp Henschel <span dir="ltr"><<a href="mailto:olavph@linux.vnet.ibm.com" target="_blank">olavph@linux.vnet.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div 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<div><div class="h5"><br>
    <br>
    <div>On 04-02-2016 10:49, Andrei Stepanov
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <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 href="https://github.com/avocado-framework/avocado-vt/blob/master/examples/tests/template.py#L2" target="_blank">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># $ 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></fieldset>
      <br>
      </div></div><pre>_______________________________________________
Avocado-devel mailing list
<a href="mailto:Avocado-devel@redhat.com" target="_blank">Avocado-devel@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/avocado-devel" target="_blank">https://www.redhat.com/mailman/listinfo/avocado-devel</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Avocado-devel mailing list<br>
<a href="mailto:Avocado-devel@redhat.com">Avocado-devel@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/avocado-devel" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/avocado-devel</a><br>
<br></blockquote></div><br></div>