Hi, Thanks for the assistance with finding the file describing the tests in
more detail.

One of the issues was that the ~/.qpidd directory was owned by another user
than was running the tests. When this was fixed the failed tests was reduced
to 5. When looking at the tests log I however saw that tests that was
classified as OK actually failed. See below.

+++++++++++++++++++++++++++++++++
4/34 Testing: sasl_fed
4/34 Test: sasl_fed
Command: "/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/run_test"
"-buildDir" "/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build" "--"
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/
src/tests/sasl_fed"
Directory: /home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build/src/tests
"sasl_fed" start time: Feb 19 13:25 CET
Output:
----------------------------------------------------------
python tools absent - skipping sasl_fed.
<end of output>
Test time =   0.30 sec
----------------------------------------------------------
Test Passed.
"sasl_fed" end time: Feb 19 13:25 CET
"sasl_fed" time elapsed: 00:00:00
----------------------------------------------------------
+++++++++++++++++++++++++++++++++

I have installed both python2.7 and python2.7-dev but it still says that the
python tools are absent. What does that mean and how do I solve it?

Another tests that passes but fails according to the logs are

+++++++++++++++++++++++++++++++++
9/34 Testing: paged_queue_tests
19/34 Test: paged_queue_tests
Command:
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/run_paged_queue_tests"
Directory: /home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build/src/tests
"paged_queue_tests" start time: Feb 19 13:42 CET
Output:
----------------------------------------------------------
Traceback (most recent call last):
  File
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/qpid-cpp-benchmark",
line 27, in <module>
    import qpid.messaging as qm
ImportError: No module named qpid.messaging
Traceback (most recent call last):
  File
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/qpid-cpp-benchmark",
line 27, in <module>
    import qpid.messaging as qm
ImportError: No module named qpid.messaging
<end of output>
Test time =   0.53 sec
----------------------------------------------------------
Test Passed.
"paged_queue_tests" end time: Feb 19 13:42 CET
"paged_queue_tests" time elapsed: 00:00:00
----------------------------------------------------------
++++++++++++++++++++++++++++++++++++

Where should I define something that points to a place so that the module
quid.messaging is found?

The following test is marked as a success but I would say it is failing. Do
you know how to fix this one?

+++++++++++++++++++++++++++++++++++++
10/34 Testing: ssl_test
10/34 Test: ssl_test
Command: "/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/run_test"
"-buildDir" "/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build" "--"
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/
src/tests/ssl_test"
Directory: /home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build/src/tests
"ssl_test" start time: Feb 19 13:42 CET
Output:
----------------------------------------------------------
No certutil, skipping ssl test
<end of output>
Test time =   0.02 sec
----------------------------------------------------------
Test Passed.
"ssl_test" end time: Feb 19 13:42 CET
"ssl_test" time elapsed: 00:00:00
----------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++


Another tests that fails but have the same kind of error in the log is the
following test

++++++++++++++++++++++++++++++++++++
20/34 Testing: interop_tests
20/34 Test: interop_tests
Command: "/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/run_test"
"-buildDir" "/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build" "-python" "--"
"/home/webrtc/NordicWay-1.0/qpid
-cpp-0.34/src/tests/interop_tests.py"
Directory: /home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build/src/tests
"interop_tests" start time: Feb 19 13:42 CET
Output:
----------------------------------------------------------
Traceback (most recent call last):
  File
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/interop_tests.py", line
36, in <module>
    import qpid_messaging as qm
  File
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build/bindings/qpid/python/qpid_messaging.py",
line 28, in <module>
    _qpid_messaging = swig_import_helper()
  File
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build/bindings/qpid/python/qpid_messaging.py",
line 24, in swig_import_helper
    _mod = imp.load_module('_qpid_messaging', fp, pathname, description)
ImportError: No module named qpid.datatypes
<end of output>
Test time =   0.06 sec
----------------------------------------------------------
Test Failed.
"interop_tests" end time: Feb 19 13:42 CET
"interop_tests" time elapsed: 00:00:00
----------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++

All help in getting this to work is highly appreciated.

/Morgan


Gordon Sim wrote
> [...]
> 
>> -- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR)
> 
> I suspect the above may account for at least some of the failures (as 
> some of he tests are written in python and intended for running using 
> the swigged c++ client library).
> 
> You can get more detail on the actual errors from 
> Testing/Temporary/LastTest.log under the build directory. Tests that 
> fail due to e.g. python not being there are probably not an issue. 
> However some of those above I would certainly expect to pass. The error 
> messages may shed some more light.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: 

> users-unsubscribe@.apache

> For additional commands, e-mail: 

> users-help@.apache





--
View this message in context: 
http://qpid.2158936.n2.nabble.com/Re-C-Broker-tp7638725p7638748.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