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

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

== PyPy 3.12.13 (a3c6b428e7a8, Jul 09 2026, 03:54:00) [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_59247æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2432597634
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 3.21 Run 1 test sequentially in a single process
0:00:00 load avg: 3.21 [1/1] test_sys
test_exc_info_no_exception (test.test_sys.ActiveExceptionTests.test_exc_info_no_exception) ... ok
test_exc_info_with_exception_instance (test.test_sys.ActiveExceptionTests.test_exc_info_with_exception_instance) ... ok
test_exc_info_with_exception_type (test.test_sys.ActiveExceptionTests.test_exc_info_with_exception_type) ... ok
test_sys_exception_no_exception (test.test_sys.ActiveExceptionTests.test_sys_exception_no_exception) ... ok
test_sys_exception_with_exception_instance (test.test_sys.ActiveExceptionTests.test_sys_exception_with_exception_instance) ... ok
test_sys_exception_with_exception_type (test.test_sys.ActiveExceptionTests.test_sys_exception_with_exception_type) ... ok
test_custom_displayhook (test.test_sys.DisplayHookTest.test_custom_displayhook) ... ok
test_gh130163 (test.test_sys.DisplayHookTest.test_gh130163) ... ok
test_lost_displayhook (test.test_sys.DisplayHookTest.test_lost_displayhook) ... ok
test_original_displayhook (test.test_sys.DisplayHookTest.test_original_displayhook) ... ok
test_excepthook (test.test_sys.ExceptHookTest.test_excepthook) ... ok
test_excepthook_bytes_filename (test.test_sys.ExceptHookTest.test_excepthook_bytes_filename) ... ok
test_original_excepthook (test.test_sys.ExceptHookTest.test_original_excepthook) ... ok
test_asyncgen_hooks (test.test_sys.SizeofTest.test_asyncgen_hooks) ... skipped 'implementation detail specific to cpython'
test_changing_sys_stderr_and_removing_reference (test.test_sys.SizeofTest.test_changing_sys_stderr_and_removing_reference) ... skipped 'implementation detail specific to cpython'
test_default (test.test_sys.SizeofTest.test_default) ... skipped 'implementation detail specific to cpython'
test_errors (test.test_sys.SizeofTest.test_errors) ... skipped 'implementation detail specific to cpython'
test_gc_head_size (test.test_sys.SizeofTest.test_gc_head_size) ... skipped 'implementation detail specific to cpython'
test_objecttypes (test.test_sys.SizeofTest.test_objecttypes) ... skipped 'implementation detail specific to cpython'
test_pythontypes (test.test_sys.SizeofTest.test_pythontypes) ... skipped 'implementation detail specific to cpython'
test_slots (test.test_sys.SizeofTest.test_slots) ... skipped 'implementation detail specific to cpython'
test_43581 (test.test_sys.SysModuleTest.test_43581) ... ok
test__enablelegacywindowsfsencoding (test.test_sys.SysModuleTest.test__enablelegacywindowsfsencoding) ... skipped 'needs sys._enablelegacywindowsfsencoding()'
test_attributes (test.test_sys.SysModuleTest.test_attributes) ... FAIL
test_c_locale_surrogateescape (test.test_sys.SysModuleTest.test_c_locale_surrogateescape) ... ok
test_call_tracing (test.test_sys.SysModuleTest.test_call_tracing) ... ok
test_clear_type_cache (test.test_sys.SysModuleTest.test_clear_type_cache) ... skipped 'implementation detail specific to cpython'
test_current_exceptions (test.test_sys.SysModuleTest.test_current_exceptions) ... FAIL
test_current_frames (test.test_sys.SysModuleTest.test_current_frames) ... ok
test_debugmallocstats (test.test_sys.SysModuleTest.test_debugmallocstats) ... skipped 'implementation detail specific to cpython'
test_dlopenflags (test.test_sys.SysModuleTest.test_dlopenflags) ... ok
test_emscripten_info (test.test_sys.SysModuleTest.test_emscripten_info) ... skipped 'only available on Emscripten'
test_executable (test.test_sys.SysModuleTest.test_executable) ... ok
test_exit (test.test_sys.SysModuleTest.test_exit) ... ok
test_getallocatedblocks (test.test_sys.SysModuleTest.test_getallocatedblocks) ... skipped 'sys.getallocatedblocks unavailable on this build'
test_getandroidapilevel (test.test_sys.SysModuleTest.test_getandroidapilevel) ... skipped 'need sys.getandroidapilevel()'
test_getdefaultencoding (test.test_sys.SysModuleTest.test_getdefaultencoding) ... ok
test_getfilesystemencoding (test.test_sys.SysModuleTest.test_getfilesystemencoding) ... ok
test_getframe (test.test_sys.SysModuleTest.test_getframe) ... ok
test_getframemodulename (test.test_sys.SysModuleTest.test_getframemodulename) ... ok
test_getrecursionlimit (test.test_sys.SysModuleTest.test_getrecursionlimit) ... ok
test_getwindowsversion (test.test_sys.SysModuleTest.test_getwindowsversion) ... skipped "object <module 'sys' (built-in)> has no attribute 'getwindowsversion'"
test_implementation (test.test_sys.SysModuleTest.test_implementation) ... ok
test_intern (test.test_sys.SysModuleTest.test_intern) ... ok
test_ioencoding (test.test_sys.SysModuleTest.test_ioencoding) ... ok
test_ioencoding_nonascii (test.test_sys.SysModuleTest.test_ioencoding_nonascii) ... skipped 'requires FS encoding to match locale'
test_is_finalizing (test.test_sys.SysModuleTest.test_is_finalizing) ... FAIL
test_issue20602 (test.test_sys.SysModuleTest.test_issue20602) ... ERROR
test_module_names (test.test_sys.SysModuleTest.test_module_names) ... ok
test_no_duplicates_in_meta_path (test.test_sys.SysModuleTest.test_no_duplicates_in_meta_path) ... ok
test_orig_argv (test.test_sys.SysModuleTest.test_orig_argv) ... ok
test_posix_locale_surrogateescape (test.test_sys.SysModuleTest.test_posix_locale_surrogateescape) ... ok
test_recursionlimit_recovery (test.test_sys.SysModuleTest.test_recursionlimit_recovery) ... ok
test_refcount (test.test_sys.SysModuleTest.test_refcount) ... skipped 'implementation detail specific to cpython'
test_setrecursionlimit (test.test_sys.SysModuleTest.test_setrecursionlimit) ... ok
test_setrecursionlimit_to_depth (test.test_sys.SysModuleTest.test_setrecursionlimit_to_depth) ... skipped 'implementation detail specific to cpython'
test_stdlib_dir (test.test_sys.SysModuleTest.test_stdlib_dir) ... ok
test_subinterp_intern_dynamically_allocated (test.test_sys.SysModuleTest.test_subinterp_intern_dynamically_allocated) ... skipped 'implementation detail specific to cpython'
test_subinterp_intern_singleton (test.test_sys.SysModuleTest.test_subinterp_intern_singleton) ... skipped 'implementation detail specific to cpython'
test_subinterp_intern_statically_allocated (test.test_sys.SysModuleTest.test_subinterp_intern_statically_allocated) ... skipped 'implementation detail specific to cpython'
test_switchinterval (test.test_sys.SysModuleTest.test_switchinterval) ... ok
test_sys_flags (test.test_sys.SysModuleTest.test_sys_flags) ... ok
test_sys_flags_no_instantiation (test.test_sys.SysModuleTest.test_sys_flags_no_instantiation) ... ok
test_sys_getwindowsversion_no_instantiation (test.test_sys.SysModuleTest.test_sys_getwindowsversion_no_instantiation) ... skipped "object <module 'sys' (built-in)> has no attribute 'getwindowsversion'"
test_sys_ignores_cleaning_up_user_data (test.test_sys.SysModuleTest.test_sys_ignores_cleaning_up_user_data) ... ok
test_sys_tracebacklimit (test.test_sys.SysModuleTest.test_sys_tracebacklimit) ... ok
test_sys_version_info_no_instantiation (test.test_sys.SysModuleTest.test_sys_version_info_no_instantiation) ... ok
test_thread_info (test.test_sys.SysModuleTest.test_thread_info) ... ok
test_custom_unraisablehook (test.test_sys.UnraisableHookTest.test_custom_unraisablehook) ... skipped 'implementation detail specific to cpython'
test_custom_unraisablehook_fail (test.test_sys.UnraisableHookTest.test_custom_unraisablehook_fail) ... skipped 'implementation detail specific to cpython'
test_original_unraisablehook (test.test_sys.UnraisableHookTest.test_original_unraisablehook) ... skipped 'implementation detail specific to cpython'
test_original_unraisablehook_err (test.test_sys.UnraisableHookTest.test_original_unraisablehook_err) ... skipped 'implementation detail specific to cpython'
test_original_unraisablehook_exception_qualname (test.test_sys.UnraisableHookTest.test_original_unraisablehook_exception_qualname) ... skipped 'implementation detail specific to cpython'
test_original_unraisablehook_wrong_type (test.test_sys.UnraisableHookTest.test_original_unraisablehook_wrong_type) ... skipped 'implementation detail specific to cpython'

======================================================================
ERROR: test_issue20602 (test.test_sys.SysModuleTest.test_issue20602)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_sys.py", line 1122, in test_issue20602
    self.assertIn(b'sys.flags', out[0])
                                ~~~^^^
IndexError: list index out of range

======================================================================
FAIL: test_attributes (test.test_sys.SysModuleTest.test_attributes)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_sys.py", line 603, in test_attributes
    self.assertTrue(sys.int_info.bits_per_digit % 5 == 0)
         ^^^^^^^^^^
AssertionError: False is not true

======================================================================
FAIL: test_current_exceptions (test.test_sys.SysModuleTest.test_current_exceptions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/support/threading_helper.py", line 66, in decorator
    return func(*args)
           ^^^^^^^^^^^
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_sys.py", line 562, in test_current_exceptions
    self.assertEqual(None, d.pop(main_id))
         ^^^^^^^^^^^
AssertionError: None != (None, None, None)

======================================================================
FAIL: test_is_finalizing (test.test_sys.SysModuleTest.test_is_finalizing)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_sys.py", line 1108, in test_is_finalizing
    self.assertEqual(stdout.rstrip(), b'True')
         ^^^^^^^^^^^
AssertionError: b'' != b'True'

----------------------------------------------------------------------
Ran 74 tests in 0.959s

FAILED (failures=3, errors=1, skipped=28)
0:00:01 load avg: 3.21 [1/1/1] test_sys failed (1 error, 3 failures)

== Tests result: FAILURE ==

1 test failed:
    test_sys

Total duration: 1.0 sec
Total tests: run=74 failures=3 skipped=28
Total test files: run=1/1 failed=1
Result: FAILURE
test test_sys failed
builder: pypy-c-jit-macos-arm64 build #1306+
test: lib-python/3/test/test_sys.py::unmodified