I am sorry, I am talking about one test. I have a test that fails. I want to debug it as it is finish. I have next keys: 14:40:32 test L0212 DEBUG| kill_unresponsive_vms = yes 14:40:32 test L0212 DEBUG| kill_vm = no 14:40:32 test L0212 DEBUG| kill_vm_before_test = no 14:40:32 test L0212 DEBUG| kill_vm_gracefully = yes 14:40:32 test L0212 DEBUG| kill_vm_on_error = no
On Thu, Feb 4, 2016 at 2:09 PM, Olav Philipp Henschel < ola...@linux.vnet.ibm.com> wrote: > Hi, > > Regarding the first question: > In the repo avocado-vt, file etc/avocado/conf.d/pkvm.conf: > # Keep guest running between tests (faster, but unsafe) > keep_guest_running = False > > This makes the VM shutdown between every test. Set to True to keep it > running. > 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. > > > Regards, > Olav P. Henschel > > > On 04-02-2016 10:49, Andrei Stepanov wrote: > > Hello. > > I want somehow specify that avocado-vt test should keep running no matter > what test's result is. Is it possible? > > Currently, _any_ uncaught exception is a result to immediately shutdown > VMs. > > I want specify: > > 1) in some_test.py that it is FAIL > 2) provide cartesian key that VM's should keep running. > > Using: --vt-extra-params 'kill_vm_timeout = 30000' 'kill_vm = no' doesn't > help me. > > > Another question. > > > I want run examples from: > https://github.com/avocado-framework/avocado-vt/blob/master/examples/tests/template.py#L2 > > The comment suggests: > > # Put this file into $test_provider/tests directory and use > # $ avocado run template --vt-type qemu to execute it. > > I tried to copy this files (avocado-vt/examples/tests/*.py) to: > > avocado-data/avocado-vt/backends/qemu/tests/ > or > > avocado-data/avocado-vt/test-providers.d/downloads/io-github-autotest-qemu/provider/ > or > > avocado-data/avocado-vt/test-providers.d/downloads/io-github-autotest-qemu/qemu/tests > > Result is always the same: > Unable to discover url(s) 'template' with loader plugins(s) 'file', 'vt', > 'external', try running 'avocado list -V template' to see the details. > > > > _______________________________________________ > Avocado-devel mailing > listAvocado-devel@redhat.comhttps://www.redhat.com/mailman/listinfo/avocado-devel > > > > _______________________________________________ > Avocado-devel mailing list > Avocado-devel@redhat.com > https://www.redhat.com/mailman/listinfo/avocado-devel > >
_______________________________________________ Avocado-devel mailing list Avocado-devel@redhat.com https://www.redhat.com/mailman/listinfo/avocado-devel