Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

lib-python/3/test/test_thread.py::unmodified

== PyPy 3.12.13 (e99dc7a98783, Jul 10 2026, 03:55:12) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-5.4.0-182-generic-i686-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /build_dir/tmp/pytest/test_python_worker_2731953æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 859225440
0:00:00 load avg: 5.02 Run 1 test sequentially in a single process
0:00:00 load avg: 5.02 [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 89us
task 2 will run for 46us
task 2 entering 0
task 1 entering 0
task 3 will run for 43us
task 3 entering 0
task 4 will run for 63us
task 4 entering 0
task 5 will run for 18us
task 5 entering 0
task 6 will run for 31us
task 6 entering 0
task 7 will run for 27us
task 7 entering 0
task 8 will run for 73us
task 8 entering 0
waiting for tasks to end
task 9 will run for 99us
task 9 entering 0
task 9 leaving barrier
task 0 leaving barrier
task 9 will run for 94us
task 2 leaving barrier
task 0 will run for 0us
task 1 leaving barrier
task 3 leaving barrier
task 2 will run for 93us
task 4 leaving barrier
task 0 entering 1
task 1 will run for 61us
task 9 entering 1
task 5 leaving barrier
task 3 will run for 18us
task 2 entering 1
task 6 leaving barrier
task 6 will run for 51us
task 7 leaving barrier
task 8 leaving barrier
task 5 will run for 26us
task 1 entering 1
task 3 entering 1
task 4 will run for 67us
task 6 entering 1
task 7 will run for 72us
task 8 will run for 73us
task 5 entering 1
task 4 entering 1
task 7 entering 1
task 8 entering 1
task 8 leaving barrier
task 8 will run for 52us
task 0 leaving barrier
task 9 leaving barrier
task 0 will run for 0us
task 2 leaving barrier
task 8 entering 2
task 1 leaving barrier
task 3 leaving barrier
task 9 will run for 39us
task 0 entering 2
task 6 leaving barrier
task 2 will run for 85us
task 5 leaving barrier
task 4 leaving barrier
task 7 leaving barrier
task 1 will run for 75us
task 3 will run for 84us
task 9 entering 2
task 6 will run for 83us
task 2 entering 2
task 5 will run for 27us
task 4 will run for 17us
task 7 will run for 8us
task 3 entering 2
task 6 entering 2
task 1 entering 2
task 4 entering 2
task 7 entering 2
task 5 entering 2
task 5 leaving barrier
task 8 leaving barrier
task 0 leaving barrier
task 9 leaving barrier
task 2 leaving barrier
task 3 leaving barrier
task 6 leaving barrier
task 1 leaving barrier
task 4 leaving barrier
task 7 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 55us
creating task 3
task 2 will run for 95us
task 1 done
creating task 4
task 2 done
task 3 will run for 73us
task 4 will run for 52us
task 4 done
task 3 done
creating task 5
task 5 will run for 62us
task 5 done
creating task 6
task 6 will run for 87us
creating task 7
task 6 done
task 7 will run for 30us
task 7 done
creating task 8
task 8 will run for 63us
task 8 done
creating task 9
task 9 will run for 33us
task 9 done
creating task 10
waiting for all tasks to complete
task 10 will run for 23us
task 10 done
all tasks done
trying stack_size = (1048576)
creating task 1
creating task 2
task 1 will run for 98us
task 2 will run for 25us
creating task 3
task 2 done
task 1 done
task 3 will run for 10us
task 3 done
creating task 4
task 4 will run for 52us
task 4 done
creating task 5
task 5 will run for 17us
task 5 done
creating task 6
task 6 will run for 36us
task 6 done
creating task 7
task 7 will run for 76us
task 7 done
creating task 8
task 8 will run for 62us
task 8 done
creating task 9
task 9 will run for 85us
creating task 10
waiting for all tasks to complete
task 9 done
task 10 will run for 2us
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 77us
creating task 3
task 1 done
task 2 will run for 21us
task 2 done
task 3 will run for 15us
task 3 done
creating task 4
task 4 will run for 47us
task 4 done
creating task 5
task 5 will run for 78us
creating task 6
task 5 done
task 6 will run for 20us
task 6 done
creating task 7
task 7 will run for 30us
task 7 done
creating task 8
task 8 will run for 38us
task 8 done
creating task 9
task 9 will run for 95us
creating task 10
waiting for tasks to complete...
task 9 done
task 10 will run for 24us
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-x86-32/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 -204473536 started by ' != 'Exception ignored in thread started by'
- Exception ignored in thread -204473536 started by 
?                            -----------           -
+ Exception ignored in thread started by


----------------------------------------------------------------------
Ran 24 tests in 1.591s

FAILED (failures=1)
0:00:01 load avg: 5.02 [1/1/1] test_thread failed (1 failure)

== Tests result: FAILURE ==

1 test failed:
    test_thread

Total duration: 1.8 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-x86-32 build #8380+
test: lib-python/3/test/test_thread.py::unmodified