Closed
Description
That's another victim of libasan deadlock involving fork. See test_threading:
# gh-89363: Skip fork() test if Python is built with Address Sanitizer (ASAN)
# to work around a libasan race condition, dead lock in pthread_create().
skip_if_asan_fork = support.skip_if_sanitizer(
"libasan has a pthread_create() dead lock",
address=True)
Address sanitizer:
FAIL: test_post_fork_child_no_deadlock (test.test_logging.HandlerTest.test_post_fork_child_no_deadlock)
Ensure child logging locks are not held; bpo-6721 & bpo-36533.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/cpython/cpython/Lib/test/test_logging.py", line 789, in test_post_fork_child_no_deadlock
support.wait_process(pid, exitcode=0)
File "/home/runner/work/cpython/cpython/Lib/test/support/__init__.py", line 2206, in wait_process
raise AssertionError(f"process {pid} is still running "
AssertionError: process 12448 is still running after 300.4 seconds
build: https://github.com/python/cpython/actions/runs/6475004361/job/17581154367?pr=110650