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

Can't use 'tar -xzf' extract archive file #1448

Closed
szepeviktor opened this issue Sep 4, 2023 · 76 comments
Closed

Can't use 'tar -xzf' extract archive file #1448

szepeviktor opened this issue Sep 4, 2023 · 76 comments

Comments

@szepeviktor
Copy link

Download action repository 'actions/checkout@v3' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
Error: Can't use 'tar -xzf' extract archive file: /home/runner/work/_actions/_temp_81e514cc-59b2-4af3-aa4d-6f8210ffde88/752d468e-f00d-474c-af3f-80fbe27b5318.tar.gz. return code: 2.

That hash points to v3.6.0

I do not know what to add here.
https://github.com/nunomaduro/larastan/actions/runs/6074130772/job/16477441571

@shapirus
Copy link

shapirus commented Sep 4, 2023

It looks like it affects multiple (to say the least) users :)

For a workaround, is anyone aware how to pin version used in a workflow to an earlier release?

up: I too can confirm that changing to checkout@v4 works.

@jamesmhaley
Copy link

jamesmhaley commented Sep 4, 2023

Does this have anything to do with the v4.0 release from @takost & @simonbaird?

@kevinlul
Copy link

kevinlul commented Sep 4, 2023

Seems to be a transient network-related issue, based on previous instances.

#514 #545 #672 #673 #815 #948 #949

@mvdan
Copy link

mvdan commented Sep 4, 2023

I'm trying to think how this even broke. It must have been on the server side, because we are using actions/checkout@v3, so we should not be affected by the recent v4.0.0 tag.

@ovr
Copy link

ovr commented Sep 4, 2023

actions/checkout@v4 - v4 works. It can be used as a quick fix.

@kevinlul
Copy link

kevinlul commented Sep 4, 2023

The second re-run (third attempt) worked for me: https://github.com/DawnbrandBots/bastion-bot/actions/runs/6074117346
I think it's not related to specifically this repository but with GitHub itself serving the tarball.

@mvdan
Copy link

mvdan commented Sep 4, 2023

Seems to be a transient network-related issue, based on previous instances.

Interesting - network reliability aside, I wonder why actions/checkout isn't retrying on network errors.

@andraspatka-dev
Copy link

Confirmed, updating to v4 fixes the issue.

@pimhakkertgc
Copy link

pimhakkertgc commented Sep 4, 2023

Oh no... We need this to work today :#

EDIT: No I cannot just change to v4 for a production environment that needs to go live soon.

@kevinlul
Copy link

kevinlul commented Sep 4, 2023

Interesting - network reliability aside, I wonder why actions/checkout isn't retrying on network errors.

It's not actions/checkout — it's the Actions runner itself downloading and extracting all the used action packages before starting the workflow.

@msandu62
Copy link

msandu62 commented Sep 4, 2023

same issue here

@robmaxwellirl
Copy link

Seems like it's back working for me now anyways.

@iedu61
Copy link

iedu61 commented Sep 4, 2023

same issue here

@chrisella
Copy link

chrisella commented Sep 4, 2023

+1 Here, getting the error now.
Is upgrading to v4 A) the best option and B) non-breaking ?

@candh
Copy link

candh commented Sep 4, 2023

working again for us!

@szepeviktor
Copy link
Author

GitHub Status says ✅ All Systems Operational

@ananni13
Copy link

ananni13 commented Sep 4, 2023

Interesting - network reliability aside, I wonder why actions/checkout isn't retrying on network errors.

It's not actions/checkout — it's the Actions runner itself downloading and extracting all the used action packages before starting the workflow.

Yeah, this seems unrelated to the checkout action and more an issue on the Runner side.

Changing actions/checkout from v3 to v4 is not a fix, I'm getting random outcomes with either tags, some jobs work other fail.

@janeusz2000
Copy link

Confirmed, updating to v4 fixes the issue.

confirmed as well

@gileorn
Copy link

gileorn commented Sep 4, 2023

Seems like it's back to normal

@shealavington
Copy link

shealavington commented Sep 4, 2023

I can also confirm that the issue did/does exist.

I can't speak for the v4 upgrade being a fix, but doing github "Retry Failed Jobs" a few times eventually allows the job to work (even while keeping the v3 tag). ✨

@wiledal
Copy link

wiledal commented Sep 4, 2023

Still inconsistent/flaky for us, seems to happen for majority of runs.

@kevin-studer
Copy link

We have the problem inside matrix builds, but not in our linting job which does not use the matrix declaration

github-merge-queue bot pushed a commit to databricks/cli that referenced this issue Sep 5, 2023
## Changes

This should fix intermittent failures with v3 (see
actions/checkout#1448)
antroseco added a commit to DaveDuck321/GrapheneLang that referenced this issue Sep 5, 2023
Hopefully this will fix the issues we've been seeing on v3
(actions/checkout#1448).
antroseco added a commit to DaveDuck321/GrapheneLang that referenced this issue Sep 5, 2023
Hopefully this will fix the issues we've been seeing on v3
(actions/checkout#1448).
@cesarca
Copy link

cesarca commented Sep 5, 2023

The error continues to occur:
Error: Can't use 'tar -xzf' extract archive file: /home/runner/_work/_actions/_temp_df1ed10d-c92b-4e3b-b959-9aabe0ae5fa0/b247af82-9e91-414c-9b2d-b00291508b18.tar.gz. return code: 2.

@janSchumacherPayments
Copy link

We just updated to v4 and getting the tar -xzf' extract archive file: /home/runner/work/... return code: 2. as well as in v3

@agentran
Copy link

agentran commented Sep 5, 2023

image

happens on V4 aswell

@DekelDevunet
Copy link

Live poll on the current issue and which action you guys taking.
#1459

Let's see what we are doing!

@nantiferov
Copy link

There is ongoing incident on status page https://www.githubstatus.com/incidents/frdfpnnt85s8

orestisfl added a commit to i3/i3 that referenced this issue Sep 5, 2023
Update to [actions/checkout@v4](https://github.com/actions/checkout/releases/tag/v4.0.0)

According to actions/checkout#1448 it might fix the issue we are encountering. Even if it doesn't, no apparent harm from using the latest version.
@pimhakkertgc
Copy link

According to Status actions are working again... but when I try to use actions/checkout@v3 it takes forever. I didn't let it do its thing because I'm scared it will ruin my deployments. Kinda need this to be fixed today.

@markrity
Copy link

markrity commented Sep 5, 2023

Switched all to checkout@v4 , but jobs fail also on v4 , with same error.

github-merge-queue bot pushed a commit to SharezoneApp/sharezone-app that referenced this issue Sep 5, 2023
Sometimes we had the following issue in our CI

```
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@f43a0e5ff2bd294095638e[18](https://github.com/SharezoneApp/sharezone-app/actions/runs/6081692757/job/16497871915?pr=883#step:1:22)286ca9a3d[19](https://github.com/SharezoneApp/sharezone-app/actions/runs/6081692757/job/16497871915?pr=883#step:1:23)56744' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
Error: Can't use 'tar -xzf' extract archive file: /home/runner/work/_actions/_temp_cbdafda6-2c5b-4638-b6be-e6d65c6e3a8a/4afea807-b012-4842-986f-87c77b76bc37.tar.gz. return code: 2.
```

This is the issue: actions/checkout#1448.
Upgrading to 4.0.0 should fix the issue (see
actions/checkout#1448 (comment))
stapelberg pushed a commit to i3/i3 that referenced this issue Sep 5, 2023
Update to [actions/checkout@v4](https://github.com/actions/checkout/releases/tag/v4.0.0)

According to actions/checkout#1448 it might fix the issue we are encountering. Even if it doesn't, no apparent harm from using the latest version.
github-merge-queue bot pushed a commit to SharezoneApp/sharezone-app that referenced this issue Sep 5, 2023
Sometimes we had the following issue in our CI

```
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@f43a0e5ff2bd294095638e[18](https://github.com/SharezoneApp/sharezone-app/actions/runs/6081692757/job/16497871915?pr=883#step:1:22)286ca9a3d[19](https://github.com/SharezoneApp/sharezone-app/actions/runs/6081692757/job/16497871915?pr=883#step:1:23)56744' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
Error: Can't use 'tar -xzf' extract archive file: /home/runner/work/_actions/_temp_cbdafda6-2c5b-4638-b6be-e6d65c6e3a8a/4afea807-b012-4842-986f-87c77b76bc37.tar.gz. return code: 2.
```

This is the issue: actions/checkout#1448.
Upgrading to 4.0.0 should fix the issue (see
actions/checkout#1448 (comment))
drobnikj added a commit to apify/apify-client-python that referenced this issue Sep 6, 2023
github-merge-queue bot pushed a commit to SharezoneApp/sharezone-app that referenced this issue Sep 6, 2023
Sometimes we had the following issue in our CI

```
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@f43a0e5ff2bd294095638e[18](https://github.com/SharezoneApp/sharezone-app/actions/runs/6081692757/job/16497871915?pr=883#step:1:22)286ca9a3d[19](https://github.com/SharezoneApp/sharezone-app/actions/runs/6081692757/job/16497871915?pr=883#step:1:23)56744' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
Error: Can't use 'tar -xzf' extract archive file: /home/runner/work/_actions/_temp_cbdafda6-2c5b-4638-b6be-e6d65c6e3a8a/4afea807-b012-4842-986f-87c77b76bc37.tar.gz. return code: 2.
```

This is the issue: actions/checkout#1448.
Upgrading to 4.0.0 should fix the issue (see
actions/checkout#1448 (comment))
github-merge-queue bot pushed a commit to SharezoneApp/sharezone-app that referenced this issue Sep 7, 2023
Sometimes we had the following issue in our CI

```
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@f43a0e5ff2bd294095638e[18](https://github.com/SharezoneApp/sharezone-app/actions/runs/6081692757/job/16497871915?pr=883#step:1:22)286ca9a3d[19](https://github.com/SharezoneApp/sharezone-app/actions/runs/6081692757/job/16497871915?pr=883#step:1:23)56744' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
Error: Can't use 'tar -xzf' extract archive file: /home/runner/work/_actions/_temp_cbdafda6-2c5b-4638-b6be-e6d65c6e3a8a/4afea807-b012-4842-986f-87c77b76bc37.tar.gz. return code: 2.
```

This is the issue: actions/checkout#1448.
Upgrading to 4.0.0 should fix the issue (see
actions/checkout#1448 (comment))
arpitjasa-db pushed a commit to arpitjasa-db/cli that referenced this issue Sep 7, 2023
## Changes

This should fix intermittent failures with v3 (see
actions/checkout#1448)

Signed-off-by: Arpit Jasapara <arpit.jasapara@databricks.com>
github-merge-queue bot pushed a commit to SharezoneApp/sharezone-app that referenced this issue Sep 7, 2023
Sometimes we had the following issue in our CI

```
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@f43a0e5ff2bd294095638e[18](https://github.com/SharezoneApp/sharezone-app/actions/runs/6081692757/job/16497871915?pr=883#step:1:22)286ca9a3d[19](https://github.com/SharezoneApp/sharezone-app/actions/runs/6081692757/job/16497871915?pr=883#step:1:23)56744' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
Error: Can't use 'tar -xzf' extract archive file: /home/runner/work/_actions/_temp_cbdafda6-2c5b-4638-b6be-e6d65c6e3a8a/4afea807-b012-4842-986f-87c77b76bc37.tar.gz. return code: 2.
```

This is the issue: actions/checkout#1448.
Upgrading to 4.0.0 should fix the issue (see
actions/checkout#1448 (comment))
meili-bors bot added a commit to meilisearch/meilisearch-python that referenced this issue Sep 11, 2023
841: Bump github actions checkout to v4 r=curquiza a=sanders41

# Pull Request

GitHub Actions are currently failing across multiple repositories with network issues. the checkout action is currently having issues with this, issue [here](actions/checkout#1448), and bumping to the newly released v4 seems to be helping. This action is not the only thing that is having issues with the network problems so we could still see failures until it is resolved, but bumping to v4 is at least helping with the checkout part.

These network issues are also what keep causing #839 to fail.

## Related issue
Fixes #<issue_number>

## What does this PR do?
- Bumps checkout to v4

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: Paul Sanders <psanders1@gmail.com>
@64J0
Copy link

64J0 commented Sep 13, 2023

We're facing this problem too. It fails using either v3 or v4.

JakubPietrakIntel pushed a commit to pyg-team/pytorch_geometric that referenced this issue Sep 27, 2023
alexelisenko pushed a commit to Control-D-Inc/tailscale that referenced this issue Feb 15, 2024
checkout@v3 is broken:
actions/checkout#1448

Updates #cleanup

Signed-off-by: Maisem Ali <maisem@tailscale.com>
Signed-off-by: Alex Paguis <alex@windscribe.com>
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

Successfully merging a pull request may close this issue.