[Avocado-devel] leave VMs running question

Andrei Stepanov astepano at redhat.com
Thu Feb 4 12:49:42 UTC 2016


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20160204/7ca28c69/attachment.htm>


More information about the Avocado-devel mailing list