Title: test_multiprocessing_spawn: Popen.terminate() failed with PermissionError: [WinError 5] Access is denied · Issue #110036 · python/cpython · GitHub
Open Graph Title: test_multiprocessing_spawn: Popen.terminate() failed with PermissionError: [WinError 5] Access is denied · Issue #110036 · python/cpython
X Title: test_multiprocessing_spawn: Popen.terminate() failed with PermissionError: [WinError 5] Access is denied · Issue #110036 · python/cpython
Description: subprocess.terminate() catchs PermissionError: we can reuse their code. I'm working on a fix. GHA Windows x86: ERROR: tearDownClass (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool) --------------------------------------...
Open Graph Description: subprocess.terminate() catchs PermissionError: we can reuse their code. I'm working on a fix. GHA Windows x86: ERROR: tearDownClass (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool...
X Description: subprocess.terminate() catchs PermissionError: we can reuse their code. I'm working on a fix. GHA Windows x86: ERROR: tearDownClass (test.test_multiprocessing_spawn.test_manager.WithManagerTest...
Opengraph URL: https://github.com/python/cpython/issues/110036
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_multiprocessing_spawn: Popen.terminate() failed with PermissionError: [WinError 5] Access is denied","articleBody":"subprocess.terminate() catchs PermissionError: we can reuse their code. I'm working on a fix.\r\n\r\nGHA Windows x86:\r\n\r\n```\r\nERROR: tearDownClass (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n File \"D:\\a\\cpython\\cpython\\Lib\\test\\_test_multiprocessing.py\", line 2483, in tearDownClass\r\n super().tearDownClass()\r\n File \"D:\\a\\cpython\\cpython\\Lib\\test\\_test_multiprocessing.py\", line 6131, in tearDownClass\r\n cls.manager.shutdown()\r\n File \"D:\\a\\cpython\\cpython\\Lib\\multiprocessing\\util.py\", line 220, in __call__\r\n res = self._callback(*self._args, **self._kwargs)\r\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n File \"D:\\a\\cpython\\cpython\\Lib\\multiprocessing\\managers.py\", line 683, in _finalize_manager\r\n process.terminate()\r\n File \"D:\\a\\cpython\\cpython\\Lib\\multiprocessing\\process.py\", line 133, in terminate\r\n self._popen.terminate()\r\n File \"D:\\a\\cpython\\cpython\\Lib\\multiprocessing\\popen_spawn_win32.py\", line 124, in terminate\r\n _winapi.TerminateProcess(int(self._handle), TERMINATE)\r\nPermissionError: [WinError 5] Access is denied\r\n```\r\n\r\nbuild: https://github.com/python/cpython/actions/runs/6340922718/job/17223431499?pr=110026\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-110037\n* gh-110064\n* gh-110065\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2023-09-28T16:26:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/110036/cpython/issues/110036"}
| 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:3b3cf2c1-494d-2395-7bc2-c5372651a8d6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE9E:1272F1:1F8E044:2B88B98:696AB883 |
| html-safe-nonce | 98b03048c8b58faf02b64162153c775c01f376765cfbb6ed101ffd734c8d2cf1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTlFOjEyNzJGMToxRjhFMDQ0OjJCODhCOTg6Njk2QUI4ODMiLCJ2aXNpdG9yX2lkIjoiNjg3NzEzNzc5MTE1ODQ5OTQ1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 55a5aaebf34ba3847babff15356cfcd94e5a4aa3873de0babc6b9699df6b03bf |
| hovercard-subject-tag | issue:1917877957 |
| 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/110036/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c73fccdda0c91af1803cc17c4f6742228b62339b111938f47bece1c9742fc476/python/cpython/issues/110036 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c73fccdda0c91af1803cc17c4f6742228b62339b111938f47bece1c9742fc476/python/cpython/issues/110036 |
| og:image:alt | subprocess.terminate() catchs PermissionError: we can reuse their code. I'm working on a fix. GHA Windows x86: ERROR: tearDownClass (test.test_multiprocessing_spawn.test_manager.WithManagerTestPool... |
| 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 | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| 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 | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width