Skip to content

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