[Avocado-devel] Getting started with avocado-vt

Wei, Jiangang weijg.fnst at cn.fujitsu.com
Wed Sep 16 01:23:39 UTC 2015


Hi,

I guess you didn't configure test provider.

[root at localhost<mailto:root at localhost> avocado-vt]# ll test-providers.d
total 16
-rw-r--r-- 1 root root 157 Sep 16 09:15 io-github-autotest-libvirt.ini
-rw-r--r-- 1 root root 137 Sep 16 09:15 io-github-autotest-qemu.ini
-rw-r--r-- 1 root root 211 Sep 16 09:15 io-github-spiceqa-spice.ini
-rw-r--r-- 1 root root 918 Sep 11 12:12 README

Regards,
wei
On Tue, 2015-09-15 at 16:34 -0300, Olav Philipp Henschel wrote:


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 https://github.com/avocado-framework/avocado.git
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 https://github.com/avocado-framework/avocado-vt.git
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
Avocado-devel at redhat.com<mailto:Avocado-devel at redhat.com>
https://www.redhat.com/mailman/listinfo/avocado-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20150916/cea5858d/attachment.htm>


More information about the Avocado-devel mailing list