FAIL: testEnablePromisc (ipwrapperTests.TestDrvinfo) - bad test? ci issue?

Hi all, We see this failure again in the ci - can someone from networking take a look? 18:16:52 ====================================================================== 18:16:52 FAIL: testEnablePromisc (ipwrapperTests.TestDrvinfo) 18:16:52 ---------------------------------------------------------------------- 18:16:52 Traceback (most recent call last): 18:16:52 File "/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64/vdsm/tests/ipwrapperTests.py", line 130, in testEnablePromisc 18:16:52 "Could not enable promiscuous mode.") 18:16:52 AssertionError: Could not enable promiscuous mode. 18:16:52 -------------------- >> begin captured logging << -------------------- 18:16:52 root: DEBUG: /usr/bin/taskset --cpu-list 0-1 /usr/sbin/brctl show (cwd None) 18:16:52 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0 18:16:52 root: DEBUG: /usr/bin/taskset --cpu-list 0-1 /sbin/ip link add name vdsm-fS38VL type bridge (cwd None) 18:16:52 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0 18:16:52 root: DEBUG: /usr/bin/taskset --cpu-list 0-1 /sbin/ip link set dev vdsm-fS38VL up (cwd None) 18:16:52 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0 18:16:52 root: DEBUG: /usr/bin/taskset --cpu-list 0-1 /sbin/ip link set dev vdsm-fS38VL promisc on (cwd None) 18:16:52 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0 18:16:52 --------------------- >> end captured logging << --------------------- http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc23-x86_64/1838/consol... Thanks, Nir

Hi, Strange, the logging below shows the 'promisc on' commands was successful. Unfortunately, the logs/run/job archive is no longer available. The check itself is asymmetric: We set it using iproute2 (command) and read it using netlink. At the least, we should add some more info on failure (like link state details) Adding to my TODO. Thanks, Edy. On 01/05/2016 06:10 PM, Nir Soffer wrote:
Hi all,
We see this failure again in the ci - can someone from networking take a look?
18:16:52 ====================================================================== 18:16:52 FAIL: testEnablePromisc (ipwrapperTests.TestDrvinfo) 18:16:52 ---------------------------------------------------------------------- 18:16:52 Traceback (most recent call last): 18:16:52 File "/home/jenkins/workspace/vdsm_master_check-patch-fc23-x86_64/vdsm/tests/ipwrapperTests.py", line 130, in testEnablePromisc 18:16:52 "Could not enable promiscuous mode.") 18:16:52 AssertionError: Could not enable promiscuous mode. 18:16:52 -------------------- >> begin captured logging << -------------------- 18:16:52 root: DEBUG: /usr/bin/taskset --cpu-list 0-1 /usr/sbin/brctl show (cwd None) 18:16:52 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0 18:16:52 root: DEBUG: /usr/bin/taskset --cpu-list 0-1 /sbin/ip link add name vdsm-fS38VL type bridge (cwd None) 18:16:52 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0 18:16:52 root: DEBUG: /usr/bin/taskset --cpu-list 0-1 /sbin/ip link set dev vdsm-fS38VL up (cwd None) 18:16:52 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0 18:16:52 root: DEBUG: /usr/bin/taskset --cpu-list 0-1 /sbin/ip link set dev vdsm-fS38VL promisc on (cwd None) 18:16:52 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0 18:16:52 --------------------- >> end captured logging << ---------------------
http://jenkins.ovirt.org/job/vdsm_master_check-patch-fc23-x86_64/1838/consol...
Thanks, Nir

On Wed, Jan 06, 2016 at 09:29:46AM +0200, Edward Haas wrote:
Hi,
Strange, the logging below shows the 'promisc on' commands was successful. Unfortunately, the logs/run/job archive is no longer available.
The check itself is asymmetric: We set it using iproute2 (command) and read it using netlink. At the least, we should add some more info on failure (like link state details) Adding to my TODO.
Thanks, Edy.
On 01/05/2016 06:10 PM, Nir Soffer wrote:
Hi all,
We see this failure again in the ci - can someone from networking take a look?
I'm guessing that it is a race due to the asynchrony of netlink. If so, this patch should solve the issue in one location https://gerrit.ovirt.org/#/c/51410/
participants (3)
-
Dan Kenigsberg
-
Edward Haas
-
Nir Soffer