Skip to content

Commit 7337e64

Browse files
DavidSpickettLukacma
authored andcommitted
[lldb][test][DAP] Disable TestDAP_attach.py on Arm Linux
Despite llvm#163452, this is still timing out on our Arm bot. Probably because schedling is unpredicatable, but that's just reality so I'm not going to fight that. -- Exit Code: -9 Timeout: Reached timeout of 600 seconds ====================================================================== ERROR: test_by_name_waitFor (TestDAP_attach.TestDAP_attach) Tests waiting for, and attaching to a process by process name that ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2066, in tearDown Base.tearDown(self) File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1106, in tearDown hook() # try the plain call and hope it works File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py", line 499, in cleanup self.dap_server.request_disconnect(terminateDebuggee=True) File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py", line 926, in request_disconnect return self._send_recv(command_dict) File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py", line 548, in _send_recv raise ValueError(f"no response for {request!r}") ValueError: no response for {'command': 'disconnect', 'type': 'request', 'arguments': {'terminateDebuggee': True}, 'seq': 3} Config=arm-/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang ---------------------------------------------------------------------- I don't think this is an Arm thing specifically, but it's the most diplomatic way to stop false negatives from this test.
1 parent 5f4d3a3 commit 7337e64

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
import time
1212

1313

14+
# Often fails on Arm Linux, but not specifically because it's Arm, something in
15+
# process scheduling can cause a massive (minutes) delay during this test.
16+
@skipIf(oslist=["linux"], archs=["arm$"])
1417
class TestDAP_attach(lldbdap_testcase.DAPTestCaseBase):
1518
def spawn(self, args):
1619
self.process = subprocess.Popen(

0 commit comments

Comments
 (0)