You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test: wallet_p2mr_parallel_signing_tests/MixedManagersKeepForeignInputErrors fails intermittently on Windows (signing progress goes backwards) #394
wallet_p2mr_parallel_signing_tests/MixedManagersKeepForeignInputErrors failed in the "Windows native, VS 2022" job on #380. That PR touches only src/addrman.cpp, src/net_processing.cpp and src/protocol.h. The other 182 of 183 ctest tests passed, and the job passes on 1.x.x.
src/wallet/test/wallet_p2mr_parallel_signing_tests.cpp(1098): error: in "wallet_p2mr_parallel_signing_tests/MixedManagersKeepForeignInputErrors": check progress.completed >= completed has failed [2 < 3]
The test asserts that the SIGNING_INPUTS progress events it records never decrease while two descriptor managers sign one transaction (:1091-1100). On this run a report of 3 completed inputs was followed by a report of 2.
The progress callback only appends to a vector (:1042-1045). It is not yet clear whether progress is reported out of order across the two managers or from concurrent signers, which would be a wallet issue, or whether the test's ordering assumption is too strict, which would be a test issue.
Suggested next step
Determine which thread reports each notify_progress(SigningProgressPhase::SIGNING_INPUTS, …) call during mixed-manager signing.
Then either make the reported count monotonic in the wallet, or relax the test to check the final count and per-manager monotonicity.
Activity
script: report parallel signing progress in order
script: report parallel signing progress in order (#432)