Title: SOURCE_DATE_EPOCH: AssertionError: 'Using random seed ([0-9]+)' not found in 'Using random seed None...' · Issue #110932 · python/cpython · GitHub
Open Graph Title: SOURCE_DATE_EPOCH: AssertionError: 'Using random seed ([0-9]+)' not found in 'Using random seed None...' · Issue #110932 · python/cpython
X Title: SOURCE_DATE_EPOCH: AssertionError: 'Using random seed ([0-9]+)' not found in 'Using random seed None...' · Issue #110932 · python/cpython
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 -m test.regrtest -v test_regrtest == CPython 3.13.0a1+ (heads/main:...
Open Graph 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 -m test.regrtest -v test_re...
X 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 -m test.regrtest -v test_re...
Opengraph URL: https://github.com/python/cpython/issues/110932
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SOURCE_DATE_EPOCH: AssertionError: 'Using random seed ([0-9]+)' not found in 'Using random seed None...'","articleBody":"# Bug report\r\n\r\n### Bug description:\r\n\r\nAfter https://github.com/python/cpython/pull/110168 when the test suite is run with `$SOURCE_DATE_EPOCH` set, `test_regrtest` fails.\r\n\r\n\u003cdetails\u003e\r\n\u003csummary\u003e\r\nTraceback:\r\n\u003c/summary\u003e\r\n\r\n```python\r\n$ SOURCE_DATE_EPOCH=1649999999 ./python -m test.regrtest -v test_regrtest\r\n== CPython 3.13.0a1+ (heads/main:a1ac5590e0f, Oct 16 2023, 16:57:59) [GCC 12.3.1 20230508 (Red Hat 12.3.1-1)]\r\n== Linux-6.3.5-100.fc37.x86_64-x86_64-with-glibc2.36 little-endian\r\n== Python build: release\r\n== cwd: .../cpython/build/test_python_worker_3521824æ\r\n== CPU count: 8\r\n== encodings: locale=UTF-8 FS=utf-8\r\n== resources: all test resources are disabled, use -u option to unskip tests\r\n\r\nUsing random seed None\r\n0:00:00 load avg: 6.56 Run 1 test sequentially\r\n0:00:00 load avg: 6.56 [1/1] test_regrtest\r\ntest_add_python_opts (test.test_regrtest.ArgsTestCase.test_add_python_opts) ... ok\r\ntest_cleanup (test.test_regrtest.ArgsTestCase.test_cleanup) ... ok\r\ntest_coverage (test.test_regrtest.ArgsTestCase.test_coverage) ... ok\r\ntest_crashed (test.test_regrtest.ArgsTestCase.test_crashed) ... ok\r\ntest_doctest (test.test_regrtest.ArgsTestCase.test_doctest) ... ok\r\ntest_env_changed (test.test_regrtest.ArgsTestCase.test_env_changed) ... ok\r\ntest_failing_test (test.test_regrtest.ArgsTestCase.test_failing_test) ... ok\r\ntest_forever (test.test_regrtest.ArgsTestCase.test_forever) ... ok\r\ntest_fromfile (test.test_regrtest.ArgsTestCase.test_fromfile) ... ok\r\ntest_huntrleaks (test.test_regrtest.ArgsTestCase.test_huntrleaks) ... skipped 'need a debug build'\r\ntest_huntrleaks_fd_leak (test.test_regrtest.ArgsTestCase.test_huntrleaks_fd_leak) ... skipped 'need a debug build'\r\ntest_huntrleaks_mp (test.test_regrtest.ArgsTestCase.test_huntrleaks_mp) ... skipped 'need a debug build'\r\ntest_ignorefile (test.test_regrtest.ArgsTestCase.test_ignorefile) ... ok\r\ntest_interrupted (test.test_regrtest.ArgsTestCase.test_interrupted) ... ok\r\ntest_leak_tmp_file (test.test_regrtest.ArgsTestCase.test_leak_tmp_file) ... ok\r\ntest_list_cases (test.test_regrtest.ArgsTestCase.test_list_cases) ... ok\r\ntest_list_tests (test.test_regrtest.ArgsTestCase.test_list_tests) ... ok\r\ntest_matchfile (test.test_regrtest.ArgsTestCase.test_matchfile) ... ok\r\ntest_multiprocessing_timeout (test.test_regrtest.ArgsTestCase.test_multiprocessing_timeout) ... ok\r\ntest_no_test_ran_some_test_exist_some_not (test.test_regrtest.ArgsTestCase.test_no_test_ran_some_test_exist_some_not) ... ok\r\ntest_no_tests_ran (test.test_regrtest.ArgsTestCase.test_no_tests_ran) ... ok\r\ntest_no_tests_ran_multiple_tests_nonexistent (test.test_regrtest.ArgsTestCase.test_no_tests_ran_multiple_tests_nonexistent) ... ok\r\ntest_no_tests_ran_skip (test.test_regrtest.ArgsTestCase.test_no_tests_ran_skip) ... ok\r\ntest_print_warning (test.test_regrtest.ArgsTestCase.test_print_warning) ... ok\r\ntest_python_command (test.test_regrtest.ArgsTestCase.test_python_command) ... ok\r\ntest_random (test.test_regrtest.ArgsTestCase.test_random) ... FAIL\r\ntest_random_seed (test.test_regrtest.ArgsTestCase.test_random_seed) ... FAIL\r\ntest_random_seed_workers (test.test_regrtest.ArgsTestCase.test_random_seed_workers) ... FAIL\r\ntest_rerun_async_setup_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_async_setup_hook_failure) ... ok\r\ntest_rerun_async_teardown_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_async_teardown_hook_failure) ... ok\r\ntest_rerun_fail (test.test_regrtest.ArgsTestCase.test_rerun_fail) ... ok\r\ntest_rerun_setup_class_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_setup_class_hook_failure) ... ok\r\ntest_rerun_setup_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_setup_hook_failure) ... ok\r\ntest_rerun_setup_module_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_setup_module_hook_failure) ... ok\r\ntest_rerun_success (test.test_regrtest.ArgsTestCase.test_rerun_success) ... ok\r\ntest_rerun_teardown_class_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_teardown_class_hook_failure) ... ok\r\ntest_rerun_teardown_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_teardown_hook_failure) ... ok\r\ntest_rerun_teardown_module_hook_failure (test.test_regrtest.ArgsTestCase.test_rerun_teardown_module_hook_failure) ... ok\r\ntest_resources (test.test_regrtest.ArgsTestCase.test_resources) ... ok\r\ntest_skip (test.test_regrtest.ArgsTestCase.test_skip) ... ok\r\ntest_slowest (test.test_regrtest.ArgsTestCase.test_slowest) ... ok\r\ntest_slowest_interrupted (test.test_regrtest.ArgsTestCase.test_slowest_interrupted) ... ok\r\ntest_success (test.test_regrtest.ArgsTestCase.test_success) ... ok\r\ntest_threading_excepthook (test.test_regrtest.ArgsTestCase.test_threading_excepthook) ... ok\r\ntest_uncollectable (test.test_regrtest.ArgsTestCase.test_uncollectable) ... ok\r\ntest_unicode_guard_env (test.test_regrtest.ArgsTestCase.test_unicode_guard_env) ... ok\r\ntest_unraisable_exc (test.test_regrtest.ArgsTestCase.test_unraisable_exc) ... ok\r\ntest_wait (test.test_regrtest.ArgsTestCase.test_wait) ... ok\r\ntest_worker_decode_error (test.test_regrtest.ArgsTestCase.test_worker_decode_error) ... ok\r\ntest_worker_output_on_failure (test.test_regrtest.ArgsTestCase.test_worker_output_on_failure) ... ok\r\ntest_finds_expected_number_of_tests (test.test_regrtest.CheckActualTests.test_finds_expected_number_of_tests)\r\nCheck that regrtest appears to find the expected set of tests. ... ok\r\ntest_arg (test.test_regrtest.ParseArgsTestCase.test_arg) ... ok\r\ntest_arg_option_arg (test.test_regrtest.ParseArgsTestCase.test_arg_option_arg) ... ok\r\ntest_coverage (test.test_regrtest.ParseArgsTestCase.test_coverage) ... ok\r\ntest_coverdir (test.test_regrtest.ParseArgsTestCase.test_coverdir) ... ok\r\ntest_dont_add_python_opts (test.test_regrtest.ParseArgsTestCase.test_dont_add_python_opts) ... ok\r\ntest_exclude (test.test_regrtest.ParseArgsTestCase.test_exclude) ... ok\r\ntest_failfast (test.test_regrtest.ParseArgsTestCase.test_failfast) ... ok\r\ntest_fast_ci (test.test_regrtest.ParseArgsTestCase.test_fast_ci) ... FAIL\r\ntest_fast_ci_python_cmd (test.test_regrtest.ParseArgsTestCase.test_fast_ci_python_cmd) ... FAIL\r\ntest_fast_ci_resource (test.test_regrtest.ParseArgsTestCase.test_fast_ci_resource) ... FAIL\r\ntest_forever (test.test_regrtest.ParseArgsTestCase.test_forever) ... ok\r\ntest_fromfile (test.test_regrtest.ParseArgsTestCase.test_fromfile) ... ok\r\ntest_header (test.test_regrtest.ParseArgsTestCase.test_header) ... ok\r\ntest_help (test.test_regrtest.ParseArgsTestCase.test_help) ... ok\r\ntest_huntrleaks (test.test_regrtest.ParseArgsTestCase.test_huntrleaks) ... ok\r\ntest_ignore (test.test_regrtest.ParseArgsTestCase.test_ignore) ... ok\r\ntest_long_option__partial (test.test_regrtest.ParseArgsTestCase.test_long_option__partial) ... ok\r\ntest_match (test.test_regrtest.ParseArgsTestCase.test_match) ... ok\r\ntest_memlimit (test.test_regrtest.ParseArgsTestCase.test_memlimit) ... ok\r\ntest_multiprocess (test.test_regrtest.ParseArgsTestCase.test_multiprocess) ... ok\r\ntest_nocoverdir (test.test_regrtest.ParseArgsTestCase.test_nocoverdir) ... ok\r\ntest_nowindows (test.test_regrtest.ParseArgsTestCase.test_nowindows) ... ok\r\ntest_option_and_arg (test.test_regrtest.ParseArgsTestCase.test_option_and_arg) ... ok\r\ntest_option_with_empty_string_value (test.test_regrtest.ParseArgsTestCase.test_option_with_empty_string_value) ... ok\r\ntest_quiet (test.test_regrtest.ParseArgsTestCase.test_quiet) ... ok\r\ntest_randomize (test.test_regrtest.ParseArgsTestCase.test_randomize) ... ok\r\ntest_randseed (test.test_regrtest.ParseArgsTestCase.test_randseed) ... ok\r\ntest_rerun (test.test_regrtest.ParseArgsTestCase.test_rerun) ... ok\r\ntest_runleaks (test.test_regrtest.ParseArgsTestCase.test_runleaks) ... ok\r\ntest_single (test.test_regrtest.ParseArgsTestCase.test_single) ... ok\r\ntest_slow_ci (test.test_regrtest.ParseArgsTestCase.test_slow_ci) ... FAIL\r\ntest_slowest (test.test_regrtest.ParseArgsTestCase.test_slowest) ... ok\r\ntest_start (test.test_regrtest.ParseArgsTestCase.test_start) ... ok\r\ntest_testdir (test.test_regrtest.ParseArgsTestCase.test_testdir) ... ok\r\ntest_threshold (test.test_regrtest.ParseArgsTestCase.test_threshold) ... ok\r\ntest_timeout (test.test_regrtest.ParseArgsTestCase.test_timeout) ... ok\r\ntest_two_options (test.test_regrtest.ParseArgsTestCase.test_two_options) ... ok\r\ntest_unknown_option (test.test_regrtest.ParseArgsTestCase.test_unknown_option) ... ok\r\ntest_unrecognized_argument (test.test_regrtest.ParseArgsTestCase.test_unrecognized_argument) ... ok\r\ntest_use (test.test_regrtest.ParseArgsTestCase.test_use) ... ok\r\ntest_verbose (test.test_regrtest.ParseArgsTestCase.test_verbose) ... ok\r\ntest_verbose3 (test.test_regrtest.ParseArgsTestCase.test_verbose3) ... ok\r\ntest_wait (test.test_regrtest.ParseArgsTestCase.test_wait) ... ok\r\ntest_module_autotest (test.test_regrtest.ProgramsTestCase.test_module_autotest) ... FAIL\r\ntest_module_from_test_autotest (test.test_regrtest.ProgramsTestCase.test_module_from_test_autotest) ... FAIL\r\ntest_module_regrtest (test.test_regrtest.ProgramsTestCase.test_module_regrtest) ... FAIL\r\ntest_module_test (test.test_regrtest.ProgramsTestCase.test_module_test) ... FAIL\r\ntest_pcbuild_rt (test.test_regrtest.ProgramsTestCase.test_pcbuild_rt) ... skipped 'Windows only'\r\ntest_script_autotest (test.test_regrtest.ProgramsTestCase.test_script_autotest) ... FAIL\r\ntest_script_regrtest (test.test_regrtest.ProgramsTestCase.test_script_regrtest) ... FAIL\r\ntest_tools_buildbot_test (test.test_regrtest.ProgramsTestCase.test_tools_buildbot_test) ... skipped 'Windows only'\r\ntest_format_duration (test.test_regrtest.TestUtils.test_format_duration) ... ok\r\ntest_format_resources (test.test_regrtest.TestUtils.test_format_resources) ... ok\r\ntest_get_signal_name (test.test_regrtest.TestUtils.test_get_signal_name) ... ok\r\ntest_normalize_test_name (test.test_regrtest.TestUtils.test_normalize_test_name) ... ok\r\n\r\n======================================================================\r\nFAIL: test_random (test.test_regrtest.ArgsTestCase.test_random)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 940, in test_random\r\n randseed = self.parse_random_seed(output)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 665, in parse_random_seed\r\n match = self.regex_search(r'Using random seed ([0-9]+)', output)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 488, in regex_search\r\n self.fail(\"%r not found in %r\" % (regex, output))\r\nAssertionError: 'Using random seed ([0-9]+)' not found in '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'\r\n\r\n======================================================================\r\nFAIL: test_random_seed (test.test_regrtest.ArgsTestCase.test_random_seed)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 1954, in test_random_seed\r\n self._check_random_seed(run_workers=False)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 1951, in _check_random_seed\r\n self.assertEqual(matches, [expected] * len(tests))\r\nAssertionError: Lists differ: ['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]']\r\n\r\nFirst differing element 0:\r\n'Random numbers: [503, 432, 8, 125, 683, 217, 539, 633, 376, 549]'\r\n'Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]'\r\n\r\n- ['Random numbers: [503, 432, 8, 125, 683, 217, 539, 633, 376, 549]',\r\n- 'Random numbers: [155, 758, 193, 409, 656, 829, 891, 649, 708, 353]',\r\n- 'Random numbers: [361, 569, 523, 955, 15, 366, 121, 82, 878, 876]']\r\n+ ['Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]',\r\n+ 'Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]',\r\n+ 'Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]']\r\n\r\n======================================================================\r\nFAIL: test_random_seed_workers (test.test_regrtest.ArgsTestCase.test_random_seed_workers)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 1957, in test_random_seed_workers\r\n self._check_random_seed(run_workers=True)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 1951, in _check_random_seed\r\n self.assertEqual(matches, [expected] * len(tests))\r\nAssertionError: Lists differ: ['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]']\r\n\r\nFirst differing element 0:\r\n'Random numbers: [762, 220, 332, 666, 137, 398, 674, 781, 565, 877]'\r\n'Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]'\r\n\r\n- ['Random numbers: [762, 220, 332, 666, 137, 398, 674, 781, 565, 877]',\r\n- 'Random numbers: [575, 517, 485, 394, 742, 165, 158, 4, 970, 86]',\r\n- 'Random numbers: [143, 808, 956, 892, 987, 384, 744, 777, 658, 178]']\r\n+ ['Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]',\r\n+ 'Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]',\r\n+ 'Random numbers: [160, 631, 525, 973, 159, 624, 86, 148, 294, 136]']\r\n\r\n======================================================================\r\nFAIL: test_fast_ci (test.test_regrtest.ParseArgsTestCase.test_fast_ci)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 406, in test_fast_ci\r\n regrtest = self.check_ci_mode(args, use_resources)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 394, in check_ci_mode\r\n self.assertTrue(regrtest.randomize)\r\nAssertionError: False is not true\r\n\r\n======================================================================\r\nFAIL: test_fast_ci_python_cmd (test.test_regrtest.ParseArgsTestCase.test_fast_ci_python_cmd)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 413, in test_fast_ci_python_cmd\r\n regrtest = self.check_ci_mode(args, use_resources, rerun=False)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 394, in check_ci_mode\r\n self.assertTrue(regrtest.randomize)\r\nAssertionError: False is not true\r\n\r\n======================================================================\r\nFAIL: test_fast_ci_resource (test.test_regrtest.ParseArgsTestCase.test_fast_ci_resource)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 423, in test_fast_ci_resource\r\n self.check_ci_mode(args, use_resources)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 394, in check_ci_mode\r\n self.assertTrue(regrtest.randomize)\r\nAssertionError: False is not true\r\n\r\n======================================================================\r\nFAIL: test_slow_ci (test.test_regrtest.ParseArgsTestCase.test_slow_ci)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 428, in test_slow_ci\r\n regrtest = self.check_ci_mode(args, use_resources)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 394, in check_ci_mode\r\n self.assertTrue(regrtest.randomize)\r\nAssertionError: False is not true\r\n\r\n======================================================================\r\nFAIL: test_module_autotest (test.test_regrtest.ProgramsTestCase.test_module_autotest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 785, in test_module_autotest\r\n self.run_tests(args)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 760, in run_tests\r\n self.check_output(output)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 754, in check_output\r\n self.parse_random_seed(output)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 665, in parse_random_seed\r\n match = self.regex_search(r'Using random seed ([0-9]+)', output)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 488, in regex_search\r\n self.fail(\"%r not found in %r\" % (regex, output))\r\nAssertionError: 'Using random seed ([0-9]+)' not found in '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'\r\n\r\n======================================================================\r\nFAIL: test_module_from_test_autotest (test.test_regrtest.ProgramsTestCase.test_module_from_test_autotest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 792, in test_module_from_test_autotest\r\n self.run_tests(args)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 760, in run_tests\r\n self.check_output(output)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 754, in check_output\r\n self.parse_random_seed(output)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 665, in parse_random_seed\r\n match = self.regex_search(r'Using random seed ([0-9]+)', output)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 488, in regex_search\r\n self.fail(\"%r not found in %r\" % (regex, output))\r\nAssertionError: 'Using random seed ([0-9]+)' not found in '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'\r\n\r\n======================================================================\r\nFAIL: test_module_regrtest (test.test_regrtest.ProgramsTestCase.test_module_regrtest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 779, in test_module_regrtest\r\n self.run_tests(args)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 760, in run_tests\r\n self.check_output(output)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 754, in check_output\r\n self.parse_random_seed(output)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 665, in parse_random_seed\r\n match = self.regex_search(r'Using random seed ([0-9]+)', output)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 488, in regex_search\r\n self.fail(\"%r not found in %r\" % (regex, output))\r\nAssertionError: 'Using random seed ([0-9]+)' not found in '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'\r\n\r\n======================================================================\r\nFAIL: test_module_test (test.test_regrtest.ProgramsTestCase.test_module_test)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 773, in test_module_test\r\n self.run_tests(args)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 760, in run_tests\r\n self.check_output(output)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 754, in check_output\r\n self.parse_random_seed(output)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 665, in parse_random_seed\r\n match = self.regex_search(r'Using random seed ([0-9]+)', output)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 488, in regex_search\r\n self.fail(\"%r not found in %r\" % (regex, output))\r\nAssertionError: 'Using random seed ([0-9]+)' not found in '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'\r\n\r\n======================================================================\r\nFAIL: test_script_autotest (test.test_regrtest.ProgramsTestCase.test_script_autotest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 798, in test_script_autotest\r\n self.run_tests(args)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 760, in run_tests\r\n self.check_output(output)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 754, in check_output\r\n self.parse_random_seed(output)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 665, in parse_random_seed\r\n match = self.regex_search(r'Using random seed ([0-9]+)', output)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 488, in regex_search\r\n self.fail(\"%r not found in %r\" % (regex, output))\r\nAssertionError: 'Using random seed ([0-9]+)' not found in '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'\r\n\r\n======================================================================\r\nFAIL: test_script_regrtest (test.test_regrtest.ProgramsTestCase.test_script_regrtest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 767, in test_script_regrtest\r\n self.run_tests(args)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 760, in run_tests\r\n self.check_output(output)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 754, in check_output\r\n self.parse_random_seed(output)\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 665, in parse_random_seed\r\n match = self.regex_search(r'Using random seed ([0-9]+)', output)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \".../cpython/Lib/test/test_regrtest.py\", line 488, in regex_search\r\n self.fail(\"%r not found in %r\" % (regex, output))\r\nAssertionError: 'Using random seed ([0-9]+)' not found in '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'\r\n\r\n----------------------------------------------------------------------\r\nRan 103 tests in 27.042s\r\n\r\nFAILED (failures=13, skipped=5)\r\ntest test_regrtest failed\r\ntest_regrtest failed (13 failures)\r\n\r\n== Tests result: FAILURE ==\r\n\r\n1 test failed:\r\n test_regrtest\r\n\r\nTotal duration: 27.1 sec\r\nTotal tests: run=103 failures=13 skipped=5\r\nTotal test files: run=1/1 failed=1\r\nResult: FAILURE\r\n```\r\n\u003c/details\u003e\r\n\r\n### CPython versions tested on:\r\n\r\nCPython main branch\r\n\r\n### Operating systems tested on:\r\n\r\nLinux\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-111143\n* gh-111153\n* gh-111154\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/hroncok","@type":"Person","name":"hroncok"},"datePublished":"2023-10-16T15:05:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/110932/cpython/issues/110932"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9a4c2f56-2405-f20d-9714-5df79410d630 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF08:155208:67CD35:88DD0A:696B7341 |
| html-safe-nonce | 649e966cb7c9ac8e6d84102dc58af33b606db9172c4bd60d961e5a182bce42d1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjA4OjE1NTIwODo2N0NEMzU6ODhERDBBOjY5NkI3MzQxIiwidmlzaXRvcl9pZCI6IjkxMjQxOTg2NTM4OTM1MDU4NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7271e1d1b537088ac32e6f22d112cee0d0311c6100d3f0b32b0ac2838bd70560 |
| hovercard-subject-tag | issue:1945451492 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/110932/issue_layout |
| twitter:image | https://opengraph.githubassets.com/98b497f2611583214c329d5bc83b07fb4b8da493654ffe7b8c8b4c4a1747788d/python/cpython/issues/110932 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/98b497f2611583214c329d5bc83b07fb4b8da493654ffe7b8c8b4c4a1747788d/python/cpython/issues/110932 |
| og:image:alt | 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 -m test.regrtest -v test_re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hroncok |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width