checkout: is version 3.1.0 broken?
Yesterday the world was fine, today not so much. To fix my issue today I just downgrade to V2, this literally worked yesterday and did not today.
Bad run: https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098
Good run: https://github.com/runatlantis/atlantis/actions/runs/3185943896/jobs/5196059932
error:
##[debug]Evaluating condition for step: 'Post Run actions/checkout@v3'
##[debug]Evaluating: always()
##[debug]Evaluating always:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Post Run actions/checkout@v3
##[debug]Loading inputs
##[debug]Evaluating: github.repository
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'repository'
##[debug]=> 'runatlantis/atlantis'
##[debug]Result: 'runatlantis/atlantis'
##[debug]Evaluating: github.token
##[debug]Evaluating Index:
##[debug]..Evaluating github:
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'token'
##[debug]=> '***'
##[debug]Result: '***'
##[debug]Loading env
Post job cleanup.
/usr/bin/docker exec 9ff[2](https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098#step:9:2)8c2640f[3](https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098#step:9:3)6d36de6e5ae0ffe0378b7672e70[4](https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098#step:9:4)[5](https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098#step:9:5)472288278dc5a2f[6](https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098#step:9:6)6516c22 sh -c "cat /etc/*release | grep ^ID"
##[debug]ID=debian
##[debug]Running JavaScript Action with default external tool: node16
node:internal/fs/utils:344
throw err;
^
Error: EACCES: permission denied, open '/__w/_temp/_runner_file_commands/save_state_2[7](https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098#step:9:7)[8](https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098#step:9:8)3dec5-b4f7-4[9](https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098#step:9:9)c6-b083-53a8c72b0af3'
at Object.openSync (node:fs:585:3)
at Object.writeFileSync (node:fs:2153:35)
at Object.appendFileSync (node:fs:2215:6)
at Object.issueFileCommand (/__w/_actions/actions/checkout/v3/dist/index.js:2293:8)
at Object.saveState (/__w/_actions/actions/checkout/v3/dist/index.js:11873:31)
at Object.153 (/__w/_actions/actions/checkout/v3/dist/index.js:4044:[10](https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098#step:9:10))
at __webpack_require__ (/__w/_actions/actions/checkout/v3/dist/index.js:22:30)
at Object.287 (/__w/_actions/actions/checkout/v3/dist/index.js:70[13](https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098#step:9:13):34)
at __webpack_require__ (/__w/_actions/actions/checkout/v3/dist/index.js:22:30)
at Object.853 (/__w/_actions/actions/checkout/v3/dist/index.js:3[18](https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098#step:9:18)01:36) {
errno: -13,
syscall: 'open',
code: 'EACCES',
path: '/__w/_temp/_runner_file_commands/save_state_[27](https://github.com/runatlantis/atlantis/actions/runs/3185910307/jobs/5196021098#step:9:27)83dec5-b4f7-49c6-b083-53a8c72b0af3'
}
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Post Run actions/checkout@v3
Thanks.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 23 (4 by maintainers)
Commits related to this issue
- downgrade actions/checkout@v3 due to error https://github.com/actions/checkout/issues/944 — committed to logzio/logzio-agent-manifest by Doron-Bargo 2 years ago
- Revert to actions/checkout@v2 See https://github.com/actions/checkout/issues/944. — committed to Dart-Code/Dart-Code by DanTup 2 years ago
- Upgrade actions/checkout to v3.1.0 Related: https://github.com/actions/checkout/issues/944#issuecomment-1269775549 — committed to ssbarnea/vscode-ansible by ssbarnea 2 years ago
- Upgrade actions/checkout to v3.1.0 (#647) Related: https://github.com/actions/checkout/issues/944#issuecomment-1269775549 — committed to ansible/vscode-ansible by ssbarnea 2 years ago
- Revert to actions/checkout@v2 See https://github.com/actions/checkout/issues/944. — committed to Dart-Code/Dart-Code by DanTup 2 years ago
- Revert to actions/checkout@v2 See https://github.com/actions/checkout/issues/944. — committed to Dart-Code/Dart-Code by DanTup 2 years ago
- Revert to actions/checkout@v2 See https://github.com/actions/checkout/issues/944. — committed to Dart-Code/Dart-Code by DanTup 2 years ago
Still broken here https://github.com/nearform/sql/actions/runs/3196327180/jobs/5218105824
We’re also facing the same unzipping error ^
Can't use 'tar -xzf' extract archive file
using actions/checkout@v3Same error here :
Download action repository ‘actions/checkout@v3’ (SHA:2541b1294d2704b0964813337f33b291d3f8596b) Error: Can’t use ‘tar -xzf’ extract archive file:
I confirm that bump to
v3.1.0
did sort the issue for me. And that could have being avoided if they would have moved thev3
tag when they made the release.@ssbarnea It’s been reported, a few minutes ago: https://www.githubstatus.com/incidents/gq1x0j8bv67v
Seems like everyone with problems is running
ubuntu-20.04
. I think Github has launched a new version of that container that is broken.We fixed it with moving to22.04 also fails sometimes now.ubuntu-22.04
, but it was an intermitted problem on 20.04 so who knows how long it will work.I think we have to wait for Github to fix it.
I don’t really know if v3.1.0 is broken but we can see that
v3
tag was not moved to point to it, it still points to the version from April, see https://github.com/actions/checkout/tagsAlso this morning I started to see failures from this action, and the outcome was the same even after doing a rerun,
Funny bit is that https://www.githubstatus.com/ reports all green, when in fact checkout no longer works
actually we tried
- uses: actions/checkout@v3.0.2
and it didn’t help