[error]The process '/bin/tar' failed with exit code 2
See original GitHub issueProblem description
Sometimes I got errors at my build showing
The process ‘/bin/tar’ failed with exit code 2
as shown in next picture:
When using setup-go V1 I had today such problems with https://github.com/Daimler/sechub/runs/564346427?check_suite_focus=true But doing a retry it worked (same commit ID): https://github.com/Daimler/sechub/runs/564357022?check_suite_focus=true
Problem seems to be already fixed for setup-node
At https://github.com/actions/setup-node/issues/116 the same problem was found for setup-node
action. There was a bugfix done and issue closed - so was this only fixed for setup-node? IMHO there should be another fix for go, or former bugfix did not work. Or the fix did not effect setup-go V1
?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Github actions issue - Error: Process completed with exit code 2
But when I commit, and actions start running, I get this error: Run / python -m pip install --upgrade pip python -m pip...
Read more >Exit code 127 error status in Bash script - LinuxConfig.org
In this tutorial, we describe the exit code 127 Bash script error and possible solutions to fix it on a Linux system.
Read more >Solved: vCenter Server Appliance Backup Process
Solved: vCenter VCSA 6.7 I have an FTP site where I want to place the backup files I setup a schedule for backup...
Read more >Debugging "Make Failed with Exit Code 2" Error - CodeForGeek
The “Make Failed with Exit Code 2” error occurs during the node modules installation. We see lots of stack trace including the one...
Read more >RPM Installation Failures - cPanel & WHM Documentation
To change how your server processes updates for these packages, ... with *mysql-5.0.77-4.el5_4.2.i386* [20130128.230348] W Exit Code: 254 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@VascoFerraro - please report the node issues in the setup-node repo. Note that nodejs is having outages this morning (where that targz is downloaded from).
@de-jcup I think the same thing may have happened with setup go.
I think both should validate the download targz after downloading with a sha or checksum before attempting to extract. In some failure cases, if it’s being streamed and they are having issues, it can lead to an incomplete, zero byte or corrupt targz.
@de-jcup We are working on a CDN cache to insulate from these type of issues and get better perf from locality of data centers with edge caching. We are also working on getting latest versions directly on the hosted VM images to short circuit any downloads at all in common cases:
https://github.com/actions/toolkit/pull/382
In the meantime, you may also want to try
setup-go@v2-beta
which added some better error handling and retries. I’m hoping to release v2 today so maybe wait for that.