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

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

== PyPy 3.12.13 (7403c30cf194, Aug 25 2026, 05:36:42) [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_9496æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network

Using random seed: 1222469025
0:00:00 Run 1 test sequentially in a single process
0:00:00 [1/1] test_regrtest
test_add_python_opts (test.test_regrtest.ArgsTestCase.test_add_python_opts) ... 
  test_add_python_opts (test.test_regrtest.ArgsTestCase.test_add_python_opts) (opt='--fast-ci') ... FAIL
  test_add_python_opts (test.test_regrtest.ArgsTestCase.test_add_python_opts) (opt='--slow-ci') ... FAIL
test_cleanup (test.test_regrtest.ArgsTestCase.test_cleanup) ... ok
test_coverage (test.test_regrtest.ArgsTestCase.test_coverage) ... FAIL
test_crashed (test.test_regrtest.ArgsTestCase.test_crashed) ... skipped 'implementation detail specific to cpython'
test_doctest (test.test_regrtest.ArgsTestCase.test_doctest) ... ok
test_env_changed (test.test_regrtest.ArgsTestCase.test_env_changed) ... ok
test_failing_test (test.test_regrtest.ArgsTestCase.test_failing_test) ... ok
test_forever (test.test_regrtest.ArgsTestCase.test_forever) ... ok
test_fromfile (test.test_regrtest.ArgsTestCase.test_fromfile) ... ok
test_huntrleaks (test.test_regrtest.ArgsTestCase.test_huntrleaks) ... skipped 'need a debug build'
test_huntrleaks_bisect (test.test_regrtest.ArgsTestCase.test_huntrleaks_bisect) ... skipped 'need a debug build'
test_huntrleaks_fd_leak (test.test_regrtest.ArgsTestCase.test_huntrleaks_fd_leak) ... skipped 'need a debug build'
test_huntrleaks_mp (test.test_regrtest.ArgsTestCase.test_huntrleaks_mp) ... skipped 'need a debug build'
test_ignorefile (test.test_regrtest.ArgsTestCase.test_ignorefile) ... ok
test_interrupted (test.test_regrtest.ArgsTestCase.test_interrupted) ... ok
test_leak_tmp_file (test.test_regrtest.ArgsTestCase.test_leak_tmp_file) ... ok
test_list_cases (test.test_regrtest.ArgsTestCase.test_list_cases) ... ok
test_list_tests (test.test_regrtest.ArgsTestCase.test_list_tests) ... ok
test_matchfile (test.test_regrtest.ArgsTestCase.test_matchfile) ... ok
test_multiprocessing_timeout (test.test_regrtest.ArgsTestCase.test_multiprocessing_timeout) ... ok
test_no_test_ran_some_test_exist_some_not (test.test_regrtest.ArgsTestCase.test_no_test_ran_some_test_exist_some_not) ... ok
test_no_tests_ran (test.test_regrtest.ArgsTestCase.test_no_tests_ran) ... ok
test_no_tests_ran_multiple_tests_nonexistent (test.test_regrtest.ArgsTestCase.test_no_tests_ran_multiple_tests_nonexistent) ... ok
test_no_tests_ran_skip (test.test_regrtest.ArgsTestCase.test_no_tests_ran_skip) ... ok
test_print_warning (test.test_regrtest.ArgsTestCase.test_print_warning) ... ok
test_python_command (test.test_regrtest.ArgsTestCase.test_python_command) ... ok
test_random (test.test_regrtest.ArgsTestCase.test_random) ... ok
test_random_seed (test.test_regrtest.ArgsTestCase.test_random_seed) ... ok
test_random_seed_workers (test.test_regrtest.ArgsTestCase.test_random_seed_workers) ... FAIL
test_rerun_async_setup_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_async_setup_hook_failure) ... ok
test_rerun_async_teardown_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_async_teardown_hook_failure) ... ok
test_rerun_fail (test.test_regrtest.ArgsTestCase.test_rerun_fail) ... ok
test_rerun_setup_class_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_setup_class_hook_failure) ... ok
test_rerun_setup_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_setup_hook_failure) ... ok
test_rerun_setup_module_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_setup_module_hook_failure) ... ok
test_rerun_success (test.test_regrtest.ArgsTestCase.test_rerun_success) ... ok
test_rerun_teardown_class_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_teardown_class_hook_failure) ... ok
test_rerun_teardown_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_teardown_hook_failure) ... ok
test_rerun_teardown_module_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_teardown_module_hook_failure) ... ok
test_resources (test.test_regrtest.ArgsTestCase.test_resources) ... ok
test_skip (test.test_regrtest.ArgsTestCase.test_skip) ... ok
test_slowest (test.test_regrtest.ArgsTestCase.test_slowest) ... ok
test_slowest_interrupted (test.test_regrtest.ArgsTestCase.test_slowest_interrupted) ... ok
test_success (test.test_regrtest.ArgsTestCase.test_success) ... ok
test_threading_excepthook (test.test_regrtest.ArgsTestCase.test_threading_excepthook) ... ok
test_uncollectable (test.test_regrtest.ArgsTestCase.test_uncollectable) ... skipped 'implementation detail specific to cpython'
test_unicode_guard_env (test.test_regrtest.ArgsTestCase.test_unicode_guard_env) ... ok
test_unload_tests (test.test_regrtest.ArgsTestCase.test_unload_tests) ... ok
test_unraisable_exc (test.test_regrtest.ArgsTestCase.test_unraisable_exc) ... FAIL
test_verbose3 (test.test_regrtest.ArgsTestCase.test_verbose3) ... ok
test_wait (test.test_regrtest.ArgsTestCase.test_wait) ... ok
test_worker_decode_error (test.test_regrtest.ArgsTestCase.test_worker_decode_error) ... ok
test_worker_output_on_failure (test.test_regrtest.ArgsTestCase.test_worker_output_on_failure) ... skipped 'need faulthandler._sigsegv'
test_xml (test.test_regrtest.ArgsTestCase.test_xml) ... ok
test_finds_expected_number_of_tests (test.test_regrtest.CheckActualTests.test_finds_expected_number_of_tests)
Check that regrtest appears to find the expected set of tests. ... ok
test_arg (test.test_regrtest.ParseArgsTestCase.test_arg) ... ok
test_arg_option_arg (test.test_regrtest.ParseArgsTestCase.test_arg_option_arg) ... ok
test_bisect (test.test_regrtest.ParseArgsTestCase.test_bisect) ... ok
test_coverage (test.test_regrtest.ParseArgsTestCase.test_coverage) ... ok
test_coverdir (test.test_regrtest.ParseArgsTestCase.test_coverdir) ... ok
test_dont_add_python_opts (test.test_regrtest.ParseArgsTestCase.test_dont_add_python_opts) ... ok
test_exclude (test.test_regrtest.ParseArgsTestCase.test_exclude) ... ok
test_failfast (test.test_regrtest.ParseArgsTestCase.test_failfast) ... ok
test_fast_ci (test.test_regrtest.ParseArgsTestCase.test_fast_ci) ... ok
test_fast_ci_python_cmd (test.test_regrtest.ParseArgsTestCase.test_fast_ci_python_cmd) ... ok
test_fast_ci_resource (test.test_regrtest.ParseArgsTestCase.test_fast_ci_resource) ... ok
test_forever (test.test_regrtest.ParseArgsTestCase.test_forever) ... ok
test_fromfile (test.test_regrtest.ParseArgsTestCase.test_fromfile) ... ok
test_header (test.test_regrtest.ParseArgsTestCase.test_header) ... ok
test_help (test.test_regrtest.ParseArgsTestCase.test_help) ... ok
test_huntrleaks (test.test_regrtest.ParseArgsTestCase.test_huntrleaks) ... ok
test_long_option__partial (test.test_regrtest.ParseArgsTestCase.test_long_option__partial) ... ok
test_match (test.test_regrtest.ParseArgsTestCase.test_match) ... ok
test_memlimit (test.test_regrtest.ParseArgsTestCase.test_memlimit) ... ok
test_multiprocess (test.test_regrtest.ParseArgsTestCase.test_multiprocess) ... ok
test_nocoverdir (test.test_regrtest.ParseArgsTestCase.test_nocoverdir) ... ok
test_nowindows (test.test_regrtest.ParseArgsTestCase.test_nowindows) ... ok
test_option_and_arg (test.test_regrtest.ParseArgsTestCase.test_option_and_arg) ... ok
test_option_with_empty_string_value (test.test_regrtest.ParseArgsTestCase.test_option_with_empty_string_value) ... ok
test_quiet (test.test_regrtest.ParseArgsTestCase.test_quiet) ... ok
test_randomize (test.test_regrtest.ParseArgsTestCase.test_randomize) ... ok
test_randseed (test.test_regrtest.ParseArgsTestCase.test_randseed) ... ok
test_rerun (test.test_regrtest.ParseArgsTestCase.test_rerun) ... ok
test_runleaks (test.test_regrtest.ParseArgsTestCase.test_runleaks) ... ok
test_single (test.test_regrtest.ParseArgsTestCase.test_single) ... ok
test_single_process (test.test_regrtest.ParseArgsTestCase.test_single_process) ... ok
test_slow_ci (test.test_regrtest.ParseArgsTestCase.test_slow_ci) ... ok
test_slowest (test.test_regrtest.ParseArgsTestCase.test_slowest) ... ok
test_start (test.test_regrtest.ParseArgsTestCase.test_start) ... ok
test_testdir (test.test_regrtest.ParseArgsTestCase.test_testdir) ... ok
test_threshold (test.test_regrtest.ParseArgsTestCase.test_threshold) ... ok
test_timeout (test.test_regrtest.ParseArgsTestCase.test_timeout) ... ok
test_two_options (test.test_regrtest.ParseArgsTestCase.test_two_options) ... ok
test_unknown_option (test.test_regrtest.ParseArgsTestCase.test_unknown_option) ... ok
test_unrecognized_argument (test.test_regrtest.ParseArgsTestCase.test_unrecognized_argument) ... ok
test_use (test.test_regrtest.ParseArgsTestCase.test_use) ... ok
test_verbose (test.test_regrtest.ParseArgsTestCase.test_verbose) ... ok
test_verbose3 (test.test_regrtest.ParseArgsTestCase.test_verbose3) ... ok
test_verbose3_huntrleaks (test.test_regrtest.ParseArgsTestCase.test_verbose3_huntrleaks) ... ok
test_wait (test.test_regrtest.ParseArgsTestCase.test_wait) ... ok
test_module_autotest (test.test_regrtest.ProgramsTestCase.test_module_autotest) ... ok
test_module_from_test_autotest (test.test_regrtest.ProgramsTestCase.test_module_from_test_autotest) ... ok
test_module_regrtest (test.test_regrtest.ProgramsTestCase.test_module_regrtest) ... ok
test_module_test (test.test_regrtest.ProgramsTestCase.test_module_test) ... ok
test_pcbuild_rt (test.test_regrtest.ProgramsTestCase.test_pcbuild_rt) ... skipped 'File "d:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\lib-python\\PCbuild\\rt.bat" does not exist'
test_script_autotest (test.test_regrtest.ProgramsTestCase.test_script_autotest) ... ok
test_script_regrtest (test.test_regrtest.ProgramsTestCase.test_script_regrtest) ... ok
test_tools_buildbot_test (test.test_regrtest.ProgramsTestCase.test_tools_buildbot_test) ... skipped 'test.bat script is not installed'
test_format_duration (test.test_regrtest.TestUtils.test_format_duration) ... ok
test_format_resources (test.test_regrtest.TestUtils.test_format_resources) ... ok
test_get_signal_name (test.test_regrtest.TestUtils.test_get_signal_name) ... ok
test_match_test (test.test_regrtest.TestUtils.test_match_test) ... ok
test_normalize_test_name (test.test_regrtest.TestUtils.test_normalize_test_name) ... ok
test_sanitize_xml (test.test_regrtest.TestUtils.test_sanitize_xml) ... ok

