-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8306543: GHA: MSVC installation is failing when component is already installed #13558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
👋 Welcome back shade! A progress list of the required criteria for merging this PR into |
Success! The only failing test is in x86_32 jdk/incubator/vector/ShortMaxVectorTests. Please review, I'd like to push this soon to provide GHA coverage on Windows. |
Looks good. Too bad that the Windows installer is not showing any sensible output. |
Yes, that would be my plan. GHA rolls out the new image right now, and so lots of backports are currently failing the testing. |
@shipilev This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 40 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
Thanks for review, @RealCLanger! |
Hm, I did some more testing... The actual error comes from the path in option --installPath in this line. Seems like the Windows installer now needs a path notation with backslash () instead of (/). If you correct that, the installation will work again. So that would be the more correct fix, I guess. On the other hand, the installation takes some 5 to 15 minutes, for something that's obviously already available in the runner. I think we should tweak that and somehow check whether an installation is necessary beforehand at all. |
OK, yes, I believe I have a more correct solution to the issue. Will open a separate PR. |
See #13574 |
Closed in favor of #13574. |
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
:The last successful GHA run I had selected the same versions:
Additional testing:
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13558/head:pull/13558
$ git checkout pull/13558
Update a local copy of the PR:
$ git checkout pull/13558
$ git pull https://git.openjdk.org/jdk.git pull/13558/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 13558
View PR using the GUI difftool:
$ git pr show -t 13558
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13558.diff
Webrev
Link to Webrev Comment