[
https://issues.apache.org/jira/browse/DISPATCH-947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16407845#comment-16407845
]
Justin Ross commented on DISPATCH-947:
--------------------------------------
We've removed Messenger on master. It was already deprecated for some time.
You'll need to either adapt the tests to the supported Python API or pin your
CI jobs to an older version of Proton.
> system tests on master branch failing when run against latest master proton
> ---------------------------------------------------------------------------
>
> Key: DISPATCH-947
> URL: https://issues.apache.org/jira/browse/DISPATCH-947
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Tests
> Affects Versions: 1.1.0
> Reporter: Ganesh Murthy
> Assignee: Ganesh Murthy
> Priority: Major
>
> The system_tests_*.py are failing when run against the latest code from
> proton master branch with the following error
>
> {noformat}
> 42: Test command: /usr/bin/python
> "/home/gmurthy/opensource/qpid-dispatch/build/tests/run.py" "-x" "unit2" "-v"
> "system_tests_http"
> 42: Test timeout computed to be: 1500
> 42: Traceback (most recent call last):
> 42: File "/usr/bin/unit2", line 11, in <module>
> 42: load_entry_point('unittest2==1.1.0', 'console_scripts', 'unit2')()
> 42: File "/usr/lib/python2.7/site-packages/unittest2/__main__.py", line 18,
> in main_
> 42: main(module=None)
> 42: File "/usr/lib/python2.7/site-packages/unittest2/main.py", line 89, in
> __init__
> 42: self.parseArgs(argv)
> 42: File "/usr/lib/python2.7/site-packages/unittest2/main.py", line 135, in
> parseArgs
> 42: self.createTests()
> 42: File "/usr/lib/python2.7/site-packages/unittest2/main.py", line 142, in
> createTests
> 42: self.module)
> 42: File "/usr/lib/python2.7/site-packages/unittest2/loader.py", line 245,
> in loadTestsFromNames
> 42: suites = [self.loadTestsFromName(name, module) for name in names]
> 42: File "/usr/lib/python2.7/site-packages/unittest2/loader.py", line 172,
> in loadTestsFromName
> 42: module = __import__(module_name)
> 42: File
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_http.py", line 23,
> in <module>
> 42: from system_test import TestCase, Qdrouterd, main_module, DIR
> 42: File "/home/gmurthy/opensource/qpid-dispatch/tests/system_test.py",
> line 478, in <module>
> 42: class Messenger(proton.Messenger):
> 42: AttributeError: 'module' object has no attribute 'Messenger'
> 42/42 Test #42: system_tests_http .........................***Failed 0.18
> sec
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]