Skip to content

spawn_tests: failed: expected WIFEXITED(status) && WEXITSTATUS(status) == 0 #34975

Closed
bitcoin-core/libmultiprocess
#266

Description

@fanquake

https://github.com/bitcoin/bitcoin/actions/runs/23707832716/job/69062601128?pr=34923#step:10:3349:

  3/157 Test   #3: mptest ...............................***Failed    1.06 sec
[ TEST ] spawn_tests.cpp:44: SpawnProcess does not run callback in child
./ipc/libmultiprocess/test/mp/test/spawn_tests.cpp:108: failed: expected exited; Timeout waiting for child process to exit
stack: bf2ed1 cc4091 cc4545 d817f9 d82ba3 bf220b ee33f4b9 ee33f555
./ipc/libmultiprocess/test/mp/test/spawn_tests.cpp:109: failed: expected WIFEXITED(status) && WEXITSTATUS(status) == 0
stack: bf2e03 cc4091 cc4545 d817f9 d82ba3 bf220b ee33f4b9 ee33f555
[ FAIL ] spawn_tests.cpp:44: SpawnProcess does not run callback in child (1051610 μs)
[ TEST ] test.cpp:124: Call FooInterface methods
[ PASS ] test.cpp:124: Call FooInterface methods (3744 μs)
[ TEST ] test.cpp:216: Call IPC method after client connection is closed
[ PASS ] test.cpp:216: Call IPC method after client connection is closed (363 μs)
[ TEST ] test.cpp:233: Calling IPC method after server connection is closed
[ PASS ] test.cpp:233: Calling IPC method after server connection is closed (346 μs)
[ TEST ] test.cpp:250: Calling IPC method and disconnecting during the call
[ PASS ] test.cpp:250: Calling IPC method and disconnecting during the call (354 μs)
[ TEST ] test.cpp:270: Calling IPC method, disconnecting and blocking during the call
[ PASS ] test.cpp:270: Calling IPC method, disconnecting and blocking during the call (554 μs)
[ TEST ] test.cpp:319: Make simultaneous IPC calls on single remote thread
[ PASS ] test.cpp:319: Make simultaneous IPC calls on single remote thread (741 μs)
6 test(s) passed 
1 test(s) failed 

Activity

  1. fanquake commented on Apr 1, 2026

    @fanquake
    MemberAuthor
  2. ryanofsky commented on Apr 1, 2026

    @ryanofsky
    Contributor

    Thanks for the report. This looks like a spurious test failure. This is from a test added in bitcoin-core/libmultiprocess@5205a87 (bitcoin-core/libmultiprocess#237, #34363) which has a short 1 second timeout which should be increased to be more reliable in CI.

  3. Sjors commented on Apr 1, 2026

    @Sjors
    Member

    Commit ad75b14 from #34727 used timeout factor for functional tests, we may need something similar for the unit tests.

  4. Sjors commented on Apr 1, 2026

    @Sjors
    Member

    I just bumped it to 30 seconds here: bitcoin-core/libmultiprocess#266

    Unfortunately this requires another subtree update: #34977

  5. added a commit that references this issue on Apr 1, 2026
    dba3485
  6. added this to the 31.0 milestone on Apr 1, 2026
  7. added 2 commits that reference this issue on Apr 3, 2026
    189fa17
    cc0b23f
  8. added a commit that references this issue on Apr 3, 2026
  9. added a commit that references this issue on Apr 7, 2026
    1d7edee
  10. added a commit that references this issue on Aug 27, 2026
    d97f7f1
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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions