lib-python/3/test/test_pyexpat.py::unmodified
== PyPy 3.12.13 (159a753059d5, Jul 18 2026, 03:54:37) [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_8856æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2816693290
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 7.05 Run 1 test sequentially in a single process
0:00:00 load avg: 7.05 [1/1] test_pyexpat
test1 (test.test_pyexpat.BufferTextTest.test1) ... ok
test2 (test.test_pyexpat.BufferTextTest.test2) ... ok
test3 (test.test_pyexpat.BufferTextTest.test3) ... ok
test4 (test.test_pyexpat.BufferTextTest.test4) ... ok
test5 (test.test_pyexpat.BufferTextTest.test5) ... ok
test6 (test.test_pyexpat.BufferTextTest.test6) ... ok
test7 (test.test_pyexpat.BufferTextTest.test7) ... ok
test_buffering_enabled (test.test_pyexpat.BufferTextTest.test_buffering_enabled) ... ok
test_default_to_disabled (test.test_pyexpat.BufferTextTest.test_default_to_disabled) ... ok
test_1000_bytes (test.test_pyexpat.ChardataBufferTest.test_1000_bytes) ... ok
test_1025_bytes (test.test_pyexpat.ChardataBufferTest.test_1025_bytes) ... ok
test_change_size_1 (test.test_pyexpat.ChardataBufferTest.test_change_size_1) ... ok
test_change_size_2 (test.test_pyexpat.ChardataBufferTest.test_change_size_2) ... ok
test_disabling_buffer (test.test_pyexpat.ChardataBufferTest.test_disabling_buffer) ... ok
test_unchanged_size (test.test_pyexpat.ChardataBufferTest.test_unchanged_size) ... ok
test_wrong_size (test.test_pyexpat.ChardataBufferTest.test_wrong_size) ... ok
test_codes (test.test_pyexpat.ErrorMessageTest.test_codes) ... ok
test_expaterror (test.test_pyexpat.ErrorMessageTest.test_expaterror) ... ok
test_ignore_use_foreign_dtd (test.test_pyexpat.ForeignDTDTests.test_ignore_use_foreign_dtd)
If UseForeignDTD is passed True and a document with an external ... ok
test_use_foreign_dtd (test.test_pyexpat.ForeignDTDTests.test_use_foreign_dtd)
If UseForeignDTD is passed True and a document without an external ... ok
test_exception (test.test_pyexpat.HandlerExceptionTest.test_exception) ... skipped 'implementation detail specific to cpython'
test (test.test_pyexpat.InterningTest.test) ... ok
test_issue9402 (test.test_pyexpat.InterningTest.test_issue9402) ... ok
test1 (test.test_pyexpat.MalformedInputTest.test1) ... ok
test2 (test.test_pyexpat.MalformedInputTest.test2) ... ok
test_payload_generation (test.test_pyexpat.MemoryProtectionTest.test_payload_generation) ... ok
test_set_activation_threshold__fail_for_subparser (test.test_pyexpat.MemoryProtectionTest.test_set_activation_threshold__fail_for_subparser) ... ok
test_set_activation_threshold__invalid_threshold_range (test.test_pyexpat.MemoryProtectionTest.test_set_activation_threshold__invalid_threshold_range) ... ERROR
test_set_activation_threshold__invalid_threshold_type (test.test_pyexpat.MemoryProtectionTest.test_set_activation_threshold__invalid_threshold_type) ... ok
test_set_activation_threshold__threshold_not_reached (test.test_pyexpat.MemoryProtectionTest.test_set_activation_threshold__threshold_not_reached) ... ok
test_set_activation_threshold__threshold_reached (test.test_pyexpat.MemoryProtectionTest.test_set_activation_threshold__threshold_reached) ... ok
test_set_maximum_amplification__amplification_exceeded (test.test_pyexpat.MemoryProtectionTest.test_set_maximum_amplification__amplification_exceeded) ... ok
test_set_maximum_amplification__amplification_not_exceeded (test.test_pyexpat.MemoryProtectionTest.test_set_maximum_amplification__amplification_not_exceeded) ... ok
test_set_maximum_amplification__fail_for_subparser (test.test_pyexpat.MemoryProtectionTest.test_set_maximum_amplification__fail_for_subparser) ... ok
test_set_maximum_amplification__infinity (test.test_pyexpat.MemoryProtectionTest.test_set_maximum_amplification__infinity) ... ok
test_set_maximum_amplification__invalid_max_factor_range (test.test_pyexpat.MemoryProtectionTest.test_set_maximum_amplification__invalid_max_factor_range) ... ok
test_set_maximum_amplification__invalid_max_factor_type (test.test_pyexpat.MemoryProtectionTest.test_set_maximum_amplification__invalid_max_factor_type) ... ok
test_illegal (test.test_pyexpat.NamespaceSeparatorTest.test_illegal) ... ok
test_legal (test.test_pyexpat.NamespaceSeparatorTest.test_legal) ... ok
test_zero_length (test.test_pyexpat.NamespaceSeparatorTest.test_zero_length) ... ok
test_parent_parser_outlives_its_subparsers__chain (test.test_pyexpat.ParentParserLifetimeTest.test_parent_parser_outlives_its_subparsers__chain) ... ok
test_parent_parser_outlives_its_subparsers__multiple (test.test_pyexpat.ParentParserLifetimeTest.test_parent_parser_outlives_its_subparsers__multiple) ... ok
test_parent_parser_outlives_its_subparsers__single (test.test_pyexpat.ParentParserLifetimeTest.test_parent_parser_outlives_its_subparsers__single) ... ok
test_parse_again (test.test_pyexpat.ParseTest.test_parse_again) ... ok
test_parse_bytes (test.test_pyexpat.ParseTest.test_parse_bytes) ... ok
test_parse_file (test.test_pyexpat.ParseTest.test_parse_file) ... ok
test_parse_str (test.test_pyexpat.ParseTest.test_parse_str) ... ok
test (test.test_pyexpat.PositionTest.test) ... ok
test_getter_setter_round_trip (test.test_pyexpat.ReparseDeferralTest.test_getter_setter_round_trip) ... ok
test_reparse_deferral_disabled (test.test_pyexpat.ReparseDeferralTest.test_reparse_deferral_disabled) ... ok
test_reparse_deferral_enabled (test.test_pyexpat.ReparseDeferralTest.test_reparse_deferral_enabled) ... ok
test_buffer_text (test.test_pyexpat.SetAttributeTest.test_buffer_text) ... ok
test_invalid_attributes (test.test_pyexpat.SetAttributeTest.test_invalid_attributes) ... ok
test_namespace_prefixes (test.test_pyexpat.SetAttributeTest.test_namespace_prefixes) ... ok
test_ordered_attributes (test.test_pyexpat.SetAttributeTest.test_ordered_attributes) ... ok
test_specified_attributes (test.test_pyexpat.SetAttributeTest.test_specified_attributes) ... ok
test_parse_only_xml_data (test.test_pyexpat.sf1296433Test.test_parse_only_xml_data) ... ok
======================================================================
ERROR: test_set_activation_threshold__invalid_threshold_range (test.test_pyexpat.MemoryProtectionTest.test_set_activation_threshold__invalid_threshold_range)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.py", line 53, in <module>
module_from_spec(spec)
File "<frozen importlib._bootstrap>", line 813, in module_from_spec
File "<builtin>/frozen importlib._bootstrap_external", line 1293, in create_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
ImportError: dlopen(/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so, 0x0006): tried: '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so' (no such file), '/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.pypy312-pp80-darwin.so' (no such file)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_pypy_testcapi.py", line 142, in compile_shared
output_filename = _compile_shared_distutils(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_pypy_testcapi.py", line 60, in _compile_shared_distutils
from distutils.ccompiler import new_compiler
ModuleNotFoundError: No module named 'distutils'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_pyexpat.py", line 941, in test_set_activation_threshold__invalid_threshold_range
_testcapi = import_helper.import_module("_testcapi")
^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/support/import_helper.py", line 78, in import_module
return importlib.import_module(name)
^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/importlib/__init__.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<builtin>/frozen importlib._bootstrap_external", line 999, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.py", line 61, in <module>
mod = _pypy_testcapi.compile_shared(csources, '_testcapi', thisdir)
^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_pypy_testcapi.py", line 145, in compile_shared
output_filename = _compile_shared_ccdriver(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_pypy_testcapi.py", line 123, in _compile_shared_ccdriver
return _cc_compile_shared(source_paths, modulename, output_dir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/pypy_tools/_cffi_compile.py", line 246, in compile_shared
out = build(ext, output_dir, compiler_verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/pypy_tools/_cffi_compile.py", line 216, in build
return _build_unix(ext, compiler_verbose)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/pypy_tools/_cffi_compile.py", line 158, in _build_unix
_run(args, verbose)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/pypy_tools/_cffi_compile.py", line 111, in _run
raise VerificationError(
cffi.VerificationError: In file included from /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapimodule.c:25:
/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.12/structmember.h:57:10: fatal error: 'pypy_structmember_decl.h' file not found
57 | #include "pypy_structmember_decl.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
command failed (status 1): gcc -pthread -arch arm64 -DNDEBUG -O2 -fPIC -I/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/include/pypy3.12 -Wimplicit-function-declaration -O0 -g3 -c /Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapimodule.c -o _testcapimodule.o
----------------------------------------------------------------------
Ran 57 tests in 0.105s
FAILED (errors=1, skipped=1)
0:00:00 load avg: 7.05 [1/1/1] test_pyexpat failed (1 error)
== Tests result: FAILURE ==
1 test failed:
test_pyexpat
Total duration: 184 ms
Total tests: run=57 skipped=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test_pyexpat failed
builder: pypy-c-jit-macos-arm64 build #1319+
test: lib-python/3/test/test_pyexpat.py::unmodified