Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
After #110168 when the test suite is run with $SOURCE_DATE_EPOCH set, test_regrtest fails.
Traceback:
$ SOURCE_DATE_EPOCH=1649999999 ./python-mtest.regrtest-vtest_regrtest==CPython3.13.0a1+ (heads/main:a1ac5590e0f, Oct162023, 16:57:59) [GCC12.3.120230508 (RedHat12.3.1-1)] ==Linux-6.3.5-100.fc37.x86_64-x86_64-with-glibc2.36little-endian==Pythonbuild: release==cwd: .../cpython/build/test_python_worker_3521824æ==CPUcount: 8==encodings: locale=UTF-8FS=utf-8==resources: alltestresourcesaredisabled, use-uoptiontounskiptestsUsingrandomseedNone0:00:00loadavg: 6.56Run1testsequentially0:00:00loadavg: 6.56 [1/1] test_regrtesttest_add_python_opts (test.test_regrtest.ArgsTestCase.test_add_python_opts) ... oktest_cleanup (test.test_regrtest.ArgsTestCase.test_cleanup) ... oktest_coverage (test.test_regrtest.ArgsTestCase.test_coverage) ... oktest_crashed (test.test_regrtest.ArgsTestCase.test_crashed) ... oktest_doctest (test.test_regrtest.ArgsTestCase.test_doctest) ... oktest_env_changed (test.test_regrtest.ArgsTestCase.test_env_changed) ... oktest_failing_test (test.test_regrtest.ArgsTestCase.test_failing_test) ... oktest_forever (test.test_regrtest.ArgsTestCase.test_forever) ... oktest_fromfile (test.test_regrtest.ArgsTestCase.test_fromfile) ... oktest_huntrleaks (test.test_regrtest.ArgsTestCase.test_huntrleaks) ... 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) ... oktest_interrupted (test.test_regrtest.ArgsTestCase.test_interrupted) ... oktest_leak_tmp_file (test.test_regrtest.ArgsTestCase.test_leak_tmp_file) ... oktest_list_cases (test.test_regrtest.ArgsTestCase.test_list_cases) ... oktest_list_tests (test.test_regrtest.ArgsTestCase.test_list_tests) ... oktest_matchfile (test.test_regrtest.ArgsTestCase.test_matchfile) ... oktest_multiprocessing_timeout (test.test_regrtest.ArgsTestCase.test_multiprocessing_timeout) ... oktest_no_test_ran_some_test_exist_some_not (test.test_regrtest.ArgsTestCase.test_no_test_ran_some_test_exist_some_not) ... oktest_no_tests_ran (test.test_regrtest.ArgsTestCase.test_no_tests_ran) ... oktest_no_tests_ran_multiple_tests_nonexistent (test.test_regrtest.ArgsTestCase.test_no_tests_ran_multiple_tests_nonexistent) ... oktest_no_tests_ran_skip (test.test_regrtest.ArgsTestCase.test_no_tests_ran_skip) ... oktest_print_warning (test.test_regrtest.ArgsTestCase.test_print_warning) ... oktest_python_command (test.test_regrtest.ArgsTestCase.test_python_command) ... oktest_random (test.test_regrtest.ArgsTestCase.test_random) ... FAILtest_random_seed (test.test_regrtest.ArgsTestCase.test_random_seed) ... FAILtest_random_seed_workers (test.test_regrtest.ArgsTestCase.test_random_seed_workers) ... FAILtest_rerun_async_setup_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_async_setup_hook_failure) ... oktest_rerun_async_teardown_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_async_teardown_hook_failure) ... oktest_rerun_fail (test.test_regrtest.ArgsTestCase.test_rerun_fail) ... oktest_rerun_setup_class_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_setup_class_hook_failure) ... oktest_rerun_setup_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_setup_hook_failure) ... oktest_rerun_setup_module_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_setup_module_hook_failure) ... oktest_rerun_success (test.test_regrtest.ArgsTestCase.test_rerun_success) ... oktest_rerun_teardown_class_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_teardown_class_hook_failure) ... oktest_rerun_teardown_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_teardown_hook_failure) ... oktest_rerun_teardown_module_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_teardown_module_hook_failure) ... oktest_resources (test.test_regrtest.ArgsTestCase.test_resources) ... oktest_skip (test.test_regrtest.ArgsTestCase.test_skip) ... oktest_slowest (test.test_regrtest.ArgsTestCase.test_slowest) ... oktest_slowest_interrupted (test.test_regrtest.ArgsTestCase.test_slowest_interrupted) ... oktest_success (test.test_regrtest.ArgsTestCase.test_success) ... oktest_threading_excepthook (test.test_regrtest.ArgsTestCase.test_threading_excepthook) ... oktest_uncollectable (test.test_regrtest.ArgsTestCase.test_uncollectable) ... oktest_unicode_guard_env (test.test_regrtest.ArgsTestCase.test_unicode_guard_env) ... oktest_unraisable_exc (test.test_regrtest.ArgsTestCase.test_unraisable_exc) ... oktest_wait (test.test_regrtest.ArgsTestCase.test_wait) ... oktest_worker_decode_error (test.test_regrtest.ArgsTestCase.test_worker_decode_error) ... oktest_worker_output_on_failure (test.test_regrtest.ArgsTestCase.test_worker_output_on_failure) ... oktest_finds_expected_number_of_tests (test.test_regrtest.CheckActualTests.test_finds_expected_number_of_tests) Checkthatregrtestappearstofindtheexpectedsetoftests. ... oktest_arg (test.test_regrtest.ParseArgsTestCase.test_arg) ... oktest_arg_option_arg (test.test_regrtest.ParseArgsTestCase.test_arg_option_arg) ... oktest_coverage (test.test_regrtest.ParseArgsTestCase.test_coverage) ... oktest_coverdir (test.test_regrtest.ParseArgsTestCase.test_coverdir) ... oktest_dont_add_python_opts (test.test_regrtest.ParseArgsTestCase.test_dont_add_python_opts) ... oktest_exclude (test.test_regrtest.ParseArgsTestCase.test_exclude) ... oktest_failfast (test.test_regrtest.ParseArgsTestCase.test_failfast) ... oktest_fast_ci (test.test_regrtest.ParseArgsTestCase.test_fast_ci) ... FAILtest_fast_ci_python_cmd (test.test_regrtest.ParseArgsTestCase.test_fast_ci_python_cmd) ... FAILtest_fast_ci_resource (test.test_regrtest.ParseArgsTestCase.test_fast_ci_resource) ... FAILtest_forever (test.test_regrtest.ParseArgsTestCase.test_forever) ... oktest_fromfile (test.test_regrtest.ParseArgsTestCase.test_fromfile) ... oktest_header (test.test_regrtest.ParseArgsTestCase.test_header) ... oktest_help (test.test_regrtest.ParseArgsTestCase.test_help) ... oktest_huntrleaks (test.test_regrtest.ParseArgsTestCase.test_huntrleaks) ... oktest_ignore (test.test_regrtest.ParseArgsTestCase.test_ignore) ... oktest_long_option__partial (test.test_regrtest.ParseArgsTestCase.test_long_option__partial) ... oktest_match (test.test_regrtest.ParseArgsTestCase.test_match) ... oktest_memlimit (test.test_regrtest.ParseArgsTestCase.test_memlimit) ... oktest_multiprocess (test.test_regrtest.ParseArgsTestCase.test_multiprocess) ... oktest_nocoverdir (test.test_regrtest.ParseArgsTestCase.test_nocoverdir) ... oktest_nowindows (test.test_regrtest.ParseArgsTestCase.test_nowindows) ... oktest_option_and_arg (test.test_regrtest.ParseArgsTestCase.test_option_and_arg) ... oktest_option_with_empty_string_value (test.test_regrtest.ParseArgsTestCase.test_option_with_empty_string_value) ... oktest_quiet (test.test_regrtest.ParseArgsTestCase.test_quiet) ... oktest_randomize (test.test_regrtest.ParseArgsTestCase.test_randomize) ... oktest_randseed (test.test_regrtest.ParseArgsTestCase.test_randseed) ... oktest_rerun (test.test_regrtest.ParseArgsTestCase.test_rerun) ... oktest_runleaks (test.test_regrtest.ParseArgsTestCase.test_runleaks) ... oktest_single (test.test_regrtest.ParseArgsTestCase.test_single) ... oktest_slow_ci (test.test_regrtest.ParseArgsTestCase.test_slow_ci) ... FAILtest_slowest (test.test_regrtest.ParseArgsTestCase.test_slowest) ... oktest_start (test.test_regrtest.ParseArgsTestCase.test_start) ... oktest_testdir (test.test_regrtest.ParseArgsTestCase.test_testdir) ... oktest_threshold (test.test_regrtest.ParseArgsTestCase.test_threshold) ... oktest_timeout (test.test_regrtest.ParseArgsTestCase.test_timeout) ... oktest_two_options (test.test_regrtest.ParseArgsTestCase.test_two_options) ... oktest_unknown_option (test.test_regrtest.ParseArgsTestCase.test_unknown_option) ... oktest_unrecognized_argument (test.test_regrtest.ParseArgsTestCase.test_unrecognized_argument) ... oktest_use (test.test_regrtest.ParseArgsTestCase.test_use) ... oktest_verbose (test.test_regrtest.ParseArgsTestCase.test_verbose) ... oktest_verbose3 (test.test_regrtest.ParseArgsTestCase.test_verbose3) ... oktest_wait (test.test_regrtest.ParseArgsTestCase.test_wait) ... oktest_module_autotest (test.test_regrtest.ProgramsTestCase.test_module_autotest) ... FAILtest_module_from_test_autotest (test.test_regrtest.ProgramsTestCase.test_module_from_test_autotest) ... FAILtest_module_regrtest (test.test_regrtest.ProgramsTestCase.test_module_regrtest) ... FAILtest_module_test (test.test_regrtest.ProgramsTestCase.test_module_test) ... FAILtest_pcbuild_rt (test.test_regrtest.ProgramsTestCase.test_pcbuild_rt) ... skipped'Windows only'test_script_autotest (test.test_regrtest.ProgramsTestCase.test_script_autotest) ... FAILtest_script_regrtest (test.test_regrtest.ProgramsTestCase.test_script_regrtest) ... FAILtest_tools_buildbot_test (test.test_regrtest.ProgramsTestCase.test_tools_buildbot_test) ... skipped'Windows only'test_format_duration (test.test_regrtest.TestUtils.test_format_duration) ... oktest_format_resources (test.test_regrtest.TestUtils.test_format_resources) ... oktest_get_signal_name (test.test_regrtest.TestUtils.test_get_signal_name) ... oktest_normalize_test_name (test.test_regrtest.TestUtils.test_normalize_test_name) ... ok======================================================================FAIL: test_random (test.test_regrtest.ArgsTestCase.test_random) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line940, intest_randomrandseed=self.parse_random_seed(output) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File".../cpython/Lib/test/test_regrtest.py", line665, inparse_random_seedmatch=self.regex_search(r'Using random seed ([0-9]+)', output) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File".../cpython/Lib/test/test_regrtest.py", line488, inregex_searchself.fail("%r not found in %r"% (regex, output)) AssertionError: 'Using random seed ([0-9]+)'notfoundin'Using random seed None\n0:00:00 load avg: 7.05 Run 1 test sequentially\n0:00:00 load avg: 7.05 [1/1] test_regrtest_random\nTESTRANDOM: 794\ntest_regrtest_random ran no tests\n\n== Tests result: NO TESTS RAN ==\n\n1 test run no tests:\n test_regrtest_random\n\nTotal duration: 52 ms\nTotal tests: run=0\nTotal test files: run=1/1 run_no_tests=1\nResult: NO TESTS RAN\n'======================================================================FAIL: test_random_seed (test.test_regrtest.ArgsTestCase.test_random_seed) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line1954, intest_random_seedself._check_random_seed(run_workers=False) File".../cpython/Lib/test/test_regrtest.py", line1951, in_check_random_seedself.assertEqual(matches, [expected] *len(tests)) AssertionError: Listsdiffer: ['Random numbers: [503, 432, 8, 125, 683, 217, 539, 633, 376[141 chars]76]'] != ['Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 29[142 chars]36]'] Firstdifferingelement0: 'Random numbers: [503, 432, 8, 125, 683, 217, 539, 633, 376, 549]''Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]'- ['Random numbers: [503, 432, 8, 125, 683, 217, 539, 633, 376, 549]', -'Random numbers: [155, 758, 193, 409, 656, 829, 891, 649, 708, 353]', -'Random numbers: [361, 569, 523, 955, 15, 366, 121, 82, 878, 876]'] + ['Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]', +'Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]', +'Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]'] ======================================================================FAIL: test_random_seed_workers (test.test_regrtest.ArgsTestCase.test_random_seed_workers) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line1957, intest_random_seed_workersself._check_random_seed(run_workers=True) File".../cpython/Lib/test/test_regrtest.py", line1951, in_check_random_seedself.assertEqual(matches, [expected] *len(tests)) AssertionError: Listsdiffer: ['Random numbers: [762, 220, 332, 666, 137, 398, 674, 781, 5[142 chars]78]'] != ['Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 29[142 chars]36]'] Firstdifferingelement0: 'Random numbers: [762, 220, 332, 666, 137, 398, 674, 781, 565, 877]''Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]'- ['Random numbers: [762, 220, 332, 666, 137, 398, 674, 781, 565, 877]', -'Random numbers: [575, 517, 485, 394, 742, 165, 158, 4, 970, 86]', -'Random numbers: [143, 808, 956, 892, 987, 384, 744, 777, 658, 178]'] + ['Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]', +'Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]', +'Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]'] ======================================================================FAIL: test_fast_ci (test.test_regrtest.ParseArgsTestCase.test_fast_ci) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line406, intest_fast_ciregrtest=self.check_ci_mode(args, use_resources) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File".../cpython/Lib/test/test_regrtest.py", line394, incheck_ci_modeself.assertTrue(regrtest.randomize) AssertionError: Falseisnottrue======================================================================FAIL: test_fast_ci_python_cmd (test.test_regrtest.ParseArgsTestCase.test_fast_ci_python_cmd) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line413, intest_fast_ci_python_cmdregrtest=self.check_ci_mode(args, use_resources, rerun=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File".../cpython/Lib/test/test_regrtest.py", line394, incheck_ci_modeself.assertTrue(regrtest.randomize) AssertionError: Falseisnottrue======================================================================FAIL: test_fast_ci_resource (test.test_regrtest.ParseArgsTestCase.test_fast_ci_resource) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line423, intest_fast_ci_resourceself.check_ci_mode(args, use_resources) File".../cpython/Lib/test/test_regrtest.py", line394, incheck_ci_modeself.assertTrue(regrtest.randomize) AssertionError: Falseisnottrue======================================================================FAIL: test_slow_ci (test.test_regrtest.ParseArgsTestCase.test_slow_ci) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line428, intest_slow_ciregrtest=self.check_ci_mode(args, use_resources) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File".../cpython/Lib/test/test_regrtest.py", line394, incheck_ci_modeself.assertTrue(regrtest.randomize) AssertionError: Falseisnottrue======================================================================FAIL: test_module_autotest (test.test_regrtest.ProgramsTestCase.test_module_autotest) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line785, intest_module_autotestself.run_tests(args) File".../cpython/Lib/test/test_regrtest.py", line760, inrun_testsself.check_output(output) File".../cpython/Lib/test/test_regrtest.py", line754, incheck_outputself.parse_random_seed(output) File".../cpython/Lib/test/test_regrtest.py", line665, inparse_random_seedmatch=self.regex_search(r'Using random seed ([0-9]+)', output) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File".../cpython/Lib/test/test_regrtest.py", line488, inregex_searchself.fail("%r not found in %r"% (regex, output)) AssertionError: 'Using random seed ([0-9]+)'notfoundin'Using random seed None\n0:00:00 load avg: 6.86 Run 4 tests in parallel using 4 worker processes (timeout: 1 hour, worker timeout: 1 hour 5 min)\n0:00:00 load avg: 6.86 [1/4] test_regrtest_noop52 passed\n0:00:00 load avg: 6.86 [2/4] test_regrtest_noop53 passed\n0:00:00 load avg: 6.86 [3/4] test_regrtest_noop51 passed\n0:00:00 load avg: 6.86 [4/4] test_regrtest_noop50 passed\n\n== Tests result: SUCCESS ==\n\nAll 4 tests OK.\n\nTotal duration: 177 ms\nTotal tests: run=4\nTotal test files: run=4/4\nResult: SUCCESS\n'======================================================================FAIL: test_module_from_test_autotest (test.test_regrtest.ProgramsTestCase.test_module_from_test_autotest) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line792, intest_module_from_test_autotestself.run_tests(args) File".../cpython/Lib/test/test_regrtest.py", line760, inrun_testsself.check_output(output) File".../cpython/Lib/test/test_regrtest.py", line754, incheck_outputself.parse_random_seed(output) File".../cpython/Lib/test/test_regrtest.py", line665, inparse_random_seedmatch=self.regex_search(r'Using random seed ([0-9]+)', output) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File".../cpython/Lib/test/test_regrtest.py", line488, inregex_searchself.fail("%r not found in %r"% (regex, output)) AssertionError: 'Using random seed ([0-9]+)'notfoundin'Using random seed None\n0:00:00 load avg: 6.86 Run 4 tests in parallel using 4 worker processes (timeout: 1 hour, worker timeout: 1 hour 5 min)\n0:00:00 load avg: 6.86 [1/4] test_regrtest_noop56 passed\n0:00:00 load avg: 6.86 [2/4] test_regrtest_noop55 passed\n0:00:00 load avg: 6.86 [3/4] test_regrtest_noop57 passed\n0:00:00 load avg: 6.86 [4/4] test_regrtest_noop54 passed\n\n== Tests result: SUCCESS ==\n\nAll 4 tests OK.\n\nTotal duration: 226 ms\nTotal tests: run=4\nTotal test files: run=4/4\nResult: SUCCESS\n'======================================================================FAIL: test_module_regrtest (test.test_regrtest.ProgramsTestCase.test_module_regrtest) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line779, intest_module_regrtestself.run_tests(args) File".../cpython/Lib/test/test_regrtest.py", line760, inrun_testsself.check_output(output) File".../cpython/Lib/test/test_regrtest.py", line754, incheck_outputself.parse_random_seed(output) File".../cpython/Lib/test/test_regrtest.py", line665, inparse_random_seedmatch=self.regex_search(r'Using random seed ([0-9]+)', output) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File".../cpython/Lib/test/test_regrtest.py", line488, inregex_searchself.fail("%r not found in %r"% (regex, output)) AssertionError: 'Using random seed ([0-9]+)'notfoundin'Using random seed None\n0:00:00 load avg: 6.86 Run 4 tests in parallel using 4 worker processes (timeout: 1 hour, worker timeout: 1 hour 5 min)\n0:00:00 load avg: 6.86 [1/4] test_regrtest_noop59 passed\n0:00:00 load avg: 6.86 [2/4] test_regrtest_noop58 passed\n0:00:00 load avg: 6.86 [3/4] test_regrtest_noop61 passed\n0:00:00 load avg: 6.86 [4/4] test_regrtest_noop60 passed\n\n== Tests result: SUCCESS ==\n\nAll 4 tests OK.\n\nTotal duration: 227 ms\nTotal tests: run=4\nTotal test files: run=4/4\nResult: SUCCESS\n'======================================================================FAIL: test_module_test (test.test_regrtest.ProgramsTestCase.test_module_test) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line773, intest_module_testself.run_tests(args) File".../cpython/Lib/test/test_regrtest.py", line760, inrun_testsself.check_output(output) File".../cpython/Lib/test/test_regrtest.py", line754, incheck_outputself.parse_random_seed(output) File".../cpython/Lib/test/test_regrtest.py", line665, inparse_random_seedmatch=self.regex_search(r'Using random seed ([0-9]+)', output) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File".../cpython/Lib/test/test_regrtest.py", line488, inregex_searchself.fail("%r not found in %r"% (regex, output)) AssertionError: 'Using random seed ([0-9]+)'notfoundin'Using random seed None\n0:00:00 load avg: 6.86 Run 4 tests in parallel using 4 worker processes (timeout: 1 hour, worker timeout: 1 hour 5 min)\n0:00:00 load avg: 6.86 [1/4] test_regrtest_noop62 passed\n0:00:00 load avg: 6.86 [2/4] test_regrtest_noop64 passed\n0:00:00 load avg: 6.86 [3/4] test_regrtest_noop65 passed\n0:00:00 load avg: 6.86 [4/4] test_regrtest_noop63 passed\n\n== Tests result: SUCCESS ==\n\nAll 4 tests OK.\n\nTotal duration: 175 ms\nTotal tests: run=4\nTotal test files: run=4/4\nResult: SUCCESS\n'======================================================================FAIL: test_script_autotest (test.test_regrtest.ProgramsTestCase.test_script_autotest) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line798, intest_script_autotestself.run_tests(args) File".../cpython/Lib/test/test_regrtest.py", line760, inrun_testsself.check_output(output) File".../cpython/Lib/test/test_regrtest.py", line754, incheck_outputself.parse_random_seed(output) File".../cpython/Lib/test/test_regrtest.py", line665, inparse_random_seedmatch=self.regex_search(r'Using random seed ([0-9]+)', output) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File".../cpython/Lib/test/test_regrtest.py", line488, inregex_searchself.fail("%r not found in %r"% (regex, output)) AssertionError: 'Using random seed ([0-9]+)'notfoundin'Using random seed None\n0:00:00 load avg: 6.86 Run 4 tests in parallel using 4 worker processes (timeout: 1 hour, worker timeout: 1 hour 5 min)\n0:00:00 load avg: 6.86 [1/4] test_regrtest_noop69 passed\n0:00:00 load avg: 6.86 [2/4] test_regrtest_noop68 passed\n0:00:00 load avg: 6.86 [3/4] test_regrtest_noop66 passed\n0:00:00 load avg: 6.86 [4/4] test_regrtest_noop67 passed\n\n== Tests result: SUCCESS ==\n\nAll 4 tests OK.\n\nTotal duration: 227 ms\nTotal tests: run=4\nTotal test files: run=4/4\nResult: SUCCESS\n'======================================================================FAIL: test_script_regrtest (test.test_regrtest.ProgramsTestCase.test_script_regrtest) ----------------------------------------------------------------------Traceback (mostrecentcalllast): File".../cpython/Lib/test/test_regrtest.py", line767, intest_script_regrtestself.run_tests(args) File".../cpython/Lib/test/test_regrtest.py", line760, inrun_testsself.check_output(output) File".../cpython/Lib/test/test_regrtest.py", line754, incheck_outputself.parse_random_seed(output) File".../cpython/Lib/test/test_regrtest.py", line665, inparse_random_seedmatch=self.regex_search(r'Using random seed ([0-9]+)', output) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File".../cpython/Lib/test/test_regrtest.py", line488, inregex_searchself.fail("%r not found in %r"% (regex, output)) AssertionError: 'Using random seed ([0-9]+)'notfoundin'Using random seed None\n0:00:00 load avg: 6.86 Run 4 tests in parallel using 4 worker processes (timeout: 1 hour, worker timeout: 1 hour 5 min)\n0:00:00 load avg: 6.86 [1/4] test_regrtest_noop72 passed\n0:00:00 load avg: 6.86 [2/4] test_regrtest_noop73 passed\n0:00:00 load avg: 6.86 [3/4] test_regrtest_noop70 passed\n0:00:00 load avg: 6.86 [4/4] test_regrtest_noop71 passed\n\n== Tests result: SUCCESS ==\n\nAll 4 tests OK.\n\nTotal duration: 184 ms\nTotal tests: run=4\nTotal test files: run=4/4\nResult: SUCCESS\n'----------------------------------------------------------------------Ran103testsin27.042sFAILED (failures=13, skipped=5) testtest_regrtestfailedtest_regrtestfailed (13failures) ==Testsresult: FAILURE==1testfailed: test_regrtestTotalduration: 27.1secTotaltests: run=103failures=13skipped=5Totaltestfiles: run=1/1failed=1Result: FAILURECPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error