lib-python/3/test/test_concurrent_futures::unmodified
== PyPy 3.11.15 (8b4bd5384788, Sep 01 2026, 02:03:27) [PyPy 8.0.0-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-arm64-arm-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-arm64/pytest/test_python_worker_76153æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3835809528
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 5.30 Run 8 tests sequentially
0:00:00 load avg: 5.30 [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.01s ok
test_free_reference_yielded_future (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_free_reference_yielded_future) ... 0.14s ok
test_no_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_no_timeout) ... 0.01s ok
test_zero_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolForkAsCompletedTest.test_zero_timeout) ... 2.02s ok
test_correct_timeout_exception_msg (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_correct_timeout_exception_msg) ... 0.00s ok
test_duplicate_futures (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_duplicate_futures) ... 2.08s ok
test_free_reference_yielded_future (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_free_reference_yielded_future) ... 0.15s ok
test_no_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_no_timeout) ... 0.05s ok
test_zero_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolForkserverAsCompletedTest.test_zero_timeout) ... 2.02s 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.08s ok
test_free_reference_yielded_future (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_free_reference_yielded_future) ... 0.14s ok
test_no_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_no_timeout) ... 0.10s ok
test_zero_timeout (test.test_concurrent_futures.test_as_completed.ProcessPoolSpawnAsCompletedTest.test_zero_timeout) ... 2.07s 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.01s ok
test_free_reference_yielded_future (test.test_concurrent_futures.test_as_completed.ThreadPoolAsCompletedTest.test_free_reference_yielded_future) ... 0.13s 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.01s ok
----------------------------------------------------------------------
Ran 20 tests in 17.496s
OK
0:00:17 load avg: 5.19 [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.01s ok
test_crash_big_data (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_crash_big_data) ... 0.21s ok
test_crash_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_crash_during_func_exec_on_worker) ... 0.01s ok
test_crash_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_crash_during_result_pickle_on_worker) ... 0.01s ok
test_error_at_task_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_at_task_pickle) ... 0.01s ok
test_error_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_at_task_unpickle) ... 0.01s ok
test_error_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_during_func_exec_on_worker) ... 0.02s ok
test_error_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_error_during_result_pickle_on_worker) ... 0.01s 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.01s ok
test_exit_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_exit_at_task_unpickle) ... 0.01s ok
test_exit_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_exit_during_func_exec_on_worker) ... 0.01s ok
test_exit_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_exit_during_result_pickle_on_worker) ... 0.01s 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.01s 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.09s ok
test_shutdown_deadlock (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_shutdown_deadlock) ... 0.11s ok
test_shutdown_deadlock_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkExecutorDeadlockTest.test_shutdown_deadlock_pickle) ... 0.01s ok
test_crash_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_crash_at_task_unpickle) ... 0.17s ok
test_crash_big_data (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_crash_big_data) ... 0.26s ok
test_crash_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_crash_during_func_exec_on_worker) ... 0.09s ok
test_crash_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_crash_during_result_pickle_on_worker) ... 0.11s ok
test_error_at_task_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_at_task_pickle) ... 0.01s ok
test_error_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_at_task_unpickle) ... 0.09s ok
test_error_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_during_func_exec_on_worker) ... 0.09s ok
test_error_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_error_during_result_pickle_on_worker) ... 0.09s 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.09s ok
test_exit_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_exit_at_task_unpickle) ... 0.09s ok
test_exit_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_exit_during_func_exec_on_worker) ... 0.09s ok
test_exit_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_exit_during_result_pickle_on_worker) ... 0.09s 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.09s 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.09s ok
test_shutdown_deadlock (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_shutdown_deadlock) ... 0.19s ok
test_shutdown_deadlock_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolForkserverExecutorDeadlockTest.test_shutdown_deadlock_pickle) ... 0.02s ok
test_crash_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_crash_at_task_unpickle) ... 0.15s ok
test_crash_big_data (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_crash_big_data) ... 0.28s ok
test_crash_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_crash_during_func_exec_on_worker) ... 0.14s ok
test_crash_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_crash_during_result_pickle_on_worker) ... 0.15s ok
test_error_at_task_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_at_task_pickle) ... 0.09s ok
test_error_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_at_task_unpickle) ... 0.14s ok
test_error_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_during_func_exec_on_worker) ... 0.14s ok
test_error_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_error_during_result_pickle_on_worker) ... 0.14s 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.14s ok
test_exit_at_task_unpickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_exit_at_task_unpickle) ... 0.14s ok
test_exit_during_func_exec_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_exit_during_func_exec_on_worker) ... 0.14s ok
test_exit_during_result_pickle_on_worker (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_exit_during_result_pickle_on_worker) ... 0.14s 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.14s 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.11s ok
test_shutdown_deadlock (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_shutdown_deadlock) ... 0.25s ok
test_shutdown_deadlock_pickle (test.test_concurrent_futures.test_deadlock.ProcessPoolSpawnExecutorDeadlockTest.test_shutdown_deadlock_pickle) ... 0.09s ok
Warning -- Uncaught thread exception: InvalidStateError
Exception in thread Thread-27:
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/threading.py", line 1045, in _bootstrap_inner
self.run()
^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/concurrent/futures/process.py", line 347, in run
self.terminate_broken(cause)
^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/concurrent/futures/process.py", line 499, in terminate_broken
work_item.future.set_exception(bpe)
^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/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 0x150993050 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 8512611008)>
Warning -- Dangling thread: <Thread(QueueFeederThread, started daemon 6171553792)>
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 8512611008)>
Warning -- Dangling thread: <Thread(QueueFeederThread, started daemon 6171553792)>
==== test running for 1324 seconds ====
==========================timedout==========================
builder: pypy-c-jit-macos-arm64 build #1406+
test: lib-python/3/test/test_concurrent_futures::unmodified