llvm / llvm/llvm-project

LLDB tests hanging on premerge runners

Open
#165,887 9 comments 0 reactions 2 assignees Claimed by @ashgti View on GitHub
lldb-dap test-suite
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

We're seeing some LLDB tests hang on the premerge runners, with the default lit timeouts not working. Going into a hanging instance, we can see the following process from `ps aux` that has been running for 10+ hours:
```
gha 1597203 0.0 0.0 1562396 108092 ? Sl Oct30 0:08 /home/gha/llvm-project/build/bin/lldb-dap --connection accept:///tmp/lit-tmp-yp5x_cuj/dap-connection-1585649
```

Running ` lsof -a -p 1597203` we can see the following open file:
```
lldb-dap 1597203 gha 3w REG 0,128 23969 1047917 /home/gha/llvm-project/build/lldb-test-build.noindex/tools/lldb-dap/server/TestDAP_server.test_server_unix_socket/dap.txt
```

Which seems to imply that this test is hanging:
https://github.com/llvm/llvm-project/blob/e5f3d7f4695556a17af7c70bd31aa52f55108301/lldb/test/API/tools/lldb-dap/server/TestDAP_server.py#L71

Looking at a couple other instances, it's not exclusive to this test. I'm also seeing failures in `test_server_interrupt` and `test_server_port`. These are all DAP tests though.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.