Change in vdsm[master]: automation: Disable tests requiring tun device

nsoffer at redhat.com nsoffer at redhat.com
Thu Sep 24 05:49:40 UTC 2015


Nir Soffer has posted comments on this change.

Change subject: automation: Disable tests requiring tun device
......................................................................


Patch Set 2:

Here is an example of the failure:

00:07:25.935 ======================================================================
00:07:25.935 ERROR: testMirroring (tcTests.TestPortMirror)
00:07:25.935 ----------------------------------------------------------------------
00:07:25.935 Traceback (most recent call last):
00:07:25.935   File "/home/jenkins/workspace/vdsm_master_check-patch-fc22-x86_64/vdsm/tests/testValidation.py", line 105, in wrapper
00:07:25.935     return f(*args, **kwargs)
00:07:25.935   File "/home/jenkins/workspace/vdsm_master_check-patch-fc22-x86_64/vdsm/tests/nettestlib.py", line 176, in wrapper
00:07:25.935     return f(*a, **kw)
00:07:25.935   File "/home/jenkins/workspace/vdsm_master_check-patch-fc22-x86_64/vdsm/tests/tcTests.py", line 316, in setUp
00:07:25.935     six.reraise(t, v, tb)
00:07:25.935   File "/home/jenkins/workspace/vdsm_master_check-patch-fc22-x86_64/vdsm/tests/tcTests.py", line 304, in setUp
00:07:25.935     iface.addDevice()
00:07:25.935   File "/home/jenkins/workspace/vdsm_master_check-patch-fc22-x86_64/vdsm/tests/nettestlib.py", line 112, in addDevice
00:07:25.935     self._cloneDevice = open('/dev/net/tun', 'r+b')
00:07:25.935 IOError: [Errno 2] No such file or directory: '/dev/net/tun'
00:07:25.935 -------------------- >> begin captured logging << --------------------
00:07:25.935 root: DEBUG: /sbin/ip link add name vdsm-TeMKE9WME1 type bridge (cwd None)
00:07:25.935 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0
00:07:25.935 root: DEBUG: /sbin/ip link set dev vdsm-TeMKE9WME1 up (cwd None)
00:07:25.935 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0
00:07:25.935 root: DEBUG: /usr/sbin/tc qdisc add dev vdsm-TeMKE9WME1 ingress (cwd None)
00:07:25.935 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0
00:07:25.935 root: DEBUG: /sbin/ip link set dev vdsm-TeMKE9WME1 down (cwd None)
00:07:25.935 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0
00:07:25.935 root: DEBUG: /sbin/ip link del dev vdsm-TeMKE9WME1 (cwd None)
00:07:25.935 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0
00:07:25.935 --------------------- >> end captured logging << ---------------------
00:07:25.935 
00:07:25.935 ======================================================================
00:07:25.935 ERROR: setting another mirror action should not obstract the first one
00:07:25.935 ----------------------------------------------------------------------
00:07:25.935 Traceback (most recent call last):
00:07:25.935   File "/home/jenkins/workspace/vdsm_master_check-patch-fc22-x86_64/vdsm/tests/testValidation.py", line 105, in wrapper
00:07:25.935     return f(*args, **kwargs)
00:07:25.935   File "/home/jenkins/workspace/vdsm_master_check-patch-fc22-x86_64/vdsm/tests/nettestlib.py", line 176, in wrapper
00:07:25.935     return f(*a, **kw)
00:07:25.935   File "/home/jenkins/workspace/vdsm_master_check-patch-fc22-x86_64/vdsm/tests/tcTests.py", line 316, in setUp
00:07:25.935     six.reraise(t, v, tb)
00:07:25.935   File "/home/jenkins/workspace/vdsm_master_check-patch-fc22-x86_64/vdsm/tests/tcTests.py", line 304, in setUp
00:07:25.935     iface.addDevice()
00:07:25.935   File "/home/jenkins/workspace/vdsm_master_check-patch-fc22-x86_64/vdsm/tests/nettestlib.py", line 112, in addDevice
00:07:25.935     self._cloneDevice = open('/dev/net/tun', 'r+b')
00:07:25.935 IOError: [Errno 2] No such file or directory: '/dev/net/tun'
00:07:25.935 -------------------- >> begin captured logging << --------------------
00:07:25.935 root: DEBUG: /sbin/ip link add name vdsm-Td4bfAfdwt type bridge (cwd None)
00:07:25.935 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0
00:07:25.935 root: DEBUG: /sbin/ip link set dev vdsm-Td4bfAfdwt up (cwd None)
00:07:25.935 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0
00:07:25.935 root: DEBUG: /usr/sbin/tc qdisc add dev vdsm-Td4bfAfdwt ingress (cwd None)
00:07:25.935 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0
00:07:25.935 root: DEBUG: /sbin/ip link set dev vdsm-Td4bfAfdwt down (cwd None)
00:07:25.935 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0
00:07:25.935 root: DEBUG: /sbin/ip link del dev vdsm-Td4bfAfdwt (cwd None)
00:07:25.935 root: DEBUG: SUCCESS: <err> = ''; <rc> = 0
00:07:25.935 --------------------- >> end captured logging << ---------------------
00:07:25.935 
00:07:25.935 ----------------------------------------------------------------------
00:07:25.935 Ran 1425 tests in 101.683s

-- 
To view, visit https://gerrit.ovirt.org/46641
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I3be2fe5774ec7f964416e02f809f44263e7d5644
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: David Caro <dcaroest at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: No


More information about the vdsm-patches mailing list