Skip to content

Commit b800930

Browse files
committed
[lldb][test] Disable TestDAP_memory.py on 32-bit Arm Linux
This has been very flakey lately: ====================================================================== ERROR: test_writeMemory (TestDAP_memory.TestDAP_memory) Tests the 'writeMemory' request ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/test/API/tools/lldb-dap/memory/TestDAP_memory.py", line 202, in test_writeMemory mem_response = self.writeMemory( File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py", line 545, in writeMemory response = self.dap_server.request_writeMemory( File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py", line 850, in request_writeMemory 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 403, in send_recv raise ValueError(desc) ValueError: no response for "writeMemory" Config=arm-/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang ====================================================================== ERROR: test_writeMemory (TestDAP_memory.TestDAP_memory) Tests the 'writeMemory' request ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2067, in tearDown Base.tearDown(self) File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1105, 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 486, 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 799, 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 397, in send_recv self.send_packet(command) File "/home/tcwg-buildbot/worker/lldb-arm-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py", line 349, in send_packet self.send.flush() BrokenPipeError: [Errno 32] Broken pipe Config=arm-/home/tcwg-buildbot/worker/lldb-arm-ubuntu/build/bin/clang ---------------------------------------------------------------------- General tracking issue - #137660
1 parent 20051b7 commit b800930

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ def test_readMemory(self):
126126

127127
self.continue_to_exit()
128128

129+
# Flakey on 32-bit Arm Linux.
130+
@skipif(oslist=["linux"], archs=["arm$"])
129131
def test_writeMemory(self):
130132
"""
131133
Tests the 'writeMemory' request

0 commit comments

Comments
 (0)