Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avocado-vt dependencies don't work #282

Open
ghost opened this issue Dec 3, 2015 · 0 comments
Open

Avocado-vt dependencies don't work #282

ghost opened this issue Dec 3, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Dec 3, 2015

I've tried to reproduce the example in http://avocado-vt.readthedocs.org/en/latest/advanced/VirtTestDocumentation.html#dependencies, with no success.
My complete .cfg file:

- hostname:
    type = network/hostname
    virt_test_type = qemu libvirtlibvirt
    get_hostname_command = hostname
    variants:
        - two: one
            key2 = World
        - three: two
        - one:
            key1 = Hello

Avocado output:
(1/3) ibm-kvm-bvt.hostname.two: ERROR (4.15 s)
(2/3) ibm-kvm-bvt.hostname.three: PASS (4.30 s)
(3/3) ibm-kvm-bvt.hostname.one: PASS (4.37 s)

As you can see, the tests are run out of desired order (they appear to always run in the written order) and they run even when dependencies fail.

The dep param of the test "two" contains:
dep = ['libvirt_quick.qemu.bridge.default_bios.no_virtio_rng.(image_backend=filesystem).no_9p_export.smallpages.no_pci_assignable.qcow2.virtio_blk.s
mp2.virtio_net.Linux.PowerKVM.olavph-1206.ppc64le.install.pseries.(subtest=ibm-kvm-bvt).(subtest=hostname).one']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants