lib-python/3/test/test_faulthandler.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_66211æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 4226193216
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 6.34 Run 1 test sequentially in a single process
0:00:00 load avg: 6.34 [1/1] test_faulthandler
test_cancel_later_without_dump_traceback_later (test.test_faulthandler.FaultHandlerTests.test_cancel_later_without_dump_traceback_later) ... ok
test_disable (test.test_faulthandler.FaultHandlerTests.test_disable) ... ok
test_disable_windows_exc_handler (test.test_faulthandler.FaultHandlerTests.test_disable_windows_exc_handler) ... skipped 'specific to Windows'
test_disabled_by_default (test.test_faulthandler.FaultHandlerTests.test_disabled_by_default) ... ok
test_dump_ext_modules (test.test_faulthandler.FaultHandlerTests.test_dump_ext_modules) ... FAIL
test_dump_traceback (test.test_faulthandler.FaultHandlerTests.test_dump_traceback) ... FAIL
test_dump_traceback_fd (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_fd) ... FAIL
test_dump_traceback_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_file) ... FAIL
test_dump_traceback_later (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later) ... FAIL
test_dump_traceback_later_cancel (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_cancel) ... ok
test_dump_traceback_later_fd (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_fd) ... FAIL
test_dump_traceback_later_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_file) ... FAIL
test_dump_traceback_later_repeat (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_repeat) ... FAIL
test_dump_traceback_later_twice (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_twice) ... skipped "resource 'walltime' is not enabled"
test_dump_traceback_threads (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_threads) ... FAIL
test_dump_traceback_threads_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_threads_file) ... FAIL
test_enable_fd (test.test_faulthandler.FaultHandlerTests.test_enable_fd) ... FAIL
test_enable_file (test.test_faulthandler.FaultHandlerTests.test_enable_file) ... FAIL
test_enable_single_thread (test.test_faulthandler.FaultHandlerTests.test_enable_single_thread) ... FAIL
test_env_var (test.test_faulthandler.FaultHandlerTests.test_env_var) ... ok
test_fatal_error (test.test_faulthandler.FaultHandlerTests.test_fatal_error) ... FAIL
test_fatal_error_c_thread (test.test_faulthandler.FaultHandlerTests.test_fatal_error_c_thread) ... FAIL
test_fatal_error_without_gil (test.test_faulthandler.FaultHandlerTests.test_fatal_error_without_gil) ... FAIL
test_gc (test.test_faulthandler.FaultHandlerTests.test_gc) ... FAIL
test_gil_released (test.test_faulthandler.FaultHandlerTests.test_gil_released) ... FAIL
test_ignore_exception (test.test_faulthandler.FaultHandlerTests.test_ignore_exception) ... skipped 'specific to Windows'
test_is_enabled (test.test_faulthandler.FaultHandlerTests.test_is_enabled) ... ok
test_raise_exception (test.test_faulthandler.FaultHandlerTests.test_raise_exception) ... skipped 'specific to Windows'
test_raise_nonfatal_exception (test.test_faulthandler.FaultHandlerTests.test_raise_nonfatal_exception) ... skipped 'specific to Windows'
test_read_null (test.test_faulthandler.FaultHandlerTests.test_read_null) ... FAIL
test_register (test.test_faulthandler.FaultHandlerTests.test_register) ... FAIL
test_register_chain (test.test_faulthandler.FaultHandlerTests.test_register_chain) ... FAIL
test_register_fd (test.test_faulthandler.FaultHandlerTests.test_register_fd) ... FAIL
test_register_file (test.test_faulthandler.FaultHandlerTests.test_register_file) ... FAIL
test_register_threads (test.test_faulthandler.FaultHandlerTests.test_register_threads) ... FAIL
test_sigabrt (test.test_faulthandler.FaultHandlerTests.test_sigabrt) ... FAIL
test_sigbus (test.test_faulthandler.FaultHandlerTests.test_sigbus) ... skipped 'need _testcapi'
test_sigfpe (test.test_faulthandler.FaultHandlerTests.test_sigfpe) ... FAIL
test_sigill (test.test_faulthandler.FaultHandlerTests.test_sigill) ... skipped 'need _testcapi'
test_sigsegv (test.test_faulthandler.FaultHandlerTests.test_sigsegv) ... FAIL
test_stack_overflow (test.test_faulthandler.FaultHandlerTests.test_stack_overflow) ... FAIL
test_stderr_None (test.test_faulthandler.FaultHandlerTests.test_stderr_None) ... ok
test_sys_xoptions (test.test_faulthandler.FaultHandlerTests.test_sys_xoptions) ... ok
test_truncate (test.test_faulthandler.FaultHandlerTests.test_truncate) ... FAIL
test_unregister (test.test_faulthandler.FaultHandlerTests.test_unregister) ... ok
======================================================================
FAIL: test_dump_ext_modules (test.test_faulthandler.FaultHandlerTests.test_dump_ext_modules)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 382, in test_dump_ext_modules
self.fail(f"Cannot find 'Extension modules:' in {stderr!r}")
^^^^
AssertionError: Cannot find 'Extension modules:' in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_dump_traceback (test.test_faulthandler.FaultHandlerTests.test_dump_traceback)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 497, in test_dump_traceback
self.check_dump_traceback()
^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 493, in check_dump_traceback
self.assertEqual(trace, expected)
^^^^^^^^^^^
AssertionError: Lists differ: ['Sta[21 chars]first, approximate line numbers):', ' File "<[340 chars]int'] != ['Sta[21 chars]first):', ' File "<string>", line 14 in funcB[78 chars]le>']
First differing element 0:
'Stack (most recent call first, approximate line numbers):'
'Stack (most recent call first):'
First list contains 4 additional elements.
First extra element 4:
' File "<builtin>/app_main.py", line 964 in run_it'
Diff is 826 characters long. Set self.maxDiff to None to see it.
======================================================================
FAIL: test_dump_traceback_fd (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_fd)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 507, in test_dump_traceback_fd
self.check_dump_traceback(fd=fp.fileno())
^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 493, in check_dump_traceback
self.assertEqual(trace, expected)
^^^^^^^^^^^
AssertionError: Lists differ: ['Sta[21 chars]first, approximate line numbers):', ' File "<[340 chars]int'] != ['Sta[21 chars]first):', ' File "<string>", line 11 in funcB[78 chars]le>']
First differing element 0:
'Stack (most recent call first, approximate line numbers):'
'Stack (most recent call first):'
First list contains 4 additional elements.
First extra element 4:
' File "<builtin>/app_main.py", line 964 in run_it'
Diff is 826 characters long. Set self.maxDiff to None to see it.
======================================================================
FAIL: test_dump_traceback_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_file)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 501, in test_dump_traceback_file
self.check_dump_traceback(filename=filename)
^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 493, in check_dump_traceback
self.assertEqual(trace, expected)
^^^^^^^^^^^
AssertionError: Lists differ: ['Sta[21 chars]first, approximate line numbers):', ' File "<[340 chars]int'] != ['Sta[21 chars]first):', ' File "<string>", line 9 in funcB'[77 chars]le>']
First differing element 0:
'Stack (most recent call first, approximate line numbers):'
'Stack (most recent call first):'
First list contains 4 additional elements.
First extra element 4:
' File "<builtin>/app_main.py", line 964 in run_it'
Diff is 824 characters long. Set self.maxDiff to None to see it.
======================================================================
FAIL: test_dump_traceback_later (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 662, in test_dump_traceback_later
self.check_dump_traceback_later()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 656, in check_dump_traceback_later
self.assertRegex(trace, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '^Timeout \\(0:00:00.500000\\)!\\nThread 0x[0-9a-f]+ \\(most recent call first\\):\\n File "<string>", line 17 in func\n File "<string>", line 26 in <module>$' not found in 'Timeout (0:00:00.500000)!\nThread 0x1F372A2C0 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_dump_traceback_later_fd (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_fd)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 678, in test_dump_traceback_later_fd
self.check_dump_traceback_later(fd=fp.fileno())
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 656, in check_dump_traceback_later
self.assertRegex(trace, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '^Timeout \\(0:00:00.500000\\)!\\nThread 0x[0-9a-f]+ \\(most recent call first\\):\\n File "<string>", line 17 in func\n File "<string>", line 26 in <module>$' not found in 'Timeout (0:00:00.500000)!\nThread 0x1F372A2C0 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_dump_traceback_later_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_file)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 672, in test_dump_traceback_later_file
self.check_dump_traceback_later(filename=filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 656, in check_dump_traceback_later
self.assertRegex(trace, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '^Timeout \\(0:00:00.500000\\)!\\nThread 0x[0-9a-f]+ \\(most recent call first\\):\\n File "<string>", line 17 in func\n File "<string>", line 26 in <module>$' not found in 'Timeout (0:00:00.500000)!\nThread 0x1F372A2C0 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_dump_traceback_later_repeat (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_repeat)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 665, in test_dump_traceback_later_repeat
self.check_dump_traceback_later(repeat=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 656, in check_dump_traceback_later
self.assertRegex(trace, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '^Timeout \\(0:00:00.500000\\)!\\nThread 0x[0-9a-f]+ \\(most recent call first\\):\\n File "<string>", line 17 in func\n File "<string>", line 26 in <module>\nTimeout \\(0:00:00.500000\\)!\\nThread 0x[0-9a-f]+ \\(most recent call first\\):\\n File "<string>", line 17 in func\n File "<string>", line 26 in <module>' not found in 'Timeout (0:00:00.500000)!\nThread 0x1F372A2C0 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point\nTimeout (0:00:00.500000)!\nThread 0x1F372A2C0 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point\nTimeout (0:00:00.500000)!\nThread 0x1F372A2C0 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point\nTimeout (0:00:00.500000)!\nThread 0x1F372A2C0 (most recent call first, approximate line numbers):\n File "<string>", line 12 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_dump_traceback_threads (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_threads)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 593, in test_dump_traceback_threads
self.check_dump_traceback_threads(None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 589, in check_dump_traceback_threads
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '^Thread 0x[0-9a-f]+ \\(most recent call first\\):\n(?: File ".*threading.py", line [0-9]+ in [_a-z]+\n){1,3} File "<string>", line 23 in run\n File ".*threading.py", line [0-9]+ in _bootstrap_inner\n File ".*threading.py", line [0-9]+ in _bootstrap\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 10 in dump\n File "<string>", line 28 in <module>$' not found in 'Thread 0x16DAC3000 (most recent call first, approximate line numbers):\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/threading.py", line 323 in wait\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/threading.py", line 637 in wait\n File "<string>", line 21 in run\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/threading.py", line 1058 in _bootstrap_inner\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/threading.py", line 1018 in _bootstrap\n\nCurrent thread 0x1F372A2C0 (most recent call first, approximate line numbers):\n File "<string>", line 5 in dump\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_dump_traceback_threads_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_threads_file)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 597, in test_dump_traceback_threads_file
self.check_dump_traceback_threads(filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 589, in check_dump_traceback_threads
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '^Thread 0x[0-9a-f]+ \\(most recent call first\\):\n(?: File ".*threading.py", line [0-9]+ in [_a-z]+\n){1,3} File "<string>", line 23 in run\n File ".*threading.py", line [0-9]+ in _bootstrap_inner\n File ".*threading.py", line [0-9]+ in _bootstrap\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 8 in dump\n File "<string>", line 28 in <module>$' not found in 'Thread 0x16DEC7000 (most recent call first, approximate line numbers):\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/threading.py", line 323 in wait\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/threading.py", line 637 in wait\n File "<string>", line 21 in run\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/threading.py", line 1058 in _bootstrap_inner\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/threading.py", line 1018 in _bootstrap\n\nCurrent thread 0x1F372A2C0 (most recent call first, approximate line numbers):\n File "<string>", line 5 in dump\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_enable_fd (test.test_faulthandler.FaultHandlerTests.test_enable_fd)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 331, in test_enable_fd
self.check_fatal_error("""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)^Fatal Python error: Segmentation fault\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 4 in <module>' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_enable_file (test.test_faulthandler.FaultHandlerTests.test_enable_file)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 315, in test_enable_file
self.check_fatal_error("""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)^Fatal Python error: Segmentation fault\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 4 in <module>' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_enable_single_thread (test.test_faulthandler.FaultHandlerTests.test_enable_single_thread)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 343, in test_enable_single_thread
self.check_fatal_error("""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)^Fatal Python error: Segmentation fault\n\nStack \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_fatal_error (test.test_faulthandler.FaultHandlerTests.test_fatal_error)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 282, in test_fatal_error
self.check_fatal_error_func(False)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 272, in check_fatal_error_func
self.check_fatal_error(f"""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)^Fatal Python error: _testcapi_fatal_error_impl: xyz\nPython runtime state: initialized\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 2 in <module>' not found in 'Traceback (most recent call last):\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.py", line 17, in <module>\n module_from_spec(spec)\n File "<frozen importlib._bootstrap>", line 813, in module_from_spec\n File "<builtin>/frozen importlib._bootstrap_external", line 1293, in create_module\n File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed\nImportError: 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)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "<string>", line 1, in <module>\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.py", line 25, in <module>\n mod = _pypy_testcapi.compile_shared(cfile, \'_testcapi\', thisdir)\n ^^^^^^^^^^^^^^\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_pypy_testcapi.py", line 65, in compile_shared\n from distutils.ccompiler import new_compiler\nModuleNotFoundError: No module named \'distutils\''
======================================================================
FAIL: test_fatal_error_c_thread (test.test_faulthandler.FaultHandlerTests.test_fatal_error_c_thread)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 210, in test_fatal_error_c_thread
self.check_fatal_error("""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)^Fatal Python error: faulthandler_fatal_error_thread: in new thread\nPython runtime state: initialized\n\nThread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Traceback (most recent call last):\n File "<string>", line 3, in <module>\nAttributeError: module \'faulthandler\' has no attribute \'_fatal_error_c_thread\''
======================================================================
FAIL: test_fatal_error_without_gil (test.test_faulthandler.FaultHandlerTests.test_fatal_error_without_gil)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 285, in test_fatal_error_without_gil
self.check_fatal_error_func(True)
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 272, in check_fatal_error_func
self.check_fatal_error(f"""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)^Fatal Python error: _testcapi_fatal_error_impl: xyz\nPython runtime state: initialized\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 2 in <module>' not found in 'Traceback (most recent call last):\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.py", line 17, in <module>\n module_from_spec(spec)\n File "<frozen importlib._bootstrap>", line 813, in module_from_spec\n File "<builtin>/frozen importlib._bootstrap_external", line 1293, in create_module\n File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed\nImportError: 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)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "<string>", line 1, in <module>\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_testcapi.py", line 25, in <module>\n mod = _pypy_testcapi.compile_shared(cfile, \'_testcapi\', thisdir)\n ^^^^^^^^^^^^^^\n File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib_pypy/_pypy_testcapi.py", line 65, in compile_shared\n from distutils.ccompiler import new_compiler\nModuleNotFoundError: No module named \'distutils\''
======================================================================
FAIL: test_gc (test.test_faulthandler.FaultHandlerTests.test_gc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 176, in test_gc
self.check_fatal_error("""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)^Fatal Python error: Segmentation fault\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n Garbage-collecting\n File "<string>", line 9 in __del__' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 8 in __del__\n File "<frozen importlib._bootstrap>", line 445 in cb\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_gil_released (test.test_faulthandler.FaultHandlerTests.test_gil_released)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 304, in test_gil_released
self.check_fatal_error("""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)^Fatal Python error: Segmentation fault\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_read_null (test.test_faulthandler.FaultHandlerTests.test_read_null)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 144, in test_read_null
self.check_fatal_error("""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)^Fatal Python error: (?:Segmentation fault|Bus error|Illegal instruction)\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_register (test.test_faulthandler.FaultHandlerTests.test_register)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 768, in test_register
self.check_register()
^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 759, in check_register
self.assertRegex(trace, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '^Stack \\(most recent call first\\):\\n File "<string>", line 14 in func\n File "<string>", line 32 in <module>$' not found in 'Stack (most recent call first, approximate line numbers):\n File "<string>", line 13 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_register_chain (test.test_faulthandler.FaultHandlerTests.test_register_chain)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 787, in test_register_chain
self.check_register(chain=True)
^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 759, in check_register
self.assertRegex(trace, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '^Stack \\(most recent call first\\):\\n File "<string>", line 14 in func\n File "<string>", line 32 in <module>$' not found in 'Stack (most recent call first, approximate line numbers):\n File "<string>", line 13 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_register_fd (test.test_faulthandler.FaultHandlerTests.test_register_fd)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 781, in test_register_fd
self.check_register(fd=fp.fileno())
^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 759, in check_register
self.assertRegex(trace, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '^Stack \\(most recent call first\\):\\n File "<string>", line 14 in func\n File "<string>", line 32 in <module>$' not found in 'Stack (most recent call first, approximate line numbers):\n File "<string>", line 13 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_register_file (test.test_faulthandler.FaultHandlerTests.test_register_file)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 775, in test_register_file
self.check_register(filename=filename)
^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 759, in check_register
self.assertRegex(trace, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '^Stack \\(most recent call first\\):\\n File "<string>", line 14 in func\n File "<string>", line 32 in <module>$' not found in 'Stack (most recent call first, approximate line numbers):\n File "<string>", line 13 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_register_threads (test.test_faulthandler.FaultHandlerTests.test_register_threads)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 784, in test_register_threads
self.check_register(all_threads=True)
^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 759, in check_register
self.assertRegex(trace, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '^Current thread 0x[0-9a-f]+ \\(most recent call first\\):\\n File "<string>", line 14 in func\n File "<string>", line 32 in <module>$' not found in 'Current thread 0x1F372A2C0 (most recent call first, approximate line numbers):\n File "<string>", line 13 in func\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_sigabrt (test.test_faulthandler.FaultHandlerTests.test_sigabrt)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 222, in test_sigabrt
self.check_fatal_error("""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)^Fatal Python error: Aborted\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Fatal Python error: Aborted\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_sigfpe (test.test_faulthandler.FaultHandlerTests.test_sigfpe)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 233, in test_sigfpe
self.check_fatal_error("""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)^Fatal Python error: Floating-point exception\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Fatal Python error: Floating point exception\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_sigsegv (test.test_faulthandler.FaultHandlerTests.test_sigsegv)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 165, in test_sigsegv
self.check_fatal_error("""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)^Fatal Python error: Segmentation fault\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_stack_overflow (test.test_faulthandler.FaultHandlerTests.test_stack_overflow)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 293, in test_stack_overflow
self.check_fatal_error("""
^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 134, in check_fatal_error
self.check_error(code, line_number, fatal_error, **kw)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 127, in check_error
self.assertRegex(output, regex)
^^^^^^^^^^^
AssertionError: Regex didn't match: '(?m)(?:^Fatal Python error: (?:Segmentation fault|Bus error)\n\nCurrent thread 0x[0-9a-f]+ \\(most recent call first\\):\n File "<string>", line 3 in <module>|unable to raise a stack overflow)' not found in 'Fatal Python error: Segmentation fault\n\nStack (most recent call first, approximate line numbers):\n File "<string>", line 1 in <module>\n File "<builtin>/app_main.py", line 964 in run_it\n File "<builtin>/app_main.py", line 144 in run_toplevel\n File "<builtin>/app_main.py", line 816 in run_command_line\n File "<builtin>/app_main.py", line 1231 in entry_point'
======================================================================
FAIL: test_truncate (test.test_faulthandler.FaultHandlerTests.test_truncate)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_faulthandler.py", line 530, in test_truncate
self.assertEqual(trace, expected)
^^^^^^^^^^^
AssertionError: Lists differ: ['Sta[21 chars]first, approximate line numbers):', ' File "<[795 chars]int'] != ['Sta[21 chars]first):', ' File "<string>", line 4 in xxxxxx[535 chars]le>']
First differing element 0:
'Stack (most recent call first, approximate line numbers):'
'Stack (most recent call first):'
First list contains 4 additional elements.
First extra element 3:
' File "<builtin>/app_main.py", line 964 in run_it'
Diff is 2187 characters long. Set self.maxDiff to None to see it.
----------------------------------------------------------------------
Ran 45 tests in 14.244s
FAILED (failures=29, skipped=7)
0:00:14 load avg: 5.65 [1/1/1] test_faulthandler failed (29 failures)
== Tests result: FAILURE ==
1 test failed:
test_faulthandler
Total duration: 14.3 sec
Total tests: run=45 failures=29 skipped=7
Total test files: run=1/1 failed=1
Result: FAILURE
test test_faulthandler failed
builder: pypy-c-jit-macos-arm64 build #1309+
test: lib-python/3/test/test_faulthandler.py::unmodified