STINNER Victor added the comment: Failing tests:
* testFDPassSeparateMinSpace (test.test_socket.RecvmsgSCMRightsStreamTest) * testFDPassSeparate (test.test_socket.RecvmsgIntoSCMRightsStreamTest) * testFDPassSeparateMinSpace (test.test_socket.RecvmsgIntoSCMRightsStreamTest) * testFDPassSeparate (test.test_socket.RecvmsgSCMRightsStreamTest) * testFDPassSeparateMinSpace (test.test_socket.RecvmsgSCMRightsStreamTest) * testFDPassSeparate (test.test_socket.RecvmsgIntoSCMRightsStreamTest) * testFDPassSeparateMinSpace (test.test_socket.RecvmsgIntoSCMRightsStreamTest) It looks like the failure come from code like: self.sendmsgToServer([MSG], [(socket.SOL_SOCKET, socket.SCM_RIGHTS, array.array("i", [fd0])), and self.doRecvmsg(self.serv_sock, len(MSG), socket.CMSG_SPACE(SIZEOF_INT) + socket.CMSG_LEN(SIZEOF_INT)), In clear, there are errors on tests sending file descriptors through UNIX sockets. So this issue is a duplicate of #20718, but we may keep this one for AIX, and #20718 for OpenBSD. It looks possible to send a file descriptor between processes but using a pipe with I_SENDFD and I_RECVFD ioctl. See: http://www-01.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.commtrf2/I_SENDFD.htm http://www-01.ibm.com/support/knowledgecenter/ssw_aix_71/com.ibm.aix.commtrf2/I_RECVFD.htm http://search.cpan.org/~fractal/AnyEvent-FDpasser-0.3.0/lib/AnyEvent/FDpasser.pm ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22397> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com