lib-python/3/test/test_concurrent_futures::unmodified
== PyPy 3.11.15 (c3012de4b989, Aug 27 2026, 02:53:16) [PyPy 8.0.0-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-x86_64-i386-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-x86_64/pytest/test_python_worker_56471æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3370274245
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 6.36 Run 8 tests sequentially
0:00:00 load avg: 6.36 [1/8] test_concurrent_futures.test_as_completed
test_correct_timeout_exception_msg (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_correct_timeout_exception_msg) ... 0.00s ok
test_duplicate_futures (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_duplicate_futures) ... 2.06s ok
test_free_reference_yielded_future (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_free_reference_yielded_future) ... 0.19s ok
test_no_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_no_timeout) ... 0.05s ok
test_zero_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_zero_timeout) ... 2.05s ok
test_correct_timeout_exception_msg (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_correct_timeout_exception_msg) ... 0.02s ok
test_duplicate_futures (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_duplicate_futures) ... 2.23s ok
test_free_reference_yielded_future (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_free_reference_yielded_future) ... 0.24s ok
test_no_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_no_timeout) ... 0.19s ok
test_zero_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_zero_timeout) ... 2.06s ok
test_correct_timeout_exception_msg (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_correct_timeout_exception_msg) ... 0.00s ok
test_duplicate_futures (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_duplicate_futures) ... 2.20s ok
test_free_reference_yielded_future (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_free_reference_yielded_future) ... 0.23s ok
test_no_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_no_timeout) ... 0.38s ok
test_zero_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_zero_timeout) ... 2.22s ok
test_correct_timeout_exception_msg (test.test_concurrent_futures.test_as_completed.ThreadPoolAsCompletedTest.test_correct_timeout_exception_msg) ... 0.00s ok
test_duplicate_futures (test.test_concurrent_futures.test_as_completed.ThreadPoolAsCompletedTest.test_duplicate_futures) ... 2.00s ok
test_free_reference_yielded_future (test.test_concurrent_futures.test_as_completed.ThreadPoolAsCompletedTest.test_free_reference_yielded_future) ... 0.20s ok
test_no_timeout (test.test_concurrent_futures.test_as_completed.ThreadPoolAsCompletedTest.test_no_timeout) ... 0.00s ok
test_zero_timeout (test.test_concurrent_futures.test_as_completed.ThreadPoolAsCompletedTest.test_zero_timeout) ... 2.00s ok
----------------------------------------------------------------------
Ran 20 tests in 18.895s
OK
0:00:19 load avg: 5.97 [2/8] test_concurrent_futures.test_deadlock
test_crash_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_crash_at_task_unpickle) ... 0.02s ok
test_crash_big_data (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_crash_big_data) ... 0.35s ok
test_crash_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_crash_during_func_exec_on_worker) ... 0.07s ok
test_crash_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_crash_during_result_pickle_on_worker) ... 0.04s ok
test_error_at_task_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_at_task_pickle) ... 0.04s ok
test_error_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_at_task_unpickle) ... 0.04s ok
test_error_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_during_func_exec_on_worker) ... 0.04s ok
test_error_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_during_result_pickle_on_worker) ... 0.04s ok
test_error_during_result_unpickle_in_result_handler (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_during_result_unpickle_in_result_handler) ... 0.04s ok
test_exit_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_exit_at_task_unpickle) ... 0.05s ok
test_exit_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_exit_during_func_exec_on_worker) ... 0.03s ok
test_exit_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_exit_during_result_pickle_on_worker) ... 0.03s ok
test_exit_during_result_unpickle_in_result_handler (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_exit_during_result_unpickle_in_result_handler) ... 0.04s ok
test_gh105829_should_not_deadlock_if_wakeup_pipe_full (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_gh105829_should_not_deadlock_if_wakeup_pipe_full) ... 3.19s ok
test_shutdown_deadlock (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_shutdown_deadlock) ... 0.13s ok
test_shutdown_deadlock_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_shutdown_deadlock_pickle) ... 0.04s ok
test_crash_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_crash_at_task_unpickle) ... 0.61s ok
test_crash_big_data (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_crash_big_data) ... 0.47s ok
test_crash_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_crash_during_func_exec_on_worker) ... 0.22s ok
test_crash_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_crash_during_result_pickle_on_worker) ... 0.27s ok
test_error_at_task_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_at_task_pickle) ... 0.16s ok
test_error_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_at_task_unpickle) ... 0.37s ok
test_error_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_during_func_exec_on_worker) ... 0.32s ok
test_error_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_during_result_pickle_on_worker) ... 0.25s ok
test_error_during_result_unpickle_in_result_handler (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_during_result_unpickle_in_result_handler) ... 0.24s ok
test_exit_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_exit_at_task_unpickle) ... 0.25s ok
test_exit_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_exit_during_func_exec_on_worker) ... 0.25s ok
test_exit_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_exit_during_result_pickle_on_worker) ... 0.25s ok
test_exit_during_result_unpickle_in_result_handler (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_exit_during_result_unpickle_in_result_handler) ... 0.23s ok
test_gh105829_should_not_deadlock_if_wakeup_pipe_full (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_gh105829_should_not_deadlock_if_wakeup_pipe_full) ... 3.18s ok
test_shutdown_deadlock (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_shutdown_deadlock) ... 0.36s ok
test_shutdown_deadlock_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_shutdown_deadlock_pickle) ... 0.07s ok
test_crash_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_crash_at_task_unpickle) ... 0.51s ok
test_crash_big_data (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_crash_big_data) ... 0.65s ok
test_crash_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_crash_during_func_exec_on_worker) ... 0.56s ok
test_crash_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_crash_during_result_pickle_on_worker) ... 0.60s ok
test_error_at_task_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_at_task_pickle) ... 0.29s ok
test_error_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_at_task_unpickle) ... 0.53s ok
test_error_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_during_func_exec_on_worker) ... 0.43s ok
test_error_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_during_result_pickle_on_worker) ... 0.41s ok
test_error_during_result_unpickle_in_result_handler (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_during_result_unpickle_in_result_handler) ... 0.40s ok
test_exit_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_exit_at_task_unpickle) ... 0.43s ok
test_exit_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_exit_during_func_exec_on_worker) ... 0.42s ok
test_exit_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_exit_during_result_pickle_on_worker) ... 0.42s ok
test_exit_during_result_unpickle_in_result_handler (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_exit_during_result_unpickle_in_result_handler) ... 0.44s ok
test_gh105829_should_not_deadlock_if_wakeup_pipe_full (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_gh105829_should_not_deadlock_if_wakeup_pipe_full) ... 3.24s ok
test_shutdown_deadlock (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_shutdown_deadlock) ... 0.48s ok
test_shutdown_deadlock_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_shutdown_deadlock_pickle) ... 0.24s ok
Warning -- Uncaught thread exception: InvalidStateError
Exception in thread Thread-27:
Traceback (most recent call last):
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/threading.py", line 1045, in _bootstrap_inner
self.run()
^^^
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/concurrent/futures/process.py", line 347, in run
self.terminate_broken(cause)
^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/concurrent/futures/process.py", line 499, in terminate_broken
work_item.future.set_exception(bpe)
^^^^^^^^^^^^^
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/concurrent/futures/_base.py", line 559, in set_exception
raise InvalidStateError('{}: {!r}'.format(self._state, self))
concurrent.futures._base.InvalidStateError: CANCELLED: <Future at 0x7fc6489ee758 state=cancelled>
Warning -- threading_cleanup() failed to clean up threads in 1.0 seconds
Warning -- before: thread count=0, dangling=1
Warning -- after: thread count=1, dangling=2
Warning -- Dangling thread: <_MainThread(MainThread, started 8636449280)>
Warning -- Dangling thread: <Thread(QueueFeederThread, started daemon 13050740736)>
Warning -- threading_cleanup() failed to clean up threads in 1.0 seconds
Warning -- before: thread count=0, dangling=1
Warning -- after: thread count=1, dangling=2
Warning -- Dangling thread: <_MainThread(MainThread, started 8636449280)>
Warning -- Dangling thread: <Thread(QueueFeederThread, started daemon 13050740736)>
==== test running for 1324 seconds ====
==========================timedout==========================
builder: pypy-c-jit-macos-x86-64 build #1414+
test: lib-python/3/test/test_concurrent_futures::unmodified