On Fri, Nov 24, 2017 at 3:10 PM, Francesco Romani <fromani(a)redhat.com>
wrote:
On 11/23/2017 03:55 PM, Dan Kenigsberg wrote:
Please make sure the few failing network tests are not breaking the build.
It's probably time to mark the tests that use loseup as broken-on-jenkins
ERROR: Tests mkimage.injectFilesToFs creating an image and checking its
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/tests/testlib.py",
line 143, in wrapper
return f(self, *args)
File
"/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/tests/testValidation.py",
line 191, in wrapper
return f(*args, **kwargs)
File
"/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/tests/mkimage_test.py",
line 176, in test_injectFilesToFs
mkimage.injectFilesToFs(floppy, self.files, fstype)
File
"/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/lib/vdsm/mkimage.py",
line 112, in injectFilesToFs
m.mount(mntOpts='loop', vfstype=fstype)
File
"/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/lib/vdsm/storage/mount.py",
line 208, in mount
cgroup=cgroup)
File
"/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/lib/vdsm/storage/mount.py",
line 278, in _mount
_runcmd(cmd)
File
"/home/jenkins/workspace/vdsm_master_check-patch-el7-x86_64/vdsm/lib/vdsm/storage/mount.py",
line 306, in _runcmd
raise MountError(rc, ";".join((out, err)))
MountError: (32, ';mount:
/tmp/vdsm-mkimage-testspahtvm/images/vmId_inject.7301b08f8c0dc496bedd25577dbddbd8.img:
failed to setup loop device: No such file or directory\n')
This test may need some attention too:
*11:05:09* *11:05:09*
======================================================================*11:05:09* FAIL:
test_multiple_vlans (network.tc_test.TestConfigureOutbound)*11:05:09*
----------------------------------------------------------------------*11:05:09* Traceback
(most recent call last):*11:05:09* File
"/usr/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched*11:05:09*
return func(*args, **keywargs)*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/network/tc_test.py",
line 459, in test_multiple_vlans*11:05:09*
self._analyse_qos_and_general_assertions()*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/network/tc_test.py",
line 531, in _analyse_qos_and_general_assertions*11:05:09*
tc_filters.tagged_filters)*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/network/tc_test.py",
line 579, in _assertions_on_filters*11:05:09* self.assertEqual(len(untagged_filters),
1)*11:05:09* AssertionError: 0 != 1*11:05:09* -------------------- >> begin captured
logging << --------------------
*11:05:09* -------------------- >> begin captured logging <<
--------------------*11:05:09* 2017-11-24 11:04:39,898 DEBUG (MainThread) [root] /sbin/ip
link add name dummy_XHoki type dummy (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:39,906 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:39,907 DEBUG (MainThread) [root] /sbin/ip link
set dev dummy_XHoki up (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:39,916 DEBUG
(MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:39,917 DEBUG (MainThread) [root] /sbin/ip link
add link dummy_XHoki name dummy_XHoki.16 type vlan id 16 (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:39,927 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:39,928
DEBUG (MainThread) [root] /sbin/ip link set dev dummy_XHoki.16 up (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:39,938 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:39,939
DEBUG (MainThread) [root] /sbin/ip link add link dummy_XHoki name dummy_XHoki.17 type vlan
id 17 (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:39,947 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09*
2017-11-24 11:04:39,948 DEBUG (MainThread) [root] /sbin/ip link set dev dummy_XHoki.17 up
(cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:39,958 DEBUG (MainThread) [root]
SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24
11:04:39,959 DEBUG (MainThread) [root] /sbin/tc qdisc show dev dummy_XHoki (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:39,967 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:39,967
DEBUG (MainThread) [root] /sbin/tc qdisc del dev dummy_XHoki root (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:39,974 DEBUG (MainThread) [root] FAILED:
<err> = 'RTNETLINK answers: No such file or directory\n'; <rc> = 2
(cmdutils:141)*11:05:09* 2017-11-24 11:04:39,975 DEBUG (MainThread) [root] /sbin/tc qdisc
del dev dummy_XHoki ingress (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:39,981
DEBUG (MainThread) [root] FAILED: <err> = 'RTNETLINK answers: No such file or
directory\n'; <rc> = 2 (cmdutils:141)*11:05:09* 2017-11-24 11:04:39,982 DEBUG
(MainThread) [root] /sbin/tc qdisc add dev dummy_XHoki root handle 0x1389: hfsc default
0x1388 (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:39,989 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09*
2017-11-24 11:04:39,989 DEBUG (MainThread) [root] /sbin/tc qdisc add dev dummy_XHoki
ingress (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:39,997 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09*
2017-11-24 11:04:39,997 DEBUG (MainThread) [root] /sbin/tc class add dev dummy_XHoki
parent 1389: classid 1389:10 hfsc ul m2 8000000bit ls m1 32000000bit d 800000us m2
24000000bit (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,005 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09*
2017-11-24 11:04:40,006 DEBUG (MainThread) [root] /sbin/tc class add dev dummy_XHoki
parent 1389: classid 1389:1388 hfsc ls m1 32000000bit d 800000us m2 24000000bit (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,014 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,014
DEBUG (MainThread) [root] /sbin/tc filter replace dev dummy_XHoki protocol all parent
1389: pref 5000 u32 match u8 0 0 flowid 0x1388 (cwd None) (cmdutils:133)*11:05:09*
2017-11-24 11:04:40,022 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,022 DEBUG (MainThread) [root]
/sbin/tc filter replace dev dummy_XHoki protocol all parent 1389: pref 16 basic match
'meta(vlan eq 16)' flowid 1389:10 (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:40,029 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,030 DEBUG (MainThread) [root] /sbin/tc qdisc
add dev dummy_XHoki parent 1389:10 handle 10: fq_codel (cwd None) (cmdutils:133)*11:05:09*
2017-11-24 11:04:40,037 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,037 DEBUG (MainThread) [root]
/sbin/tc qdisc add dev dummy_XHoki parent 1389:1388 handle 1388: fq_codel (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,044 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,045
DEBUG (MainThread) [root] /sbin/tc qdisc show dev dummy_XHoki (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,052 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,053
DEBUG (MainThread) [root] /sbin/tc filter show dev dummy_XHoki parent 1389: (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,060 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,061
DEBUG (MainThread) [root] /sbin/tc class del dev dummy_XHoki classid 1389:11 (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,068 DEBUG (MainThread) [root] FAILED:
<err> = 'RTNETLINK answers: No such file or directory\n'; <rc> = 2
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,068 DEBUG (MainThread) [root] /sbin/tc class
add dev dummy_XHoki parent 1389: classid 1389:11 hfsc ul m2 8000000bit ls m1 32000000bit d
800000us m2 24000000bit (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,077 DEBUG
(MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,135 DEBUG (MainThread) [root] /sbin/tc qdisc
show (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,145 DEBUG (MainThread) [root]
SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24
11:04:40,146 DEBUG (MainThread) [root] /sbin/tc class show dev dummy_XHoki (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,155 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,156
DEBUG (MainThread) [root] /sbin/tc class show dev dummy_XHoki (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,164 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,166
DEBUG (MainThread) [root] /sbin/tc class del dev dummy_XHoki classid 1389:1388 (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,175 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,176
DEBUG (MainThread) [root] /sbin/tc class add dev dummy_XHoki parent 1389: classid
1389:1388 hfsc ls m1 32000000bit d 800000us m2 24000000bit (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,184 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,185
DEBUG (MainThread) [root] /sbin/tc qdisc add dev dummy_XHoki parent 1389:1388 handle 1388:
fq_codel (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,192 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09*
2017-11-24 11:04:40,193 DEBUG (MainThread) [root] /sbin/tc filter replace dev dummy_XHoki
protocol all parent 1389: pref 17 basic match 'meta(vlan eq 17)' flowid 1389:11
(cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,200 DEBUG (MainThread) [root]
SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24
11:04:40,201 DEBUG (MainThread) [root] /sbin/tc qdisc add dev dummy_XHoki parent 1389:11
handle 11: fq_codel (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,208 DEBUG
(MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,209 DEBUG (MainThread) [root] /sbin/tc class
show dev dummy_XHoki (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,216 DEBUG
(MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,217 DEBUG (MainThread) [root] /sbin/tc qdisc
show dev dummy_XHoki (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,224 DEBUG
(MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,225 DEBUG (MainThread) [root] /sbin/tc filter
show dev dummy_XHoki (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,232 DEBUG
(MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,234 DEBUG (netlink/events) [root] START
thread <Thread(netlink/events, started daemon 139684684494592)> (func=<bound
method Monitor._scan of <vdsm.network.netlink.monitor.Monitor object at
0x7f0b18db51d0>>, args=(), kwargs={}) (concurrent:189)*11:05:09* 2017-11-24
11:04:40,235 DEBUG (MainThread) [root] /sbin/ip link set dev dummy_XHoki.17 down (cwd
None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,245 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,246
DEBUG (netlink/events) [root] FINISH thread <Thread(netlink/events, started daemon
139684684494592)> (concurrent:192)*11:05:09* 2017-11-24 11:04:40,246 DEBUG (MainThread)
[root] /sbin/ip link del dev dummy_XHoki.17 (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:40,261 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,262 DEBUG (netlink/events) [root] START
thread <Thread(netlink/events, started daemon 139684684494592)> (func=<bound
method Monitor._scan of <vdsm.network.netlink.monitor.Monitor object at
0x7f0b18d82f50>>, args=(), kwargs={}) (concurrent:189)*11:05:09* 2017-11-24
11:04:40,263 DEBUG (MainThread) [root] /sbin/ip link set dev dummy_XHoki.16 down (cwd
None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,272 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,273
DEBUG (netlink/events) [root] FINISH thread <Thread(netlink/events, started daemon
139684684494592)> (concurrent:192)*11:05:09* 2017-11-24 11:04:40,273 DEBUG (MainThread)
[root] /sbin/ip link del dev dummy_XHoki.16 (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:40,287 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* --------------------- >> end captured logging <<
---------------------*11:05:09* *11:05:09*
======================================================================*11:05:09* FAIL:
test_single_non_vlan (network.tc_test.TestConfigureOutbound)*11:05:09*
----------------------------------------------------------------------*11:05:09* Traceback
(most recent call last):*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/network/tc_test.py",
line 419, in test_single_non_vlan*11:05:09*
self._analyse_qos_and_general_assertions()*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/network/tc_test.py",
line 531, in _analyse_qos_and_general_assertions*11:05:09*
tc_filters.tagged_filters)*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/network/tc_test.py",
line 579, in _assertions_on_filters*11:05:09* self.assertEqual(len(untagged_filters),
1)*11:05:09* AssertionError: 0 != 1*11:05:09* -------------------- >> begin captured
logging << --------------------*11:05:09* 2017-11-24 11:04:40,305 DEBUG (MainThread)
[root] /sbin/ip link add name dummy_Ac0wl type dummy (cwd None) (cmdutils:133)*11:05:09*
2017-11-24 11:04:40,312 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,312 DEBUG (MainThread) [root]
/sbin/ip link set dev dummy_Ac0wl up (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:40,327 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,328 DEBUG (MainThread) [root] /sbin/tc qdisc
show dev dummy_Ac0wl (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,335 DEBUG
(MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,336 DEBUG (MainThread) [root] /sbin/tc qdisc
del dev dummy_Ac0wl root (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,342 DEBUG
(MainThread) [root] FAILED: <err> = 'RTNETLINK answers: No such file or
directory\n'; <rc> = 2 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,343 DEBUG
(MainThread) [root] /sbin/tc qdisc del dev dummy_Ac0wl ingress (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,350 DEBUG (MainThread) [root] FAILED:
<err> = 'RTNETLINK answers: No such file or directory\n'; <rc> = 2
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,350 DEBUG (MainThread) [root] /sbin/tc qdisc
add dev dummy_Ac0wl root handle 0x1389: hfsc default 0x1388 (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,357 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,357
DEBUG (MainThread) [root] /sbin/tc qdisc add dev dummy_Ac0wl ingress (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,364 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,365
DEBUG (MainThread) [root] /sbin/tc class add dev dummy_Ac0wl parent 1389: classid
1389:1388 hfsc ul m2 8000000bit ls m1 32000000bit d 800000us m2 24000000bit (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,372 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,372
DEBUG (MainThread) [root] /sbin/tc filter replace dev dummy_Ac0wl protocol all parent
1389: pref 5000 u32 match u8 0 0 flowid 0x1388 (cwd None) (cmdutils:133)*11:05:09*
2017-11-24 11:04:40,379 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,380 DEBUG (MainThread) [root]
/sbin/tc qdisc add dev dummy_Ac0wl parent 1389:1388 handle 1388: fq_codel (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,387 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,388
DEBUG (MainThread) [root] /sbin/tc class show dev dummy_Ac0wl (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,394 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,395
DEBUG (MainThread) [root] /sbin/tc qdisc show dev dummy_Ac0wl (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,402 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,403
DEBUG (MainThread) [root] /sbin/tc filter show dev dummy_Ac0wl (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,409 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* ---------------------
>> end captured logging << ---------------------*11:05:09* *11:05:09*
======================================================================*11:05:09* FAIL:
test_single_vlan(1) (network.tc_test.TestConfigureOutbound)*11:05:09*
----------------------------------------------------------------------*11:05:09* Traceback
(most recent call last):*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/testlib.py",
line 143, in wrapper*11:05:09* return f(self, *args)*11:05:09* File
"/usr/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched*11:05:09*
return func(*args, **keywargs)*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/network/tc_test.py",
line 437, in test_single_vlan*11:05:09*
self._analyse_qos_and_general_assertions()*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/network/tc_test.py",
line 531, in _analyse_qos_and_general_assertions*11:05:09*
tc_filters.tagged_filters)*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/network/tc_test.py",
line 579, in _assertions_on_filters*11:05:09* self.assertEqual(len(untagged_filters),
1)*11:05:09* AssertionError: 0 != 1*11:05:09* -------------------- >> begin captured
logging << --------------------*11:05:09* 2017-11-24 11:04:40,429 DEBUG (MainThread)
[root] /sbin/ip link add name dummy_DR69h type dummy (cwd None) (cmdutils:133)*11:05:09*
2017-11-24 11:04:40,436 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,437 DEBUG (MainThread) [root]
/sbin/ip link set dev dummy_DR69h up (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:40,443 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,444 DEBUG (MainThread) [root] /sbin/ip link
add link dummy_DR69h name dummy_DR69h.16 type vlan id 16 (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,453 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,454
DEBUG (MainThread) [root] /sbin/ip link set dev dummy_DR69h.16 up (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,463 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,463
DEBUG (MainThread) [root] /sbin/tc qdisc show dev dummy_DR69h (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,470 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,471
DEBUG (MainThread) [root] /sbin/tc qdisc del dev dummy_DR69h root (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,477 DEBUG (MainThread) [root] FAILED:
<err> = 'RTNETLINK answers: No such file or directory\n'; <rc> = 2
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,478 DEBUG (MainThread) [root] /sbin/tc qdisc
del dev dummy_DR69h ingress (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,485
DEBUG (MainThread) [root] FAILED: <err> = 'RTNETLINK answers: No such file or
directory\n'; <rc> = 2 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,486 DEBUG
(MainThread) [root] /sbin/tc qdisc add dev dummy_DR69h root handle 0x1389: hfsc default
0x1388 (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,493 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09*
2017-11-24 11:04:40,493 DEBUG (MainThread) [root] /sbin/tc qdisc add dev dummy_DR69h
ingress (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,500 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09*
2017-11-24 11:04:40,501 DEBUG (MainThread) [root] /sbin/tc class add dev dummy_DR69h
parent 1389: classid 1389:10 hfsc ul m2 8000000bit ls m1 32000000bit d 800000us m2
24000000bit (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,507 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09*
2017-11-24 11:04:40,508 DEBUG (MainThread) [root] /sbin/tc class add dev dummy_DR69h
parent 1389: classid 1389:1388 hfsc ls m1 32000000bit d 800000us m2 24000000bit (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,515 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,516
DEBUG (MainThread) [root] /sbin/tc filter replace dev dummy_DR69h protocol all parent
1389: pref 5000 u32 match u8 0 0 flowid 0x1388 (cwd None) (cmdutils:133)*11:05:09*
2017-11-24 11:04:40,523 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,523 DEBUG (MainThread) [root]
/sbin/tc filter replace dev dummy_DR69h protocol all parent 1389: pref 16 basic match
'meta(vlan eq 16)' flowid 1389:10 (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:40,530 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,530 DEBUG (MainThread) [root] /sbin/tc qdisc
add dev dummy_DR69h parent 1389:10 handle 10: fq_codel (cwd None) (cmdutils:133)*11:05:09*
2017-11-24 11:04:40,537 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,538 DEBUG (MainThread) [root]
/sbin/tc qdisc add dev dummy_DR69h parent 1389:1388 handle 1388: fq_codel (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,545 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,546
DEBUG (MainThread) [root] /sbin/tc class show dev dummy_DR69h (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,552 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,553
DEBUG (MainThread) [root] /sbin/tc qdisc show dev dummy_DR69h (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,560 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,561
DEBUG (MainThread) [root] /sbin/tc filter show dev dummy_DR69h (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,568 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,570
DEBUG (netlink/events) [root] START thread <Thread(netlink/events, started daemon
139684684494592)> (func=<bound method Monitor._scan of
<vdsm.network.netlink.monitor.Monitor object at 0x7f0b18d10390>>, args=(),
kwargs={}) (concurrent:189)*11:05:09* 2017-11-24 11:04:40,571 DEBUG (MainThread) [root]
/sbin/ip link set dev dummy_DR69h.16 down (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:40,581 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,582 DEBUG (netlink/events) [root] FINISH
thread <Thread(netlink/events, started daemon 139684684494592)>
(concurrent:192)*11:05:09* 2017-11-24 11:04:40,583 DEBUG (MainThread) [root] /sbin/ip link
del dev dummy_DR69h.16 (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,596 DEBUG
(MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* --------------------- >> end captured logging <<
---------------------*11:05:09* *11:05:09*
======================================================================*11:05:09* FAIL:
test_single_vlan(2) (network.tc_test.TestConfigureOutbound)*11:05:09*
----------------------------------------------------------------------*11:05:09* Traceback
(most recent call last):*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/testlib.py",
line 143, in wrapper*11:05:09* return f(self, *args)*11:05:09* File
"/usr/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched*11:05:09*
return func(*args, **keywargs)*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/network/tc_test.py",
line 437, in test_single_vlan*11:05:09*
self._analyse_qos_and_general_assertions()*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/network/tc_test.py",
line 531, in _analyse_qos_and_general_assertions*11:05:09*
tc_filters.tagged_filters)*11:05:09* File
"/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/tests/network/tc_test.py",
line 579, in _assertions_on_filters*11:05:09* self.assertEqual(len(untagged_filters),
1)*11:05:09* AssertionError: 0 != 1*11:05:09* -------------------- >> begin captured
logging << --------------------*11:05:09* 2017-11-24 11:04:40,613 DEBUG (MainThread)
[root] /sbin/ip link add name dummy_dJrUa type dummy (cwd None) (cmdutils:133)*11:05:09*
2017-11-24 11:04:40,621 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,621 DEBUG (MainThread) [root]
/sbin/ip link set dev dummy_dJrUa up (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:40,631 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,632 DEBUG (MainThread) [root] /sbin/ip link
add link dummy_dJrUa name dummy_dJrUa.16 type vlan id 16 (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,639 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,640
DEBUG (MainThread) [root] /sbin/ip link set dev dummy_dJrUa.16 up (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,648 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,648
DEBUG (MainThread) [root] /sbin/tc qdisc show dev dummy_dJrUa (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,655 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,656
DEBUG (MainThread) [root] /sbin/tc qdisc del dev dummy_dJrUa root (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,662 DEBUG (MainThread) [root] FAILED:
<err> = 'RTNETLINK answers: No such file or directory\n'; <rc> = 2
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,663 DEBUG (MainThread) [root] /sbin/tc qdisc
del dev dummy_dJrUa ingress (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,670
DEBUG (MainThread) [root] FAILED: <err> = 'RTNETLINK answers: No such file or
directory\n'; <rc> = 2 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,670 DEBUG
(MainThread) [root] /sbin/tc qdisc add dev dummy_dJrUa root handle 0x1389: hfsc default
0x1388 (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,677 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09*
2017-11-24 11:04:40,678 DEBUG (MainThread) [root] /sbin/tc qdisc add dev dummy_dJrUa
ingress (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,685 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09*
2017-11-24 11:04:40,685 DEBUG (MainThread) [root] /sbin/tc class add dev dummy_dJrUa
parent 1389: classid 1389:10 hfsc ul m2 8000000bit ls m1 32000000bit d 800000us m2
24000000bit (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,692 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09*
2017-11-24 11:04:40,693 DEBUG (MainThread) [root] /sbin/tc class add dev dummy_dJrUa
parent 1389: classid 1389:1388 hfsc ls m1 32000000bit d 800000us m2 24000000bit (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,699 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,700
DEBUG (MainThread) [root] /sbin/tc filter replace dev dummy_dJrUa protocol all parent
1389: pref 5000 u32 match u8 0 0 flowid 0x1388 (cwd None) (cmdutils:133)*11:05:09*
2017-11-24 11:04:40,707 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,708 DEBUG (MainThread) [root]
/sbin/tc filter replace dev dummy_dJrUa protocol all parent 1389: pref 16 basic match
'meta(vlan eq 16)' flowid 1389:10 (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:40,717 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,717 DEBUG (MainThread) [root] /sbin/tc qdisc
add dev dummy_dJrUa parent 1389:10 handle 10: fq_codel (cwd None) (cmdutils:133)*11:05:09*
2017-11-24 11:04:40,725 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,726 DEBUG (MainThread) [root]
/sbin/tc qdisc add dev dummy_dJrUa parent 1389:1388 handle 1388: fq_codel (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,733 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,734
DEBUG (MainThread) [root] /sbin/tc qdisc show dev dummy_dJrUa (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,745 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,746
DEBUG (MainThread) [root] /sbin/tc filter show dev dummy_dJrUa parent 1389: (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,753 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,754
DEBUG (MainThread) [root] /sbin/tc filter del dev dummy_dJrUa pref 16 parent 1389: (cwd
None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,760 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,761
DEBUG (MainThread) [root] /sbin/tc class del dev dummy_dJrUa classid 1389:10 (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,768 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,768
DEBUG (MainThread) [root] /sbin/tc class add dev dummy_dJrUa parent 1389: classid 1389:10
hfsc ul m2 8000000bit ls m1 32000000bit d 800000us m2 24000000bit (cwd None)
(cmdutils:133)*11:05:09* 2017-11-24 11:04:40,775 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,812
DEBUG (MainThread) [root] /sbin/tc qdisc show (cwd None) (cmdutils:133)*11:05:09*
2017-11-24 11:04:40,822 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,823 DEBUG (MainThread) [root]
/sbin/tc class show dev dummy_dJrUa (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:40,829 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,830 DEBUG (MainThread) [root] /sbin/tc class
show dev dummy_dJrUa (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,837 DEBUG
(MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,838 DEBUG (MainThread) [root] /sbin/tc class
del dev dummy_dJrUa classid 1389:1388 (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:40,845 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,845 DEBUG (MainThread) [root] /sbin/tc class
add dev dummy_dJrUa parent 1389: classid 1389:1388 hfsc ls m1 32000000bit d 800000us m2
24000000bit (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,852 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:09*
2017-11-24 11:04:40,853 DEBUG (MainThread) [root] /sbin/tc qdisc add dev dummy_dJrUa
parent 1389:1388 handle 1388: fq_codel (cwd None) (cmdutils:133)*11:05:09* 2017-11-24
11:04:40,859 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,860 DEBUG (MainThread) [root] /sbin/tc filter
replace dev dummy_dJrUa protocol all parent 1389: pref 16 basic match 'meta(vlan eq
16)' flowid 1389:10 (cwd None) (cmdutils:133)*11:05:09* 2017-11-24 11:04:40,867 DEBUG
(MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:09* 2017-11-24 11:04:40,867 DEBUG (MainThread) [root] /sbin/tc qdisc
add dev dummy_dJrUa parent 1389:10 handle 10: fq_codel (cwd None) (cmdutils:133)*11:05:09*
2017-11-24 11:04:40,874 DEBUG (MainThread) [root] SUCCESS: <err> = '';
<rc> = 0 (cmdutils:141)*11:05:09* 2017-11-24 11:04:40,8Coverage.py warning: Module
/home/jenkins/workspace/vdsm_master_check-patch-fc27-x86_64/vdsm/vdsm was never imported.
(module-not-imported)*11:05:21* 75 DEBUG (MainThread) [root] /sbin/tc class show dev
dummy_dJrUa (cwd None) (cmdutils:133)*11:05:21* 2017-11-24 11:04:40,881 DEBUG (MainThread)
[root] SUCCESS: <err> = ''; <rc> = 0 (cmdutils:141)*11:05:21*
2017-11-24 11:04:40,883 DEBUG (MainThread) [root] /sbin/tc qdisc show dev dummy_dJrUa (cwd
None) (cmdutils:133)*11:05:21* 2017-11-24 11:04:40,889 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:21* 2017-11-24 11:04:40,890
DEBUG (MainThread) [root] /sbin/tc filter show dev dummy_dJrUa (cwd None)
(cmdutils:133)*11:05:21* 2017-11-24 11:04:40,897 DEBUG (MainThread) [root] SUCCESS:
<err> = ''; <rc> = 0 (cmdutils:141)*11:05:21* 2017-11-24 11:04:40,899
DEBUG (netlink/events) [root] START thread <Thread(netlink/events, started daemon
139684684494592)> (func=<bound method Monitor._scan of
<vdsm.network.netlink.monitor.Monitor object at 0x7f0b190df690>>, args=(),
kwargs={}) (concurrent:189)*11:05:21* 2017-11-24 11:04:40,900 DEBUG (MainThread) [root]
/sbin/ip link set dev dummy_dJrUa.16 down (cwd None) (cmdutils:133)*11:05:21* 2017-11-24
11:04:40,910 DEBUG (MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:21* 2017-11-24 11:04:40,911 DEBUG (netlink/events) [root] FINISH
thread <Thread(netlink/events, started daemon 139684684494592)>
(concurrent:192)*11:05:21* 2017-11-24 11:04:40,912 DEBUG (MainThread) [root] /sbin/ip link
del dev dummy_dJrUa.16 (cwd None) (cmdutils:133)*11:05:21* 2017-11-24 11:04:40,930 DEBUG
(MainThread) [root] SUCCESS: <err> = ''; <rc> = 0
(cmdutils:141)*11:05:21* --------------------- >> end captured logging <<
---------------------
--
Francesco Romani
Senior SW Eng., Virtualization R&D
Red Hat
IRC: fromani github: @fromanirh
_______________________________________________
Devel mailing list
Devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/devel