Bug 15910 - samba.docs.test fails with Python 3.14
Summary: samba.docs.test fails with Python 3.14
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Test infrastructure (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jule Anger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-10 12:46 UTC by Andreas Schneider
Modified: 2025-09-11 10:31 UTC (History)
1 user (show)

See Also:


Attachments
patch for 4.23 (1.40 KB, patch)
2025-09-11 08:31 UTC, Andreas Schneider
pfilipensky: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2025-09-10 12:46:38 UTC
samba.docs.test fails with Python 3.14. We use concurrency and Python is passing sockets arround in this case. It uses 8 sockets and socket_wrapper only allows 6. We can't raise it or we don't fit into PIPE_BUF anymore.

Howeever we do not need the wrappers for this test at all.
Comment 1 Andreas Schneider 2025-09-11 08:31:44 UTC
Created attachment 18721 [details]
patch for 4.23
Comment 2 Pavel Filipenský 2025-09-11 08:38:36 UTC
Comment on attachment 18721 [details]
patch for 4.23

Patch LGTM
Comment 3 Pavel Filipenský 2025-09-11 08:40:12 UTC
Jule, please add the patch to samba-4.23-test
Comment 4 Jule Anger 2025-09-11 08:42:21 UTC
Pushed to autobuild-v4-23-test.
Comment 5 Jule Anger 2025-09-11 10:31:30 UTC
This bug was referenced in samba v4-23-test:

4cb72d2c15fc697289a55ef199b810a07f279a4c

(No message from Samba QA Contact, as bug tag was incomplete)


Closing out bug report.

Thanks!