[Avocado-devel] [Virt-test-devel] [ANNOUNCEMENT] avocado-vt and virt-test merged

Lucas Meneghel Rodrigues lmr at redhat.com
Tue Aug 4 13:42:26 UTC 2015



On Tue, Aug 4, 2015 at 5:32 AM, Suqin Huang <shuang at redhat.com> wrote:
> Hi Lucas,
> 
> Failed to load virt_test module.
> 
> # avocado run /bin/true
> Error loading avocado.core.plugins.virt_test_list -> ImportError No 
> module named virttest.standalone_test
> Error loading avocado.core.plugins.virt_test -> ImportError No module 
> named autotest.client
> JOB ID     : c857e8d1e54bbd34a0c37f439444ef801d7a0c7d
> JOB LOG    : 
> /root/avocado/job-results/job-2015-08-04T16.29-c857e8d/job.log
> JOB HTML   : 
> /root/avocado/job-results/job-2015-08-04T16.29-c857e8d/html/results.html
> TESTS      : 1
> (1/1) /bin/true: PASS (0.00 s)
> RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0
> TIME       : 0.00 s
> 
> 
> # avocado plugins
> 
> Unloadable plugin modules:
>     avocado.core.plugins.virt_test       ImportError No module named 
> autotest.client
>     avocado.core.plugins.virt_test_list  ImportError No module named 
> virttest.standalone_test

I was looking at your error and wondering what was wrong. My first 
guess was an old version of the rpms. And, turns out I was right...

I've just found out that, for some reason, COPR still installs the 
0.26.0 rpms instead of the 0.27.0 rpms I've sent recently. I'm not sure 
why, all 0.27.0 rpms were built successfully:

https://copr.fedoraproject.org/coprs/lmr/Autotest/build/107034/
https://copr.fedoraproject.org/coprs/lmr/Autotest/build/107031/

I'll have to see what needs to be done here, but that's the reason why 
you're getting this issue. You could install the built rpms manually 
for now. For example, on my box (Fedora 22 x86_64), the rpms are in:

https://copr-be.cloud.fedoraproject.org/results/lmr/Autotest/fedora-22-x86_64/avocado-0.27.0-2.fc22/avocado-0.27.0-2.fc22.noarch.rpm

https://copr-be.cloud.fedoraproject.org/results/lmr/Autotest/fedora-22-x86_64/avocado-0.27.0-2.fc22/avocado-plugins-output-html-0.27.0-2.fc22.noarch.rpm

https://copr-be.cloud.fedoraproject.org/results/lmr/Autotest/fedora-22-x86_64/avocado-plugins-vt-0.27.0-1.fc22/avocado-plugins-vt-0.27.0-1.fc22.noarch.rpm

Thanks for the report and I'll let you know as soon as I find out 
what's going on with COPR.

Lucas






More information about the Avocado-devel mailing list