Skip to content

Commit 2dbab4c

Browse files
committed
[lldb][test] Disable a bunch of flakey lldb-dap tests
These, or parts of these, are all failing every so often on Linaro's build bots with: raise ValueError(desc) ValueError: no response for "disconnect" Sorry to use a global disable here but this is happening too often and spamming unrelated PRs. I think it's the same issue as #137660.
1 parent 47424df commit 2dbab4c

File tree

7 files changed

+14
-7
lines changed

7 files changed

+14
-7
lines changed

lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_breakpointLocations.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
import lldbdap_testcase
1212
import os
1313

14-
14+
# DAP tests are flakey, see https://github.com/llvm/llvm-project/issues/137660.
15+
@skip
1516
class TestDAP_breakpointLocations(lldbdap_testcase.DAPTestCaseBase):
1617
def setUp(self):
1718
lldbdap_testcase.DAPTestCaseBase.setUp(self)

lldb/test/API/tools/lldb-dap/breakpoint/TestDAP_setBreakpoints.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
import lldbdap_testcase
1212
import os
1313

14-
14+
# DAP tests are flakey, see https://github.com/llvm/llvm-project/issues/137660.
15+
@skip
1516
class TestDAP_setBreakpoints(lldbdap_testcase.DAPTestCaseBase):
1617
def setUp(self):
1718
lldbdap_testcase.DAPTestCaseBase.setUp(self)

lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
from lldbsuite.test import lldbtest, lldbutil
66
from lldbsuite.test.decorators import *
77

8-
8+
# DAP tests are flakey, see https://github.com/llvm/llvm-project/issues/137660.
9+
@skip
910
class TestDAP_commands(lldbdap_testcase.DAPTestCaseBase):
1011
def test_command_directive_quiet_on_success(self):
1112
program = self.getBuildArtifact("a.out")

lldb/test/API/tools/lldb-dap/disassemble/TestDAP_disassemble.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
import lldbdap_testcase
1111
import os
1212

13-
13+
# DAP tests are flakey, see https://github.com/llvm/llvm-project/issues/137660.
14+
@skip
1415
class TestDAP_disassemble(lldbdap_testcase.DAPTestCaseBase):
1516
@skipIfWindows
1617
def test_disassemble(self):

lldb/test/API/tools/lldb-dap/evaluate/TestDAP_evaluate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
from lldbsuite.test.decorators import *
1111
from lldbsuite.test.lldbtest import *
1212

13-
13+
# DAP tests are flakey, see https://github.com/llvm/llvm-project/issues/137660.
14+
@skip
1415
class TestDAP_evaluate(lldbdap_testcase.DAPTestCaseBase):
1516
def assertEvaluate(self, expression, regex):
1617
self.assertRegex(

lldb/test/API/tools/lldb-dap/memory/TestDAP_memory.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
import lldbdap_testcase
1111
import os
1212

13-
13+
# DAP tests are flakey, see https://github.com/llvm/llvm-project/issues/137660.
14+
@skip
1415
class TestDAP_memory(lldbdap_testcase.DAPTestCaseBase):
1516
def test_memory_refs_variables(self):
1617
"""

lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ def make_buffer_verify_dict(start_idx, count, offset=0):
1717
verify_dict["[%i]" % (i)] = {"type": "int", "value": str(i + offset)}
1818
return verify_dict
1919

20-
20+
# DAP tests are flakey, see https://github.com/llvm/llvm-project/issues/137660.
21+
@skip
2122
class TestDAP_variables(lldbdap_testcase.DAPTestCaseBase):
2223
def verify_values(self, verify_dict, actual, varref_dict=None, expression=None):
2324
if "equals" in verify_dict:

0 commit comments

Comments
 (0)