Hi,

After installing qpid-qmf, qpid-python, qpid-tests, and qpid-tools on the
same lavel as qpid-cpp-35 and renaming the folders as well as installing the
package libnss3-tools only four tests are failing and three tests looks to
pass when I think they are failing.

The tests that fail now are the following. I am at a loss on what I need to
do to get them to pass. Any advice is welcome.

Test 6,7,8 (same massage for all three)
Here my guess is that the test is supposed to give an exception but that it
happens in the wrong place and is interpreted as a correct exception. Am I
correct in this?
-------------------------------------------------------------------
Failed: Exception - Link failed to create User 127.0.0.1@QPID federation
connection denied. Systems with authentication enabled must specify ACL
create link rules.
(/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/qpid/broker/ConnectionHandler.cpp:259)
<end of output>
Test time =  14.65 sec
Test Passed.
"sasl_fed_ex_link" end time: Feb 20 20:27 CET
"sasl_fed_ex_link" time elapsed: 00:00:14
--------------------------------------------------------------------------

Test 18)
All sub-tests of test 18 is successful except for the following one.
++++++++++++++++++++++++++++++++++++++++++++++++++
qpid.tests.messaging.endpoints.SetupTests.testConnectError ..............
fail
Error during test:  Traceback (most recent call last):
    File
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build/src/tests/python/commands/qpid-python-test",
line 340, in run
      phase()
    File
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build/src/tests/python/qpid/tests/messaging/endpoints.py",
line 59, in testConnectErro
r
      assert "refused" in str(e)
  AssertionError
++++++++++++++++++++++++++++++++++++++++++++++++++

Test 20)
This sub-test fails and then the rest fails with a reconnect disabled
message, so I guess if the first one is fixed the remaining one might be as
well.
==================================================
interop_tests.CppTxTest.test_txtest2 ....................................
fail
Error during test:  Traceback (most recent call last):
    File
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build/src/tests/python/commands/qpid-python-test",
line 340, in run
      phase()
    File
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/interop_tests.py", line
173, in test_txtest2
      self.popen(["qpid-txtest2"]  + self.connect_opts).assert_exit_ok()
    File "/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/brokertest.py",
line 223, in assert_exit_ok
      if self.wait() != 0: self.unexpected("Exit code %d" % self.returncode)
    File "/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/brokertest.py",
line 181, in unexpected
      raise BadProcessStatus("%s %s%s" % (self.pname, msg, err))
  BadProcessStatus: qpid-txtest2-2 Exit code 2:
      qpid-txtest2: Transfer agents failed
============================================

Test 21)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
ha_tests.TransactionTests.test_other_tx_tests ...........................
fail
Error during test:  Traceback (most recent call last):
    File
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build/src/tests/python/commands/qpid-python-test",
line 340, in run
      phase()
    File "/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/ha_tests.py",
line 1620, in test_other_tx_tests
      "*.tx.*"], stdout=None, stderr=None).assert_exit_ok()
    File "/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/brokertest.py",
line 223, in assert_exit_ok
      if self.wait() != 0: self.unexpected("Exit code %d" % self.returncode)
    File "/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/src/tests/brokertest.py",
line 181, in unexpected
      raise BadProcessStatus("%s %s%s" % (self.pname, msg, err))
  BadProcessStatus: qpid-python-test-154 Exit code 1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Test 25)
Do I need to do something special to get AMQP 1.0 activated or working? It
is AMQP 1.0 that I will use in the end.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Traceback (most recent call last):
  File
"/home/webrtc/NordicWay-1.0/qpid-cpp-0.34/build/src/tests/python/commands/qpid-python-test",
line 563, in <module>
    m = __import__(name, None, None, ["dummy"])
ImportError: No module named broker_1_0
FAIL swigged python tests: 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Best Regards,
Morgan



Gordon Sim wrote
> 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-unsubscribe@.apache

> For additional commands, e-mail: 

> users-help@.apache





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