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

Router loses dispositions over receive link on qpid-interop-test 2-node test

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.1
    • None
    • None

    Description

      When running qpid_interop_test.jms_hdrs_props_test, failures occur owing to the improper disposition of messages on the central broker node which were sent to the receiver. Analysis of the AMQP traffic shows that the Receiver sent a disposition to Node 2, but Node 2 simply sent an AMQP detach without any disposition to the broker.

      It is probable that the other QIT tests show this behavior, but don't exhibit errors because no checks are made that the queues on the broker are empty once the test ends, and no two tests share the same queue. The jms_hdrs_props_test shares queues, allowing the improperly disposed messages to remain in the queue and cause problems for the next test.

      The test is configured as follows:

             9001         5672       5672         9002
      Sender --> Dispatch --> Broker --> Dispatch --> Receiver
                  Node 1                  Node 2
      

      The configuration files for the broker (in this case, qpid-cpp) and the two nodes are attached. Also attached are the wireshark capture file and a diagram showing the AMQP traffic on the four links in sequence (scan0001.pdf).

      Notes on diagram:

      1. If using the default Linux pdf viewer, the diagram can be rotated left in the view menu to get it to display in the correct orientation.
      2. The following abbreviations are used to display the AMQP performatives:
        H - header
        O - open
        B - begin
        AR - Attach as receiver
        AS - Attach as sender
        F - flow
        TN - transfer id=N
        DRN - disposition as receiver, settled=N
        DSN - disposition as sender, settled=N
        C - close
        X - detach
        E - end

      Bar is return direction traffic relative to traffic initiator.

      Attachments

        1. dispatch-2node.qpid-cpp.jms_hdrs_props.pcapng
          74 kB
          Kim van der Riet
        2. qdrouterd.node1.conf
          2 kB
          Kim van der Riet
        3. qdrouterd.node2.conf
          2 kB
          Kim van der Riet
        4. qpidd.conf
          1 kB
          Kim van der Riet
        5. scan0001.pdf
          728 kB
          Kim van der Riet

        Activity

          People

            gmurthy Ganesh Murthy
            kpvdr Kim van der Riet
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: