Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1913

All system tests that run qdstat/qdmanage fail on Ubuntu

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.15.0
    • Tests
    • None

    Description

      Lots of tests fail in travis with the following error -

      AttributeError: 'str' object has no attribute 'path' 

       

      For example,

       34: ======================================================================34: ERROR: test_01_link_route (system_tests_two_routers.TwoRouterExtensionStateTest)
      34: Verify non-terminal state and data propagates over a link route
      34: ----------------------------------------------------------------------
      34: Traceback (most recent call last):
      34:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_two_routers.py", line 2034, in test_01_link_route
      34:     self.RouterA.wait_address("RoutieMcRouteFace", remotes=1, count=2)
      34:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 672, in wait_address
      34:     assert retry(check, **retry_kwargs)
      34:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 141, in retry
      34:     ret = function()
      34:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 662, in check
      34:     addrs = self.management.query(
      34:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 504, in management
      34:     self._management = Node.connect(self.addresses[0], timeout=TIMEOUT)
      34:   File "/home/travis/build/apache/qpid-dispatch/python/qpid_dispatch/management/client.py", line 128, in connect
      34:     return Node(Node.connection(url, router, timeout, ssl_domain, sasl,
      34:   File "/home/travis/build/apache/qpid-dispatch/python/qpid_dispatch/management/client.py", line 143, in __init__
      34:     self.client = SyncRequestResponse(connection, self.url.path)
      34: AttributeError: 'str' object has no attribute 'path'
      34: 
      34: ======================================================================
      34: ERROR: test_03_multicast (system_tests_two_routers.TwoRouterExtensionStateTest)
      34: Verify that disposition state set by the publisher is available to all
      34: ----------------------------------------------------------------------
      34: Traceback (most recent call last):
      34:   File "/home/travis/build/apache/qpid-dispatch/tests/system_tests_two_routers.py", line 2061, in test_03_multicast
      34:     self.RouterA.wait_address("multicast/thingy", subscribers=3)
      34:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 672, in wait_address
      34:     assert retry(check, **retry_kwargs)
      34:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 141, in retry
      34:     ret = function()
      34:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 662, in check
      34:     addrs = self.management.query(
      34:   File "/home/travis/build/apache/qpid-dispatch/tests/system_test.py", line 504, in management
      34:     self._management = Node.connect(self.addresses[0], timeout=TIMEOUT)
      34:   File "/home/travis/build/apache/qpid-dispatch/python/qpid_dispatch/management/client.py", line 128, in connect
      34:     return Node(Node.connection(url, router, timeout, ssl_domain, sasl,
      34:   File "/home/travis/build/apache/qpid-dispatch/python/qpid_dispatch/management/client.py", line 143, in __init__
      34:     self.client = SyncRequestResponse(connection, self.url.path)
      34: AttributeError: 'str' object has no attribute 'path'

      Attachments

        Issue Links

          Activity

            People

              astitcher Andrew Stitcher
              gmurthy Ganesh Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: