[ovirt-devel] [VDSM] Network tests should check if running as root
Edward Haas
edwardh at redhat.com
Mon Dec 21 11:21:13 UTC 2015
On 12/21/2015 10:35 AM, Nir Soffer wrote:
> 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?
Thank you for the notice.
Patch is ready for review.
Thanks,
Edy.
>
> Nir
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
More information about the Devel
mailing list