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

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

== PyPy 3.12.13 (8913d9282f84, Aug 17 2026, 07:32:43) [PyPy 8.0.0-alpha0 with MSC v.1941 64 bit (AMD64)]
== Windows-10-10.0.19045-SP0 little-endian
== Python build: release with_assert
== cwd: D:\SystemTemp\pytest\test_python_worker_5744æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2350531661
0:00:00 Run 1 test sequentially in a single process
0:00:00 [1/1] test_faulthandler
test_cancel_later_without_dump_traceback_later (test.test_faulthandler.FaultHandlerTests.test_cancel_later_without_dump_traceback_later) ... ERROR
test_disable (test.test_faulthandler.FaultHandlerTests.test_disable) ... ERROR
test_disable_windows_exc_handler (test.test_faulthandler.FaultHandlerTests.test_disable_windows_exc_handler) ... ERROR
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) ... skipped "no 'Extension modules:' list"
test_dump_traceback (test.test_faulthandler.FaultHandlerTests.test_dump_traceback) ... ERROR
test_dump_traceback_fd (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_fd) ... skipped "subprocess doesn't support pass_fds on Windows"
test_dump_traceback_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_file) ... ERROR
test_dump_traceback_later (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later) ... ERROR
test_dump_traceback_later_cancel (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_cancel) ... ERROR
test_dump_traceback_later_fd (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_fd) ... skipped "subprocess doesn't support pass_fds on Windows"
test_dump_traceback_later_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_file) ... ERROR
test_dump_traceback_later_repeat (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_repeat) ... ERROR
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) ... ERROR
test_dump_traceback_threads_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_threads_file) ... ERROR
test_enable_fd (test.test_faulthandler.FaultHandlerTests.test_enable_fd) ... skipped "subprocess doesn't support pass_fds on Windows"
test_enable_file (test.test_faulthandler.FaultHandlerTests.test_enable_file) ... ERROR
test_enable_single_thread (test.test_faulthandler.FaultHandlerTests.test_enable_single_thread) ... ERROR
test_env_var (test.test_faulthandler.FaultHandlerTests.test_env_var) ... FAIL
test_fatal_error (test.test_faulthandler.FaultHandlerTests.test_fatal_error) ... skipped 'Py_FatalError does not dump tracebacks'
test_fatal_error_c_thread (test.test_faulthandler.FaultHandlerTests.test_fatal_error_c_thread) ... skipped 'need faulthandler._fatal_error_c_thread'
test_fatal_error_without_gil (test.test_faulthandler.FaultHandlerTests.test_fatal_error_without_gil) ... skipped 'Py_FatalError does not dump tracebacks'
test_gc (test.test_faulthandler.FaultHandlerTests.test_gc) ... ERROR
test_gil_released (test.test_faulthandler.FaultHandlerTests.test_gil_released) ... ERROR
test_ignore_exception (test.test_faulthandler.FaultHandlerTests.test_ignore_exception) ... ERROR
test_is_enabled (test.test_faulthandler.FaultHandlerTests.test_is_enabled) ... FAIL
test_raise_exception (test.test_faulthandler.FaultHandlerTests.test_raise_exception) ... ERROR
test_raise_nonfatal_exception (test.test_faulthandler.FaultHandlerTests.test_raise_nonfatal_exception) ... ERROR
test_read_null (test.test_faulthandler.FaultHandlerTests.test_read_null) ... ERROR
test_register (test.test_faulthandler.FaultHandlerTests.test_register) ... ERROR
test_register_chain (test.test_faulthandler.FaultHandlerTests.test_register_chain) ... ERROR
test_register_fd (test.test_faulthandler.FaultHandlerTests.test_register_fd) ... skipped "subprocess doesn't support pass_fds on Windows"
test_register_file (test.test_faulthandler.FaultHandlerTests.test_register_file) ... ERROR
test_register_threads (test.test_faulthandler.FaultHandlerTests.test_register_threads) ... ERROR
test_sigabrt (test.test_faulthandler.FaultHandlerTests.test_sigabrt) ... ERROR
test_sigbus (test.test_faulthandler.FaultHandlerTests.test_sigbus) ... skipped 'need signal.SIGBUS'
test_sigfpe (test.test_faulthandler.FaultHandlerTests.test_sigfpe) ... skipped 'SIGFPE cannot be caught on Windows'
test_sigill (test.test_faulthandler.FaultHandlerTests.test_sigill) ... ERROR
test_sigsegv (test.test_faulthandler.FaultHandlerTests.test_sigsegv) ... ERROR
test_stack_overflow (test.test_faulthandler.FaultHandlerTests.test_stack_overflow) ... skipped 'need faulthandler._stack_overflow()'
test_stderr_None (test.test_faulthandler.FaultHandlerTests.test_stderr_None) ... FAIL
test_sys_xoptions (test.test_faulthandler.FaultHandlerTests.test_sys_xoptions) ... FAIL
test_truncate (test.test_faulthandler.FaultHandlerTests.test_truncate) ... ERROR
test_unregister (test.test_faulthandler.FaultHandlerTests.test_unregister) ... ERROR

======================================================================
ERROR: test_cancel_later_without_dump_traceback_later (test.test_faulthandler.FaultHandlerTests.test_cancel_later_without_dump_traceback_later)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 926, in test_cancel_later_without_dump_traceback_later
    output, exitcode = self.get_output(code)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_disable (test.test_faulthandler.FaultHandlerTests.test_disable)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 384, in test_disable
    stderr, exitcode = self.get_output(code)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_disable_windows_exc_handler (test.test_faulthandler.FaultHandlerTests.test_disable_windows_exc_handler)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 915, in test_disable_windows_exc_handler
    output, exitcode = self.get_output(code)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_dump_traceback (test.test_faulthandler.FaultHandlerTests.test_dump_traceback)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 524, in test_dump_traceback
    self.check_dump_traceback()
         ^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 516, in check_dump_traceback
    trace, exitcode = self.get_output(code, filename, fd)
                           ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_dump_traceback_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_file)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 528, in test_dump_traceback_file
    self.check_dump_traceback(filename=filename)
         ^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 516, in check_dump_traceback
    trace, exitcode = self.get_output(code, filename, fd)
                           ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_dump_traceback_later (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 696, in test_dump_traceback_later
    self.check_dump_traceback_later()
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 681, in check_dump_traceback_later
    trace, exitcode = self.get_output(code, filename)
                           ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_dump_traceback_later_cancel (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_cancel)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 702, in test_dump_traceback_later_cancel
    self.check_dump_traceback_later(cancel=True)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 681, in check_dump_traceback_later
    trace, exitcode = self.get_output(code, filename)
                           ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_dump_traceback_later_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_file)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 706, in test_dump_traceback_later_file
    self.check_dump_traceback_later(filename=filename)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 681, in check_dump_traceback_later
    trace, exitcode = self.get_output(code, filename)
                           ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_dump_traceback_later_repeat (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_later_repeat)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 699, in test_dump_traceback_later_repeat
    self.check_dump_traceback_later(repeat=True)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 681, in check_dump_traceback_later
    trace, exitcode = self.get_output(code, filename)
                           ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_dump_traceback_threads (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_threads)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 627, in test_dump_traceback_threads
    self.check_dump_traceback_threads(None)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 601, in check_dump_traceback_threads
    output, exitcode = self.get_output(code, filename)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_dump_traceback_threads_file (test.test_faulthandler.FaultHandlerTests.test_dump_traceback_threads_file)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 631, in test_dump_traceback_threads_file
    self.check_dump_traceback_threads(filename)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 601, in check_dump_traceback_threads
    output, exitcode = self.get_output(code, filename)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_enable_file (test.test_faulthandler.FaultHandlerTests.test_enable_file)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 338, in test_enable_file
    self.check_fatal_error("""
         ^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 153, in check_fatal_error
    self.check_error(code, line_number, fatal_error, **kw)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 144, in check_error
    output, exitcode = self.get_output(code, filename=filename, fd=fd)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_enable_single_thread (test.test_faulthandler.FaultHandlerTests.test_enable_single_thread)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 366, in test_enable_single_thread
    self.check_fatal_error("""
         ^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 153, in check_fatal_error
    self.check_error(code, line_number, fatal_error, **kw)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 144, in check_error
    output, exitcode = self.get_output(code, filename=filename, fd=fd)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_gc (test.test_faulthandler.FaultHandlerTests.test_gc)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 195, in test_gc
    self.check_fatal_error("""
         ^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 153, in check_fatal_error
    self.check_error(code, line_number, fatal_error, **kw)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 144, in check_error
    output, exitcode = self.get_output(code, filename=filename, fd=fd)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_gil_released (test.test_faulthandler.FaultHandlerTests.test_gil_released)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 327, in test_gil_released
    self.check_fatal_error("""
         ^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 153, in check_fatal_error
    self.check_error(code, line_number, fatal_error, **kw)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 144, in check_error
    output, exitcode = self.get_output(code, filename=filename, fd=fd)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_ignore_exception (test.test_faulthandler.FaultHandlerTests.test_ignore_exception)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 874, in test_ignore_exception
    output, exitcode = self.get_output(code)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_raise_exception (test.test_faulthandler.FaultHandlerTests.test_raise_exception)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 854, in test_raise_exception
    self.check_windows_exception(f"""
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 157, in check_windows_exception
    self.check_error(code, line_number, fatal_error, **kw)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 144, in check_error
    output, exitcode = self.get_output(code, filename=filename, fd=fd)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_raise_nonfatal_exception (test.test_faulthandler.FaultHandlerTests.test_raise_nonfatal_exception)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 894, in test_raise_nonfatal_exception
    output, exitcode = self.get_output(f"""
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_read_null (test.test_faulthandler.FaultHandlerTests.test_read_null)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 174, in test_read_null
    self.check_windows_exception("""
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 157, in check_windows_exception
    self.check_error(code, line_number, fatal_error, **kw)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 144, in check_error
    output, exitcode = self.get_output(code, filename=filename, fd=fd)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_register (test.test_faulthandler.FaultHandlerTests.test_register)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 802, in test_register
    self.check_register()
         ^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 730, in check_register
    signum = signal.SIGUSR1
                    ^^^^^^^
AttributeError: module 'signal' has no attribute 'SIGUSR1'

======================================================================
ERROR: test_register_chain (test.test_faulthandler.FaultHandlerTests.test_register_chain)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 821, in test_register_chain
    self.check_register(chain=True)
         ^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 730, in check_register
    signum = signal.SIGUSR1
                    ^^^^^^^
AttributeError: module 'signal' has no attribute 'SIGUSR1'

======================================================================
ERROR: test_register_file (test.test_faulthandler.FaultHandlerTests.test_register_file)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 809, in test_register_file
    self.check_register(filename=filename)
         ^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 730, in check_register
    signum = signal.SIGUSR1
                    ^^^^^^^
AttributeError: module 'signal' has no attribute 'SIGUSR1'

======================================================================
ERROR: test_register_threads (test.test_faulthandler.FaultHandlerTests.test_register_threads)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 818, in test_register_threads
    self.check_register(all_threads=True)
         ^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 730, in check_register
    signum = signal.SIGUSR1
                    ^^^^^^^
AttributeError: module 'signal' has no attribute 'SIGUSR1'

======================================================================
ERROR: test_sigabrt (test.test_faulthandler.FaultHandlerTests.test_sigabrt)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 243, in test_sigabrt
    self.check_fatal_error("""
         ^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 153, in check_fatal_error
    self.check_error(code, line_number, fatal_error, **kw)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 144, in check_error
    output, exitcode = self.get_output(code, filename=filename, fd=fd)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_sigill (test.test_faulthandler.FaultHandlerTests.test_sigill)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 280, in test_sigill
    self.check_fatal_error("""
         ^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 153, in check_fatal_error
    self.check_error(code, line_number, fatal_error, **kw)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 144, in check_error
    output, exitcode = self.get_output(code, filename=filename, fd=fd)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_sigsegv (test.test_faulthandler.FaultHandlerTests.test_sigsegv)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 184, in test_sigsegv
    self.check_fatal_error("""
         ^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 153, in check_fatal_error
    self.check_error(code, line_number, fatal_error, **kw)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 144, in check_error
    output, exitcode = self.get_output(code, filename=filename, fd=fd)
                            ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_truncate (test.test_faulthandler.FaultHandlerTests.test_truncate)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 556, in test_truncate
    trace, exitcode = self.get_output(code)
                           ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 86, in get_output
    with support.SuppressCrashReport():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\__init__.py", line 1661, in __enter__
    self.old_value = msvcrt.GetErrorMode()
                            ^^^^^^^^^^^^
TypeError: 'unsigned int(*)(unsigned int)' expects 1 arguments, got 0

======================================================================
ERROR: test_unregister (test.test_faulthandler.FaultHandlerTests.test_unregister)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 805, in test_unregister
    self.check_register(unregister=True)
         ^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 730, in check_register
    signum = signal.SIGUSR1
                    ^^^^^^^
AttributeError: module 'signal' has no attribute 'SIGUSR1'

======================================================================
FAIL: test_env_var (test.test_faulthandler.FaultHandlerTests.test_env_var)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 472, in test_env_var
    self.assertEqual(output.rstrip(), b"True")
         ^^^^^^^^^^^
AssertionError: b'False' != b'True'

======================================================================
FAIL: test_is_enabled (test.test_faulthandler.FaultHandlerTests.test_is_enabled)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 422, in test_is_enabled
    self.assertTrue(faulthandler.is_enabled())
         ^^^^^^^^^^
AssertionError: False is not true

======================================================================
FAIL: test_stderr_None (test.test_faulthandler.FaultHandlerTests.test_stderr_None)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 837, in test_stderr_None
    with self.check_stderr_none():
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\contextlib.py", line 144, in __exit__
    next(self.gen)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 828, in check_stderr_none
    with self.assertRaises(RuntimeError) as cm:
AssertionError: RuntimeError not raised

======================================================================
FAIL: test_sys_xoptions (test.test_faulthandler.FaultHandlerTests.test_sys_xoptions)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_faulthandler.py", line 453, in test_sys_xoptions
    self.assertEqual(output.rstrip(), b"True")
         ^^^^^^^^^^^
AssertionError: b'False' != b'True'

----------------------------------------------------------------------
Ran 45 tests in 0.229s

FAILED (failures=4, errors=28, skipped=12)
0:00:00 [1/1/1] test_faulthandler failed (28 errors, 4 failures)

== Tests result: FAILURE ==

1 test failed:
    test_faulthandler

Total duration: 512 ms
Total tests: run=45 failures=4 skipped=12
Total test files: run=1/1 failed=1
Result: FAILURE
test test_faulthandler failed
builder: pypy-c-jit-win-x86-64 build #2500+
test: lib-python/3/test/test_faulthandler.py::unmodified