Skip to content

Commit 14e280e

Browse files
committed
[lldb-dap][test] Skip TestDAP_runInTerminal/TestDAP_restart_runInTerminal on ASAN
These fail with on the macOS ASAN CI with following error: ``` 07:10:31 ====================================================================== 07:10:31 FAIL: test_runInTerminalWithObjectEnv (TestDAP_runInTerminal.TestDAP_runInTerminal) 07:10:31 Tests the "runInTerminal" reverse request. It makes sure that the IDE can 07:10:31 ---------------------------------------------------------------------- 07:10:31 Traceback (most recent call last): 07:10:31 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 149, in wrapper 07:10:31 return func(*args, **kwargs) 07:10:31 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py", line 83, in test_runInTerminalWithObjectEnv 07:10:31 self.build_and_launch(program, runInTerminal=True, env={"FOO": "BAR"}) 07:10:31 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py", line 488, in build_and_launch 07:10:31 return self.launch(program, **kwargs) 07:10:31 File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py", line 470, in launch 07:10:31 self.assertTrue( 07:10:31 AssertionError: False is not true : launch failed (process exited during launch or attach) 07:10:31 Config=arm64-/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-sanitized/lldb-build/bin/clang ``` These fail ever since they were enabled in #144954. Skip these again when testing with ASAN.
1 parent 0036bee commit 14e280e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lldb/test/API/tools/lldb-dap/restart/TestDAP_restart_runInTerminal.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def verify_stopped_on_entry(self, stopped_events: List[Dict[str, Any]]):
3232

3333
self.assertEqual(seen_stopped_event, 1, "expect only one stopped entry event.")
3434

35+
@skipIfAsan
3536
@skipIfWindows
3637
@skipIf(oslist=["linux"], archs=["arm$"]) # Always times out on buildbot
3738
def test_basic_functionality(self):
@@ -80,6 +81,7 @@ def test_basic_functionality(self):
8081
)
8182
self.continue_to_exit()
8283

84+
@skipIfAsan
8385
@skipIfWindows
8486
@skipIf(oslist=["linux"], archs=["arm$"]) # Always times out on buildbot
8587
def test_stopOnEntry(self):

lldb/test/API/tools/lldb-dap/runInTerminal/TestDAP_runInTerminal.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def read_error_message(fifo_file):
2626
with open(fifo_file, "r") as file:
2727
return file.readline()
2828

29+
@skipIfAsan
2930
@skipIfWindows
3031
@skipIf(oslist=["linux"], archs=no_match(["x86_64"]))
3132
def test_runInTerminal(self):
@@ -73,6 +74,7 @@ def test_runInTerminal(self):
7374

7475
self.continue_to_exit()
7576

77+
@skipIfAsan
7678
@skipIfWindows
7779
@skipIf(oslist=["linux"], archs=no_match(["x86_64"]))
7880
def test_runInTerminalWithObjectEnv(self):

0 commit comments

Comments
 (0)