Skip to content
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

[error]The process '/bin/tar' failed with exit code 2 #116

Closed
bluelovers opened this issue Feb 24, 2020 · 19 comments
Closed

[error]The process '/bin/tar' failed with exit code 2 #116

bluelovers opened this issue Feb 24, 2020 · 19 comments
Assignees
Labels
bug Something isn't working

Comments

@bluelovers
Copy link

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
@shilangyu
Copy link

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

@steph2282
Copy link

steph2282 commented Feb 24, 2020 via email

@TrentScholl
Copy link

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.

@IvanBioRender
Copy link

Still getting this issue 4 days later. Are there any updates?

@peaceiris
Copy link

Still getting this issue. Are there any updates?
https://github.com/peaceiris/actions-gh-pages/runs/478664577?check_suite_focus=true#step:4:19

@harrywhite4
Copy link

I had this come up several times today aswell. Seems to be an intermittent problem

@wilton-wu
Copy link

I've been getting the problem of long execution time today, and sometimes had this error('/bin/tar failed'). but there were no such problems yesterday.

@jay-babu
Copy link

jay-babu commented Mar 2, 2020

My pipeline keeps failing because of this error. Has occurred before, but re-running multiple times today has not fixed the issue.

@IvanBioRender
Copy link

I posted a forum thread, hoping to get some kind of response from Github: https://github.community/t5/GitHub-Actions/actions-setup-node-v1-The-process-bin-tar-failed-with-exit-code/m-p/48590#M7221

@ericsciple
Copy link
Collaborator

I'll look into this shortly (next couple hours). Sounds like incomplete download, prob not checking HTTP code. Probably needs retries too.

@ericsciple
Copy link
Collaborator

ericsciple commented Mar 4, 2020

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.

@ericsciple
Copy link
Collaborator

ericsciple commented Mar 5, 2020

PR here actions/toolkit#369

@ericsciple ericsciple self-assigned this Mar 5, 2020
@ericsciple ericsciple added the bug Something isn't working label Mar 5, 2020
@ericsciple
Copy link
Collaborator

also related to actions/runner-images#42

@huan
Copy link

huan commented Mar 9, 2020

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

@AlCalzone
Copy link

Still happening to me every time Dependabot does its weekly update PR run. About half of my workflows fail due to this.

@ericsciple
Copy link
Collaborator

ericsciple commented Apr 2, 2020

The tar error was fixed.

@munrocket
Copy link

@ericsciple so you just retring to download?
Seems the same problem with actions/cache/issues/267

@wzhdaag
Copy link

wzhdaag commented Mar 28, 2022

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.

@hydrolucid
Copy link

Getting this error quite a bit, have to re-run jobs multiple times to get successful runs.

deining pushed a commit to deining/setup-node that referenced this issue Nov 9, 2023
Bumps [@vercel/ncc](https://github.com/vercel/ncc) from 0.25.1 to 0.26.1.
- [Release notes](https://github.com/vercel/ncc/releases)
- [Commits](vercel/ncc@0.25.1...0.26.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests