Hi All, 

I am building the C++ broker on Ubuntu 14.04 and when I run the "make test"
command after the build 15 of the tests fail. 

Is this to be expected or did I do some mistakes when configuring the build. 

I have used the following commands to configure and build the system. 

=================== 
sudo apt-get install cmake libboost-all-dev uuid-dev pkg-config g++ make
ruby help2man doxygen graphviz 
sudo apt-get install libssl-dev 
sudo apt-get install libsasl2-2 libsasl2-dev 
sudo apt-get install libnss3-dev libnspr4-dev 
rm -rf ../qpid-cpp-0.34* 
wget http://www.eu.apache.org/dist/qpid/cpp/0.34/qpid-cpp-0.34.tar.gz -O
../qpid-cpp-0.34.tar.gz 
tar -xzf ../qpid-cpp-0.34.tar.gz -C .. 
mkdir ../qpid-cpp-0.34/build 
pushd ../qpid-cpp-0.34/build 
cmake .. 
make all 
make test 
popd 
================== 


The cake output is the following 
============================== 
-- The C compiler identification is GNU 4.8.4 
-- The CXX compiler identification is GNU 4.8.4 
-- Check for working C compiler: /usr/bin/cc 
-- Check for working C compiler: /usr/bin/cc -- works 
-- Detecting C compiler ABI info 
-- Detecting C compiler ABI info - done 
-- Check for working CXX compiler: /usr/bin/c++ 
-- Check for working CXX compiler: /usr/bin/c++ -- works 
-- Detecting CXX compiler ABI info 
-- Detecting CXX compiler ABI info - done 
-- Found PythonInterp: /usr/bin/python (found version "2.7.6") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- Could NOT find Ruby (missing:  RUBY_INCLUDE_DIR RUBY_LIBRARY
RUBY_CONFIG_INCLUDE_DIR) (found version "1.9.1") 
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6") 
-- Could NOT find VALGRIND (missing:  VALGRIND_EXECUTABLE) 
-- Looking for sasl_checkpass in sasl2 
-- Looking for sasl_checkpass in sasl2 - found 
-- Looking for include file sasl/sasl.h 
-- Looking for include file sasl/sasl.h - found 
-- Found SASL: 1   
-- Regenerating AMQP protocol sources 
--
/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/qpid/broker/management-schema.xml
is newer 
--
/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/qpid/acl/management-schema.xml
is newer 
--
/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/qpid/ha/management-schema.xml
is newer 
--
/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/qpid/legacystore/management-schema.xml
is newer 
--
/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/qpid/linearstore/management-schema.xml
is newer 
-- Regenerating Qpid Management Framework sources 
-- Boost version: 1.54.0 
-- Found the following Boost libraries: 
--   program_options 
--   system 
-- Looking for uuid_generate 
-- Looking for uuid_generate - not found 
-- Looking for uuid_generate in uuid 
-- Looking for uuid_generate in uuid - found 
-- Looking for clock_gettime 
-- Looking for clock_gettime - found 
-- Looking for include file sys/sdt.h 
-- Looking for include file sys/sdt.h - not found 
-- Looking for include file sys/poll.h 
-- Looking for include file sys/poll.h - found 
-- Looking for include file sys/epoll.h 
-- Looking for include file sys/epoll.h - found 
-- Checking to see if size_t is a distinct type 
-- Performing Test QPID_SIZE_T_DISTINCT 
-- Performing Test QPID_SIZE_T_DISTINCT - Failed 
-- Checking to see if size_t is a distinct type - no 
-- checking for module 'nss' 
--   found nss, version 3.21 
-- Looking for _init in xerces-c 
-- Looking for _init in xerces-c - not found 
-- Looking for C++ include xercesc/framework/MemBufInputSource.hpp 
-- Looking for C++ include xercesc/framework/MemBufInputSource.hpp - not
found 
-- Looking for C++ include xqilla/xqilla-simple.hpp 
-- Looking for C++ include xqilla/xqilla-simple.hpp - not found 
-- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp 
-- Looking for C++ include xqilla/ast/XQEffectiveBooleanValue.hpp - not
found 
-- Looking for ibv_create_qp in ibverbs 
-- Looking for ibv_create_qp in ibverbs - found 
-- Looking for rdma_create_id in rdmacm 
-- Looking for rdma_create_id in rdmacm - not found 
-- Looking for include file infiniband/verbs.h 
-- Looking for include file infiniband/verbs.h - found 
-- Looking for include file rdma/rdma_cma.h 
-- Looking for include file rdma/rdma_cma.h - not found 
-- Found Proton:
optimized;/usr/lib/libqpid-proton.so;debug;/usr/lib/libqpid-proton.so (found
version "0.9") 
-- Qpid proton found, amqp 1.0 support enabled 
-- Looking for LOG_AUTHPRIV 
-- Looking for LOG_AUTHPRIV - found 
-- Looking for LOG_FTP 
-- Looking for LOG_FTP - found 
-- Legacystore requires BerkeleyDB for C++ which is absent. 
-- Legacystore is excluded from build. 
-- Linearstore requires BerkeleyDB for C++ which is absent. 
-- Linearstore is excluded from build. 
-- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR) 
-- Build type is "RelWithDebInfo" (has debug symbols) 
-- Configuring done 
-- Generating done 
-- Build files have been written to:
/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build 
=================== 

And the failed tests are as follows 
========================== 
56% tests passed, 15 tests failed out of 34 

Total Test time (real) =  24.53 sec 

The following tests FAILED: 
         11 - qpid-client-test (Failed) 
         12 - quick_perftest (Failed) 
         13 - quick_topictest (Failed) 
         14 - quick_txtest (Failed) 
         15 - quick_txtest2 (Failed) 
         16 - msg_group_tests (Failed) 
         17 - run_header_test (Failed) 
         18 - python_tests (Failed) 
         19 - paged_queue_tests (Failed) 
         20 - interop_tests (Failed) 
         21 - ha_tests (Failed) 
         22 - qpidd_qmfv2_tests (Failed) 
         23 - interlink_tests (Failed) 
         24 - idle_timeout_tests (Failed) 
         29 - queue_flow_limit_tests (Failed) 
Errors while running CTest 
================== 



--
View this message in context: 
http://qpid.2158936.n2.nabble.com/Tests-fails-when-building-C-broker-on-Ubuntu-tp7638717.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org
For additional commands, e-mail: users-h...@qpid.apache.org

Reply via email to