lib-python/3/test/test_thread.py::unmodified
== PyPy 3.12.13 (e99dc7a98783, Jul 10 2026, 06:28:39) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-4.19.90-2202.1.0.0136.oe1.aarch64-aarch64-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_820060æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 898504681
0:00:00 load avg: 0.85 Run 1 test sequentially in a single process
0:00:00 load avg: 0.85 [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 34us
task 1 entering 0
task 2 will run for 36us
task 2 entering 0
task 3 will run for 9us
task 3 entering 0
task 4 will run for 88us
task 5 will run for 90us
task 4 entering 0
task 5 entering 0
task 6 will run for 52us
task 6 entering 0
task 7 will run for 89us
task 7 entering 0
task 8 will run for 51us
task 8 entering 0
waiting for tasks to end
task 9 will run for 47us
task 9 entering 0
task 9 leaving barrier
task 9 will run for 69us
task 9 entering 1
task 0 leaving barrier
task 0 will run for 0us
task 0 entering 1
task 1 leaving barrier
task 1 will run for 21us
task 1 entering 1
task 2 leaving barrier
task 2 will run for 73us
task 3 leaving barrier
task 3 will run for 79us
task 3 entering 1
task 4 leaving barrier
task 4 will run for 68us
task 2 entering 1
task 5 leaving barrier
task 5 will run for 48us
task 4 entering 1
task 6 leaving barrier
task 6 will run for 79us
task 6 entering 1
task 7 leaving barrier
task 7 will run for 80us
task 5 entering 1
task 8 leaving barrier
task 8 will run for 52us
task 8 entering 1
task 7 entering 1
task 7 leaving barrier
task 7 will run for 45us
task 7 entering 2
task 9 leaving barrier
task 9 will run for 12us
task 9 entering 2
task 0 leaving barrier
task 0 will run for 0us
task 0 entering 2
task 1 leaving barrier
task 1 will run for 47us
task 1 entering 2
task 3 leaving barrier
task 3 will run for 36us
task 3 entering 2
task 2 leaving barrier
task 2 will run for 12us
task 2 entering 2
task 4 leaving barrier
task 4 will run for 37us
task 4 entering 2
task 6 leaving barrier
task 6 will run for 2us
task 6 entering 2
task 5 leaving barrier
task 5 will run for 38us
task 5 entering 2
task 8 leaving barrier
task 8 will run for 57us
task 8 entering 2
task 8 leaving barrier
task 7 leaving barrier
task 9 leaving barrier
task 0 leaving barrier
task 1 leaving barrier
task 3 leaving barrier
task 2 leaving barrier
task 4 leaving barrier
task 6 leaving barrier
task 5 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 5us
task 1 done
creating task 3
task 2 will run for 89us
task 2 done
creating task 4
task 3 will run for 45us
creating task 5
task 3 done
task 4 will run for 91us
task 4 done
task 5 will run for 5us
task 5 done
creating task 6
creating task 7
creating task 8
creating task 9
task 6 will run for 17us
task 6 done
task 7 will run for 24us
task 7 done
task 8 will run for 4us
task 8 done
task 9 will run for 4us
task 9 done
creating task 10
waiting for all tasks to complete
task 10 will run for 89us
task 10 done
all tasks done
trying stack_size = (1048576)
creating task 1
creating task 2
task 1 will run for 93us
task 1 done
task 2 will run for 5us
task 2 done
creating task 3
creating task 4
task 3 will run for 59us
creating task 5
task 4 will run for 4us
task 4 done
task 3 done
creating task 6
task 5 will run for 19us
task 5 done
creating task 7
task 6 will run for 88us
task 6 done
creating task 8
task 7 will run for 61us
task 7 done
creating task 9
task 8 will run for 68us
task 8 done
creating task 10
waiting for all tasks to complete
task 9 will run for 91us
task 10 will run for 6us
task 10 done
task 9 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 36us
task 1 done
creating task 3
task 2 will run for 94us
task 2 done
creating task 4
task 3 will run for 18us
task 3 done
creating task 5
task 4 will run for 30us
task 4 done
creating task 6
task 5 will run for 61us
task 5 done
creating task 7
task 6 will run for 93us
task 6 done
task 7 will run for 77us
task 7 done
creating task 8
creating task 9
task 8 will run for 76us
task 8 done
creating task 10
task 9 will run for 4us
task 9 done
waiting for tasks to complete...
task 10 will run for 31us
task 10 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 "/build_dir/pypy-c-jit-linux-aarch64/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 281471721665024 started by ' != 'Exception ignored in thread started by'
- Exception ignored in thread 281471721665024 started by
? ---------------- -
+ Exception ignored in thread started by
----------------------------------------------------------------------
Ran 24 tests in 1.478s
FAILED (failures=1)
0:00:01 load avg: 0.94 [1/1/1] test_thread failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_thread
Total duration: 1.6 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-linux-aarch64 build #2946+
test: lib-python/3/test/test_thread.py::unmodified