The branch, master has been updated
       via  6cf1bf540e7 selftest: Do not use wrappers for samba.tests.docs
      from  262ae876654 source3/passdb: Follow up to the fix for CID 1508970

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 6cf1bf540e7f433e05a0a4119cff4bdaa608359e
Author: Andreas Schneider <[email protected]>
Date:   Wed Sep 10 13:31:11 2025 +0200

    selftest: Do not use wrappers for samba.tests.docs
    
    We will run into issues with Python 3.14 passing sockets for
    concurrently running tasks.
    
    https://bugzilla.samba.org/show_bug.cgi?id=15910
    
    Signed-off-by: Andreas Schneider <[email protected]>
    Reviewed-by: Anoop C S <[email protected]>
    
    Autobuild-User(master): Anoop C S <[email protected]>
    Autobuild-Date(master): Wed Sep 10 19:21:55 UTC 2025 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 selftest/tests.py | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/selftest/tests.py b/selftest/tests.py
index d7d13a6d609..c00acb434e3 100644
--- a/selftest/tests.py
+++ b/selftest/tests.py
@@ -57,7 +57,14 @@ planpythontestsuite("none", "samba.tests.source")
 planpythontestsuite("none", "samba.tests.source_chars")
 
 if have_man_pages_support:
-    planpythontestsuite("none", "samba.tests.docs")
+    # This is a unit test which doesn't need any wrappers. We unset LD_PRELOAD
+    # as it is causing issues with Python >= 3.14 passing sockets around if a
+    # task is running concurrently.
+    planpythontestsuite(
+        "none",
+        "samba.tests.docs",
+        environ={'LD_PRELOAD': ''}
+    )
 
 try:
     import testscenarios


-- 
Samba Shared Repository

Reply via email to