You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[error]The process '/bin/tar' failed with exit code 2 #116
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
Reacted by Marcin Wojnarowski, Trent Scholl, Shaun Smekel, IvanBioRender, Owen Buckley, Donald (Ryo Nakatani), Masahiro Saito, Shohei Ueda, Jay Patel, Josh Wilson and 16 more
Reacted by Dylan Silke, Harry White, Donald (Ryo Nakatani), Masahiro Saito, Shohei Ueda, Huan Li, Erik, Junior Usca and Raymel
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.
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.
Activity
shilangyu commentedon Feb 24, 2020
Re-running the workflow did work. Weird one-time error
steph2282 commentedon Feb 24, 2020
TrentScholl commentedon Feb 24, 2020
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 commentedon Feb 28, 2020
Still getting this issue 4 days later. Are there any updates?
peaceiris commentedon Mar 2, 2020
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 commentedon Mar 2, 2020
I had this come up several times today aswell. Seems to be an intermittent problem
wilton-wu commentedon Mar 2, 2020
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 commentedon 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 commentedon Mar 3, 2020
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 commentedon Mar 4, 2020
I'll look into this shortly (next couple hours). Sounds like incomplete download, prob not checking HTTP code. Probably needs retries too.
ericsciple commentedon 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 commentedon Mar 5, 2020
PR here actions/toolkit#369
ericsciple commentedon Mar 5, 2020
also related to actions/runner-images#42
huan commentedon 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 commentedon Mar 9, 2020
Still happening to me every time Dependabot does its weekly update PR run. About half of my workflows fail due to this.
ericsciple commentedon Apr 2, 2020
The tar error was fixed.
munrocket commentedon Apr 24, 2020
@ericsciple so you just retring to download?
Seems the same problem with actions/cache/issues/267
wzhdaag commentedon 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 commentedon Jul 12, 2022
Getting this error quite a bit, have to re-run jobs multiple times to get successful runs.
chore(deps-dev): bump @vercel/ncc from 0.25.1 to 0.26.1 (actions#116)