RFR: 8306543: GHA: MSVC installation is failing when component is already installed
Aleksey Shipilev
shade at openjdk.org
Thu Apr 20 12:22:29 UTC 2023
Currrent GHA fails on MSVC installation. Looks like the required versions are already installed in the runner image, and this is why the command fails. Our configure scripts look for the specific minor version, and the builds still pass if I drop the VC installation block completely. This tells me the appropriate minor version is already installed.
For safety, I think we can just ignore the errors from the MSVC installation. In case the runner images moves on to another minor version later, the dependencies would start to install successfully again.
See the GHA run. Both Windows x86_64 and Windows AArch64 select `1429~1.301`:
* Toolchain: microsoft (Microsoft Visual Studio 2019)
* C Compiler: Version 19.29.30148 (at /c/progra~2/micros~2/2019/enterp~1/vc/tools/msvc/1429~1.301/bin/hostx64/x64/cl.exe)
* C++ Compiler: Version 19.29.30148 (at /c/progra~2/micros~2/2019/enterp~1/vc/tools/msvc/1429~1.301/bin/hostx64/x64/cl.exe)
Additional testing:
- [x] Ad-hoc GHA runs pass the configure/initial-build
- [ ] Full GHA runs pass (this PR)
-------------
Commit messages:
- Fix
Changes: https://git.openjdk.org/jdk/pull/13558/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13558&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8306543
Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/13558.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13558/head:pull/13558
PR: https://git.openjdk.org/jdk/pull/13558
More information about the build-dev
mailing list