[Lldb-commits] [lldb] [lldb][test] Disable flaky TestLldbGdbServer.py (PR #138263)

via lldb-commits lldb-commits at lists.llvm.org
Fri May 2 05:54:15 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Dmitry Vasilyev (slydiman)

<details>
<summary>Changes</summary>

See #<!-- -->138085 for details.

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


1 Files Affected:

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


``````````diff
diff --git a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
index eef157c5f490a..2c328125e3058 100644
--- a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
+++ b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
@@ -110,6 +110,8 @@ def test_first_launch_stop_reply_thread_matches_first_qC(self):
         context = self.expect_gdbremote_sequence()
         self.assertEqual(context.get("thread_id_QC"), context.get("thread_id_?"))
 
+    # This test is flaky on Windows. Sometimes returns 'Exception 0x80000003'.
+    @skipIf(oslist=["windows"], bugnumber="github.com/llvm/llvm-project/issues/138085")
     def test_attach_commandline_continue_app_exits(self):
         self.build()
         self.set_inferior_startup_attach()
@@ -303,6 +305,8 @@ def Hg_switches_to_3_threads(self, pass_pid=False):
             self.assertIsNotNone(context.get("thread_id"))
             self.assertEqual(int(context.get("thread_id"), 16), thread)
 
+    # This test is flaky on Windows. Sometimes returns '$E37#af'.
+    @skipIf(oslist=["windows"], bugnumber="github.com/llvm/llvm-project/issues/138085")
     @skipIf(compiler="clang", compiler_version=["<", "11.0"])
     def test_Hg_switches_to_3_threads_launch(self):
         self.build()

``````````

</details>


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


More information about the lldb-commits mailing list