[zeromq-dev] 2 libzmq test suite failures
Bobby Larson
blarson at alchemyapi.com
Fri Mar 21 16:05:39 CET 2014
Hello,
I was attempting to build libcurve, following the instructions here:
https://github.com/zeromq/libcurve#building-and-installing
I ran into a few problems though when I was trying to build libzmq. Here's
the output of "make check":
blarson at blarson:~/build/libzmq$ make check
Making check in src
make[1]: Entering directory `/home/blarson/build/libzmq/src'
make[1]: Leaving directory `/home/blarson/build/libzmq/src'
Making check in doc
make[1]: Entering directory `/home/blarson/build/libzmq/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/blarson/build/libzmq/doc'
Making check in perf
make[1]: Entering directory `/home/blarson/build/libzmq/perf'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/blarson/build/libzmq/perf'
Making check in tests
make[1]: Entering directory `/home/blarson/build/libzmq/tests'
make check-TESTS
make[2]: Entering directory `/home/blarson/build/libzmq/tests'
make[3]: Entering directory `/home/blarson/build/libzmq/tests'
PASS: test_system
PASS: test_pair_inproc
PASS: test_pair_tcp
PASS: test_reqrep_inproc
PASS: test_reqrep_tcp
PASS: test_hwm
PASS: test_reqrep_device
PASS: test_sub_forward
PASS: test_invalid_rep
PASS: test_msg_flags
PASS: test_connect_resolve
PASS: test_immediate
PASS: test_last_endpoint
PASS: test_term_endpoint
PASS: test_srcfd
PASS: test_monitor
../config/test-driver: line 95: 8082 Aborted (core dumped)
"$@" > $log_file 2>&1
XFAIL: test_resource
PASS: test_router_mandatory
PASS: test_router_handover
PASS: test_probe_router
PASS: test_stream
PASS: test_stream_empty
PASS: test_stream_disconnect
PASS: test_disconnect_inproc
PASS: test_ctx_options
PASS: test_ctx_destroy
PASS: test_security_null
PASS: test_security_plain
PASS: test_security_curve
PASS: test_iov
PASS: test_spec_req
PASS: test_spec_rep
PASS: test_spec_dealer
PASS: test_spec_router
PASS: test_spec_pushpull
PASS: test_req_correlate
PASS: test_req_relaxed
PASS: test_conflate
PASS: test_inproc_connect
PASS: test_issue_566
../config/test-driver: line 95: 8983 Aborted (core dumped)
"$@" > $log_file 2>&1
FAIL: test_proxy
PASS: test_abstract_ipc
PASS: test_many_sockets
PASS: test_ipc_wildcard
PASS: test_diffserv
PASS: test_connect_rid
PASS: test_shutdown_stress
PASS: test_pair_ipc
PASS: test_reqrep_ipc
PASS: test_timeo
PASS: test_fork
PASS: test_filter_ipc
make[4]: Entering directory `/home/blarson/build/libzmq/tests'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/blarson/build/libzmq/tests'
============================================================================
Testsuite summary for zeromq 4.1.0
============================================================================
# TOTAL: 52
# PASS: 50
# SKIP: 0
# XFAIL: 1
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log
Please report to zeromq-dev at lists.zeromq.org
============================================================================
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory `/home/blarson/build/libzmq/tests'
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory `/home/blarson/build/libzmq/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/home/blarson/build/libzmq/tests'
make: *** [check-recursive] Error 1
Here are the contents of tests/test-suite.log:
========================================
zeromq 4.1.0: tests/test-suite.log
========================================
# TOTAL: 52
# PASS: 50
# SKIP: 0
# XFAIL: 1
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
XFAIL: test_resource
====================
lt-test_resource: test_resource.cpp:44: int main(int, char**): Assertion
`rc == 0' failed.
FAIL: test_proxy
================
lt-test_proxy: test_proxy.cpp:122: void server_task(void*): Assertion `rc
== 0' failed.
It appears that the tests failed in these segments of code:
// Frontend socket talks to clients over TCP
void *frontend = zmq_socket (ctx, ZMQ_ROUTER);
assert (frontend);
int rc = zmq_bind (frontend, "tcp://127.0.0.1:9999");
assert (rc == 0);
And,
// should be able to bind a second socket to the same ip/port
// but with different resource
rc = zmq_bind(p2, bind_2);
assert (rc == 0);
Any help would be appreciated. Please let me know what information would
be helpful in troubleshooting this.
Thank you,
Bobby
--
*Bobby Larson*
*AlchemyAPI*
(720) 420-6265
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140321/9cce8ec5/attachment.htm>
More information about the zeromq-dev
mailing list