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

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


https://github.com/DavidSpickett created https://github.com/llvm/llvm-project/pull/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.

>From df1881e159fb7570dda99b393e283df21da0f15a Mon Sep 17 00:00:00 2001
From: David Spickett <david.spickett at linaro.org>
Date: Wed, 17 Sep 2025 17:37:31 +0100
Subject: [PATCH] [lldb][test] Disable parallel module loading for
 TestNetBSDCore.py

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.
---
 .../functionalities/postmortem/netbsd-core/TestNetBSDCore.py    | 2 ++
 1 file changed, 2 insertions(+)

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