gh-154240: Skip cmsg truncation socket tests on OpenBSD and DragonFly#154244
Conversation
…gonFly Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
# Conflicts: # Lib/test/test_socket.py
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
|
GH-154270 is a backport of this pull request to the 3.13 branch. |
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15. |
|
GH-154285 is a backport of this pull request to the 3.14 branch. |
|
GH-154286 is a backport of this pull request to the 3.15 branch. |
Skip the
recvmsg()control-message truncation tests on OpenBSD and DragonFly, whose kernels failrecvmsg()with EMSGSIZE ("Message too long") when the ancillary-data buffer is too small for acmsghdr, instead of returning the data withMSG_CTRUNCset. NetBSD, FreeBSD and Linux are unaffected.This revives gh-64868 (bpo-20669), which reported the same failure on OpenBSD in 2014 and was closed in 2017 only for lack of an OpenBSD buildbot and reviewer. Verified on OpenBSD 7 and DragonFly 6 (skipped) and NetBSD 10 / Linux (still run).
🤖 Generated with Claude Code