Title: test_importlib and test_peg_generator fails on AMD64 Windows Server 2022 NoGIL 3.x · Issue #110359 · python/cpython · GitHub
Open Graph Title: test_importlib and test_peg_generator fails on AMD64 Windows Server 2022 NoGIL 3.x · Issue #110359 · python/cpython
X Title: test_importlib and test_peg_generator fails on AMD64 Windows Server 2022 NoGIL 3.x · Issue #110359 · python/cpython
Description: test_importlib and test_peg_generator are failing on AMD64 Windows Server 2022 NoGIL 3.x. build: https://buildbot.python.org/all/#/builders/1241/builds/85 test_import error: FAIL: test_tagged_suffix (test.test_importlib.test_windows.Sour...
Open Graph Description: test_importlib and test_peg_generator are failing on AMD64 Windows Server 2022 NoGIL 3.x. build: https://buildbot.python.org/all/#/builders/1241/builds/85 test_import error: FAIL: test_tagged_suffi...
X Description: test_importlib and test_peg_generator are failing on AMD64 Windows Server 2022 NoGIL 3.x. build: https://buildbot.python.org/all/#/builders/1241/builds/85 test_import error: FAIL: test_tagged_suffi...
Opengraph URL: https://github.com/python/cpython/issues/110359
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_importlib and test_peg_generator fails on AMD64 Windows Server 2022 NoGIL 3.x","articleBody":"test_importlib and test_peg_generator are failing on AMD64 Windows Server 2022 NoGIL 3.x.\r\n\r\nbuild: https://buildbot.python.org/all/#/builders/1241/builds/85\r\n\r\ntest_import error:\r\n\r\n```\r\nFAIL: test_tagged_suffix (test.test_importlib.test_windows.Source_WindowsExtensionSuffixTests.test_tagged_suffix)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"C:\\Users\\Administrator\\buildarea\\3.x.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\test\\test_importlib\\test_windows.py\", line 122, in test_tagged_suffix\r\n self.assertIn(expected_tag, suffixes)\r\nAssertionError: '_d.cp313-win32.pyd' not found in ['_d.cp313t-win_amd64.pyd', '_d.pyd']\r\n```\r\n\r\ntest_peg_generator errors:\r\n\r\nERROR: test_advanced_left_recursive (test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive)\r\nERROR: test_c_parser (test.test_peg_generator.test_c_parser.TestCParser.test_c_parser)\r\nERROR: test_cut (test.test_peg_generator.test_c_parser.TestCParser.test_cut)\r\nERROR: test_error_in_rules (test.test_peg_generator.test_c_parser.TestCParser.test_error_in_rules)\r\nERROR: test_forced (test.test_peg_generator.test_c_parser.TestCParser.test_forced)\r\nERROR: test_forced_with_group (test.test_peg_generator.test_c_parser.TestCParser.test_forced_with_group)\r\nERROR: test_gather (test.test_peg_generator.test_c_parser.TestCParser.test_gather)\r\nERROR: test_gather_action_ast (test.test_peg_generator.test_c_parser.TestCParser.test_gather_action_ast)\r\nERROR: test_if_stmt_action (test.test_peg_generator.test_c_parser.TestCParser.test_if_stmt_action)\r\nERROR: test_left_recursion (test.test_peg_generator.test_c_parser.TestCParser.test_left_recursion)\r\nERROR: test_lookahead (test.test_peg_generator.test_c_parser.TestCParser.test_lookahead)\r\nERROR: test_mutually_left_recursive (test.test_peg_generator.test_c_parser.TestCParser.test_mutually_left_recursive)\r\nERROR: test_nasty_mutually_left_recursive (test.test_peg_generator.test_c_parser.TestCParser.test_nasty_mutually_left_recursive)\r\nERROR: test_negative_lookahead (test.test_peg_generator.test_c_parser.TestCParser.test_negative_lookahead)\r\nERROR: test_pass_stmt_action (test.test_peg_generator.test_c_parser.TestCParser.test_pass_stmt_action)\r\nERROR: test_return_stmt_noexpr_action (test.test_peg_generator.test_c_parser.TestCParser.test_return_stmt_noexpr_action)\r\nERROR: test_same_name_different_types (test.test_peg_generator.test_c_parser.TestCParser.test_same_name_different_types)\r\nERROR: test_soft_keywords_lookahead (test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_lookahead)\r\nERROR: test_soft_keywords_parse (test.test_peg_generator.test_c_parser.TestCParser.test_soft_keywords_parse)\r\nERROR: test_syntax_error_for_string (test.test_peg_generator.test_c_parser.TestCParser.test_syntax_error_for_string)\r\nERROR: test_ternary_operator (test.test_peg_generator.test_c_parser.TestCParser.test_ternary_operator)\r\nERROR: test_with_stmt_with_paren (test.test_peg_generator.test_c_parser.TestCParser.test_with_stmt_with_paren)\r\n\r\nExample of test_peg_generator error:\r\n\r\n```\r\nERROR: test_advanced_left_recursive (test.test_peg_generator.test_c_parser.TestCParser.test_advanced_left_recursive)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"C:\\Users\\Administrator\\buildarea\\3.x.itamaro-win64-srv-22-aws.x64.nogil\\build\\build\\test_python_6532�\\tempcwd\\venv\\Lib\\site-packages\\setuptools\\_distutils\\_msvccompiler.py\", line 508, in link\r\n self.spawn([self.linker] + ld_args)\r\n File \"C:\\Users\\Administrator\\buildarea\\3.x.itamaro-win64-srv-22-aws.x64.nogil\\build\\build\\test_python_6532�\\tempcwd\\venv\\Lib\\site-packages\\setuptools\\_distutils\\_msvccompiler.py\", line 517, in spawn\r\n return super().spawn(cmd, env=env)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"C:\\Users\\Administrator\\buildarea\\3.x.itamaro-win64-srv-22-aws.x64.nogil\\build\\build\\test_python_6532�\\tempcwd\\venv\\Lib\\site-packages\\setuptools\\_distutils\\ccompiler.py\", line 1041, in spawn\r\n spawn(cmd, dry_run=self.dry_run, **kwargs)\r\n File \"C:\\Users\\Administrator\\buildarea\\3.x.itamaro-win64-srv-22-aws.x64.nogil\\build\\build\\test_python_6532�\\tempcwd\\venv\\Lib\\site-packages\\setuptools\\_distutils\\spawn.py\", line 70, in spawn\r\n raise DistutilsExecError(\r\ndistutils.errors.DistutilsExecError: command 'C:\\\\Program Files\\\\Microsoft Visual Studio\\\\2022\\\\Community\\\\VC\\\\Tools\\\\MSVC\\\\14.37.32822\\\\bin\\\\HostX86\\\\x86\\\\link.exe' failed with exit code 1181\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n File \"C:\\Users\\Administrator\\buildarea\\3.x.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\test\\test_peg_generator\\test_c_parser.py\", line 257, in test_advanced_left_recursive\r\n self.run_test(grammar_source, test_source)\r\n File \"C:\\Users\\Administrator\\buildarea\\3.x.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\test\\test_peg_generator\\test_c_parser.py\", line 136, in run_test\r\n self.build_extension(grammar_source)\r\n File \"C:\\Users\\Administrator\\buildarea\\3.x.itamaro-win64-srv-22-aws.x64.nogil\\build\\Lib\\test\\test_peg_generator\\test_c_parser.py\", line 133, in build_extension\r\n generate_parser_c_extension(grammar, Path('.'), library_dir=self.library_dir)\r\n File \"C:\\Users\\Administrator\\buildarea\\3.x.itamaro-win64-srv-22-aws.x64.nogil\\build\\Tools\\peg_generator\\pegen\\testutil.py\", line 107, in generate_parser_c_extension\r\n compile_c_extension(\r\n File \"C:\\Users\\Administrator\\buildarea\\3.x.itamaro-win64-srv-22-aws.x64.nogil\\build\\Tools\\peg_generator\\pegen\\build.py\", line 210, in compile_c_extension\r\n compiler.link_shared_object(\r\n File \"C:\\Users\\Administrator\\buildarea\\3.x.itamaro-win64-srv-22-aws.x64.nogil\\build\\build\\test_python_6532�\\tempcwd\\venv\\Lib\\site-packages\\setuptools\\_distutils\\ccompiler.py\", line 752, in link_shared_object\r\n self.link(\r\n File \"C:\\Users\\Administrator\\buildarea\\3.x.itamaro-win64-srv-22-aws.x64.nogil\\build\\build\\test_python_6532�\\tempcwd\\venv\\Lib\\site-packages\\setuptools\\_distutils\\_msvccompiler.py\", line 510, in link\r\n raise LinkError(msg)\r\ndistutils.errors.LinkError: command 'C:\\\\Program Files\\\\Microsoft Visual Studio\\\\2022\\\\Community\\\\VC\\\\Tools\\\\MSVC\\\\14.37.32822\\\\bin\\\\HostX86\\\\x86\\\\link.exe' failed with exit code 1181\r\n```","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2023-10-04T13:43:13Z","url":"https://github.com/python/cpython/issues/110359"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:ae63f44e-7615-ddac-1dd2-044c15aa2e5d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F40:291B58:30010E8:3CEA448:6B01FDF9 |
| html-safe-nonce | 7ef7ec56d4003fd96993cab43cee0962c54e9f84870d3f08dc4ff00bf170f55c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjQwOjI5MUI1ODozMDAxMEU4OjNDRUE0NDg6NkIwMUZERjkiLCJ2aXNpdG9yX2lkIjoiODMyNzY0NzAyMjcwMjI2MzgwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 257a6cf3a8516608cc745b8881183f9769b95d190d986dbf2499d5d76fd7bdf2 |
| hovercard-subject-tag | issue:1926251836 |
| 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/110359/issue_layout |
| twitter:image | https://opengraph.githubassets.com/347fa02b32585fd0de758a90e28e9b6056be4562c90b70c7464544d61dc90880/python/cpython/issues/110359 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/347fa02b32585fd0de758a90e28e9b6056be4562c90b70c7464544d61dc90880/python/cpython/issues/110359 |
| og:image:alt | test_importlib and test_peg_generator are failing on AMD64 Windows Server 2022 NoGIL 3.x. build: https://buildbot.python.org/all/#/builders/1241/builds/85 test_import error: FAIL: test_tagged_suffi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width