Uh oh!
There was an error while loading. Please reload this page.
fix: intermittent failure in feature_llmq_simplepose.py - #5859
Conversation
878bd28 to
9b6eb25Compareknst
commented
Feb 3, 2024
@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.
Uh oh!
There was an error while loading. Please reload this page.
almost fixed for me, still one failure out of 20 which is pretty good @kwvg , can you test it, please? |
9b6eb25 to
ea0d064Comparekwvg
commented
Feb 3, 2024
|
UdjinM6
commented
Feb 3, 2024
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 |
|
UdjinM6
commented
Feb 6, 2024
ea0d064 to
623c30dCompare
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: