<div dir="ltr">We have a bug opened in which avocado will not display failures at test discovery time when the paginator is enabled:<div><br></div><div><a href="https://trello.com/c/WOPxkrZ8/450-bug-the-paginator-is-hiding-warnings-errors">https://trello.com/c/WOPxkrZ8/450-bug-the-paginator-is-hiding-warnings-errors</a><br></div><div><br></div><div>There's an easy way to see which problem is happening by redirecting both stdout and stderr of the `avocado list` command into a file. Do that, open the file, and you're likely to see an error. Paste the error back here and we'll see what we can do for you.</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Sep 16, 2015 at 11:57 AM Olav Philipp Henschel <<a href="mailto:olavph@linux.vnet.ibm.com">olavph@linux.vnet.ibm.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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,</div><div bgcolor="#FFFFFF" text="#000000"><br>
<br>
Olav Philipp Henschel<br>
Linux Technology Center, IBM Brazil<br>
<br>
</div><div bgcolor="#FFFFFF" text="#000000"><div>On 15-09-2015 22:23, Wei, Jiangang
wrote:<br>
</div>
<blockquote type="cite">
Hi,<br>
<br>
I guess you didn't configure test provider.<br>
<br>
[<a href="mailto:root@localhost" target="_blank">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 href="https://github.com/avocado-framework/avocado.git" target="_blank">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 href="https://github.com/avocado-framework/avocado-vt.git" target="_blank">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 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>
</blockquote>
<br>
</div>
_______________________________________________<br>
Avocado-devel mailing list<br>
<a href="mailto:Avocado-devel@redhat.com" target="_blank">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>
</blockquote></div>