actions / download-artifact

MIT License
1.44k stars 498 forks source link

[bug] Intermittent `Failed to ListArtifacts: Failed to make request after 5 attempts: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts` #338

Open carlcsaposs-canonical opened 5 months ago

carlcsaposs-canonical commented 5 months ago

What happened?

Intermittent failures when trying to download artifacts

Run actions/download-artifact@v4
  with:
    pattern: packed-charm-cache-true-.-*
    merge-multiple: true
    repository: canonical/mysql-router-k8s-operator
    run-id: 9629716329
Attempt 1 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts. Retrying request in 3000 ms...
Attempt 2 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts. Retrying request in 6648 ms...
Attempt 3 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts. Retrying request in 8134 ms...
Attempt 4 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts. Retrying request in 14950 ms...
Error: Unable to download artifact(s): Failed to ListArtifacts: Failed to make request after 5 attempts: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/ListArtifacts

https://github.com/canonical/mysql-router-k8s-operator/actions/runs/9629716329/job/26559631284#step:18:12

What did you expect to happen?

Artifact successfully downloads

How can we reproduce it?

https://github.com/canonical/mysql-router-k8s-operator/actions/runs/9629716329/job/26559631284#step:18:12

Issue is intermittent—appears to be issue with GitHub infrastructure, but no incidents reported on https://www.githubstatus.com/history

Anything else we need to know?

No response

What version of the action are you using?

v4.1.7

What are your runner environments?

linux

Are you on GitHub Enterprise Server? If so, what version?

No, github.com

arminrosu commented 4 months ago

Looks to be the same issue as #294. I downgraded to v3 to fix it.