-
Notifications
You must be signed in to change notification settings - Fork 111
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
fix(ci): Retry launching failed docker test instances #7703
Conversation
If we need to wait or initalise the Using block devices also isn't recommended, so that could be part of our issue here: Here's a manual Zebra full sync for testnet, and lightwalletd full sync for mainnet:
older buggy syncsHere's a manual Zebra full sync for testnet, and lightwalletd full sync for mainnet, with a shell command bug!
Here's a manual Zebra full sync for testnet, and lightwalletd full sync for mainnet, with a bug that stops the checkpoint syncs working: |
This should no longer be needed after #7690 |
Motivation
We can't merge PRs because sometimes launching the Docker test image fails.
This PR stops #7659 being a critical issue by allowing PRs to merge anyway. So we can keep that ticket open, but fix it over the next week or two while still merging other PRs.
Action Reference
The
retry-step
arguments are listed here:https://github.com/marketplace/actions/retry-step
Complex Code or Requirements
I deleted some parts of the script that seemed to be redundant, and I deleted the redundant "no
lightwalletd path
" step. Instead, we always mount both paths, some tests don't use thelightwalletd
path.(It's also possible for tests to use the
lightwalletd
paths as temporary storage, but we never see them do it because their states aren't written as a cache image.)Solution
Review
This is blocking all the other PRs merging reliably. It's not a long-term solution, but it would let us merge other PRs while we're fixing the actual bug.
To reduce the diff, I used one-space indentation rather than two-space indentation. I'll fix that in another PR.
Reviewer Checklist
Follow Up Work
Fix the underlying bug, and once we're sure it's fixed, remove the retries.