zeromq / zmqpp

0mq 'highlevel' C++ bindings
http://zeromq.github.io/zmqpp
Mozilla Public License 2.0
439 stars 195 forks source link

Problem: CURVE test cases(stonehouse, ironhouse and ironhouse2) failing #87

Closed meprem closed 9 years ago

meprem commented 9 years ago

NULL & PLAIN test cases are working fine.

CURVE test cases are failing with "unknown location(0): fatal error in "stonehouse": std::runtime_error: Operation not supported".

Details: auth: configure CURVE - client public key:CURVE_ALLOW_ANY auth: API command=CURVE auth: configured CURVE - allow ALL clients auth: API command=TERMINATE auth: Shutdown ZAP Authentication Server unknown location(0): fatal error in "stonehouse": std::runtime_error: Operation not supported /home/travis/build/zeromq/zmqpp/src/tests/test_auth.cpp(121): last checkpoint auth: Starting ZAP Authentication Server auth: verbose:true auth: API command=DOMAIN auth: domain=* auth: API command=ALLOW auth: whitelisting ipaddress=127.0.0.1 auth: API command=TERMINATE auth: Shutdown ZAP Authentication Server unknown location(0): fatal error in "ironhouse": std::runtime_error: Operation not supported /home/travis/build/zeromq/zmqpp/src/tests/test_auth.cpp(121): last checkpoint unknown location(0): fatal error in "ironhouse2": std::runtime_error: Operation not supported /home/travis/build/zeromq/zmqpp/src/tests/test_auth.cpp(121): last checkpoint

meprem commented 9 years ago

git clone git://github.com/zeromq/libzmq.git ... make[2]: Entering directory `/home/travis/build/zeromq/zmqpp/libzmq' ... PASS: tests/test_security_null PASS: tests/test_security_plain libsodium not installed, skipping CURVE test PASS: tests/test_security_curve

meprem commented 9 years ago

This is related to https://github.com/zeromq/libzmq/pull/914

We have to specify --with-libsodium option to configure script now.

Pieter, Can you please update following blog http://hintjens.com/blog:49 with

git clone git://github.com/zeromq/libzmq.git cd libzmq ./autogen.sh ./configure --with-libsodium && make check sudo make install sudo ldconfig cd ..

I will submit a pull request in zmqpp to fix this issue.

meprem commented 9 years ago

All test cases, including CURVE, passed ..still full build failed..come on Travis:(

https://travis-ci.org/zeromq/zmqpp/builds/42397641

Checking...

meprem commented 9 years ago

Finally Travis is happy:)

https://travis-ci.org/zeromq/zmqpp/builds/42400125

meprem commented 9 years ago

Oops..patch-5 is corrupted during squash. Created a new patch-6 pull request with changes.