[Lldb-commits] [lldb] [lldb][Windows] Fix lldb-server exit deadlock with pipe-mode stdio (PR #227273)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 29 08:46:42 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 3725 tests passed
* 911 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### lldb-api
<details>
<summary>lldb-api.tools/lldb-dap/io/TestDAP_io.py</summary>
```
Script:
--
C:/Python312/python.exe C:/_work/llvm-project/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=C:/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=C:/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=C:/_work/llvm-project/llvm-project/build/./bin --triple x86_64-pc-windows-msvc --build-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build --lldb-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb\lldb-api --clang-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang\lldb-api --executable C:/_work/llvm-project/llvm-project/build/./bin/lldb.exe --lldb-python-dir C:\_work\llvm-project\llvm-project\build\lib\site-packages --compiler C:/_work/llvm-project/llvm-project/build/./bin/clang.exe --dsymutil C:/_work/llvm-project/llvm-project/build/./bin/dsymutil.exe --make C:/ProgramData/chocolatey/bin/make.exe --llvm-tools-dir C:/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root C:/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir C:/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release --env LLDB_LAUNCH_FLAG_USE_PIPES=1 C:\_work\llvm-project\llvm-project\lldb\test\API\tools\lldb-dap\io -p TestDAP_io.py --timeout 1200
--
Exit Code: 1
Command Output (stdout):
--
Skipping the following test categories: libc++, libstdcxx, dwo, dsym, gmodules, debugserver, objc, fork, pexpect
--
Command Output (stderr):
--
FAIL: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_eof_immediately (TestDAP_io.TestDAP_io.test_eof_immediately)
Log Files:
- C:\_work\llvm-project\llvm-project\build\lldb-test-build\tools\lldb-dap\io\TestDAP_io\Error_test_eof_immediately.log
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_incorrect_content_length (TestDAP_io.TestDAP_io.test_incorrect_content_length)
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_invalid_header (TestDAP_io.TestDAP_io.test_invalid_header)
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_partial_content_length (TestDAP_io.TestDAP_io.test_partial_content_length)
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_partial_header (TestDAP_io.TestDAP_io.test_partial_header)
======================================================================
ERROR: test_eof_immediately (TestDAP_io.TestDAP_io.test_eof_immediately)
lldb-dap handles EOF without any other input.
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\_work\llvm-project\llvm-project\lldb\test\API\tools\lldb-dap\io\TestDAP_io.py", line 27, in test_eof_immediately
self.assertEqual(process.wait(timeout=self.DEFAULT_TIMEOUT), EXIT_SUCCESS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\subprocess.py", line 1264, in wait
return self._wait(timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python312\Lib\subprocess.py", line 1593, in _wait
raise TimeoutExpired(self.args, timeout)
subprocess.TimeoutExpired: Command '['C:\\_work\\llvm-project\\llvm-project\\build\\bin\\lldb-dap.exe', '--pre-init-command', 'settings clear --all', '--pre-init-command', 'settings set symbols.enable-external-lookup false', '--pre-init-command', 'settings set target.inherit-tcc true', '--pre-init-command', 'settings set target.disable-aslr false', '--pre-init-command', 'settings set target.detach-on-error false', '--pre-init-command', 'settings set target.auto-apply-fixits false', '--pre-init-command', 'settings set plugin.process.gdb-remote.packet-timeout 60', '--pre-init-command', 'settings set target.process.utility-expression-timeout 600', '--pre-init-command', 'settings set platform.shell-expand-timeout 0', '--pre-init-command', 'settings set symbols.clang-modules-cache-path "C:/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb\\lldb-api"', '--pre-init-command', 'settings set use-color false', '--pre-init-command', 'settings set show-statusline false', '--pre-init-command', 'settings set target.check-vo-ownership true', '--pre-init-command', 'settings set target.env-vars PATH=']' timed out after 50.0 seconds
Config=x86_64-C:\_work\llvm-project\llvm-project\build\bin\clang.exe
----------------------------------------------------------------------
Ran 5 tests in 54.689s
FAILED (errors=1)
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/227273
More information about the lldb-commits
mailing list