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

Most upvoted comments

We’re also facing the same unzipping error ^ Can't use 'tar -xzf' extract archive file using actions/checkout@v3

Same 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 the v3 tag when they made the release.

@casperbakker I wonder how long does it takes for them to report the outage, if they will ever do it.

@ssbarnea It’s been reported, a few minutes ago: https://www.githubstatus.com/incidents/gq1x0j8bv67v

We identified an issue with the checkout action download which was causing elevated actions failures. We have performed some mitigations and are continuing investigation.

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 to ubuntu-22.04, but it was an intermitted problem on 20.04 so who knows how long it will work. 22.04 also fails sometimes now.

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/tags

Also this morning I started to see failures from this action, and the outcome was the same even after doing a rerun,

[30](https://github.com/ansible/vscode-ansible/actions/runs/3196395729/jobs/5218346155#step:1:34)
Getting action download info
[31](https://github.com/ansible/vscode-ansible/actions/runs/3196395729/jobs/5218346155#step:1:35)
Download action repository 'actions/checkout@v3' (SHA:2541b1294d2704b0964813337f33b291d3f8596b)
[32](https://github.com/ansible/vscode-ansible/actions/runs/3196395729/jobs/5218346155#step:1:36)
Error: Can't use 'tar -xzf' extract archive file: /home/runner/work/_actions/_temp_9684c06e-c225-4f6f-a208-25bca24c56a2/b65d6f4f-ef1f-4b97-a59e-f4e293641bcf.tar.gz. return code: 2.

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