[Lldb-commits] [lldb] [lldb] Fix typo in GetTerminalHeight (PR #201779)

via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 5 01:39:13 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 33025 tests passed
* 890 tests skipped
* 2 tests failed

## Failed Tests
(click on a test name to see its output)

### lldb-api
<details>
<summary>lldb-api.tools/lldb-dap/attach-commands/TestDAP_attachCommands.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.noindex --lldb-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/_work/llvm-project/llvm-project/build/./bin/lldb.exe --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\attach-commands -p TestDAP_attachCommands.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project revision 8e5760c71f55a3f3972bbf078178bf1e67ee1fa6)
  clang revision 8e5760c71f55a3f3972bbf078178bf1e67ee1fa6
  llvm revision 8e5760c71f55a3f3972bbf078178bf1e67ee1fa6
Skipping the following test categories: libc++, libstdcxx, dwo, dsym, gmodules, debugserver, objc, fork, pexpect


--
Command Output (stderr):
--
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_attach_command_process_failures (TestDAP_attachCommands.TestDAP_attachCommands.test_attach_command_process_failures)

FAIL: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_commands (TestDAP_attachCommands.TestDAP_attachCommands.test_commands)

Log Files:

 - C:\_work\llvm-project\llvm-project\build\lldb-test-build.noindex\tools\lldb-dap\attach-commands\TestDAP_attachCommands.test_commands\Error_test_commands.log

 - C:\_work\llvm-project\llvm-project\build\lldb-test-build.noindex\tools\lldb-dap\attach-commands\TestDAP_attachCommands.test_commands\Error_test_commands-dap.log

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_terminate_commands (TestDAP_attachCommands.TestDAP_attachCommands.test_terminate_commands)

======================================================================

ERROR: test_commands (TestDAP_attachCommands.TestDAP_attachCommands.test_commands)

   Tests the "initCommands", "preRunCommands", "stopCommands",

----------------------------------------------------------------------

Traceback (most recent call last):

  File "C:\_work\llvm-project\llvm-project\lldb\test\API\tools\lldb-dap\attach-commands\TestDAP_attachCommands.py", line 81, in test_commands

    modules = self.dap_server.wait_for_module_events()

              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-dap\dap_server.py", line 657, in wait_for_module_events

    return self.collect_events(["module"])

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-dap\dap_server.py", line 623, in collect_events

    event = cast(Event, self._recv_packet(predicate=predicate))

                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-dap\dap_server.py", line 423, in _recv_packet

    raise TimeoutError

TimeoutError

Config=x86_64-C:\_work\llvm-project\llvm-project\build\bin\clang.exe

----------------------------------------------------------------------

Ran 3 tests in 62.074s



FAILED (errors=1)


--

```
</details>
<details>
<summary>lldb-api.tools/lldb-dap/launch/TestDAP_launch_extra_launch_commands.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.noindex --lldb-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/_work/llvm-project/llvm-project/build/./bin/lldb.exe --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\launch -p TestDAP_launch_extra_launch_commands.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project revision 8e5760c71f55a3f3972bbf078178bf1e67ee1fa6)
  clang revision 8e5760c71f55a3f3972bbf078178bf1e67ee1fa6
  llvm revision 8e5760c71f55a3f3972bbf078178bf1e67ee1fa6
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 (TestDAP_launch_extra_launch_commands.TestDAP_launch_extra_launch_commands.test)

Log Files:

 - C:\_work\llvm-project\llvm-project\build\lldb-test-build.noindex\tools\lldb-dap\launch\TestDAP_launch_extra_launch_commands\Error_test.log

 - C:\_work\llvm-project\llvm-project\build\lldb-test-build.noindex\tools\lldb-dap\launch\TestDAP_launch_extra_launch_commands\Error_test-dap.log

======================================================================

ERROR: test (TestDAP_launch_extra_launch_commands.TestDAP_launch_extra_launch_commands.test)

----------------------------------------------------------------------

Traceback (most recent call last):

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\decorators.py", line 160, in wrapper

    return func(*args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\test\API\tools\lldb-dap\launch\TestDAP_launch_extra_launch_commands.py", line 65, in test

    modules = self.dap_server.wait_for_module_events()

              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-dap\dap_server.py", line 657, in wait_for_module_events

    return self.collect_events(["module"])

           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-dap\dap_server.py", line 623, in collect_events

    event = cast(Event, self._recv_packet(predicate=predicate))

                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-dap\dap_server.py", line 423, in _recv_packet

    raise TimeoutError

TimeoutError

Config=x86_64-C:\_work\llvm-project\llvm-project\build\bin\clang.exe

----------------------------------------------------------------------

Ran 1 test in 54.057s



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/201779


More information about the lldb-commits mailing list