Skip to content

[lldb][test] Disable flaky test_qThreadInfo_matches_qC_attach test on AArch64 Linux #138940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025

Conversation

slydiman
Copy link
Contributor

@slydiman slydiman commented May 7, 2025

@llvmbot
Copy link
Member

llvmbot commented May 7, 2025

@llvm/pr-subscribers-lldb

Author: Dmitry Vasilyev (slydiman)

Changes

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 --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()

Copy link
Collaborator

@preames preames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@slydiman slydiman merged commit e18f248 into llvm:main May 8, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants