You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Justin Ross (JIRA)" <ji...@apache.org> on 2013/11/14 16:37:21 UTC
[jira] [Updated] (QPID-5329) QMFv2 tests fail when qmf console code
is unavailable
[ https://issues.apache.org/jira/browse/QPID-5329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Ross updated QPID-5329:
------------------------------
Summary: QMFv2 tests fail when qmf console code is unavailable (was: QMF test failure)
> QMFv2 tests fail when qmf console code is unavailable
> -----------------------------------------------------
>
> Key: QPID-5329
> URL: https://issues.apache.org/jira/browse/QPID-5329
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker, Qpid Managment Framework
> Affects Versions: 0.25
> Reporter: Justin Ross
> Assignee: Ken Giusti
> Fix For: 0.25
>
>
> Testing from the release distribution, where the python qmf code isn't available, produces this error, because it's picking up an older system-installed qmf. I wonder if we shouldn't detect the absence of isV2? Otherwise, we'd need to somehow be stricter about when we run the test.
> 20/54 Testing: qpidd_qmfv2_tests
> 20/54 Test: qpidd_qmfv2_tests
> Command: "/tmp/tmp.qNIAEwMgJv/qpid-cpp-0.26/src/tests/run_test" "--build-dir=/tmp/tmp.qNIAEwMgJv/qpid-cpp-0.26/build" "--python" "--" "/tmp/tmp.qNIAEwMgJv/qpid-cpp-0.26/src/tests/qpidd_qmfv2_tests.py"
> Directory: /tmp/tmp.qNIAEwMgJv/qpid-cpp-0.26/build/src/tests
> "qpidd_qmfv2_tests" start time: Nov 09 19:50 EST
> Output:
> ----------------------------------------------------------
> qpidd_qmfv2_tests.ConsoleTest.test_async_method ................................................... pass
> qpidd_qmfv2_tests.ConsoleTest.test_async_method_v1 ................................................ pass
> qpidd_qmfv2_tests.ConsoleTest.test_method_call .................................................... pass
> qpidd_qmfv2_tests.ConsoleTest.test_method_call_v1 ................................................. pass
> qpidd_qmfv2_tests.ConsoleTest.test_unsolicited_updates ............................................ fail
> Error during test: Traceback (most recent call last):
> File "/usr/bin/qpid-python-test", line 340, in run
> phase()
> File "/tmp/tmp.qNIAEwMgJv/qpid-cpp-0.26/src/tests/qpidd_qmfv2_tests.py", line 249, in test_unsolicited_updates
> self._test_unsolicited_updates()
> File "/tmp/tmp.qNIAEwMgJv/qpid-cpp-0.26/src/tests/qpidd_qmfv2_tests.py", line 169, in _test_unsolicited_updates
> assert handler.events, "No event callbacks received"
> AssertionError: No event callbacks received
> Traceback (most recent call last):
> File "/usr/lib64/python2.7/site-packages/qmf/console.py", line 2789, in _v1Dispatch
> self._v1DispatchProtected(msg)
> File "/usr/lib64/python2.7/site-packages/qmf/console.py", line 2844, in _v1DispatchProtected
> agent._handleQmfV1Message(opcode, seq, mp, ah, codec)
> File "/usr/lib64/python2.7/site-packages/qmf/console.py", line 3648, in _handleQmfV1Message
> elif opcode == 'e': self._v1HandleEventInd(codec, seq)
> File "/usr/lib64/python2.7/site-packages/qmf/console.py", line 3380, in _v1HandleEventInd
> self.unsolicitedContext.doEvent(event)
> File "/usr/lib64/python2.7/site-packages/qmf/console.py", line 3770, in doEvent
> self.notifiable(qmf_event=data)
> File "/usr/lib64/python2.7/site-packages/qmf/console.py", line 3107, in __call__
> self.session.console.event(self.broker, event)
> File "/tmp/tmp.qNIAEwMgJv/qpid-cpp-0.26/src/tests/qpidd_qmfv2_tests.py", line 121, in event
> if event.isV2:
> AttributeError: Event instance has no attribute 'isV2'
> Traceback (most recent call last):
> File "/usr/lib64/python2.7/site-packages/qmf/console.py", line 2789, in _v1Dispatch
> self._v1DispatchProtected(msg)
> File "/usr/lib64/python2.7/site-packages/qmf/console.py", line 2844, in _v1DispatchProtected
> agent._handleQmfV1Message(opcode, seq, mp, ah, codec)
> File "/usr/lib64/python2.7/site-packages/qmf/console.py", line 3648, in _handleQmfV1Message
> elif opcode == 'e': self._v1HandleEventInd(codec, seq)
> File "/usr/lib64/python2.7/site-packages/qmf/console.py", line 3380, in _v1HandleEventInd
> self.unsolicitedContext.doEvent(event)
> File "/usr/lib64/python2.7/site-packages/qmf/console.py", line 3770, in doEvent
> self.notifiable(qmf_event=data)
> File "/usr/lib64/python2.7/site-packages/qmf/console.py", line 3107, in __call__
> self.session.console.event(self.broker, event)
> File "/tmp/tmp.qNIAEwMgJv/qpid-cpp-0.26/src/tests/qpidd_qmfv2_tests.py", line 121, in event
> if event.isV2:
> AttributeError: Event instance has no attribute 'isV2'
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org