-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[regression] The downgrade of cmake in the Windows image breaks downloading files #8598
Comments
For a bit more context, here is the cmake function that is breaking: file(DOWNLOAD ${url} ${_TEMPORARY_FILE}
TIMEOUT 60
EXPECTED_HASH SHA256=${hash}
TLS_VERIFY ON) |
Hello @townsend2010 , we will take a look. |
Hey, @townsend2010. The root cause of cmake downgrade is actually recent update of Strawberry Perl. It's now shipped with cmake that stands in PATH before standalone one. You can workaround it in your pipeline by fixing PATH value: - name: Remove Strawberry Perl from PATH
run: |
$env:PATH = $env:PATH -replace "C:\\Strawberry\\c\\bin;", ""
"PATH=$env:PATH" | Out-File -FilePath $env:GITHUB_ENV -Append As for long-term solution, we are looking for it. |
Thanks for the response! I'll give your workaround a try in our workflow. |
Just to confirm, the proposed workaround does indeed fix it for us. I now see cmake version 3.27.7 being used and no more errors during configuration. I will keep watching this issue for the "real" fix so we can back out the workaround at the appropriate time, but at least we are unblocked now. Thanks! |
Temporary fix for broken windows workflow. Hopefully a more permanent solution will be found soon and we can then remove this. Reference: actions/runner-images#8598
Temporary fix for broken windows workflow. Hopefully a more permanent solution will be found soon and we can then remove this. Reference: actions/runner-images#8598
Temporary fix for broken windows workflow. Hopefully a more permanent solution will be found soon and we can then remove this. Reference: actions/runner-images#8598 (cherry picked from commit 2acdc65)
Temporary fix for broken windows workflow. Hopefully a more permanent solution will be found soon and we can then remove this. Reference: actions/runner-images#8598 (cherry picked from commit 2acdc65)
Temporary fix for broken windows workflow. Hopefully a more permanent solution will be found soon and we can then remove this. Reference: actions/runner-images#8598 (cherry picked from commit 2acdc65)
Temporary fix for broken windows workflow. Hopefully a more permanent solution will be found soon and we can then remove this. Reference: actions/runner-images#8598 (cherry picked from commit 2acdc65) (cherry picked from commit 4546f59)
Temporary fix for broken windows workflow. Hopefully a more permanent solution will be found soon and we can then remove this. Reference: actions/runner-images#8598 (cherry picked from commit 2acdc65) (cherry picked from commit 4546f59) (cherry picked from commit d3e8dab)
Temporary fix for broken windows workflow. Hopefully a more permanent solution will be found soon and we can then remove this. Reference: actions/runner-images#8598 (cherry picked from commit 2acdc65) (cherry picked from commit 4546f59) (cherry picked from commit d3e8dab) (cherry picked from commit d808140)
based on fix at actions/runner-images#8598
GitHub pushed an update to their Windows image that broke a lot of things: actions/runner-images#8598 actions/runner-images#8622 Also sets the Cygwin environment to a known-good one and makes the Cygwin install faster/simpler.
we have the same problem in liblava - and we prefer to wait for it to be upgraded again. |
Deployed |
Description
After the recent downgrade of
cmake
from version 3.27.6 to 3.26.4 in the Windows runner image, downloading file archives is now broken. Here is the log snippet of the now breaking download:Thank you for looking into this.
Platforms affected
Runner images affected
Image version and build link
20231016.1.0
Is it regression?
Yes, the last version that didn't exhibit this was 20231002.1.0.
Expected behavior
I expect the
file(DOWNLOAD ...)
to complete successfully.Actual behavior
The download fails as pointed out in the log snippet above.
Repro steps
N/A
The text was updated successfully, but these errors were encountered: