Skip to content

Commit 1af2ddb

Browse files
committed
[lldb][test] Disable part of TestDAP_module.py on Linux
This test sometimes times out in CI runs: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/tools/lldb-dap/module -p TestDAP_module.py -- Exit Code: -9 Timeout: Reached timeout of 1200 seconds ... https://github.com/llvm/llvm-project/actions/runs/17940597997/job/51016081497?pr=139293 The logs say that one test passed, but the printed communication logs relate to that test too. So I can't tell if that one failed or a different part did. Given that I've had to disable multiple parts of DAP tests before, I'm just going to skip the whole file. It's not pretty, but it'll save contributors hassle. See #137660.
1 parent 88bcb58 commit 1af2ddb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lldb/test/API/tools/lldb-dap/module/TestDAP_module.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
import lldbdap_testcase
88
import re
99

10-
10+
# Flakey in Github CI runs, see https://github.com/llvm/llvm-project/issues/137660.
11+
@SkipIfLinux
1112
class TestDAP_module(lldbdap_testcase.DAPTestCaseBase):
1213
def run_test(self, symbol_basename, expect_debug_info_size):
1314
program_basename = "a.out.stripped"

0 commit comments

Comments
 (0)