René's URL Explorer Experiment


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

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9a4c2f56-2405-f20d-9714-5df79410d630
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDF08:155208:67CD35:88DD0A:696B7341
html-safe-nonce649e966cb7c9ac8e6d84102dc58af33b606db9172c4bd60d961e5a182bce42d1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjA4OjE1NTIwODo2N0NEMzU6ODhERDBBOjY5NkI3MzQxIiwidmlzaXRvcl9pZCI6IjkxMjQxOTg2NTM4OTM1MDU4NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7271e1d1b537088ac32e6f22d112cee0d0311c6100d3f0b32b0ac2838bd70560
hovercard-subject-tagissue:1945451492
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/110932/issue_layout
twitter:imagehttps://opengraph.githubassets.com/98b497f2611583214c329d5bc83b07fb4b8da493654ffe7b8c8b4c4a1747788d/python/cpython/issues/110932
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/98b497f2611583214c329d5bc83b07fb4b8da493654ffe7b8c8b4c4a1747788d/python/cpython/issues/110932
og:image:altBug 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehroncok
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/110932#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F110932
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F110932
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/110932
Reloadhttps://github.com/python/cpython/issues/110932
Reloadhttps://github.com/python/cpython/issues/110932
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/110932
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/issues/110932
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/110932
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/110932
SOURCE_DATE_EPOCH: AssertionError: 'Using random seed ([0-9]+)' not found in 'Using random seed None...'https://github.com/python/cpython/issues/110932#top
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/hroncok
https://github.com/hroncok
hroncokhttps://github.com/hroncok
on Oct 16, 2023https://github.com/python/cpython/issues/110932#issue-1945451492
#110168https://github.com/python/cpython/pull/110168
gh-110932: Fix regrtest for SOURCE_DATE_EPOCH #111143https://github.com/python/cpython/pull/111143
[3.11] gh-110932: Fix regrtest for SOURCE_DATE_EPOCH (GH-111143) #111153https://github.com/python/cpython/pull/111153
[3.12] gh-110932: Fix regrtest for SOURCE_DATE_EPOCH (GH-111143) #111154https://github.com/python/cpython/pull/111154
testsTests in the Lib/test dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22tests%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.