[zeromq-dev] Sporadic failures in unit tests

Luca Boccassi luca.boccassi at gmail.com
Mon May 30 16:45:25 CEST 2016


On Mon, 2016-05-30 at 13:00 +0200, Adam Majer wrote:
> Hello,
> 
> There appears to be a sporadic but consistent failure in unit tests
> with ZeroMQ 4.1.4 on SUSE's Open Build Service [1]
> 
> [   98s] FAIL: test_monitor
> [   98s] ==================
> [   98s] 
> [   98s] test_monitor: tests/test_monitor.cpp:130: int main():
> Assertion `event == ZMQ_EVENT_MONITOR_STOPPED' failed.
> 
> This appears to be a sporadic failure.
> 
> 
> I'm also assuming that these tests are not to be run concurrently? That
> is, with `make check -j`?
> 
> - Adam
> 
> 
> [1] -
> https://build.opensuse.org/package/live_build_log/home:adamm:branches:devel:libraries:c_c++/zeromq/openSUSE_Factory/x86_64

Hi,

Yes the tests should not be ran concurrently as they might try to bind
to the same port. We should really try to fix that :-)

Also a couple of tests are known to be a bit flacky on slower
machines/environments unfortunately.

Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20160530/40f3ee03/attachment.sig>


More information about the zeromq-dev mailing list