======================================================================
FAIL: test_add_python_opts (test.test_regrtest.ArgsTestCase.test_add_python_opts) (opt='--fast-ci')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 2185, in test_add_python_opts
    self.check_add_python_opts(opt)
         ^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 2180, in check_add_python_opts
    self.assertEqual(proc.returncode, 0, proc)
         ^^^^^^^^^^^
AssertionError: 2 != 0 : CompletedProcess(args=['d:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\pypy\\goal\\pypy3.12-c.exe', '-m', 'test', '--fast-ci', '--testdir=d:\\systemtemp\\pytest\\tmpsvi9t5pa', 'test_regrtest_noop1'], returncode=2, stdout='+ \'d:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\pypy\\goal\\pypy3.12-c.exe\' -u -W default -bb -E -m test --fast-ci \'--testdir=d:\\systemtemp\\pytest\\tmpsvi9t5pa\' test_regrtest_noop1 --dont-add-python-opts\nUsing random seed: 1602702695\n0:00:00 Run 1 test in parallel using 1 worker process (timeout: 10 min, worker timeout: 15 min)\n0:00:00 [1/1/1] test_regrtest_noop1 failed (1 error)\ntest_config (test_regrtest_noop1.WorkerTests.test_config) ... ERROR\ntest_python_opts (test_regrtest_noop1.WorkerTests.test_python_opts) ... ok\n\n======================================================================\nERROR: test_config (test_regrtest_noop1.WorkerTests.test_config)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File "d:\\systemtemp\\pytest\\tmpsvi9t5pa\\test_regrtest_noop1.py", line 16, in test_config\n    config = get_config()[\'config\']\n             ^^^^^^^^^^^^\nTypeError: \'NoneType\' object is not callable\n\n----------------------------------------------------------------------\nRan 2 tests in 0.004s\n\nFAILED (errors=1)\ntest test_regrtest_noop1 failed\n\n== Tests result: FAILURE ==\n\n10 slowest tests:\n- test_regrtest_noop1: 312 ms\n\n1 test failed:\n    test_regrtest_noop1\n\n0:00:00 Re-running 1 failed tests in verbose mode in subprocesses\n0:00:00 Run 1 test in parallel using 1 worker process (timeout: 10 min, worker timeout: 15 min)\n0:00:00 [1/1/1] test_regrtest_noop1 failed (1 error)\nRe-running test_regrtest_noop1 in verbose mode (matching: test_config)\ntest_config (test_regrtest_noop1.WorkerTests.test_config) ... ERROR\n\n======================================================================\nERROR: test_config (test_regrtest_noop1.WorkerTests.test_config)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File "d:\\systemtemp\\pytest\\tmpsvi9t5pa\\test_regrtest_noop1.py", line 16, in test_config\n    config = get_config()[\'config\']\n             ^^^^^^^^^^^^\nTypeError: \'NoneType\' object is not callable\n\n----------------------------------------------------------------------\nRan 1 test in 0.003s\n\nFAILED (errors=1)\ntest test_regrtest_noop1 failed\n1 test failed again:\n    test_regrtest_noop1\n\n== Tests result: FAILURE then FAILURE ==\n\n10 slowest tests:\n- test_regrtest_noop1: 312 ms\n\n1 re-run test:\n    test_regrtest_noop1\n\n1 test failed:\n    test_regrtest_noop1\n\nTotal duration: 676 ms\nTotal tests: run=3\nTotal test files: run=2/1 failed=1 rerun=1\nResult: FAILURE then FAILURE\n')

