On 19/02/16 12:46, Morgan Lindqvist wrote:
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?

It means the qpid tools that happen to be written in python.

I.e. qpid-python, qpid-qmf and qpid-tools from:
http://www.apache.org/dyn/closer.lua/qpid/0.32

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?

This again would be qpid-python from http://www.apache.org/dyn/closer.lua/qpid/0.32

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

That sounds like you don't have nss or nss-devel installed(?)

<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

This again is due to the lack of qpid.messaging, the pure python client (unfortunately the python stuff is all rather tightly bound together, so any use of one bit ends up needing all of it).

<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.


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

Reply via email to