[Lldb-commits] [lldb] d0bdc5d - [lldb][test] Disable parallel module loading for TestNetBSDCore.py (#159395)

via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 17 09:40:41 PDT 2025


Author: David Spickett
Date: 2025-09-17T17:40:36+01:00
New Revision: d0bdc5d94502b9fb829bb7cb5f9d2f5bbccdbb2f

URL: https://github.com/llvm/llvm-project/commit/d0bdc5d94502b9fb829bb7cb5f9d2f5bbccdbb2f
DIFF: https://github.com/llvm/llvm-project/commit/d0bdc5d94502b9fb829bb7cb5f9d2f5bbccdbb2f.diff

LOG: [lldb][test] Disable parallel module loading for TestNetBSDCore.py (#159395)

Since #157170 this test has been flakey on several LLDB buildbots. I
suspect it's to do with mutli-threading, there are more details in
#159377.

Disable parallel loading for now so we are not spamming people making
unrelated changes.

Added: 
    

Modified: 
    lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py b/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py
index ff1ef21e02e31..179dbdf88fa8a 100644
--- a/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py
+++ b/lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py
@@ -117,6 +117,8 @@ def check_backtrace(self, thread, filename, backtrace):
                 )
 
     def do_test(self, filename, pid, region_count):
+        # Temporary workaround for https://github.com/llvm/llvm-project/issues/159377
+        self.runCmd("settings set target.parallel-module-load false")
         target = self.dbg.CreateTarget(filename)
         process = target.LoadCore(filename + ".core")
 


        


More information about the lldb-commits mailing list