======================================================================
FAIL: test_add_python_opts (test.test_regrtest.ArgsTestCase.test_add_python_opts) (opt='--slow-ci')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 2185, in test_add_python_opts
    self.check_add_python_opts(opt)
         ^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 2180, in check_add_python_opts
    self.assertEqual(proc.returncode, 0, proc)
         ^^^^^^^^^^^
AssertionError: 2 != 0 : CompletedProcess(args=['d:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\pypy\\goal\\pypy3.12-c.exe', '-m', 'test', '--slow-ci', '--testdir=d:\\systemtemp\\pytest\\tmpsvi9t5pa', 'test_regrtest_noop2'], returncode=2, stdout='+ \'d:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\pypy\\goal\\pypy3.12-c.exe\' -u -W default -bb -E -m test --slow-ci \'--testdir=d:\\systemtemp\\pytest\\tmpsvi9t5pa\' test_regrtest_noop2 --dont-add-python-opts\nUsing random seed: 4054548858\n0:00:00 Run 1 test in parallel using 1 worker process (timeout: 20 min, worker timeout: 25 min)\n0:00:00 [1/1/1] test_regrtest_noop2 failed (1 error)\ntest_config (test_regrtest_noop2.WorkerTests.test_config) ... ERROR\ntest_python_opts (test_regrtest_noop2.WorkerTests.test_python_opts) ... ok\n\n======================================================================\nERROR: test_config (test_regrtest_noop2.WorkerTests.test_config)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File "d:\\systemtemp\\pytest\\tmpsvi9t5pa\\test_regrtest_noop2.py", line 16, in test_config\n    config = get_config()[\'config\']\n             ^^^^^^^^^^^^\nTypeError: \'NoneType\' object is not callable\n\n----------------------------------------------------------------------\nRan 2 tests in 0.004s\n\nFAILED (errors=1)\ntest test_regrtest_noop2 failed\n\n== Tests result: FAILURE ==\n\n10 slowest tests:\n- test_regrtest_noop2: 313 ms\n\n1 test failed:\n    test_regrtest_noop2\n\n0:00:00 Re-running 1 failed tests in verbose mode in subprocesses\n0:00:00 Run 1 test in parallel using 1 worker process (timeout: 20 min, worker timeout: 25 min)\n0:00:00 [1/1/1] test_regrtest_noop2 failed (1 error)\nRe-running test_regrtest_noop2 in verbose mode (matching: test_config)\ntest_config (test_regrtest_noop2.WorkerTests.test_config) ... ERROR\n\n======================================================================\nERROR: test_config (test_regrtest_noop2.WorkerTests.test_config)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File "d:\\systemtemp\\pytest\\tmpsvi9t5pa\\test_regrtest_noop2.py", line 16, in test_config\n    config = get_config()[\'config\']\n             ^^^^^^^^^^^^\nTypeError: \'NoneType\' object is not callable\n\n----------------------------------------------------------------------\nRan 1 test in 0.003s\n\nFAILED (errors=1)\ntest test_regrtest_noop2 failed\n1 test failed again:\n    test_regrtest_noop2\n\n== Tests result: FAILURE then FAILURE ==\n\n10 slowest tests:\n- test_regrtest_noop2: 313 ms\n\n1 re-run test:\n    test_regrtest_noop2\n\n1 test failed:\n    test_regrtest_noop2\n\nTotal duration: 660 ms\nTotal tests: run=3\nTotal test files: run=2/1 failed=1 rerun=1\nResult: FAILURE then FAILURE\n')

