libzmq
libzmq copied to clipboard
Self-test failures
Please use this template for reporting suspected bugs or requests for help.
Issue description
Three of the libzmp test-suites are "FAIL"
Environment
- libzmq version: 4.3.4 ** with PR #4478 patch ** with patch to ./configure for 10.10+ bug in ancient libtool (dynamic-library options)
- OS: OS X 10.13, xcode-10.1
- libsodium (1.0.18) and all other non-Apple-default tools via fink (prefix is /sw)
Minimal test code / Steps to reproduce the issue
- export CPPFLAGS=-I/sw/include LDFLAGS=-L/sw/lib
- ./configure --prefix=/sw --disable-silent-rules
- /usr/bin/make
- ulimit -n 1200; make check
What's the actual result? (include assertion message & call stack if applicable)
Nothing obviously problematic in configure process. The only configuration diagnostics that seem useful are:
checking for libbsd... no
configure: WARNING: Cannot find libbsd
[...]
configure: Building stable and legacy API (no draft API)
checking for libunwind... no
configure: WARNING: Cannot find libunwind
The compiling itself has no warnings. But then three tests fail. The test-suite.log segments are:
- FAIL: tests/test_reqrep_tcp
WARNING: Forced closure of 4 sockets, this is an implementation error unless the test case failed
WARNING: Forced closure of 3 sockets, this is an implementation error unless the test case failed
WARNING: Forced closure of 4 sockets, this is an implementation error unless the test case failed
WARNING: Forced closure of 3 sockets, this is an implementation error unless the test case failed
tests/test_reqrep_tcp.cpp:212:test_single_connect_ipv4:PASS
tests/test_reqrep_tcp.cpp:96:test_multi_connect_ipv4:FAIL: zmq_connect (sc, my_endpoint_3) failed, errno = 22 (Invalid argument)
tests/test_reqrep_tcp.cpp:142:test_multi_connect_same_port_ipv4:FAIL: zmq_connect (sc0, my_endpoint_2) failed, errno = 22 (Invalid argument)
tests/test_reqrep_tcp.cpp:215:test_single_connect_ipv6:PASS
tests/test_reqrep_tcp.cpp:96:test_multi_connect_ipv6:FAIL: zmq_connect (sc, my_endpoint_3) failed, errno = 22 (Invalid argument)
tests/test_reqrep_tcp.cpp:142:test_multi_connect_same_port_ipv6:FAIL: zmq_connect (sc0, my_endpoint_2) failed, errno = 22 (Invalid argument)
-----------------------
6 Tests 4 Failures 0 Ignored
FAIL
FAIL tests/test_reqrep_tcp (exit status: 4)
- FAIL: tests/test_stream_exceeds_buffer
WARNING: Forced closure of 1 sockets, this is an implementation error unless the test case failed
tests/test_stream_exceeds_buffer.cpp:47:test_stream_exceeds_buffer:FAIL: zmq_connect (zsock, my_endpoint) failed, errno = 22 (Invalid argument)
-----------------------
1 Tests 1 Failures 0 Ignored
FAIL
FAIL tests/test_stream_exceeds_buffer (exit status: 1)
- FAIL: tests/test_use_fd
WARNING: Forced closure of 2 sockets, this is an implementation error unless the test case failed
WARNING: Forced closure of 2 sockets, this is an implementation error unless the test case failed
tests/test_use_fd.cpp:64:test_req_rep_tcp:FAIL: zmq_connect (*out_sc_, my_endpoint) failed, errno = 22 (Invalid argument)
tests/test_use_fd.cpp:64:test_pair_tcp:FAIL: zmq_connect (*out_sc_, my_endpoint) failed, errno = 22 (Invalid argument)
tests/test_use_fd.cpp:205:test_client_server_tcp:PASS
tests/test_use_fd.cpp:207:test_req_rep_ipc:PASS
tests/test_use_fd.cpp:208:test_pair_ipc:PASS
tests/test_use_fd.cpp:209:test_client_server_ipc:PASS
-----------------------
6 Tests 2 Failures 0 Ignored
FAIL
FAIL tests/test_use_fd (exit status: 2)
What's the expected result?
All tests PASS (or SKIP/XFAIL as appropriate)