Pradipta Banerjee has posted comments on this change.

Change subject: Add correct TUNSETIFF ioctl value for IBM Power (ppc64) in 
tcTests.py
......................................................................


Patch Set 1: Verified

tested on F17 ppc64

Error with existing code
======================================================================
ERROR: testMirroring (tcTests.TestPortMirror)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/vdsm-4.10.3/tests/testValidation.py", line 60, in 
wrapper 
    return f(*args, **kwargs)
  File "/root/rpmbuild/BUILD/vdsm-4.10.3/tests/tcTests.py", line 247, in setUp
    self._tap0.addDevice()
  File "/root/rpmbuild/BUILD/vdsm-4.10.3/tests/tcTests.py", line 100, in 
addDevice
    fcntl.ioctl(self._cloneDevice, self._TUNSETIFF, ifr)
IOError: [Errno 77] File descriptor in bad state

======================================================================
ERROR: testMirroringWithDistraction (tcTests.TestPortMirror)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/root/rpmbuild/BUILD/vdsm-4.10.3/tests/testValidation.py", line 60, in 
wrapper 
    return f(*args, **kwargs)
  File "/root/rpmbuild/BUILD/vdsm-4.10.3/tests/tcTests.py", line 247, in setUp
    self._tap0.addDevice()
  File "/root/rpmbuild/BUILD/vdsm-4.10.3/tests/tcTests.py", line 100, in 
addDevice
    fcntl.ioctl(self._cloneDevice, self._TUNSETIFF, ifr)
IOError: [Errno 77] File descriptor in bad state

----------------------------------------------------------------------

No error with the existing patch

TestPortMirror
    testMirroring                                               OK      
    testMirroringWithDistraction                                OK

--
To view, visit http://gerrit.ovirt.org/10202
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I0a3831761aed81932466e29d88f5eb50bf5ce23d
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Pradipta Banerjee <[email protected]>
Gerrit-Reviewer: Pradipta Banerjee <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to