-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
Description
We've had build failures on "Windows / build and test (x86)", after some unknown problem calling the ver
command.
For example:
Run .\python.bat -m test.pythoninfo
Running Debug|Win32 interpreter...
ERROR: collect_windows() failed
Traceback (most recent call last):
File "D:\a\cpython\cpython\Lib\test\pythoninfo.py", line 1022, in collect_info
collect_func(info_add)
~~~~~~~~~~~~^^^^^^^^^^
File "D:\a\cpython\cpython\Lib\test\pythoninfo.py", line [9](https://github.com/python/cpython/actions/runs/7286334537/job/19854864684#step:4:10)34, in collect_windows
line = output.splitlines()[0]
~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Collection failed: exit with error
https://github.com/python/cpython/actions/runs/7286334537/job/19854864684
More examples:
- https://github.com/python/cpython/actions/runs/7298148666/job/19888624148?pr=113378
- https://github.com/python/cpython/actions/runs/7298041643/job/19888309424?pr=113390
- https://github.com/python/cpython/actions/runs/7297567068/job/19887032026?pr=113389
Sometimes it fails on re-run, sometimes it passes.
Linked PRs
- gh-113440: Windows CI: Raise exception with stderr if
ver
call fails #113392 - gh-113440: Ignore the "ver" command failure with exit code 0xc0000142 #113435
- [3.11] gh-113440: Ignore the "ver" command failure with exit code 0xc0000142 (GH-113435) #113452
- [3.12] gh-113440: Ignore the "ver" command failure with exit code 0xc0000142 (GH-113435) #113453