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

Make Echidna status checking tolerate transient failure #1856

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dschuff
Copy link
Member

@dschuff dschuff commented Dec 17, 2024

It often happens that checking the Echinda status too quickly after request upload results in failure (to get the validation results), but checking it shortly after that would result in success. So, make the status-check script retry a couple of times on failure.

It often happens that checking the Echinda status too quickly after
request upload results in failure (to get the validation results),
but checking it shortly after that would result in success.
So, make the status-check script retry a couple of times on failure.
@dschuff
Copy link
Member Author

dschuff commented Dec 17, 2024

Weird that the retries are failing with different errors, but clicking the link in a real browser works just fine.

raise Exception('Failed to fetch echidna result')
retry -= 1
if retry:
print('Retrying in 5s')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see where the actual sleep is happening. Maybe sleeping for real will help?

@dschuff
Copy link
Member Author

dschuff commented Dec 18, 2024

Oh dear, maybe I've killed Echidna again...

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

Successfully merging this pull request may close these issues.

2 participants