[Lldb-commits] [lldb] [lldb][test] Fix test_listener_event_process_state (TestMultithreaded.py) on Windows on Arm (PR #227605)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 30 02:04:48 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 3734 tests passed
* 907 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### lldb-api
<details>
<summary>lldb-api.api/multithreaded/TestMultithreaded.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\api\multithreaded -p TestMultithreaded.py --timeout 1200
--
Exit Code: 1
Command Output (stdout):
--
check_state: running OK
check_state: stopped OK
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_breakpoint_callback (TestMultithreaded.SBBreakpointCallbackCase.test_breakpoint_callback)
SKIPPED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_breakpoint_location_callback (TestMultithreaded.SBBreakpointCallbackCase.test_breakpoint_location_callback) (skip on windows)
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_concurrent_unwind (TestMultithreaded.SBBreakpointCallbackCase.test_concurrent_unwind)
SKIPPED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_python_stop_hook (TestMultithreaded.SBBreakpointCallbackCase.test_python_stop_hook) (skip on windows)
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_sb_api_listener_event_description (TestMultithreaded.SBBreakpointCallbackCase.test_sb_api_listener_event_description)
FAIL: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_sb_api_listener_event_process_state (TestMultithreaded.SBBreakpointCallbackCase.test_sb_api_listener_event_process_state)
Log Files:
- C:\_work\llvm-project\llvm-project\build\lldb-test-build\api\multithreaded\TestMultithreaded.test_sb_api_listener_event_process_state\Error_test_sb_api_listener_event_process_state.log
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_sb_api_listener_resume (TestMultithreaded.SBBreakpointCallbackCase.test_sb_api_listener_resume)
======================================================================
ERROR: test_sb_api_listener_event_process_state (TestMultithreaded.SBBreakpointCallbackCase.test_sb_api_listener_event_process_state)
Test that a registered SBListener receives events when a process
----------------------------------------------------------------------
Error when building test subject.
Build Command:
C:/ProgramData/chocolatey/bin/make.exe 'VPATH=C:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded' -C 'C:\_work\llvm-project\llvm-project\build\lldb-test-build\api\multithreaded\TestMultithreaded.test_sb_api_listener_event_process_state' -I 'C:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded' -I 'C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded\Makefile' all TRIPLE=x86_64-pc-windows-msvc 'CC=C:\_work\llvm-project\llvm-project\build\bin\clang.exe' CC_TYPE=clang 'CXX=C:\_work\llvm-project\llvm-project\build\bin\clang++.exe' 'LLVM_AR=C:/_work/llvm-project/llvm-project/build/./bin\llvm-ar.exe' 'AR=C:/_work/llvm-project/llvm-project/build/./bin\llvm-ar.exe' 'OBJCOPY=C:/_work/llvm-project/llvm-project/build/./bin\llvm-objcopy.exe' 'STRIP=C:/_work/llvm-project/llvm-project/build/./bin\llvm-strip.exe' 'ARCHIVER=C:/_work/llvm-project/llvm-project/build/./bin\llvm-ar.exe' 'DWP=C:/_work/llvm-project/llvm-project/build/./bin\llvm-dwp.exe' 'CLANG_MODULE_CACHE_DIR=C:/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang\lldb-api' LLDB_OBJ_ROOT=C:/_work/llvm-project/llvm-project/build/tools/lldb 'CXX_SOURCES=driver.cpp listener_test.cpp test_listener_event_process_state.cpp' EXE=test_listener_event_process_state 'CFLAGS_EXTRAS=-std=c++11 -fms-runtime-lib=dll -IC:\_work\llvm-project\llvm-project\lldb\include -IC:/_work/llvm-project/llvm-project/build/tools/lldb\include ' 'LD_EXTRAS=-LC:/_work/llvm-project/llvm-project/build/./lib -lliblldb -Xlinker -nodefaultlib:libcmt' OS=Windows_NT HOST_OS=Windows_NT
Build Command Output:
make: Entering directory 'C:/_work/llvm-project/llvm-project/build/lldb-test-build/api/multithreaded/TestMultithreaded.test_sb_api_listener_event_process_state'
"C:\_work\llvm-project\llvm-project\build\bin\clang++.exe" -mllvm -x86-asm-syntax=att -std=c++11 -gdwarf -O0 -IC:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../..//include -IC:/_work/llvm-project/llvm-project/build/tools/lldb/include -IC:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded -IC:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -target x86_64-pc-windows-msvc -mllvm -x86-asm-syntax=att -std=c++11 -fms-runtime-lib=dll -IC:\_work\llvm-project\llvm-project\lldb\include -IC:/_work/llvm-project/llvm-project/build/tools/lldb\include -fms-compatibility-version=19.0 -std=c++14 --driver-mode=g++ -MT driver.o -MD -MP -MF driver.d -c -o driver.o C:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded/driver.cpp
"C:\_work\llvm-project\llvm-project\build\bin\clang++.exe" -mllvm -x86-asm-syntax=att -std=c++11 -gdwarf -O0 -IC:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../..//include -IC:/_work/llvm-project/llvm-project/build/tools/lldb/include -IC:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded -IC:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -target x86_64-pc-windows-msvc -mllvm -x86-asm-syntax=att -std=c++11 -fms-runtime-lib=dll -IC:\_work\llvm-project\llvm-project\lldb\include -IC:/_work/llvm-project/llvm-project/build/tools/lldb\include -fms-compatibility-version=19.0 -std=c++14 --driver-mode=g++ -MT listener_test.o -MD -MP -MF listener_test.d -c -o listener_test.o C:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded/listener_test.cpp
"C:\_work\llvm-project\llvm-project\build\bin\clang++.exe" -mllvm -x86-asm-syntax=att -std=c++11 -gdwarf -O0 -IC:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\make/../../../../..//include -IC:/_work/llvm-project/llvm-project/build/tools/lldb/include -IC:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded -IC:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\make -include C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\make/test_common.h -fno-limit-debug-info -target x86_64-pc-windows-msvc -mllvm -x86-asm-syntax=att -std=c++11 -fms-runtime-lib=dll -IC:\_work\llvm-project\llvm-project\lldb\include -IC:/_work/llvm-project/llvm-project/build/tools/lldb\include -fms-compatibility-version=19.0 -std=c++14 --driver-mode=g++ -MT test_listener_event_process_state.o -MD -MP -MF test_listener_event_process_state.d -c -o test_listener_event_process_state.o C:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded/test_listener_event_process_state.cpp
C:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded/test_listener_event_process_state.cpp:69:44: error: use of undeclared identifier 'got_description'
69 | string func_name = g_frame_functions.pop(got_description);
| ^~~~~~~~~~~~~~~
1 error generated.
make: *** [Makefile.rules:681: test_listener_event_process_state.o] Error 1
make: Leaving directory 'C:/_work/llvm-project/llvm-project/build/lldb-test-build/api/multithreaded/TestMultithreaded.test_sb_api_listener_event_process_state'
Test Directory:
C:\_work\llvm-project\llvm-project\lldb\test\API\api\multithreaded
----------------------------------------------------------------------
Ran 7 tests in 70.474s
FAILED (errors=1, skipped=2)
Skip breakdown (unsupported=0, skipped=2)
--
```
</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/227605
More information about the lldb-commits
mailing list