Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
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)----------------------------------------------------------------------Traceback (most recent call last): File "D:\a\cpython\cpython\Lib\test\_test_multiprocessing.py", line 2483, in tearDownClass super().tearDownClass() File "D:\a\cpython\cpython\Lib\test\_test_multiprocessing.py", line 6131, in tearDownClass cls.manager.shutdown() File "D:\a\cpython\cpython\Lib\multiprocessing\util.py", line 220, in __call__ res = self._callback(*self._args, **self._kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\a\cpython\cpython\Lib\multiprocessing\managers.py", line 683, in _finalize_manager process.terminate() File "D:\a\cpython\cpython\Lib\multiprocessing\process.py", line 133, in terminate self._popen.terminate() File "D:\a\cpython\cpython\Lib\multiprocessing\popen_spawn_win32.py", line 124, in terminate _winapi.TerminateProcess(int(self._handle), TERMINATE)PermissionError: [WinError 5] Access is deniedbuild:https://github.com/python/cpython/actions/runs/6340922718/job/17223431499?pr=110026
Linked PRs
Metadata
Metadata
Assignees
Labels
No labels