fix: intermittent failure in feature_llmq_simplepose.py#5859
fix: intermittent failure in feature_llmq_simplepose.py#5859PastaPastaPasta merged 2 commits intodashpay:developfrom
Conversation
878bd28 to
9b6eb25
Compare
|
@kwvg claims that with this patch it still fails randomly on his machine, but only 1/3 of failures compare to without patch. vs any ideas how we can improve this simplepose test futhermore? |
UdjinM6
left a comment
There was a problem hiding this comment.
I don't see any improvement on my machine using this PR. Nodes drop connections on develop for no clear reason (no errors in logs). Simply waiting for connections did not help so I tried moving block generation out of the loop and suddenly d89f41c fixed the issue for me. But I don't understand how/why exactly... 🤷♂️ It would be nice if someone could explain why it worked 😄 Anyway, pls try this patch instead and share your thoughts.
almost fixed for me, still one failure out of 20 which is pretty good @kwvg , can you test it, please? |
9b6eb25 to
ea0d064
Compare
|
|
I think I figured it out. Previously isolated nodes are trying to fetch blocks they missed as soon as they have a new connection open. When we bump mocktime 10+ minutes in the middle of that we trigger |
|
ea0d064 to
623c30d
Compare
PastaPastaPasta
left a comment
There was a problem hiding this comment.
utACK for squash merge
Issue being fixed or feature implemented
kudos to kwvg to report issue: he pointed out that functional tests randomly fail lately.
Bisect pointed out an exact commit: bitcoin#20027 - mockable time everywhere
What was done?
Added call
mn.node.mockscheduleras it is done in 20027 for other functional testsHow Has This Been Tested?
Run 20 times. Without this patch 20% failures; with this patch - zero failures.
Breaking Changes
N/a
Checklist: