-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[vcpkg-tool] AWS CLI tool error when trying to download non-existing cache from AWS #31932
[vcpkg-tool] AWS CLI tool error when trying to download non-existing cache from AWS #31932
Comments
Small update: this is definitely related to the updated vcpkg-tool, and updated AWS tool can't be blamed. |
I may assume, this issue was added here microsoft/vcpkg-tool@8d2923f by @ras0219-msft |
@AenBleidd, thanks for posting this issue, could you please provide steps to reproduce the issue? |
Hm, I thought it's quite obvious, but ok.
If you run this from the cmake build process - everything is fine, you will just receive this error in the log, but it will be ignored. Example of the log of msbuild with the cache miss and thus failed: https://github.com/BOINC/boinc/actions/runs/5232615295/jobs/9447451031 This is not a blocker (at least for me, since I can just rerun the CI manually), but it's still annoying, because cache miss is an expected situation, and there should be no failed build. I believe, @ras0219-msft already knows how to reproduce this, but still if you need me to test the fix when provided or required some additional information - please let me know. |
@JonLiu1993, please update the tags in this ticket since I provided requested information. |
@vicroms, Could you please take a look? |
@JonLiu1993, @ras0219-msft, @vicroms, anything I could help you with to move forward with this issue? |
Hi @AenBleidd I'll investigate the issue. |
Any updates on this? |
I've also been hit with this. It seems like I think it would be better to use So, instead of this:
The result would be either:
or nothing in case the file does not exist. @vicroms , would this be a reasonable change to (Note to self: the change would concern the |
any updates here? |
My PR (microsoft/vcpkg-tool#1404) fixing this just got merged, and will be part of the next |
Previously I was successfully using AWS to store vcpkg binary cache.
Now I get next error when trying to download non-existing binary cache from AWS (that is a normal case of a cache miss when the port was updated and not yet built to save the binary cache):
error : aws failed with exit code: (1)
And while I'm able to finish the build, because this error was thrown, the overall build status is 'Failed'.
I'm not sure, if this is an issue with the updated AWS CLI client or with the updated vcpkg-tool.
If I find any additional details - I'll add them to this ticket.
The text was updated successfully, but these errors were encountered: