Issue 20718: OpenBSD/AIX: tests passing a file descriptor with sendmsg/recvmsg failures (original) (raw)

OpenBSD failures:

http://bugs.python.org/issue20669#msg211493

AIX failures:

http://buildbot.python.org/all/builders/PPC64%20AIX%203.x/builds/1760/steps/test/logs/stdio

====================================================================== ERROR: testFDPassSeparate (test.test_socket.RecvmsgSCMRightsStreamTest)

Traceback (most recent call last): File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 258, in _tearDown raise exc File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 270, in clientRun test_func() File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 2722, in _testFDPassSeparate array.array("i", [fd1]))]), File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 1864, in sendmsgToServer *(args + self.sendmsg_to_server_defaults[len(args):])) OSError: [Errno 22] Invalid argument

====================================================================== ERROR: testFDPassSeparateMinSpace (test.test_socket.RecvmsgSCMRightsStreamTest)

Traceback (most recent call last): File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 258, in _tearDown raise exc File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 270, in clientRun test_func() File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 2746, in _testFDPassSeparateMinSpace array.array("i", [fd1]))]), File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 1864, in sendmsgToServer *(args + self.sendmsg_to_server_defaults[len(args):])) OSError: [Errno 22] Invalid argument

====================================================================== ERROR: testFDPassSeparate (test.test_socket.RecvmsgIntoSCMRightsStreamTest)

Traceback (most recent call last): File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 258, in _tearDown raise exc File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 270, in clientRun test_func() File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 2722, in _testFDPassSeparate array.array("i", [fd1]))]), File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 1864, in sendmsgToServer *(args + self.sendmsg_to_server_defaults[len(args):])) OSError: [Errno 22] Invalid argument

====================================================================== ERROR: testFDPassSeparateMinSpace (test.test_socket.RecvmsgIntoSCMRightsStreamTest)

Traceback (most recent call last): File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 258, in _tearDown raise exc File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 270, in clientRun test_func() File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 2746, in _testFDPassSeparateMinSpace array.array("i", [fd1]))]), File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 1864, in sendmsgToServer *(args + self.sendmsg_to_server_defaults[len(args):])) OSError: [Errno 22] Invalid argument

====================================================================== FAIL: testIPv4toString (test.test_socket.GeneralModuleTests)

Traceback (most recent call last): File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 955, in testIPv4toString assertInvalid(f, '0.0.0.') File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 947, in (OSError, ValueError), func, a AssertionError: (<class 'OSError'>, <class 'ValueError'>) not raised by inet_aton

====================================================================== FAIL: testIPv6toString (test.test_socket.GeneralModuleTests)

Traceback (most recent call last): File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 1012, in testIPv6toString assertInvalid('1:2:3:4:5:6:7:8:') File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 990, in (OSError, ValueError), f, a AssertionError: (<class 'OSError'>, <class 'ValueError'>) not raised by

====================================================================== FAIL: testFDPassSeparate (test.test_socket.RecvmsgSCMRightsStreamTest)

Traceback (most recent call last): File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 2710, in testFDPassSeparate maxcmsgs=2) File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 2637, in checkRecvmsgFDs self.assertEqual(msg, MSG) AssertionError: b'' != b'Michael Gilfix was here\xe1\x88\xb4\r\n'

====================================================================== FAIL: testFDPassSeparateMinSpace (test.test_socket.RecvmsgSCMRightsStreamTest)

Traceback (most recent call last): File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 2734, in testFDPassSeparateMinSpace maxcmsgs=2, ignoreflags=socket.MSG_CTRUNC) File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 2637, in checkRecvmsgFDs self.assertEqual(msg, MSG) AssertionError: b'' != b'Michael Gilfix was here\xe1\x88\xb4\r\n'

====================================================================== FAIL: testFDPassSeparate (test.test_socket.RecvmsgIntoSCMRightsStreamTest)

Traceback (most recent call last): File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 2710, in testFDPassSeparate maxcmsgs=2) File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 2637, in checkRecvmsgFDs self.assertEqual(msg, MSG) AssertionError: b'' != b'Michael Gilfix was here\xe1\x88\xb4\r\n'

====================================================================== FAIL: testFDPassSeparateMinSpace (test.test_socket.RecvmsgIntoSCMRightsStreamTest)

Traceback (most recent call last): File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 2734, in testFDPassSeparateMinSpace maxcmsgs=2, ignoreflags=socket.MSG_CTRUNC) File "/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_socket.py", line 2637, in checkRecvmsgFDs self.assertEqual(msg, MSG) AssertionError: b'' != b'Michael Gilfix was here\xe1\x88\xb4\r\n'