download-artifact icon indicating copy to clipboard operation
download-artifact copied to clipboard

[bug] v4 - Sporadically failing in matrix with `ECONNREFUSED`

Open arminrosu opened this issue 1 year ago • 4 comments

What happened?

After waiting on #249 to be resolved, I upgraded to v4 from v3. Sporadically, I'm getting this error:

Downloading single artifact
Error: Unable to download artifact(s): Failed to ListArtifacts: Unable to make request: ECONNREFUSED

This is a single 18MB .tar.gz that needs to be downloaded.

The error is not happening in v3 and has been happening since v4.0.0

What did you expect to happen?

Another run, even a "retry failed" works, without any other changes:

Downloading single artifact
Preparing to download the following artifacts:
- build-archive (ID: 1233395437, Size: 18386390)
Redirecting to blob download url: https://productionresultssa12.blob.core.windows.net/actions-results/2a3e643f-ffc5-454e-87b3-9893383c94af/workflow-job-run-b1347445-956d-59bf-2cba-bebb3e0727af/artifacts/REDACTED.zip
Starting download of artifact to: /home/runner/work/graphs/graphs
(node:2509) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Artifact download completed successfully.
Total of 1 artifact(s) downloaded
Download artifact has finished successfully

How can we reproduce it?

This action runs in a matrix of 5 other jobs. Might be a concurrency issue. Can't reliably reproduce.

Anything else we need to know?

No response

What version of the action are you using?

4.1.2

What are your runner environments?

linux

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

No response

arminrosu avatar Feb 09 '24 14:02 arminrosu