zeromq / libzmq

ZeroMQ core engine in C++, implements ZMTP/3.1
https://www.zeromq.org
Mozilla Public License 2.0
9.71k stars 2.35k forks source link

Self-test failures #4483

Open dmacks opened 1 year ago

dmacks commented 1 year ago

Please use this template for reporting suspected bugs or requests for help.

Issue description

Three of the libzmp test-suites are "FAIL"

Environment

Minimal test code / Steps to reproduce the issue

  1. export CPPFLAGS=-I/sw/include LDFLAGS=-L/sw/lib
  2. ./configure --prefix=/sw --disable-silent-rules
  3. /usr/bin/make
  4. 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:


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 (outsc, my_endpoint) failed, errno = 22 (Invalid argument) tests/test_use_fd.cpp:64:test_pair_tcp:FAIL: zmq_connect (outsc, 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)