[Lldb-commits] [lldb] [lldb][test] Fix race condition in test_stop-hook.cpp (PR #227284)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 29 05:03:58 PDT 2026
DavidSpickett wrote:
For example: https://lab.llvm.org/buildbot/#/builders/59/builds/38104
```
======================================================================
ERROR: test_python_stop_hook (TestMultithreaded.SBBreakpointCallbackCase.test_python_stop_hook)
Test that you can run a python command in a stop-hook when stdin is File based.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/buildbot/workspace/lldb-aarch64-ubuntu/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 221, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/buildbot/workspace/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/api/multithreaded/TestMultithreaded.py", line 25, in test_python_stop_hook
self.build_and_test("driver.cpp test_stop-hook.cpp", "test_python_stop_hook")
File "/home/buildbot/workspace/lldb-aarch64-ubuntu/llvm-project/lldb/test/API/api/multithreaded/TestMultithreaded.py", line 118, in build_and_test
subprocess.check_call(exe, env=env)
File "/usr/lib/python3.12/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/buildbot/workspace/lldb-aarch64-ubuntu/build/lldb-test-build/api/multithreaded/TestMultithreaded.test_python_stop_hook/test_python_stop_hook', '/home/buildbot/workspace/lldb-aarch64-ubuntu/build/lldb-test-build/api/multithreaded/TestMultithreaded.test_python_stop_hook/inferior_program']' died with <Signals.SIGABRT: 6>.
Config=aarch64-/home/buildbot/workspace/lldb-aarch64-ubuntu/build/bin/clang
----------------------------------------------------------------------
Ran 7 tests in 30.875s
```
https://github.com/llvm/llvm-project/pull/227284
More information about the lldb-commits
mailing list