Qpid
  1. Qpid
  2. QPID-3599

Python session tests fail against the Java Broker due to unexpected redelivered status

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.12
    • Fix Version/s: 0.15
    • Component/s: Java Broker
    • Labels:
      None

      Description

      Python session tests fail against the Java Broker due to unexpected redelivered status

      qpid.tests.messaging.endpoints.SessionTests.testCommitAck
      qpid.tests.messaging.endpoints.SessionTests.testRelease
      qpid.tests.messaging.endpoints.SessionTests.testRollback

        Activity

        Andrew MacBean created issue -
        Keith Wall made changes -
        Field Original Value New Value
        Assignee Keith Wall [ k-wall ]
        Hide
        Keith Wall added a comment - - edited

        Stack trace is:

        qpid.tests.messaging.endpoints.SessionTests.testRollback ............................................................................................. fail
        Error during test:  Traceback (most recent call last):
            File "./qpid-python-test", line 340, in run
              phase()
            File "/home//src/qpid/qpid/python/qpid/tests/messaging/endpoints.py", line 570, in testRollback
              self.txTest(False)
            File "/home//src/qpid/qpid/python/qpid/tests/messaging/endpoints.py", line 562, in txTest
              self.drain(rcv, expected=messages, redelivered=True)
            File "/home//src/qpid/qpid/python/qpid/tests/messaging/__init__.py", line 89, in drain
              self.assertEchos(expected, messages, redelivered)
            File "/home//src/qpid/qpid/python/qpid/tests/messaging/__init__.py", line 132, in assertEchos
              self.assertEcho(m, e, redelivered)
            File "/home//src/qpid/qpid/python/qpid/tests/messaging/__init__.py", line 121, in assertEcho
              assert echo.redelivered, \
          AssertionError: expected Message('txTest[0, 3465e7f1-def6-0e43-81cb-f23143cfe28f]') to be redelivered: Message(properties={'x-amqp-0-10.routing-key': u'test-tx-queue'}, content='txTest[0, 3465e7f1-def6-0e43-81cb-f23143cfe28f]')
        Totals: 1 tests, 0 passed, 0 skipped, 0 ignored, 1 failed
        
        Show
        Keith Wall added a comment - - edited Stack trace is: qpid.tests.messaging.endpoints.SessionTests.testRollback ............................................................................................. fail Error during test: Traceback (most recent call last): File "./qpid-python-test" , line 340, in run phase() File "/home //src/qpid/qpid/python/qpid/tests/messaging/endpoints.py" , line 570, in testRollback self.txTest(False) File "/home //src/qpid/qpid/python/qpid/tests/messaging/endpoints.py" , line 562, in txTest self.drain(rcv, expected=messages, redelivered=True) File "/home //src/qpid/qpid/python/qpid/tests/messaging/__init__.py" , line 89, in drain self.assertEchos(expected, messages, redelivered) File "/home //src/qpid/qpid/python/qpid/tests/messaging/__init__.py" , line 132, in assertEchos self.assertEcho(m, e, redelivered) File "/home //src/qpid/qpid/python/qpid/tests/messaging/__init__.py" , line 121, in assertEcho assert echo.redelivered, \ AssertionError: expected Message('txTest[0, 3465e7f1-def6-0e43-81cb-f23143cfe28f]') to be redelivered: Message(properties={'x-amqp-0-10.routing-key': u'test-tx-queue'}, content='txTest[0, 3465e7f1-def6-0e43-81cb-f23143cfe28f]') Totals: 1 tests, 0 passed, 0 skipped, 0 ignored, 1 failed
        Keith Wall made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Keith Wall made changes -
        Component/s Python Test Suite [ 12312291 ]
        Keith Wall made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Keith Wall made changes -
        Assignee Keith Wall [ k-wall ] Robbie Gemmell [ gemmellr ]
        Hide
        Robbie Gemmell added a comment -

        Looks good to me

        Show
        Robbie Gemmell added a comment - Looks good to me
        Robbie Gemmell made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Rob Godfrey made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        112d 20h 52m 1 Keith Wall 01/Mar/12 08:45
        In Progress In Progress Reviewable Reviewable
        10m 19s 1 Keith Wall 01/Mar/12 08:55
        Reviewable Reviewable Resolved Resolved
        4d 7h 42m 1 Robbie Gemmell 05/Mar/12 16:37
        Resolved Resolved Closed Closed
        1073d 3h 28m 1 Rob Godfrey 11/Feb/15 20:06

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Andrew MacBean
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development