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

Recurring ETIMEDOUT errors even with 20kb archives, not retry #123

Closed
2 tasks done
ssbarnea opened this issue Sep 6, 2020 · 4 comments
Closed
2 tasks done

Recurring ETIMEDOUT errors even with 20kb archives, not retry #123

ssbarnea opened this issue Sep 6, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@ssbarnea
Copy link

ssbarnea commented Sep 6, 2020

Describe the bug
I see quite often failures to upload log which look like:

Run actions/upload-artifact@v2
  with:
    name: logs.zip
    path: .tox/**/log/
    if-no-files-found: warn
  env:
    TOX_PARALLEL_NO_SPINNER: 1
    pythonLocation: /Users/runner/hostedtoolcache/Python/3.6.12/x64
With the provided path, there will be 27 file(s) uploaded
Total size of all the files uploaded is 24487 bytes
##[error]connect ETIMEDOUT 13.107.42.16:443

Version

  • V2

Environment

  • Mac

Additional context
I am not sure if that happens only on macos hosts but it would not be a surprise as I seen other reliability issues particular to macos workers.

Still, the main issue here is that the tool does not support any retry mechanism. As any networking operation can be subject to temporary glitches the upload must be able to retry. Probably a 3 retries with a 10s back-off would be fine, even if hardcoded.

@ssbarnea ssbarnea added the bug Something isn't working label Sep 6, 2020
@fornwall
Copy link

fornwall commented Sep 9, 2020

I'm observing the same sporadic issue on macOS runners.

@tjanez
Copy link

tjanez commented Oct 9, 2020

I've observed the same thing with macOS runners.

Currently, I only have a private workflow, so can't link to the failed job(s) at the moment.

@wjakob
Copy link

wjakob commented Nov 11, 2020

(Also running into this.)

@konradpabjan
Copy link
Collaborator

This should now be fixed, see: #116 (comment)

Please open a new issue if ETIMEDOUT comes up again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants