-
Notifications
You must be signed in to change notification settings - Fork 800
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
Failed to upload Artifact: ECONNRESET and Socket Disconnection #116
Comments
Btw, it works now again. This was probably a problem in the actual GitHub API. But even than shouldn't the action handle this better? |
I have also had this failure, but re-running the jobs fixes it. Flakey builds are annoying! https://github.com/UAlbertaALTLab/gunaha/actions/runs/214200167 |
I think I know what is going on here. During artifact upload, there are effectively 3 internal steps
Historically, the second step has been the flakiest since this can be hundreds or even thousands of http calls. There is a robust retry mechanism for this part of the upload (multiple retries with exponential backoff if something goes wrong). Now the first POST call (same with the last PATCH call) does not have any retry mechanism and I suspect something is failing along the way and there is no retry so it aborts and the action fails. The specific section of code is here for those interested: https://github.com/actions/toolkit/blob/main/packages/artifact/src/internal/upload-http-client.ts#L54:L100 |
Due to an upload bug - actions/upload-artifact#116 - we frequently have to re-trigger the build. It is unnecessary to publish a draft after a dependabot related build, thus exclude those PRs by dependabot user.
78: Do not publish draft release upon dependabot packaging r=mergify[bot] a=da-kami Due to an upload bug - actions/upload-artifact#116 - we frequently have to re-trigger the build. It is unnecessary to publish a draft after a dependabot related build, thus exclude those PRs by dependabot user. Co-authored-by: Daniel Karzel <daniel@comit.network>
I am experiencing this ECONNRESET issue as well. I'm trying to upload coverage artifacts. In total there are 92 files but they are all very small and the overall size of the bundle is only a few hundred kb. |
I'm also having this problem. I've seen it a couple of times in the past, but suddenly it's become quite frequent today. I'm trying to upload a JSON coverage artifact - the file isn't very big. EDIT: |
I'm having the same issue: a lot of workflow executions failed in the last 3 days with the following error:
|
This is now happening for us frequently in the last couple of days. |
It seems to me that it would be possible to reduce the likelihood of those failures by implementing a retry mechanism with exponential backoff:
However I have never coded in TypeScript so I am not confident enough to try to contribute this myself. |
Hello,
Do you understand why I don't have any debug messages in the logs even if I set the environment variable ACTIONS_STEP_DEBUG to true ? |
Just adding a note here to say that I too ran into this several times this morning, paired with intermittent occurrences of actions/download-artifact#55. I'm curious if the telemetry mentioned over in #137 (comment) might be showing a trend that matches the reports in this issue. |
Me too, the same problem. I just clicked on |
Build steps are often failing with "ECONNRESET" errors due to rate-limiting by github. We usually don't need/care about the artifacts, so don't have to fail the build when the upload fails. related to zmkfirmware#502 and #actions/upload-artifact/issues/116
Build steps are often failing with "ECONNRESET" errors due to rate-limiting by github. We usually don't need/care about the artifacts, so don't have to fail the build when the upload fails. related to #502 and #actions/upload-artifact/issues/116
We are seeing higher cases of artifact upload failures in github. Other projects are also seeing this as has been reported at actions/upload-artifact#116 There is a fix that was just merged in the base library: actions/toolkit#675 So Hopefully we can revert this before too long. Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
We are seeing higher cases of artifact upload failures in github. Other projects are also seeing this as has been reported at actions/upload-artifact#116 There is a fix that was just merged in the base library: actions/toolkit#675 So Hopefully we can revert this before too long. Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
Should be good now. Retries with exponential back-off have been added to all HTTP calls so any socket disconnects, timeouts, 503s or If this issue appears again, please open a new issue |
Build steps are often failing with "ECONNRESET" errors due to rate-limiting by github. We usually don't need/care about the artifacts, so don't have to fail the build when the upload fails. related to zmkfirmware#502 and #actions/upload-artifact/issues/116
Build steps are often failing with "ECONNRESET" errors due to rate-limiting by github. We usually don't need/care about the artifacts, so don't have to fail the build when the upload fails. related to zmkfirmware#502 and #actions/upload-artifact/issues/116
Build steps are often failing with "ECONNRESET" errors due to rate-limiting by github. We usually don't need/care about the artifacts, so don't have to fail the build when the upload fails. related to #502 and #actions/upload-artifact/issues/116
Describe the bug
While try to upload the upload fails with either
ECONNRESET
orsocket disconnected
.Version
Environment
Run/Repo Url
https://github.com/killermoehre/custom-ipxe/runs/995234331?check_suite_focus=true
https://github.com/killermoehre/custom-ipxe/runs/995234353?check_suite_focus=true
How to reproduce
I don't know. I just run the run.
Additional context
It started suddenly with the linked run. I didn't change anything, my files are quite small, too.
The text was updated successfully, but these errors were encountered: