Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2041

[Python] Dispatch tests fail

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: proton-c-0.28.0
    • Fix Version/s: None
    • Component/s: python-binding
    • Labels:
      None

      Description

      39: ======================================================================
      39: ERROR: tearDownClass (system_tests_authz_service_plugin.AuthServicePluginAuthzTest)
      39: ----------------------------------------------------------------------
      39: Traceback (most recent call last):
      39:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 609, in tearDownClass
      39:     cls.tester.teardown()
      39:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 555, in teardown
      39:     raise RuntimeError("Errors during teardown: \n\n%s" % "\n\n".join([str(e) for e in errors]))
      39: RuntimeError: Errors during teardown:
      39:
      39: Process 16854 error: exit code 1, expected 0
      39: /usr/bin/env python /home/travis/build/apache/qpid-dispatch/tests/authservice.py -a amqps://127.0.0.1:20571 -c /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_authz_service_plugin/AuthServicePluginAuthzTest/setUpClass
      39: /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_authz_service_plugin/AuthServicePluginAuthzTest/setUpClass/env-2.cmd
      39: >>>>
      39: starting
      39: set sasl config path to /home/travis/build/apache/qpid-dispatch/build/tests/system_test.dir/system_tests_authz_service_plugin/AuthServicePluginAuthzTest/setUpClass
      39: Traceback (most recent call last):
      39:   File "/home/travis/build/apache/qpid-dispatch/tests/authservice.py", line 95, in <module>
      39:     Container(handler).run()
      39:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_reactor.py", line 181, in run
      39:     while self.process(): pass
      39:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_reactor.py", line 240, in process
      39:     event.dispatch(self._global_handler)
      39:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_events.py", line 135, in dispatch
      39:     _dispatch(handler, type.method, self)
      39:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_events.py", line 117, in _dispatch
      39:     handler.on_unhandled(method, *args)
      39:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_reactor.py", line 665, in on_unhandled
      39:     event.dispatch(self.base)
      39:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_events.py", line 135, in dispatch
      39:     _dispatch(handler, type.method, self)
      39:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_events.py", line 115, in _dispatch
      39:     m(*args)
      39:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_handlers.py", line 771, in on_reactor_quiesced
      39:     readable, writable, expired = self._selector.select(r.timeout)
      39:   File "/home/travis/build/apache/qpid-dispatch/qpid-proton/python/proton/_io.py", line 163, in select
      39:     w += ex
      39: UnboundLocalError: local variable 'ex' referenced before assignment
      39: <<<<
      39:
      39: ----------------------------------------------------------------------
      39: Ran 10 tests in 1.121s
      39:
      39: FAILED (errors=2)
      39/56 Test #39: system_tests_authz_service_plugin .................***Failed    1.20 sec

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                astitcher Andrew Stitcher
                Reporter:
                astitcher Andrew Stitcher
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: