[Lldb-commits] [lldb] [lldb][test] Disable flaky test_qThreadInfo_matches_qC_attach test on AArch64 Linux (PR #138940)

via lldb-commits lldb-commits at lists.llvm.org
Wed May 7 12:00:31 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Dmitry Vasilyev (slydiman)

<details>
<summary>Changes</summary>

See #<!-- -->138085 for details.
https://lab.llvm.org/buildbot/#/builders/59/builds/16937 
https://lab.llvm.org/buildbot/#/builders/59/builds/17224


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


1 Files Affected:

- (modified) lldb/test/API/tools/lldb-server/TestLldbGdbServer.py (+7) 


``````````diff
diff --git a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
index 2c328125e3058..67690a275f0da 100644
--- a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
+++ b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
@@ -202,6 +202,13 @@ def test_qThreadInfo_matches_qC_launch(self):
         self.set_inferior_startup_launch()
         self.qThreadInfo_matches_qC()
 
+    # This test is flaky on AArch64 Linux. Sometimes it causes an unhandled Error:
+    # Operation not permitted in lldb_private::process_linux::NativeProcessLinux::Attach(int).
+    @skipIf(
+        oslist=["linux"],
+        archs=["aarch64"],
+        bugnumber="github.com/llvm/llvm-project/issues/138085",
+    )
     @expectedFailureAll(oslist=["windows"])  # expect one more thread stopped
     def test_qThreadInfo_matches_qC_attach(self):
         self.build()

``````````

</details>


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


More information about the lldb-commits mailing list