Robbie Gemmell created PROTON-2266:
--------------------------------------

             Summary: unexpected incoming-window in begin frame when running 
Dispatch on 32 bit system
                 Key: PROTON-2266
                 URL: https://issues.apache.org/jira/browse/PROTON-2266
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c
    Affects Versions: proton-c-0.31.0
            Reporter: Ganesh Murthy


system_tests_protocol_settings fails in Dispatch with the following error

 
{noformat}
======================================================================
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 {noformat}
 

The actual line in the log is
{noformat}
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) {noformat}
 

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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to