[Avocado-devel] Getting started with avocado-vt

Olav Philipp Henschel olavph at linux.vnet.ibm.com
Tue Sep 15 19:34:47 UTC 2015


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




More information about the Avocado-devel mailing list