Skip to content

test: wallet_p2mr_parallel_signing_tests/MixedManagersKeepForeignInputErrors fails intermittently on Windows (signing progress goes backwards) #394

Closed

Description

@kiwidream

Summary

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]

Run: https://github.com/Qbit-Org/qbit/actions/runs/42873815403/job/130031951118

Observed

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.
  • Re-run the job to confirm it is intermittent.

Related: the test was added in #163.

Activity

  1. added
    bug
    on Nov 11, 2026
  2. added 2 commits that reference this issue on Nov 16, 2026
    ecdc0c5
    3271b63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions