[llvm-branch-commits] [lldb] [lldb] Backport scripting fixes and improvements to release 23.x branch (PR #221993)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 8 11:59:10 PDT 2026


github-actions[bot] wrote:

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

* 33404 tests passed
* 902 tests skipped
* 1 test failed

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

### lldb-api
<details>
<summary>lldb-api.tools/lldb-server/TestNonStop.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-server -p TestNonStop.py
--
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_exit_llgs (TestNonStop.LldbGdbServerTestCase.test_exit_llgs)

Log Files:

 - C:\_work\llvm-project\llvm-project\build\lldb-test-build\tools\lldb-server\TestNonStop\Failure_test_exit_llgs.log

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_exit_query_llgs (TestNonStop.LldbGdbServerTestCase.test_exit_query_llgs) (skip on windows) 

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_leave_nonstop_llgs (TestNonStop.LldbGdbServerTestCase.test_leave_nonstop_llgs) (skip on windows) 

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_multiple_C_continue_with_signal_llgs (TestNonStop.LldbGdbServerTestCase.test_multiple_C_continue_with_signal_llgs)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_multiple_c_continue_with_addr_llgs (TestNonStop.LldbGdbServerTestCase.test_multiple_c_continue_with_addr_llgs)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_multiple_s_single_step_with_addr_llgs (TestNonStop.LldbGdbServerTestCase.test_multiple_s_single_step_with_addr_llgs)

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_multiple_vCont_llgs (TestNonStop.LldbGdbServerTestCase.test_multiple_vCont_llgs) (skip on windows) 

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_run_llgs (TestNonStop.LldbGdbServerTestCase.test_run_llgs) (skip on windows) 

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_stdio_llgs (TestNonStop.LldbGdbServerTestCase.test_stdio_llgs) (skip on windows) 

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_stop_reason_while_running_llgs (TestNonStop.LldbGdbServerTestCase.test_stop_reason_while_running_llgs) (skip on windows) 

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_vCont_then_partial_stop_llgs (TestNonStop.LldbGdbServerTestCase.test_vCont_then_partial_stop_llgs) (skip on windows) 

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_vCont_then_partial_stop_run_both_llgs (TestNonStop.LldbGdbServerTestCase.test_vCont_then_partial_stop_run_both_llgs) (skip on windows) 

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_vCont_then_stop_llgs (TestNonStop.LldbGdbServerTestCase.test_vCont_then_stop_llgs) (skip on windows) 

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_vCtrlC_llgs (TestNonStop.LldbGdbServerTestCase.test_vCtrlC_llgs)

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

FAIL: test_exit_llgs (TestNonStop.LldbGdbServerTestCase.test_exit_llgs)

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

Traceback (most recent call last):

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-server\gdbremote_testcase.py", line 49, in test_method

    return attrvalue(self)

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

  File "C:\_work\llvm-project\llvm-project\lldb\test\API\tools\lldb-server\TestNonStop.py", line 181, in test_exit

    self.expect_gdbremote_sequence()

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-server\gdbremote_testcase.py", line 676, in expect_gdbremote_sequence

    return expect_lldb_gdbserver_replay(

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

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-server\lldbgdbserverutils.py", line 181, in expect_lldb_gdbserver_replay

    context = sequence_entry.assert_match(asserter, content, context=context)

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

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-server\lldbgdbserverutils.py", line 462, in assert_match

    self._assert_exact_payload_match(asserter, actual_packet)

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-server\lldbgdbserverutils.py", line 422, in _assert_exact_payload_match

    assert_packets_equal(asserter, actual_packet, self.exact_payload)

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\tools\lldb-server\lldbgdbserverutils.py", line 97, in assert_packets_equal

    asserter.assertEqual(actual_stripped, expected_stripped)

AssertionError: '$Eff' != '$OK'

- $Eff

+ $OK



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

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

Ran 14 tests in 10.309s



FAILED (failures=1, skipped=9)


--

```
</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/221993


More information about the llvm-branch-commits mailing list