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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: David Spickett (DavidSpickett)

<details>
<summary>Changes</summary>

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.

---
Full diff: https://github.com/llvm/llvm-project/pull/159395.diff


1 Files Affected:

- (modified) lldb/test/API/functionalities/postmortem/netbsd-core/TestNetBSDCore.py (+2) 


``````````diff
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")
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/159395


More information about the lldb-commits mailing list