bpo-36719: regrtest closes explicitly WindowsLoadTracker by vstinner · Pull Request #12965 · python/cpython (original) (raw)
This change is an attempt to fix this issue:
https://buildbot.python.org/all/#/builders/12/builds/2309
Exception ignored in: <function WindowsLoadTracker.__del__ at 0x0000003FE5D7C1C0>
Traceback (most recent call last):
File "D:\buildarea\3.x.ware-win81-release\build\lib\test\libregrtest\win_utils.py", line 64, in __del__
self.p.kill()
File "D:\buildarea\3.x.ware-win81-release\build\lib\subprocess.py", line 1395, in terminate
_winapi.TerminateProcess(self._handle, 1)
OSError: [WinError 6] The handle is invalid
D:\buildarea\3.x.ware-win81-release\build\lib\subprocess.py:918: ResourceWarning: subprocess 2428 is still running
_warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Exception ignored in: <function Popen.__del__ at 0x0000003FE592DE40>
Traceback (most recent call last):
File "D:\buildarea\3.x.ware-win81-release\build\lib\subprocess.py", line 921, in __del__
self._internal_poll(_deadstate=_maxsize)
File "D:\buildarea\3.x.ware-win81-release\build\lib\subprocess.py", line 1297, in _internal_poll
if _WaitForSingleObject(self._handle, 0) == _WAIT_OBJECT_0:
OSError: [WinError 6] The handle is invalid
command timed out: 1200 seconds without output running [b'Tools\\buildbot\\test.bat', b'-x64', b'-j2', b'+d', b'-j4', b'--timeout', b'900'], attempting to kill
SIGKILL failed to kill process
using fake rc=-1
program finished with exit code -1
remoteFailed: [Failure instance: Traceback from remote host -- builtins.RuntimeError: SIGKILL failed to kill process
]