lib-python/3/test/test_struct.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_819409æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 1818619105
0:00:00 load avg: 0.62 Run 1 test sequentially in a single process
0:00:00 load avg: 0.62 [1/1] test_struct
test_1530559 (test.test_struct.StructTest.test_1530559) ... ok
test_705836 (test.test_struct.StructTest.test_705836) ... ok
test_Struct_reinitialization (test.test_struct.StructTest.test_Struct_reinitialization) ... ok
test__sizeof__ (test.test_struct.StructTest.test__sizeof__) ... skipped 'implementation detail specific to cpython'
test__struct_reference_cycle_cleaned_up (test.test_struct.StructTest.test__struct_reference_cycle_cleaned_up) ... ok
test__struct_types_immutable (test.test_struct.StructTest.test__struct_types_immutable) ... skipped 'implementation detail specific to cpython'
test_bool (test.test_struct.StructTest.test_bool) ... ok
test_boundary_error_message (test.test_struct.StructTest.test_boundary_error_message) ... ok
test_boundary_error_message_with_large_offset (test.test_struct.StructTest.test_boundary_error_message_with_large_offset) ... ok
test_boundary_error_message_with_negative_offset (test.test_struct.StructTest.test_boundary_error_message_with_negative_offset) ... ok
test_calcsize (test.test_struct.StructTest.test_calcsize) ... ok
test_consistence (test.test_struct.StructTest.test_consistence) ... ok
test_count_overflow (test.test_struct.StructTest.test_count_overflow) ... ok
test_format_attr (test.test_struct.StructTest.test_format_attr) ... ok
test_integers (test.test_struct.StructTest.test_integers) ... ok
test_isbigendian (test.test_struct.StructTest.test_isbigendian) ... ok
test_issue29802 (test.test_struct.StructTest.test_issue29802) ... ok
test_issue35714 (test.test_struct.StructTest.test_issue35714) ... ok
test_issue98248 (test.test_struct.StructTest.test_issue98248) ... skipped 'implementation detail specific to cpython'
test_issue98248_error_propagation (test.test_struct.StructTest.test_issue98248_error_propagation) ... skipped 'implementation detail specific to cpython'
test_nN_code (test.test_struct.StructTest.test_nN_code) ... ok
test_new_features (test.test_struct.StructTest.test_new_features) ... ERROR
test_p_code (test.test_struct.StructTest.test_p_code) ... ERROR
test_pack_into (test.test_struct.StructTest.test_pack_into) ... ok
test_pack_into_fn (test.test_struct.StructTest.test_pack_into_fn) ... ok
test_struct_cleans_up_at_runtime_shutdown (test.test_struct.StructTest.test_struct_cleans_up_at_runtime_shutdown) ... FAIL
test_struct_subclass_instantiation (test.test_struct.StructTest.test_struct_subclass_instantiation) ... ok
test_trailing_counter (test.test_struct.StructTest.test_trailing_counter) ... ok
test_transitiveness (test.test_struct.StructTest.test_transitiveness) ... ok
test_unpack_from (test.test_struct.StructTest.test_unpack_from) ... ok
test_unpack_with_buffer (test.test_struct.StructTest.test_unpack_with_buffer) ... ok
test_arbitrary_buffer (test.test_struct.UnpackIteratorTest.test_arbitrary_buffer) ... ok
test_construct (test.test_struct.UnpackIteratorTest.test_construct) ... ok
test_half_float (test.test_struct.UnpackIteratorTest.test_half_float) ... ok
test_iterate (test.test_struct.UnpackIteratorTest.test_iterate) ... ok
test_length_hint (test.test_struct.UnpackIteratorTest.test_length_hint) ... ok
test_module_func (test.test_struct.UnpackIteratorTest.test_module_func) ... ok
test_uninstantiable (test.test_struct.UnpackIteratorTest.test_uninstantiable) ... ok
======================================================================
ERROR: test_new_features (test.test_struct.StructTest.test_new_features)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_struct.py", line 138, in test_new_features
res = struct.pack(xfmt, arg)
^^^^
struct.error: bad '0p' in struct format
======================================================================
ERROR: test_p_code (test.test_struct.StructTest.test_p_code)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_struct.py", line 358, in test_p_code
got = struct.pack(code, input)
^^^^
struct.error: bad '0p' in struct format
======================================================================
FAIL: test_struct_cleans_up_at_runtime_shutdown (test.test_struct.StructTest.test_struct_cleans_up_at_runtime_shutdown)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_struct.py", line 686, in test_struct_cleans_up_at_runtime_shutdown
self.assertIn(b"Exception ignored in:", stderr)
^^^^^^^^
AssertionError: b'Exception ignored in:' not found in b''
----------------------------------------------------------------------
Ran 38 tests in 1.288s
FAILED (failures=1, errors=2, skipped=4)
0:00:01 load avg: 0.65 [1/1/1] test_struct failed (2 errors, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test_struct
Total duration: 1.5 sec
Total tests: run=38 failures=1 skipped=4
Total test files: run=1/1 failed=1
Result: FAILURE
test test_struct failed
builder: pypy-c-jit-linux-aarch64 build #2946+
test: lib-python/3/test/test_struct.py::unmodified