Skip to content

zeromq test non-deterministic failure: reconnect_stop_on_refused after upgrade to 4.3.5 #4793

@apteryks

Description

@apteryks

The test fails non-deterministically like:

FAIL: tests/test_reconnect_options
==================================

Still waiting for monitor event after 250 ms
Still waiting for monitor event after 500 ms
Still waiting for monitor event after 750 ms
WARNING: Forced closure of 2 sockets, this is an implementation error unless the test case failed
Still waiting for monitor event after 250 ms
Still waiting for monitor event after 500 ms
Still waiting for monitor event after 750 ms
tests/test_reconnect_options.cpp:265:reconnect_default:PASS
tests/test_reconnect_options.cpp:266:reconnect_success:PASS
tests/test_reconnect_options.cpp:98:reconnect_stop_on_refused:FAIL: Expected 0x00000080 Was 0x00000001
tests/test_reconnect_options.cpp:269:reconnect_stop_on_handshake_failed:PASS

-----------------------
4 Tests 1 Failures 0 Ignored 
FAIL
FAIL tests/test_reconnect_options (exit status: 1)

I can reproduce in less than 5 attempts typically, on a multiple core (32) machine.

Initially reported here: https://codeberg.org/guix/guix/issues/415

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions