lib-python/3/test/test_thread.py::unmodified
== PyPy 3.12.13 (e99dc7a98783, Jul 10 2026, 03:42:44) [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_81010æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2983399602
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 3.39 Run 1 test sequentially in a single process
0:00:00 load avg: 3.39 [1/1] test_thread
test_barrier (test.test_thread.BarrierTest.test_barrier) ... task 0 will run for 0us
task 0 entering 0
task 1 will run for 68us
task 2 will run for 89us
task 1 entering 0
task 2 entering 0
task 3 will run for 30us
task 4 will run for 26us
task 5 will run for 21us
task 3 entering 0
task 4 entering 0
task 5 entering 0
task 6 will run for 18us
task 6 entering 0
task 7 will run for 6us
task 7 entering 0
task 8 will run for 42us
waiting for tasks to end
task 8 entering 0
task 9 will run for 30us
task 9 entering 0
task 9 leaving barrier
task 9 will run for 6us
task 0 leaving barrier
task 0 will run for 0us
task 0 entering 1
task 1 leaving barrier
task 1 will run for 83us
task 1 entering 1
task 9 entering 1
task 2 leaving barrier
task 2 will run for 4us
task 3 leaving barrier
task 3 will run for 19us
task 4 leaving barrier
task 4 will run for 58us
task 3 entering 1
task 4 entering 1
task 2 entering 1
task 5 leaving barrier
task 5 will run for 50us
task 6 leaving barrier
task 6 will run for 90us
task 5 entering 1
task 6 entering 1
task 7 leaving barrier
task 7 will run for 45us
task 8 leaving barrier
task 8 will run for 5us
task 8 entering 1
task 7 entering 1
task 7 leaving barrier
task 7 will run for 56us
task 0 leaving barrier
task 0 will run for 0us
task 0 entering 2
task 7 entering 2
task 1 leaving barrier
task 1 will run for 95us
task 9 leaving barrier
task 9 will run for 32us
task 3 leaving barrier
task 3 will run for 34us
task 9 entering 2
task 3 entering 2
task 1 entering 2
task 8 leaving barrier
task 8 will run for 36us
task 4 leaving barrier
task 4 will run for 6us
task 4 entering 2
task 5 leaving barrier
task 5 will run for 91us
task 8 entering 2
task 5 entering 2
task 6 leaving barrier
task 6 will run for 27us
task 6 entering 2
task 2 leaving barrier
task 2 will run for 2us
task 2 entering 2
task 2 leaving barrier
task 0 leaving barrier
task 7 leaving barrier
task 9 leaving barrier
task 3 leaving barrier
task 1 leaving barrier
task 4 leaving barrier
task 8 leaving barrier
task 5 leaving barrier
task 6 leaving barrier
tasks done
ok
test_acquire_contended (test.test_thread.LockTests.test_acquire_contended) ... ok
test_acquire_destroy (test.test_thread.LockTests.test_acquire_destroy) ... ok
test_acquire_release (test.test_thread.LockTests.test_acquire_release) ... ok
test_at_fork_reinit (test.test_thread.LockTests.test_at_fork_reinit) ... ok
test_constructor (test.test_thread.LockTests.test_constructor) ... ok
test_different_thread (test.test_thread.LockTests.test_different_thread) ... ok
test_locked_repr (test.test_thread.LockTests.test_locked_repr) ... ok
test_reacquire (test.test_thread.LockTests.test_reacquire) ... ok
test_repr (test.test_thread.LockTests.test_repr) ... ok
test_state_after_timeout (test.test_thread.LockTests.test_state_after_timeout) ... ok
test_thread_leak (test.test_thread.LockTests.test_thread_leak) ... ok
test_timeout (test.test_thread.LockTests.test_timeout) ... ok
test_try_acquire (test.test_thread.LockTests.test_try_acquire) ... ok
test_try_acquire_contended (test.test_thread.LockTests.test_try_acquire_contended) ... ok
test_weakref_deleted (test.test_thread.LockTests.test_weakref_deleted) ... ok
test_weakref_exists (test.test_thread.LockTests.test_weakref_exists) ... ok
test_with (test.test_thread.LockTests.test_with) ... ok
test_forkinthread (test.test_thread.TestForkInThread.test_forkinthread) ... ok
test__count (test.test_thread.ThreadRunningTests.test__count) ... ok
test_nt_and_posix_stack_size (test.test_thread.ThreadRunningTests.test_nt_and_posix_stack_size) ... caught expected ValueError setting stack_size(4096)
successfully set stack_size(262144)
successfully set stack_size(1048576)
successfully set stack_size(0)
trying stack_size = (262144)
creating task 1
creating task 2
task 1 will run for 62us
task 1 done
creating task 3
task 2 will run for 55us
task 2 done
creating task 4
task 3 will run for 52us
task 3 done
creating task 5
task 4 will run for 72us
task 4 done
creating task 6
task 5 will run for 65us
task 5 done
creating task 7
task 6 will run for 60us
task 6 done
creating task 8
task 7 will run for 84us
task 7 done
creating task 9
task 8 will run for 58us
task 8 done
creating task 10
task 9 will run for 29us
task 9 done
waiting for all tasks to complete
task 10 will run for 2us
task 10 done
all tasks done
trying stack_size = (1048576)
creating task 1
creating task 2
task 1 will run for 17us
task 1 done
creating task 3
task 2 will run for 67us
creating task 4
task 3 will run for 35us
creating task 5
task 3 done
task 2 done
task 4 will run for 6us
creating task 6
task 4 done
task 5 will run for 69us
task 5 done
creating task 7
task 6 will run for 97us
creating task 8
task 7 will run for 15us
task 7 done
task 6 done
creating task 9
task 8 will run for 75us
creating task 10
task 9 will run for 24us
waiting for all tasks to complete
task 8 done
task 10 will run for 19us
task 9 done
task 10 done
all tasks done
ok
test_stack_size (test.test_thread.ThreadRunningTests.test_stack_size) ... ok
test_starting_threads (test.test_thread.ThreadRunningTests.test_starting_threads) ... creating task 1
creating task 2
task 1 will run for 73us
creating task 3
task 1 done
task 2 will run for 8us
creating task 4
task 3 will run for 9us
task 2 done
creating task 5
task 3 done
task 4 will run for 72us
creating task 6
task 5 will run for 45us
creating task 7
task 6 will run for 33us
task 5 done
task 6 done
task 4 done
creating task 8
task 7 will run for 10us
creating task 9
task 8 will run for 57us
task 7 done
task 8 done
creating task 10
task 9 will run for 44us
waiting for tasks to complete...
task 10 will run for 55us
task 10 done
task 9 done
all tasks done
ok
test_unraisable_exception (test.test_thread.ThreadRunningTests.test_unraisable_exception) ... FAIL
======================================================================
FAIL: test_unraisable_exception (test.test_thread.ThreadRunningTests.test_unraisable_exception)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_thread.py", line 159, in test_unraisable_exception
self.assertEqual(cm.unraisable.err_msg,
^^^^^^^^^^^
AssertionError: 'Exception ignored in thread 6140735488 started by ' != 'Exception ignored in thread started by'
- Exception ignored in thread 6140735488 started by
? ----------- -
+ Exception ignored in thread started by
----------------------------------------------------------------------
Ran 24 tests in 1.242s
FAILED (failures=1)
0:00:01 load avg: 3.39 [1/1/1] test_thread failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_thread
Total duration: 1.3 sec
Total tests: run=24 failures=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test_thread failed
builder: pypy-c-jit-macos-arm64 build #1309+
test: lib-python/3/test/test_thread.py::unmodified