[ 
https://issues.apache.org/jira/browse/PROTON-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher resolved PROTON-2041.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: proton-c-0.28.0

> [Python] Dispatch tests fail
> ----------------------------
>
>                 Key: PROTON-2041
>                 URL: https://issues.apache.org/jira/browse/PROTON-2041
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: proton-c-0.28.0
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>             Fix For: proton-c-0.28.0
>
>
> {{{color:#000000}39: 
> ======================================================================{color}}}
> {{{color:#000000}39: ERROR: tearDownClass 
> (system_tests_authz_service_plugin.AuthServicePluginAuthzTest){color}}}
> {{{color:#000000}39: 
> ----------------------------------------------------------------------{color}}}
> {{{color:#000000}39: Traceback (most recent call last):{color}}}
> {{{color:#000000}39:   File 
> "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 609, in 
> tearDownClass{color}}}
> {{{color:#000000}39:     cls.tester.teardown(){color}}}
> {{{color:#000000}39:   File 
> "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 555, in 
> teardown{color}}}
> {{{color:#000000}39:     raise RuntimeError("Errors during teardown: \n\n%s" 
> % "\n\n".join([str(e) for e in errors])){color}}}
> {{{color:#000000}39: RuntimeError: Errors during teardown: {color}}}
> {{{color:#000000}39: {color}}}
> {{{color:#000000}39: Process 16854 error: exit code 1, expected 0{color}}}
> {{{color:#000000}39: /usr/bin/env python 
> /home/travis/build/apache/qpid-dispatch/tests/authservice.py -a 
> amqps://{color}[127.0.0.1:20571|http://127.0.0.1:20571/]{color:#000000} -c 
> /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_authz_service_plugin/AuthServicePluginAuthzTest/setUpClass{color}}}
> {{{color:#000000}39: 
> /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_authz_service_plugin/AuthServicePluginAuthzTest/setUpClass/env-2.cmd{color}}}
> {{{color:#000000}39: >>>>{color}}}
> {{{color:#000000}39: starting{color}}}
> {{{color:#000000}39: set sasl config path to 
> /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_authz_service_plugin/AuthServicePluginAuthzTest/setUpClass{color}}}
> {{{color:#000000}39: Traceback (most recent call last):{color}}}
> {{{color:#000000}39:   File 
> "/home/travis/build/apache/qpid-dispatch/tests/authservice.py", line 95, in 
> <module>{color}}}
> {{{color:#000000}39:     Container(handler).run(){color}}}
> {{{color:#000000}39:   File 
> "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_reactor.py",
>  line 181, in run{color}}}
> {{{color:#000000}39:     while self.process(): pass{color}}}
> {{{color:#000000}39:   File 
> "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_reactor.py",
>  line 240, in process{color}}}
> {{{color:#000000}39:     event.dispatch(self._global_handler){color}}}
> {{{color:#000000}39:   File 
> "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_events.py",
>  line 135, in dispatch{color}}}
> {{{color:#000000}39:     _dispatch(handler, type.method, self){color}}}
> {{{color:#000000}39:   File 
> "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_events.py",
>  line 117, in _dispatch{color}}}
> {{{color:#000000}39:     handler.on_unhandled(method, *args){color}}}
> {{{color:#000000}39:   File 
> "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_reactor.py",
>  line 665, in on_unhandled{color}}}
> {{{color:#000000}39:     event.dispatch(self.base){color}}}
> {{{color:#000000}39:   File 
> "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_events.py",
>  line 135, in dispatch{color}}}
> {{{color:#000000}39:     _dispatch(handler, type.method, self){color}}}
> {{{color:#000000}39:   File 
> "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_events.py",
>  line 115, in _dispatch{color}}}
> {{{color:#000000}39:     m(*args){color}}}
> {{{color:#000000}39:   File 
> "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_handlers.py",
>  line 771, in on_reactor_quiesced{color}}}
> {{{color:#000000}39:     readable, writable, expired = 
> self._selector.select(r.timeout){color}}}
> {{{color:#000000}39:   File 
> "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_io.py", 
> line 163, in select{color}}}
> {{{color:#000000}39:     w += ex{color}}}
> {{{color:#000000}39: UnboundLocalError: local variable 'ex' referenced before 
> assignment{color}}}
> {{{color:#000000}39: <<<<{color}}}
> {{{color:#000000}39: {color}}}
> {{{color:#000000}39: 
> ----------------------------------------------------------------------{color}}}
> {{{color:#000000}39: Ran 10 tests in 1.121s{color}}}
> {{{color:#000000}39: {color}}}
> {{{color:#000000}39: FAILED (errors=2){color}}}
> {{{color:#000000}39/56 Test #39: system_tests_authz_service_plugin 
> .................***Failed    1.20 sec{color}}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to