[ovirt-devel] [VDSM] Network tests should check if running as root

Nir Soffer nsoffer at redhat.com
Mon Dec 21 08:35:32 UTC 2015


Hi all,

I'm seeing these skips when running the tests as non-privileged user:

tcTests.TestConfigureOutbound
    test_iperf_upper_limit                                      SKIP:
Failed to create a dummy interface dummy_gi01x: ['RTNETLINK answers:
Operation not permitted']
    test_multiple_vlans                                         SKIP:
Failed to create a dummy interface dummy_hrG62: ['RTNETLINK answers:
Operation not permitted']
    test_single_non_vlan                                        SKIP:
Failed to create a dummy interface dummy_er4rw: ['RTNETLINK answers:
Operation not permitted']
    test_single_vlan(1)                                         SKIP:
Failed to create a dummy interface dummy_uG21f: ['RTNETLINK answers:
Operation not permitted']
    test_single_vlan(2)                                         SKIP:
Failed to create a dummy interface dummy_dqUia: ['RTNETLINK answers:
Operation not permitted']

It seems that these tests should run only if we are running as root,
like these tests:

tcTests.TestPortMirror
    testMirroring                                               SKIP:
This test must be run as root
    testMirroringWithDistraction                                SKIP:
This test must be run as root

Edward, can you check this?

Nir



More information about the Devel mailing list