Skip to content

Conversation

DavidSpickett
Copy link
Collaborator

While #161510 is dealt with.

@llvmbot llvmbot added the lldb label Oct 3, 2025
@DavidSpickett DavidSpickett changed the title [lldb][test] Disable lldb-server tests on Linux [lldb][test] Disable TestLldbGdbServer.py on Linux temporarily Oct 3, 2025
@llvmbot
Copy link
Member

llvmbot commented Oct 3, 2025

@llvm/pr-subscribers-lldb

Author: David Spickett (DavidSpickett)

Changes

While #161510 is dealt with.


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

1 Files Affected:

  • (modified) lldb/test/API/tools/lldb-server/TestLldbGdbServer.py (+3-1)
diff --git a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
index c01f6d83fafe5..f1c0519ae56d8 100644
--- a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
+++ b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
@@ -22,7 +22,9 @@
 from lldbsuite.test.lldbdwarf import *
 from lldbsuite.test import lldbutil, lldbplatformutil
 
-
+# On Linux systems with Yama ptrace_scope = 1 there is a race condition when the
+# debugee enables tracing. See https://github.com/llvm/llvm-project/issues/161510.
+@skipIfLinux
 class LldbGdbServerTestCase(
     gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcodeParser
 ):

@DavidSpickett DavidSpickett merged commit 78c5d91 into llvm:main Oct 3, 2025
7 of 10 checks passed
@DavidSpickett DavidSpickett deleted the lldb-server-tests branch October 3, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants