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

Can we make network tasks more resilient? #17

Open
jzmaddock opened this issue Jan 19, 2023 · 2 comments
Open

Can we make network tasks more resilient? #17

jzmaddock opened this issue Jan 19, 2023 · 2 comments

Comments

@jzmaddock
Copy link

This is just me thinking out loud here, but tasks occasionally fail due to network issues: https://drone.cpp.al/boostorg/multiprecision/644/147/1, for network tasks within boost.sh I added some simple resilience like this:

for i in 1 2 3 4 5; do git clone -b $TRAVIS_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root && break || sleep 15; done

There may well be better ways of doing this frankly, but what I'm missing is some way to do something similar for the initial clone step that happens before any user-scripts run?

@sdarwin
Copy link
Collaborator

sdarwin commented Jan 19, 2023

Fixed.

You linked to an s390x job. Retries for the initial git clone step were added in multiple parts during the last year. The standard linux runner was working, but the s390x runner hadn't been updated. I have refreshed those machines now.

What's still outstanding are Windows, macOS. However those are difficult because Harness (the drone company) has not implemented retries there.

@jzmaddock
Copy link
Author

Wow, that's quick, many thanks as ever Sam!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants