<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thank you for answering,<br>
<br>
I am trying to list only the default vt tests, contained on those
three test providers. My test-providers.d directory looks exactly as
yours.<br>
When I run "scripts/avocado vt-bootstrap --vt-type qemu" it is
downloading the tests. I can check that by looking at the downloads
directory created by avocado:<br>
<br>
# ll ~/avocado/data/avocado-vt/test-providers.d/downloads/<br>
total 12<br>
drwxrwxr-x. 8 olavph olavph 4096 Set 15 15:44
io-github-autotest-libvirt<br>
drwxrwxr-x. 8 olavph olavph 4096 Set 15 15:45
io-github-autotest-qemu<br>
drwxrwxr-x. 4 olavph olavph 4096 Set 15 15:45
io-github-spiceqa-spice<br>
<br>
For example,
"~/avocado/data/avocado-vt/test-providers.d/downloads/io-github-autotest-qemu/generic/tests/"
contains the tests .py files.<br>
I thought that was enough for the tests to show up when running the
command "scripts/avocado list --verbose" or "scripts/avocado list
--verbose --vt-type qemu."<br>
<br>
<br>
Regards,<br>
<br>
Olav Philipp Henschel<br>
Linux Technology Center, IBM Brazil<br>
<br>
<div class="moz-cite-prefix">On 15-09-2015 22:23, Wei, Jiangang
wrote:<br>
</div>
<blockquote cite="mid:1442366620.1776.2.camel@localhost" type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="GENERATOR" content="GtkHTML/4.6.6">
Hi,<br>
<br>
I guess you didn't configure test provider.<br>
<br>
[<a moz-do-not-send="true" href="mailto:root@localhost">root@localhost</a>
avocado-vt]# ll test-providers.d<br>
total 16<br>
-rw-r--r-- 1 root root 157 Sep 16 09:15
io-github-autotest-libvirt.ini<br>
-rw-r--r-- 1 root root 137 Sep 16 09:15
io-github-autotest-qemu.ini<br>
-rw-r--r-- 1 root root 211 Sep 16 09:15
io-github-spiceqa-spice.ini<br>
-rw-r--r-- 1 root root 918 Sep 11 12:12 README<br>
<br>
Regards,<br>
wei<br>
On Tue, 2015-09-15 at 16:34 -0300, Olav Philipp Henschel wrote:
<blockquote type="CITE">
<pre>Hi,
I am trying to get avocado-vt to work so that I can my tests from virt-test.
I have followed the instructions in both avocado and avocado-vt getting
started guides to run it from a git repository and avocado is correctly
detecting the vt plugin, as you can see below:
Plugins enabled:
config Implements the avocado 'config' subcommand
distro Implements the avocado 'distro' subcommand
exec_path Implements the avocado 'exec-path' subcommand
gdb Run tests with GDB goodies enabled
htmlresult HTML job report
inner_runner Allows the use of an intermediary inner test runner
json JSON output
journal Test journal
multiplexer Implements the avocado 'multiplex' subcommand
plugins_list Implements the avocado 'plugins' subcommand
run_remote Run tests on a remote machine
run_vm Run tests on a Virtual Machine
sysinfo Collect system information
test_lister Implements the avocado 'list' subcommand
test_runner Implements the avocado 'run' subcommand
vt_bootstrap Avocado VT - implements the 'vt-bootstrap' subcommand
vt Avocado VT - legacy virt-test support
vt_lister Avocado VT - implements legacy virt-test listing
wrapper Implements the '--wrapper' flag for the 'run' subcommand
xunit xUnit output
However, it is not listing any of the vt tests when I run the command
"scripts/avocado list --verbose":
...
ACCESS_DENIED: 0
BROKEN_SYMLINK: 0
BUGGY: 0
FILTERED: 0
INSTRUMENTED: 53
MISSING: 0
NOT_A_TEST: 27
SIMPLE: 3
VT: 0
I am executing this in a freshly installed Fedora 22 vm on a ppc64
architecture.
The exact list of commands I have executed is as follows:
# avocado
sudo dnf install -y git gcc python-devel python-pip libvirt-devel
libyaml-devel
git clone <a moz-do-not-send="true" href="https://github.com/avocado-framework/avocado.git">https://github.com/avocado-framework/avocado.git</a>
cd avocado
sudo pip install -r requirements.txt
cd ..
# avocado-vt
sudo dnf install -y tcpdump nmap-ncat p7zip virt-install python-sphinx
qemu-kvm qemu-kvm-tools qemu-img fakeroot
git clone <a moz-do-not-send="true" href="https://github.com/avocado-framework/avocado-vt.git">https://github.com/avocado-framework/avocado-vt.git</a>
cd avocado-vt
sudo pip install -r requirements.txt
make link
cd ../avocado
scripts/avocado vt-bootstrap --vt-type qemu
Am I missing something?
Thanks in advance,
Olav Philipp Henschel
Linux Technology Center, IBM Brazil
_______________________________________________
Avocado-devel mailing list
<a moz-do-not-send="true" href="mailto:Avocado-devel@redhat.com">Avocado-devel@redhat.com</a>
<a moz-do-not-send="true" href="https://www.redhat.com/mailman/listinfo/avocado-devel">https://www.redhat.com/mailman/listinfo/avocado-devel</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>