======================================================================
FAIL: test_coverage (test.test_regrtest.ArgsTestCase.test_coverage)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 1134, in test_coverage
    output = self.run_tests("--coverage", test)
                  ^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 909, in run_tests
    return self.run_python(cmdargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 765, in run_python
    proc = self.run_command(args, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 756, in run_command
    self.fail(msg)
         ^^^^
AssertionError: Command ['d:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\pypy\\goal\\pypy3.12-c.exe', '-X', 'faulthandler', '-I', '-m', 'test', '--testdir=d:\\systemtemp\\pytest\\tmpuo074d9h', '--coverage', 'test_regrtest_coverage'] failed with exit code 1, but exit code 0 expected!

stdout:
---
Using random seed: 3064614293
0:00:00 Run 1 test sequentially in a single process
0:00:00 [1/1] test_regrtest_coverage
0:00:00 [1/1] test_regrtest_coverage passed
Not printing coverage data for '<builtin>/frozen importlib._bootstrap_external': [Errno 22] Invalid argument: '<builtin>/frozen importlib._bootstrap_external'

== Tests result: SUCCESS ==

1 test OK.

Total duration: 133 ms
Total tests: run=1
Total test files: run=1/1
Result: SUCCESS
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\runpy.py", line 198, in _run_module_as_main
    return _run_code(code, main_globals, None,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\runpy.py", line 88, in _run_code
    exec(code, run_globals)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\__main__.py", line 2, in <module>
    main(_add_python_opts=True)
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\libregrtest\main.py", line 728, in main
    Regrtest(ns, _add_python_opts=_add_python_opts).main(tests=tests)
                                                    ^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\libregrtest\main.py", line 720, in main
    exitcode = self.run_tests(selected, tests)
                    ^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\libregrtest\main.py", line 557, in run_tests
    return self._run_tests(selected, tests)
                ^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\libregrtest\main.py", line 537, in _run_tests
    self.finalize_tests(tracer)
         ^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\libregrtest\main.py", line 435, in finalize_tests
    results.write_results(show_missing=True, summary=True,
            ^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\trace.py", line 272, in write_results
    with open(filename, 'rb') as fp:
         ^^^^^^^^^^^^^^^^^^^^
OSError: [Errno 22] Invalid argument: '<builtin>/frozen importlib._bootstrap_external'

---


======================================================================
FAIL: test_random_seed_workers (test.test_regrtest.ArgsTestCase.test_random_seed_workers)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 2085, in test_random_seed_workers
    self._check_random_seed(run_workers=True)
         ^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 2068, in _check_random_seed
    output = self.run_tests(*cmd)
             ^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 909, in run_tests
    return self.run_python(cmdargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 765, in run_python
    proc = self.run_command(args, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 756, in run_command
    self.fail(msg)
         ^^^^
AssertionError: Command ['d:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\pypy\\goal\\pypy3.12-c.exe', '-X', 'faulthandler', '-I', '-m', 'test', '--testdir=d:\\systemtemp\\pytest\\tmpt6xn8_m0', '--randomize', '--randseed=856656202', '-j3', 'test_regrtest_test_random1', 'test_regrtest_test_random2', 'test_regrtest_test_random3'] failed with exit code 2, but exit code 0 expected!

stdout:
---
Using random seed: 856656202
0:00:00 Run 3 tests in parallel using 3 worker processes
Warning -- regrtest worker thread failed: Traceback (most recent call last):
Warning --   File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\libregrtest\run_workers.py", line 389, in run
Warning --     mp_result = self._runtest(test_name)
Warning --                      ^^^^^^^^
Warning --   File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\libregrtest\run_workers.py", line 349, in _runtest
Warning --     retcode, tmp_files = self.run_tmp_files(worker_runtests,
Warning --                               ^^^^^^^^^^^^^
Warning --   File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\libregrtest\run_workers.py", line 285, in run_tmp_files
Warning --     retcode = self._run_process(worker_runtests,
Warning --                    ^^^^^^^^^^^^
Warning --   File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\libregrtest\run_workers.py", line 167, in _run_process
Warning --     popen = create_worker_process(runtests, output_fd, tmp_dir)
Warning --             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning --   File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\libregrtest\worker.py", line 58, in create_worker_process
Warning --     return subprocess.Popen(cmd, **kwargs)
Warning --            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Warning --   File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\subprocess.py", line 992, in __init__
Warning --     errread, errwrite) = self._get_handles(stdin, stdout, stderr)
Warning --                               ^^^^^^^^^^^^
Warning --   File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\subprocess.py", line 1349, in _get_handles
Warning --     p2cread = _winapi.GetStdHandle(_winapi.STD_INPUT_HANDLE)
Warning --                       ^^^^^^^^^^^^
Warning --   File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib_pypy\_winapi.py", line 408, in GetStdHandle
Warning --     stdhandle = _ffi.cast("DWORD", stdhandle)
Warning --                      ^^^^
Warning -- TypeError: cannot cast to 'void'
Kill <WorkerThread #1 running test=test_regrtest_test_random2 pid=5364 time=15 ms> process

== Tests result: FAILURE, WORKER BUG ==

3 tests omitted:
    test_regrtest_test_random1 test_regrtest_test_random2
    test_regrtest_test_random3

1 test failed:
    <regrtest worker>

Total duration: 44 ms
Total tests: run=0
Total test files: run=1/3 failed=1
Result: FAILURE, WORKER BUG

---


======================================================================
FAIL: test_unraisable_exc (test.test_regrtest.ArgsTestCase.test_unraisable_exc)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 1827, in test_unraisable_exc
    output = self.run_tests("--fail-env-changed", "-v", testname,
                  ^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 909, in run_tests
    return self.run_python(cmdargs, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 765, in run_python
    proc = self.run_command(args, **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_regrtest.py", line 756, in run_command
    self.fail(msg)
         ^^^^
AssertionError: Command ['d:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\pypy\\goal\\pypy3.12-c.exe', '-X', 'faulthandler', '-I', '-m', 'test', '--testdir=d:\\systemtemp\\pytest\\tmp7jrm3953', '--fail-env-changed', '-v', 'test_regrtest_noop46'] failed with exit code 0, but exit code 3 expected!

stdout:
---
d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\os_helper.py:537: RuntimeWarning: tests may fail, unable to create temporary directory 'd:\\systemtemp\\pytest\\test_python_worker_7984æ': [WinError 183] Cannot create a file when that file already exists: 'd:\\systemtemp\\pytest\\test_python_worker_7984æ'
  with temp_dir(path=name, quiet=quiet) as temp_path:
== PyPy 3.12.13 (7403c30cf194, Aug 25 2026, 05:36:42) [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_7984æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources: all test resources are disabled, use -u option to unskip tests

Using random seed: 1759266494
0:00:00 Run 1 test sequentially in a single process
0:00:00 [1/1] test_regrtest_noop46
test_unraisable_exc (test_regrtest_noop46.Tests.test_unraisable_exc) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.000s

OK
0:00:00 [1/1] test_regrtest_noop46 passed

== Tests result: SUCCESS ==

1 test OK.

Total duration: 246 ms
Total tests: run=1
Total test files: run=1/1
Result: SUCCESS

---


----------------------------------------------------------------------
Ran 114 tests in 69.467s

FAILED (failures=5, skipped=9)
0:01:09 load avg: 0.44 [1/1/1] test_regrtest failed (5 failures) in 1 min 9 sec

== Tests result: FAILURE ==

1 test failed:
    test_regrtest

Total duration: 1 min 9 sec
Total tests: run=114 failures=5 skipped=9
Total test files: run=1/1 failed=1
Result: FAILURE
test test_regrtest failed
builder: pypy-c-jit-win-x86-64 build #2520+
test: lib-python/3/test/test_regrtest.py::unmodified