Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failed : 'test' failed Error 201 #236

Open
k123jack opened this issue Mar 24, 2020 · 1 comment
Open

Installation failed : 'test' failed Error 201 #236

k123jack opened this issue Mar 24, 2020 · 1 comment

Comments

@k123jack
Copy link

Followed the instruction here : https://github.com/zeromq/zmqpp
OS : Ubuntu 16.04LTS 64bit
CPU : Intel® Core™ i9-9900K CPU @ 3.60GHz × 16

in the zmqpp : make check :

g++ -shared -rdynamic -Wl,-soname -Wl,libzmqpp.so.4 -o ./build/max-g++/libzmqpp.so.4 build/max-g++/obj/zmqpp/proxy.o build/max-g++/obj/zmqpp/z85.o build/max-g++/obj/zmqpp/signal.o build/max-g++/obj/zmqpp/actor.o build/max-g++/obj/zmqpp/socket.o build/max-g++/obj/zmqpp/poller.o build/max-g++/obj/zmqpp/frame.o build/max-g++/obj/zmqpp/reactor.o build/max-g++/obj/zmqpp/zmqpp.o build/max-g++/obj/zmqpp/curve.o build/max-g++/obj/zmqpp/message.o build/max-g++/obj/zmqpp/zap_request.o build/max-g++/obj/zmqpp/context.o build/max-g++/obj/zmqpp/proxy_steerable.o build/max-g++/obj/zmqpp/auth.o build/max-g++/obj/zmqpp/loop.o -lzmq
ar crf ./build/max-g++/libzmqpp.a build/max-g++/obj/zmqpp/proxy.o build/max-g++/obj/zmqpp/z85.o build/max-g++/obj/zmqpp/signal.o build/max-g++/obj/zmqpp/actor.o build/max-g++/obj/zmqpp/socket.o build/max-g++/obj/zmqpp/poller.o build/max-g++/obj/zmqpp/frame.o build/max-g++/obj/zmqpp/reactor.o build/max-g++/obj/zmqpp/zmqpp.o build/max-g++/obj/zmqpp/curve.o build/max-g++/obj/zmqpp/message.o build/max-g++/obj/zmqpp/zap_request.o build/max-g++/obj/zmqpp/context.o build/max-g++/obj/zmqpp/proxy_steerable.o build/max-g++/obj/zmqpp/auth.o build/max-g++/obj/zmqpp/loop.o
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:05"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_context.o src/tests/test_context.cpp
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:05"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_proxy.o src/tests/test_proxy.cpp
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:05"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_socket_options.o src/tests/test_socket_options.cpp
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:06"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_loop.o src/tests/test_loop.cpp
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_loop.cpp:10:
src/tests/test_loop.cpp: In member function ‘void loop::multiple_socket::test_method()’:
src/tests/test_loop.cpp:122:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
^
In file included from src/tests/test_loop.cpp:17:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_loop.cpp:10:
src/tests/test_loop.cpp:156:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
^
In file included from src/tests/test_loop.cpp:17:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_loop.cpp:10:
src/tests/test_loop.cpp: In member function ‘void loop::remove_socket_in_handler::test_method()’:
src/tests/test_loop.cpp:182:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
^
In file included from src/tests/test_loop.cpp:17:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_loop.cpp:10:
src/tests/test_loop.cpp:212:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
^
In file included from src/tests/test_loop.cpp:17:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:06"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_load.o src/tests/test_load.cpp
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:06"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_sanity.o src/tests/test_sanity.cpp
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:06"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_reactor.o src/tests/test_reactor.cpp
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_reactor.cpp:10:
src/tests/test_reactor.cpp: In member function ‘void reactor::multiple_socket::test_method()’:
src/tests/test_reactor.cpp:84:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
^
In file included from src/tests/test_reactor.cpp:16:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_reactor.cpp:10:
src/tests/test_reactor.cpp:112:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
^
In file included from src/tests/test_reactor.cpp:16:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_reactor.cpp:10:
src/tests/test_reactor.cpp: In member function ‘void reactor::remove_socket_in_handler::test_method()’:
src/tests/test_reactor.cpp:137:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
^
In file included from src/tests/test_reactor.cpp:16:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_reactor.cpp:10:
src/tests/test_reactor.cpp:163:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
^
In file included from src/tests/test_reactor.cpp:16:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:06"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_z85.o src/tests/test_z85.cpp
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:06"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_actor.o src/tests/test_actor.cpp
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:06"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_socket.o src/tests/test_socket.cpp
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp: In member function ‘void socket::multipart_pair::test_method()’:
src/tests/test_socket.cpp:167:58: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(alpha.send("hello", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:168:58: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(alpha.send("world", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp: In member function ‘void socket::subscribe_via_option::test_method()’:
src/tests/test_socket.cpp:199:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch0", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:201:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch1", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp: In member function ‘void socket::subscribe_helpers::test_method()’:
src/tests/test_socket.cpp:227:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch0", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:229:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch1", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:231:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch2", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:233:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch3", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:258:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch0", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:260:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch1", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:262:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch2", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp: In member function ‘void socket::subscribe_helpers_multitopic_method::test_method()’:
src/tests/test_socket.cpp:288:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch0", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:290:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch1", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:292:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch2", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
In file included from /usr/include/boost/test/unit_test.hpp:19:0,
from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:294:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
BOOST_CHECK(publisher.send("watch3", zmqpp::socket::send_more));
^
In file included from src/tests/test_socket.cpp:23:0:
./src/zmqpp/socket.hpp:292:7: note: declared here
bool send(std::string const& string, int const flags);
^
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:06"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_poller.o src/tests/test_poller.cpp
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:06"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_inet.o src/tests/test_inet.cpp
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:06"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_message_stream.o src/tests/test_message_stream.cpp
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:06"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_auth.o src/tests/test_auth.cpp
mkdir -p build/max-g++/obj/tests/
g++ -MMD -std=c++11 -pipe -Wall -DBUILD_ENV=max -DBUILD_DATESTAMP='"2020-03-24 19:06"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src -fPIC -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_message.o src/tests/test_message.cpp
src/tests/test_message.cpp: In member function ‘void message::add_const_part::test_method()’:
src/tests/test_message.cpp:529:32: warning: ‘void zmqpp::message::add_const(Type*, size_t) [with Type = void; size_t = long unsigned int]’ is deprecated [-Wdeprecated-declarations]
msg->add_const(data, data_size);
^
In file included from src/tests/test_message.cpp:24:0:
./src/zmqpp/message.hpp:167:7: note: declared here
void add_const(Type part, size_t const data_size)
^
g++ -o ./build/max-g++/zmqpp-tests ./build/max-g++/obj/tests/test_context.o ./build/max-g++/obj/tests/test_proxy.o ./build/max-g++/obj/tests/test_socket_options.o ./build/max-g++/obj/tests/test_loop.o ./build/max-g++/obj/tests/test_load.o ./build/max-g++/obj/tests/test_sanity.o ./build/max-g++/obj/tests/test_reactor.o ./build/max-g++/obj/tests/test_z85.o ./build/max-g++/obj/tests/test_actor.o ./build/max-g++/obj/tests/test_socket.o ./build/max-g++/obj/tests/test_poller.o ./build/max-g++/obj/tests/test_inet.o ./build/max-g++/obj/tests/test_message_stream.o ./build/max-g++/obj/tests/test_auth.o ./build/max-g++/obj/tests/test_message.o -L./build/max-g++ -lzmqpp -lboost_unit_test_framework -lpthread -lzmq
running all test targets (test-actor test-auth test-context test-inet test-load test-loop test-message test-message_stream test-poll test-proxy test-reactor test-sanity test-socket test-socket_options test-z85)
LD_LIBRARY_PATH=./build/max-g++:/home/ore/catkin_ws/devel/lib:/usr/local/cuda/lib64:/home/ore/.mujoco/mujoco200/bin:/usr/lib/nvidia-440 ./build/max-g++/zmqpp-tests
Running 119 test cases...
src/tests/test_socket.cpp(600): error in "test_simple_monitor": check "tcp://0.0.0.0:0" == message.get(1) failed [tcp://0.0.0.0:0 != tcp://127.0.0.1:43159]
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=global
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=

auth: configure PLAIN - username:admin password:password
auth: API command=PLAIN
auth: configured PLAIN - user:admin
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
auth: ZAP request mechanism=PLAIN ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (PLAIN) username=admin password=password
auth: ZAP reply status_code=200 status_text=OK user_id=admin
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
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: configure CURVE - client public key:CURVE_ALLOW_ANY
auth: API command=CURVE
auth: configured CURVE - allow ALL clients
Client Public Key :O!14wwi>&wU$GgrshEmUm*=d/Nw<O-(oI]#P-H}&
Client Secret Key :BSafM1VlnsdjM+6sf&lo{LrS5v(o2(<Z:qI{iXIx
Server Public Key :Np:L77DWcgOHg%biT:5JV%fA/^QISB{D>g@YLVR
Server Secret Key :/<5d00z{Ik!0QT$@BGhiDofLfA3y.7g1<4#S)K06
auth: ZAP request mechanism=CURVE ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (CURVE allow any client)
auth: ZAP reply status_code=200 status_text=OK user_id=O!14wwi>&wU$GgrshEmUm
=d/Nw<O-(oI]#P-H}&
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
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
Client Public Key :^Yswv:/^Qq65.EofHj{yOm#%wWllfz-=JO1QCDED
Client Secret Key :QSDss1zc=]LYi)n8@325V:qJi{L=csQp[JH-5UdG
Server Public Key :mUyks*8^c]K&s?$9W1FNRNszM9QKPGZ?.z6Kp(g
Server Secret Key :gbK5wfyD5]7t!2#yQRA@B2MM3KZ]q)r?5i!I/}3>
auth: configure CURVE - client public key:^Yswv:/^Qq65.EofHj{yOm#%wWllfz-=JO1QCDED
auth: API command=CURVE
auth: configured CURVE - allow client with public key:^Yswv:/^Qq65.EofHj{yOm#%wWllfz-=JO1QCDED
auth: ZAP request mechanism=CURVE ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (CURVE) client_key=^Yswv:/^Qq65.EofHj{yOm#%wWllfz-=JO1QCDED
auth: ZAP reply status_code=200 status_text=OK user_id=^Yswv:/^Qq65.EofHj{yOm#%wWllfz-=JO1QCDED
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
Client Public Key :w8PdOEdI34w?bGarY!^5K4IR}1?2phub7l9D?bm4
Client Secret Key :8pKP[+yp)+DBHU]%b%3Pe.TlKafgOBUK!w-yJOu
Server Public Key :CWa0y/?xE[aME$T2/+oaibB7D.Yq8N(xNO5D3fi+
Server Secret Key :TXq}cSL>o
?jUtd{ug:}1JinC@7Y5rwl0H9{)<wK
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: configure CURVE - client public key:w8PdOEdI34w?bGarY!^5K4IR}1?2phub7l9D?bm4
auth: API command=CURVE
auth: configured CURVE - allow client with public key:w8PdOEdI34w?bGarY!^5K4IR}1?2phub7l9D?bm4
auth: ZAP request mechanism=CURVE ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (CURVE) client_key=w8PdOEdI34w?bGarY!^5K4IR}1?2phub7l9D?bm4
auth: ZAP reply status_code=200 status_text=OK user_id=w8PdOEdI34w?bGarY!^5K4IR}1?2phub7l9D?bm4
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server

*** 1 failure detected in test suite "zmqpp"
Makefile:217: recipe for target 'test' failed
make: *** [test] Error 201

THX

@gorghino
Copy link

This happen even with Ubuntu 20.04.4 LTS

gorgo@razer:~/Downloads/zmqpp-4.2.0$ make check
g++  -shared -rdynamic  -Wl,-soname -Wl,libzmqpp.so.4 -o ./build/max-g++/libzmqpp.so.4 build/max-g++/obj/zmqpp/actor.o build/max-g++/obj/zmqpp/signal.o build/max-g++/obj/zmqpp/poller.o build/max-g++/obj/zmqpp/proxy.o build/max-g++/obj/zmqpp/socket.o build/max-g++/obj/zmqpp/reactor.o build/max-g++/obj/zmqpp/message.o build/max-g++/obj/zmqpp/context.o build/max-g++/obj/zmqpp/loop.o build/max-g++/obj/zmqpp/proxy_steerable.o build/max-g++/obj/zmqpp/frame.o build/max-g++/obj/zmqpp/zap_request.o build/max-g++/obj/zmqpp/zmqpp.o build/max-g++/obj/zmqpp/auth.o build/max-g++/obj/zmqpp/z85.o build/max-g++/obj/zmqpp/curve.o  -lzmq
ar crf ./build/max-g++/libzmqpp.a build/max-g++/obj/zmqpp/actor.o build/max-g++/obj/zmqpp/signal.o build/max-g++/obj/zmqpp/poller.o build/max-g++/obj/zmqpp/proxy.o build/max-g++/obj/zmqpp/socket.o build/max-g++/obj/zmqpp/reactor.o build/max-g++/obj/zmqpp/message.o build/max-g++/obj/zmqpp/context.o build/max-g++/obj/zmqpp/loop.o build/max-g++/obj/zmqpp/proxy_steerable.o build/max-g++/obj/zmqpp/frame.o build/max-g++/obj/zmqpp/zap_request.o build/max-g++/obj/zmqpp/zmqpp.o build/max-g++/obj/zmqpp/auth.o build/max-g++/obj/zmqpp/z85.o build/max-g++/obj/zmqpp/curve.o
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_poller.o src/tests/test_poller.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_actor.o src/tests/test_actor.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_sanity.o src/tests/test_sanity.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_socket.o src/tests/test_socket.cpp
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp: In member function ‘void socket::multipart_pair::test_method()’:
src/tests/test_socket.cpp:167:58: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  167 |  BOOST_CHECK(alpha.send("hello", zmqpp::socket::send_more));
      |                                                          ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:168:58: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  168 |  BOOST_CHECK(alpha.send("world", zmqpp::socket::send_more));
      |                                                          ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp: In member function ‘void socket::subscribe_via_option::test_method()’:
src/tests/test_socket.cpp:199:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  199 |  BOOST_CHECK(publisher.send("watch0", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:201:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  201 |  BOOST_CHECK(publisher.send("watch1", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp: In member function ‘void socket::subscribe_helpers::test_method()’:
src/tests/test_socket.cpp:227:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  227 |  BOOST_CHECK(publisher.send("watch0", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:229:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  229 |  BOOST_CHECK(publisher.send("watch1", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:231:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  231 |  BOOST_CHECK(publisher.send("watch2", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:233:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  233 |  BOOST_CHECK(publisher.send("watch3", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:258:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  258 |  BOOST_CHECK(publisher.send("watch0", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:260:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  260 |  BOOST_CHECK(publisher.send("watch1", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:262:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  262 |  BOOST_CHECK(publisher.send("watch2", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp: In member function ‘void socket::subscribe_helpers_multitopic_method::test_method()’:
src/tests/test_socket.cpp:288:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  288 |  BOOST_CHECK(publisher.send("watch0", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:290:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  290 |  BOOST_CHECK(publisher.send("watch1", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:292:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  292 |  BOOST_CHECK(publisher.send("watch2", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_socket.cpp:20:
src/tests/test_socket.cpp:294:63: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  294 |  BOOST_CHECK(publisher.send("watch3", zmqpp::socket::send_more));
      |                                                               ^
In file included from src/tests/test_socket.cpp:23:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_context.o src/tests/test_context.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_load.o src/tests/test_load.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_auth.o src/tests/test_auth.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_z85.o src/tests/test_z85.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_inet.o src/tests/test_inet.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_message_stream.o src/tests/test_message_stream.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_reactor.o src/tests/test_reactor.cpp
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_reactor.cpp:10:
src/tests/test_reactor.cpp: In member function ‘void reactor::multiple_socket::test_method()’:
src/tests/test_reactor.cpp:84:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
   84 |     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
      |                                                           ^
In file included from src/tests/test_reactor.cpp:16:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_reactor.cpp:10:
src/tests/test_reactor.cpp:112:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  112 |     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
      |                                                           ^
In file included from src/tests/test_reactor.cpp:16:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_reactor.cpp:10:
src/tests/test_reactor.cpp: In member function ‘void reactor::remove_socket_in_handler::test_method()’:
src/tests/test_reactor.cpp:137:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  137 |     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
      |                                                           ^
In file included from src/tests/test_reactor.cpp:16:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_reactor.cpp:10:
src/tests/test_reactor.cpp:163:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  163 |     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
      |                                                           ^
In file included from src/tests/test_reactor.cpp:16:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_socket_options.o src/tests/test_socket_options.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_proxy.o src/tests/test_proxy.cpp
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_message.o src/tests/test_message.cpp
src/tests/test_message.cpp: In member function ‘void message::add_const_part::test_method()’:
src/tests/test_message.cpp:529:32: warning: ‘void zmqpp::message::add_const(Type*, size_t) [with Type = void; size_t = long unsigned int]’ is deprecated [-Wdeprecated-declarations]
  529 |  msg->add_const(data, data_size);
      |                                ^
In file included from src/tests/test_message.cpp:24:
./src/zmqpp/message.hpp:167:7: note: declared here
  167 |  void add_const(Type *part, size_t const data_size)
      |       ^~~~~~~~~
mkdir -p build/max-g++/obj/tests/
g++   -MMD -std=c++11 -pipe -Wall -fPIC -DBUILD_ENV=max -DBUILD_DATESTAMP='"2022-04-25 11:54"' -DBUILD_LIBRARY_NAME='"zmqpp"' -DBUILD_CLIENT_NAME='"zmqpp"' -I./src  -O3 -funroll-loops -ffast-math -finline-functions -fomit-frame-pointer -DNDEBUG -c -o build/max-g++/obj/tests/test_loop.o src/tests/test_loop.cpp
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_loop.cpp:10:
src/tests/test_loop.cpp: In member function ‘void loop::multiple_socket::test_method()’:
src/tests/test_loop.cpp:122:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  122 |     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
      |                                                           ^
In file included from src/tests/test_loop.cpp:17:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_loop.cpp:10:
src/tests/test_loop.cpp:156:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  156 |     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
      |                                                           ^
In file included from src/tests/test_loop.cpp:17:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_loop.cpp:10:
src/tests/test_loop.cpp: In member function ‘void loop::remove_socket_in_handler::test_method()’:
src/tests/test_loop.cpp:182:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  182 |     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
      |                                                           ^
In file included from src/tests/test_loop.cpp:17:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
In file included from /usr/include/boost/test/test_tools.hpp:45,
                 from /usr/include/boost/test/unit_test.hpp:18,
                 from src/tests/test_loop.cpp:10:
src/tests/test_loop.cpp:212:59: warning: ‘bool zmqpp::socket::send(const string&, int)’ is deprecated [-Wdeprecated-declarations]
  212 |     BOOST_CHECK(pub.send("hello", zmqpp::socket::send_more));
      |                                                           ^
In file included from src/tests/test_loop.cpp:17:
./src/zmqpp/socket.hpp:292:7: note: declared here
  292 |  bool send(std::string const& string, int const flags);
      |       ^~~~
g++  -o ./build/max-g++/zmqpp-tests  ./build/max-g++/obj/tests/test_poller.o  ./build/max-g++/obj/tests/test_actor.o  ./build/max-g++/obj/tests/test_sanity.o  ./build/max-g++/obj/tests/test_socket.o  ./build/max-g++/obj/tests/test_context.o  ./build/max-g++/obj/tests/test_load.o  ./build/max-g++/obj/tests/test_auth.o  ./build/max-g++/obj/tests/test_z85.o  ./build/max-g++/obj/tests/test_inet.o  ./build/max-g++/obj/tests/test_message_stream.o  ./build/max-g++/obj/tests/test_reactor.o  ./build/max-g++/obj/tests/test_socket_options.o  ./build/max-g++/obj/tests/test_proxy.o  ./build/max-g++/obj/tests/test_message.o  ./build/max-g++/obj/tests/test_loop.o -L./build/max-g++ -lzmqpp -lboost_unit_test_framework -lpthread -lzmq
running all test targets (test-actor test-auth test-context test-inet test-load test-loop test-message test-message_stream test-poll test-proxy test-reactor test-sanity test-socket test-socket_options test-z85)
LD_LIBRARY_PATH=./build/max-g++:/home/gorgo/COMPASS-RL/icra22_competition_ws/devel/lib:/opt/ros/noetic/lib ./build/max-g++/zmqpp-tests
Running 116 test cases...
src/tests/test_socket.cpp(574): error: in "socket/test_simple_monitor": check "tcp://0.0.0.0:55443" == message.get(1) has failed [tcp://0.0.0.0:55443 != tcp://127.0.0.1:55443]
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=global
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
auth: Starting ZAP Authentication Server
auth: verbose:true
auth: API command=DOMAIN
auth: domain=*
auth: configure PLAIN - username:admin password:password
auth: API command=PLAIN
auth: configured PLAIN - user:admin
auth: API command=ALLOW
auth: whitelisting ipaddress=127.0.0.1
auth: ZAP request mechanism=PLAIN ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (PLAIN) username=admin password=password
auth: ZAP reply status_code=200 status_text=OK user_id=admin
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
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: configure CURVE - client public key:CURVE_ALLOW_ANY
auth: API command=CURVE
auth: configured CURVE - allow ALL clients
Client Public Key :7aJA23Z)!p<D75E2/pnq4@Elr3}+V[l:$pv0(NJq
Client Secret Key :}VB@X^9.g0wd8uQ3HNWe5[[ceoz:O5wqnOzZ>X@g
Server Public Key :CPJ[gYX}/qivWs%e.D@DpN?oTKDDhQ6M<12@OJX$
Server Secret Key :iqQ@=y){Q.CP$QF.EzS(<x-r}CxOx8z9m$2Sln7V
auth: ZAP request mechanism=CURVE ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (CURVE allow any client)
auth: ZAP reply status_code=200 status_text=OK user_id=7aJA23Z)!p<D75E2/pnq4@Elr3}+V[l:$pv0(NJq
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
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
Client Public Key :>+G64kbSc+vw[+:50I(e/+[d2xgs&UViTwDl*)A2
Client Secret Key :VHCQ(nkYl<z:RQ>d2an=G&pzEqd!0x9j%2LzQZ5E
Server Public Key :qu:0(EGzInTj>2T:IUfx224!5RHpl4sIW&pL4w#S
Server Secret Key :+?%@x0U%.+cfqai^^NrYfpX%#ty/c.@jVEnPH(<f
auth: configure CURVE - client public key:>+G64kbSc+vw[+:50I(e/+[d2xgs&UViTwDl*)A2
auth: API command=CURVE
auth: configured CURVE - allow client with public key:>+G64kbSc+vw[+:50I(e/+[d2xgs&UViTwDl*)A2
auth: ZAP request mechanism=CURVE ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (CURVE) client_key=>+G64kbSc+vw[+:50I(e/+[d2xgs&UViTwDl*)A2
auth: ZAP reply status_code=200 status_text=OK user_id=>+G64kbSc+vw[+:50I(e/+[d2xgs&UViTwDl*)A2
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server
Client Public Key :ij#Y75kIf4VFM%]6Zf::tUQD2/V81d4c-/pF:L:F
Client Secret Key :7}AH[A[T(@jwukV+e<US/cD8/y:(>M8QQ]kXtR&h
Server Public Key :FWHuZ+f#gU8d/Zj*XY%!RzF?6N1AYpRJ(@Rgr!y1
Server Secret Key :wrY#!S{n[@32%=8eOu>Q=Rpkco-sFRc^9^B@.PBA
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: configure CURVE - client public key:ij#Y75kIf4VFM%]6Zf::tUQD2/V81d4c-/pF:L:F
auth: API command=CURVE
auth: configured CURVE - allow client with public key:ij#Y75kIf4VFM%]6Zf::tUQD2/V81d4c-/pF:L:F
auth: ZAP request mechanism=CURVE ipaddress=127.0.0.1
auth: passed (whitelist) address=127.0.0.1
auth: allowed (CURVE) client_key=ij#Y75kIf4VFM%]6Zf::tUQD2/V81d4c-/pF:L:F
auth: ZAP reply status_code=200 status_text=OK user_id=ij#Y75kIf4VFM%]6Zf::tUQD2/V81d4c-/pF:L:F
auth: API command=TERMINATE
auth: Shutdown ZAP Authentication Server

*** 1 failure is detected in the test module "zmqpp"
make: *** [Makefile:202: test] Error 201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants