libzmq icon indicating copy to clipboard operation
libzmq copied to clipboard

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

Open apteryks opened this issue 9 months ago • 1 comments

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

apteryks avatar Jun 04 '25 02:06 apteryks

That test is only run when configuring with --enable-drafts.

apteryks avatar Jun 04 '25 02:06 apteryks