setup-node: [error]The process '/bin/tar' failed with exit code 2

Run actions/setup-node@master
  with:
    node-version: 13
    always-auth: false
/bin/tar --version
tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/2036e974-4339-482b-82eb-cdb09db0a167 -f /home/runner/work/_temp/f37bd59e-bdbe-4b4d-a5c2-6e0540d2eca3

gzip: stdin: unexpected end of file
/bin/tar: Unexpected EOF in archive
/bin/tar: Unexpected EOF in archive
##[error]The process '/bin/tar' failed with exit code 2

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 29
  • Comments: 19

Commits related to this issue

Most upvoted comments

I’ve been getting this error frequently over the past 2 days. Re-running usually fixes it, but we’re seeing a lot of first time builds fail.

Re-running the workflow did work. Weird one-time error

I still see this issue.

I am downloading a tar.gz file from https://github.com/adoptium/temurin17-binaries/releases via our internal Artifactory’s as proxy.

Re-run helps.

I still have this issue today, and retry does not seem fix that every time.

https://github.com/wechaty/wechaty/runs/494081908#step:3:16

OK i think i see the bug. It looks like error handling on dest stream (file stream), but not the HTTP response body stream. Working on it… Also looks like retry around getting a successful HTTP code, but no retry when reading body. So i’ll add that too.