[nanomsg] Testing on QNX 6.5.0

  • From: Hajime Saito <emijah.s@xxxxxxxxx>
  • To: nanomsg@xxxxxxxxxxxxx
  • Date: Fri, 9 May 2014 16:42:54 +0900

Hello,

I'm currently trying out nanomsg on QNX and have a few tests that fail.

The system I am using is QNX 6.5.0 on an x86 CPU.

I got the source code from github(https://github.com/nanomsg/nanomsg)
and configured it using the following command.

prompt> CC=qcc CXX=QCC ./configure CFLAGS="-ggdb3 -march=i686"
CXXFLAGS="-ggdb3 -march=i686" LIBS=-lsocket

After a "make" and "make check" I get the following output.

-----------------------------------------
make[1]: Entering directory `/root/share/qnx/nanomsg/nanomsg'
Resource busy [16] (src/utils/mutex.c:55)
Abort (core dumped)
FAIL: tests/inproc
PASS: tests/inproc_shutdown
Resource busy [16] (src/utils/mutex.c:55)
Abort (core dumped)
FAIL: tests/ipc
Memory fault (core dumped)
FAIL: tests/ipc_shutdown
Resource busy [16] (src/utils/mutex.c:55)
Abort (core dumped)
FAIL: tests/tcp
Memory fault (core dumped)
FAIL: tests/tcp_shutdown
PASS: tests/pair
Resource busy [16] (src/utils/mutex.c:55)
Abort (core dumped)
FAIL: tests/pubsub
Resource busy [16] (src/utils/mutex.c:55)
Abort (core dumped)
FAIL: tests/reqrep
Resource busy [16] (src/utils/mutex.c:55)
Abort (core dumped)
FAIL: tests/pipeline
PASS: tests/survey
PASS: tests/bus
PASS: tests/block
Resource busy [16] (src/utils/mutex.c:55)
Abort (core dumped)
FAIL: tests/term
PASS: tests/timeo
PASS: tests/iovec
Resource busy [16] (src/utils/mutex.c:55)
Abort (core dumped)
FAIL: tests/msg
Resource busy [16] (src/utils/mutex.c:55)
Abort (core dumped)
FAIL: tests/prio
Resource busy [16] (src/utils/mutex.c:55)
Abort (core dumped)
FAIL: tests/poll
PASS: tests/device
PASS: tests/emfile
PASS: tests/domain
PASS: tests/trie
PASS: tests/list
PASS: tests/hash
PASS: tests/symbol
Resource busy [16] (src/utils/mutex.c:55)
Abort (core dumped)
FAIL: tests/separation
PASS: tests/zerocopy
PASS: tests/shutdown
======================================
13 of 29 tests failed
Please report to nanomsg@xxxxxxxxxxxxx
======================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/root/share/qnx/nanomsg/nanomsg'
make: *** [check-am] Error 2
------------------------------

I did a printf debug to see where the test program is failing and I
know that inproc fails at the second call of  "sb = test_socket(AF_SP,
NN_PAIR);" around line 75 of inproc.c.

Does anyone have any suggestions as to how to debug this?

Cheers,

Hajime

Other related posts: