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 '/usr/bin/tar' failed with exit code 1 #121

Closed
marcj opened this issue Mar 9, 2020 · 5 comments
Closed

[error] The process '/usr/bin/tar' failed with exit code 1 #121

marcj opened this issue Mar 9, 2020 · 5 comments

Comments

@marcj
Copy link

marcj commented Mar 9, 2020

Run actions/setup-node@v1
  with:
    node-version: 12.x
    always-auth: false
  env:
    VERSION: v0.0.5-278-ga76283b
    PLATFORM: darwin
/usr/bin/tar --version
bsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.11 liblzma/5.0.5 bz2lib/1.0.6
/usr/bin/tar xz -C /Users/runner/runners/2.165.2/work/_temp/40be814d-9d30-47f1-80e6-a508fb9f07f6 -f /Users/runner/runners/2.165.2/work/_temp/a5ceb28d-a8a4-47bd-b0c0-dff80693649c
node-v12.16.1-darwin-x64/lib/node_modules/npm/docs/public/cli-commands/npm-root/index.html: truncated gzip input
tar: Error exit delayed from previous errors.
##[error]The process '/usr/bin/tar' failed with exit code 1

Screenshot 2020-03-09 at 03 52 15

Rerun workflow doesn't work. Happens primarily on macOS.

@marcj
Copy link
Author

marcj commented Mar 9, 2020

Now getting

Run actions/setup-node@v1
/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/9e4a6788-3d1a-486d-b156-6611d51997c1 -f /home/runner/work/_temp/e788e778-adc4-4c7a-8a91-e2fc08369f49

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

Screenshot 2020-03-09 at 14 53 50

It seems very broken at the moment 🤷‍♂️

@dylanirlbeck
Copy link

dylanirlbeck commented Apr 6, 2020

Has anyone found a fix for this? It looks like this was supposed to be fixed here, but perhaps it wasn't truly resolved...

@hashtagchris
Copy link

@dylanirlbeck Node is having an outage today. See nodejs/node#32683 and #132

@hashtagchris
Copy link

@dylanirlbeck Make sure you're using the newest version of this action. The easiest way to do that is to use actions/setup-node@v1. Older versions of setup-node like v1.1.0 don't include actions/toolkit#369.

@bryanmacfarlane
Copy link
Member

Yep, latest version should handle this better. I recommend binding to v1 or v2-beta

krzyk pushed a commit to krzyk/setup-node that referenced this issue Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants