actions / download-artifact

MIT License
1.34k stars 459 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 3 weeks ago

carlcsaposs-canonical commented 3 weeks 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 2 weeks ago

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