Copying virt-test-devel, if people have this problem.
On 05/01/2014 11:38 AM, Swapna Krishnan wrote:
Hi,
I just tried to run some tests using virt-test and downloaded the repo and
tried to setup and got the error message below.
spawn ./run -t qemu --bootstrap --update-providers
Traceback (most recent call last):
File "./run", line 13, in <module>
import virttest.defaults
File "/home/autotest/client/tests/virt/virttest/defaults.py", line 1, in
<module>
from autotest.client.shared import distro
ImportError: No module named autotest.client.shared
I looked at the git log and found this.
commit a064851ca925013e567404742447d77073d11553
Author: Lucas Meneghel Rodrigues <[email protected]>
Date: Tue Apr 29 23:19:05 2014 -0300
virttest.defaults: Use autotest new distro API
Now that we have autotest 0.16 in EPEL, we can safely
use autotest.client.shared.distro. This means no more
horrible hacks have to be used to determine the appropriate
guest OS to use.
Signed-off-by: Lucas Meneghel Rodrigues <[email protected]>
Not sure how I need to use virt-test now.
You need to use an autotest version > 0.16.
In [2]: from autotest.client.shared import distro
In [3]: distro.detect()
Out[3]: <LinuxDistro: name=fedora, version=20, release=0, arch=x86_64>
If you are using EPEL, you must update and make sure the autotest
version used is > 0.16.
yum update autotest
Or similar.
Thanks,
- Swapna
_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel