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

[proton-c] unexpected incoming-window in begin frame when running Dispatch test in 32 bit system

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • proton-c-0.31.0
    • None
    • proton-c
    • None

    Description

      system_tests_protocol_settings fails in Dispatch with the following error

       

      ======================================================================
      FAIL: test_connector_default (system_tests_protocol_settings.ConnectorSettingsDefaultTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el6-32-master/build/BUILD/qpid-dispatch-1.13.0/tests/system_tests_protocol_settings.py", line 343, in test_connector_default
          self.assertTrue(" incoming-window=2147483647," in begin_lines[0])
      AssertionError: False is not True
      
      ======================================================================
      FAIL: test_max_frame_max_session_zero (system_tests_protocol_settings.MaxFrameMaxSessionFramesZeroTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el6-32-master/build/BUILD/qpid-dispatch-1.13.0/tests/system_tests_protocol_settings.py", line 287, in test_max_frame_max_session_zero
          self.assertTrue(" incoming-window=2147483647," in begin_lines[0])
      AssertionError: False is not True
      
      ======================================================================
      FAIL: test_max_session_frames_default (system_tests_protocol_settings.MaxSessionFramesDefaultTest)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/jenkins/workspace/rh-qpid-dispatch-dist-el6-32-master/build/BUILD/qpid-dispatch-1.13.0/tests/system_tests_protocol_settings.py", line 249, in test_max_session_frames_default
          self.assertTrue(" incoming-window=2147483647," in begin_lines[0])
      AssertionError: False is not True 

       

      The actual line in the log is

      2020-07-30 12:47:53.727396 -0400 PROTOCOL (trace) [3]:FRAME: 0 <- 
      @begin(17) [next-outgoing-id=0, incoming-window=131071, 
      outgoing-window=2147483647] (/root/project/build/BUILD/qpid-dispatch-1.13.0/src/server.c:112) 

       

      The test is expecting to see the incoming-window to be 2147483647 but instead gets 131071.

      This could be a possible issue with the way the incoming-window is logged but really not sure.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gmurthy Ganesh Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: