[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2017-07-03 Thread STINNER Victor
STINNER Victor added the comment: I'm sorry but I don't have OpenBSD, and there is no more OpenBSD buildbot, so I close this issue as out of date :-( We failed to find anyone to review the patch since 2 years. -- resolution: -> out of date stage: -> resolved status: open -> closed

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: Or should we just close the issue as "out of date"? -- ___ Python tracker ___

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: Oh, this issue is now old. Can someone please try the patch? Does it fix the issue? -- ___ Python tracker ___

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-17 Thread William Orr
Changes by William Orr w...@worrbase.com: Removed file: http://bugs.python.org/file39028/recvmsg_trunc_emsgsize_cmsg_linux_only.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669 ___

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-17 Thread William Orr
Changes by William Orr w...@worrbase.com: Removed file: http://bugs.python.org/file38990/recvmsg_trunc_emsgsize_cmsg_obsd_skip.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669 ___

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-17 Thread William Orr
William Orr added the comment: Double checked on a FreeBSD box and confirmed. I missed the loop in the kernel source. I've attached a new patch, without the emsgsize change. -- Added file: http://bugs.python.org/file39096/recvmsg_linux_freebsd_only.patch

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-16 Thread David Watson
David Watson added the comment: Sending multiple control messages at once isn't Linux-specific - the tests in question passed on FreeBSD. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-15 Thread STINNER Victor
STINNER Victor added the comment: Can you please split the changes to skip tests on non-Linux platforms, and changes for OpenBSD/AIX please? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-14 Thread Michael Schurter
Changes by Michael Schurter m...@schmichael.com: -- nosy: -schmichael ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669 ___ ___

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-14 Thread William Orr
William Orr added the comment: In the case of EINVAL, OpenBSD returns this if multiple cmsghdrs are attached to a message with sendmsg(2). In this case, those tests should probably be skipped. I've attached the patch that combines haypo's patch with skips referencing this issue wrt. multiple

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-14 Thread William Orr
William Orr added the comment: I'm adding another patch, as adding multiple cmsg's to a single message with sendmsg is a Linux-specific extension. This only enables the problematic patches on Linux. This solves the AIX failures in #20718 as well. -- Added file:

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-02 Thread Cédric Krier
Changes by Cédric Krier cedric.kr...@b2ck.com: -- nosy: +ced ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669 ___ ___ Python-bugs-list mailing

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2015-04-02 Thread Jean-Paul Calderone
Changes by Jean-Paul Calderone jean-p...@clusterhq.com: -- nosy: -exarkun ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669 ___ ___

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2014-02-22 Thread David Watson
David Watson added the comment: I opened the issue #20718 to track the FD pass failures. But the failures in the current issue *all* involve FD passing :) The Message too long errors are in tests where the ancillary data (in this case file descriptors) is truncated, rather than the normal

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2014-02-22 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669 ___ ___ Python-bugs-list

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: I copy the nosy list from issue #6560 which added the recvmsg() and sendmsg() methods. -- nosy: +baikie, brett.cannon, brian, exarkun, giampaolo.rodola, jackdied, janssen, jcea, ncoghlan, neologix, pitrou, python-dev, rosslagerwall, schmichael,

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2014-02-21 Thread STINNER Victor
STINNER Victor added the comment: I opened the issue #20718 to track the FD pass failures. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669 ___

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2014-02-20 Thread STINNER Victor
STINNER Victor added the comment: Extract of the POSIX standard for recvmsg(): http://pubs.opengroup.org/onlinepubs/009695399/functions/recvmsg.html DESCRIPTION (...) The recvmsg() function shall return the total length of the message. (...) If a message is too long to fit in the supplied

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2014-02-20 Thread STINNER Victor
STINNER Victor added the comment: recvmsg_trunc_emsgsize.patch: modify recvmsg() tests checking for truncated data to ignore the test on OSError(EMSGSIZE). -- keywords: +patch Added file: http://bugs.python.org/file34158/recvmsg_trunc_emsgsize.patch

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2014-02-20 Thread STINNER Victor
STINNER Victor added the comment: For failing FD pass tests, see issue #12958: these tests are also skipped on Mac OS X. We should maybe also skip these tests on OpenBSD. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20669

[issue20669] OpenBSD: socket.recvmsg tests fail with OSError: [Errno 40] Message too long

2014-02-18 Thread STINNER Victor
New submission from STINNER Victor: http://buildbot.python.org/all/builders/x86%20OpenBSD%205.5%203.x/builds/14/steps/test/logs/stdio == ERROR: testCmsgTrunc1 (test.test_socket.RecvmsgSCMRightsStreamTest)