Closed Bhutania closed 9 months ago
We're running into the same issue. Installing with Python seems to work, but we'd prefer not to do that. Running with debug logging does not give any more information, it shows you the unzip process and then the exact same failure. It seems to be able to unzip all files in the archive too based on the output.
Hi @Bhutania and @juho9000 , thanks for cutting an issue. After some investigation, this seems to be due to a recent change to support caching when not specifying the SAM CLI version number. I'll need to look into it a bit more to figure out the exact issue.
If the intermittant failure is bugging you, please specify a version
for now as a workaround until I push a fix.
with:
use-installer: true
version: "1.105.0"
Pushed a fix in this PR. https://github.com/aws-actions/setup-sam/pull/93
When I enable caching when version
is not specified in https://github.com/aws-actions/setup-sam/pull/91, I accidentally set the state to failed when failing to get latest SAM CLI release tag. Should just log the error and continue instead.
After the PR is merged, you do not need to use the workaround I mentioned above. Apologize for any inconvenience.
Going to close this issue as I believe it's fixed. Feel free to open another issue if this is still happening.
Hi 👋🏽 ,
Not sure if this is the right place to post this issue or in actions/runner (or runner-images), but I figured I would post here first to rule out issues with the action itself.
I am experiencing somewhat intermittent failures when trying to setup sam on an ubuntu-22.04 runner from github.
Action Setup:
Here is a copy of the runner info for the last failure:
Error message and retries:
Unfortunately because of the issue's intermittent nature, I haven't been able to reproduce with debug logging. I'll keep trying though.
Normally the setup task is fine and has an output like this:
I would appreciate it someone had any insight into this issue, or could point me in the right direction.
Thanks, Arnav