Skip to content

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

Closed

Description

@bluelovers
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

Activity

  1. shilangyu commented on Feb 24, 2020

    @shilangyu

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

  2. steph2282 commented on Feb 24, 2020

    @steph2282
  3. TrentScholl commented on Feb 24, 2020

    @TrentScholl

    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.

  4. IvanBioRender commented on Feb 28, 2020

    @IvanBioRender

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

  5. harrywhite4 commented on Mar 2, 2020

    @harrywhite4

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

  6. wilton-wu commented on Mar 2, 2020

    @wilton-wu

    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.

  7. jay-babu commented on Mar 2, 2020

    @jay-babu

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

  8. ericsciple commented on Mar 4, 2020

    @ericsciple
    Collaborator

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

  9. ericsciple commented on Mar 4, 2020

    @ericsciple
    Collaborator

    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.

  10. ericsciple commented on Mar 5, 2020

    @ericsciple
    Collaborator
  11. self-assigned this
    on Mar 5, 2020
  12. added
    bug
    on Mar 5, 2020
  13. ericsciple commented on Mar 5, 2020

    @ericsciple
    Collaborator

    also related to actions/runner-images#42

  14. huan commented on Mar 9, 2020

    @huan
  15. AlCalzone commented on Mar 9, 2020

    @AlCalzone

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

  16. ericsciple commented on Apr 2, 2020

    @ericsciple
    Collaborator

    The tar error was fixed.

  17. munrocket commented on Apr 24, 2020

    @munrocket

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

  18. wzhdaag commented on Mar 28, 2022

    @wzhdaag

    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.

  19. hydrolucid commented on Jul 12, 2022

    @hydrolucid

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions