[ 
https://issues.apache.org/jira/browse/DISPATCH-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17441370#comment-17441370
 ] 

ASF subversion and git services commented on DISPATCH-2275:
-----------------------------------------------------------

Commit 3419ad4e2c6f5f290ae8f8cab4f1387f89d10bd8 in qpid-dispatch's branch 
refs/heads/main from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=3419ad4 ]

DISPATCH-2275: fixup system tests broken by proton log output changes

- skip test_04_scraper_tool (DISPATCH-2276)
- modify system_tests_protocol_settings to use proton api
- fix system_tests_link_routes to use proton codec

This closes #1430


> Dispatch test failures with the latest from proton main branch
> --------------------------------------------------------------
>
>                 Key: DISPATCH-2275
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2275
>             Project: Qpid Dispatch
>          Issue Type: Test
>          Components: Tests
>    Affects Versions: 1.17.1
>            Reporter: Ganesh Murthy
>            Assignee: Ken Giusti
>            Priority: Major
>
> There are 3 test errors
> {noformat}
> 47: Error text:  Process 2801860 error: exit code 1, expected 0
> 47: /usr/bin/python3.9 
> /home/gmurthy/opensource/qpid-dispatch/build/tests/scraper/scraper.py -f 
> /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_topology_disposition/TopologyDispositionTests/setUpClass/A.log
>  
> /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_topology_disposition/TopologyDispositionTests/setUpClass/B.log
>  
> /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_topology_disposition/TopologyDispositionTests/setUpClass/C.log
>  
> /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_topology_disposition/TopologyDispositionTests/setUpClass/D.log
> 47: 
> /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_topology_disposition/TopologyDispositionTests/test_04_scraper_tool/python3.9-1.cmd
> 47: >>>>
> 47: <<<<
> 47: FAIL
> 75: 2021-11-05 10:49:25.394391 TCP_TEST test_01_tcp_EB1_EA1 Client 
> test_01_tcp_EB1_EA1_0_1_1 exited normally
> 75: 2021-11-05 10:49:25.394507 TCP_TEST test_01_tcp_EB1_EA1 SUCCESS
> 75: 2021-11-05 10:49:25.394626 TCP_TEST test_01_tcp_basic_connectivity Stop 
> test_01_tcp_EB1_EA1 SUCCESS
> 75: 2021-11-05 10:49:25.394673 TCP_TEST test_01_tcp_basic_connectivity Start 
> test_01_tcp_EB1_EA2
> 75: 2021-11-05 10:49:25.394726 TCP_TEST test_01_tcp_EB1_EA2 Start 
> do_tcp_echo_n_routers
> 75: 2021-11-05 10:49:25.394774 TCP_TEST test_01_tcp_EB1_EA2 Running pair 0 
> EB1->EA2 size=1 count=1
> 47: 
> 47: ======================================================================
> 47: FAIL: test_04_scraper_tool 
> (system_tests_topology_disposition.TopologyDispositionTests)
> 47: ----------------------------------------------------------------------
> 47: Traceback (most recent call last):
> 47:   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_topology_disposition.py",
>  line 432, in test_04_scraper_tool
> 47:     self.assertEqual(str(None), error)
> 47: AssertionError: 'None' != 'Process 2801860 error: exit code 1, expec[842 
> chars]<<<<'
> 47: - None
> 47: + Process 2801860 error: exit code 1, expected 0
> 47: /usr/bin/python3.9 
> /home/gmurthy/opensource/qpid-dispatch/build/tests/scraper/scraper.py -f 
> /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_topology_disposition/TopologyDispositionTests/setUpClass/A.log
>  
> /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_topology_disposition/TopologyDispositionTests/setUpClass/B.log
>  
> /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_topology_disposition/TopologyDispositionTests/setUpClass/C.log
>  
> /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_topology_disposition/TopologyDispositionTests/setUpClass/D.log
> 47: 
> /home/gmurthy/opensource/qpid-dispatch/build/tests/system_test.dir/system_tests_topology_disposition/TopologyDispositionTests/test_04_scraper_tool/python3.9-1.cmd
> 47: >>>>
> 47: <<<< {noformat}
>  
> {noformat}
> 29: test_max_sessions_zero 
> (system_tests_protocol_settings.MaxSessionsZeroTest) ... FAIL
> 29: 
> 29: ======================================================================
> 29: FAIL: test_connector_default 
> (system_tests_protocol_settings.ConnectorSettingsDefaultTest)
> 29: ----------------------------------------------------------------------
> 29: Traceback (most recent call last):
> 29:   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_protocol_settings.py",
>  line 322, in test_connector_default
> 29:     self.assertIn(' max-frame-size=16384,', open_lines[0])
> 29: AssertionError: ' max-frame-size=16384,' not found in '2021-11-05 
> 10:50:24.161355 -0400 PROTOCOL (trace) [C3]:FRAME: 0 <- @open(16) 
> [container-id="QDR.B", hostname="127.0.0.1", max-frame-size=0x4000, 
> channel-max=0x7fff, idle-time-out=0xea60, outgoing-locales=null, 
> incoming-locales=null, offered-capabilities=@<symbol>[:ANONYMOUS-RELAY, 
> :"qd.streaming-links"], desired-capabilities=@<symbol>[:ANONYMOUS-RELAY, 
> :"qd.streaming-links"], properties={:product="qpid-dispatch-router", 
> :version="1.19.0-SNAPSHOT", :"qd.conn-id"=1}] 
> (/home/gmurthy/opensource/qpid-dispatch/src/server.c:111)'
> 29: 
> 29: ======================================================================
> 29: FAIL: test_connector_default 
> (system_tests_protocol_settings.ConnectorSettingsNondefaultTest)
> 29: ----------------------------------------------------------------------
> 29: Traceback (most recent call last):
> 29:   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_protocol_settings.py",
>  line 380, in test_connector_default
> 29:     self.assertIn(' max-frame-size=2048,', open_lines[0])
> 29: AssertionError: ' max-frame-size=2048,' not found in '2021-11-05 
> 10:50:26.645973 -0400 PROTOCOL (trace) [C3]:FRAME: 0 <- @open(16) 
> [container-id="QDR.B", hostname="127.0.0.1", max-frame-size=0x800, 
> channel-max=0x13, idle-time-out=0xea60, outgoing-locales=null, 
> incoming-locales=null, offered-capabilities=@<symbol>[:ANONYMOUS-RELAY, 
> :"qd.streaming-links"], desired-capabilities=@<symbol>[:ANONYMOUS-RELAY, 
> :"qd.streaming-links"], properties={:product="qpid-dispatch-router", 
> :version="1.19.0-SNAPSHOT", :"qd.conn-id"=1}] 
> (/home/gmurthy/opensource/qpid-dispatch/src/server.c:111)'
> 29: 
> 29: ======================================================================
> 29: FAIL: test_max_frame_default 
> (system_tests_protocol_settings.MaxFrameDefaultTest)
> 29: ----------------------------------------------------------------------
> 29: Traceback (most recent call last):
> 29:   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_protocol_settings.py",
>  line 197, in test_max_frame_default
> 29:     self.assertIn(" max-frame-size=16384", open_lines[0])
> 29: AssertionError: ' max-frame-size=16384' not found in '2021-11-05 
> 10:50:29.105743 -0400 PROTOCOL (trace) [C2]:FRAME: 0 -> @open(16) 
> [container-id="QDR", hostname=null, max-frame-size=0x4000, 
> channel-max=0x7fff, idle-time-out=0xea60, outgoing-locales=null, 
> incoming-locales=null, offered-capabilities=@<symbol>[:ANONYMOUS-RELAY, 
> :"qd.streaming-links"], desired-capabilities=@<symbol>[:ANONYMOUS-RELAY, 
> :"qd.streaming-links"], properties={:product="qpid-dispatch-router", 
> :version="1.19.0-SNAPSHOT", :"qd.conn-id"=2}] 
> (/home/gmurthy/opensource/qpid-dispatch/src/server.c:111)'
> 29: 
> 29: ======================================================================
> 29: FAIL: test_max_frame_max_session_frames__max_sessions_default 
> (system_tests_protocol_settings.MaxFrameMaxSessionFramesTest)
> 29: ----------------------------------------------------------------------
> 29: Traceback (most recent call last):
> 29:   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_protocol_settings.py",
>  line 52, in test_max_frame_max_session_frames__max_sessions_default
> 29:     self.assertIn(' max-frame-size=2048,', open_lines[0])
> 29: AssertionError: ' max-frame-size=2048,' not found in '2021-11-05 
> 10:50:29.288057 -0400 PROTOCOL (trace) [C2]:FRAME: 0 -> @open(16) 
> [container-id="QDR", hostname=null, max-frame-size=0x800, channel-max=0x7fff, 
> idle-time-out=0xea60, outgoing-locales=null, incoming-locales=null, 
> offered-capabilities=@<symbol>[:ANONYMOUS-RELAY, :"qd.streaming-links"], 
> desired-capabilities=@<symbol>[:ANONYMOUS-RELAY, :"qd.streaming-links"], 
> properties={:product="qpid-dispatch-router", :version="1.19.0-SNAPSHOT", 
> :"qd.conn-id"=2}] (/home/gmurthy/opensource/qpid-dispatch/src/server.c:111)'
> 29: 
> 29: ======================================================================
> 29: FAIL: test_max_frame_max_session_zero 
> (system_tests_protocol_settings.MaxFrameMaxSessionFramesZeroTest)
> 29: ----------------------------------------------------------------------
> 29: Traceback (most recent call last):
> 29:   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_protocol_settings.py",
>  line 266, in test_max_frame_max_session_zero
> 29:     self.assertIn(' max-frame-size=512,', open_lines[0])
> 29: AssertionError: ' max-frame-size=512,' not found in '2021-11-05 
> 10:50:29.464640 -0400 PROTOCOL (trace) [C2]:FRAME: 0 -> @open(16) 
> [container-id="QDR", hostname=null, max-frame-size=0x200, channel-max=0x7fff, 
> idle-time-out=0xea60, outgoing-locales=null, incoming-locales=null, 
> offered-capabilities=@<symbol>[:ANONYMOUS-RELAY, :"qd.streaming-links"], 
> desired-capabilities=@<symbol>[:ANONYMOUS-RELAY, :"qd.streaming-links"], 
> properties={:product="qpid-dispatch-router", :version="1.19.0-SNAPSHOT", 
> :"qd.conn-id"=2}] (/home/gmurthy/opensource/qpid-dispatch/src/server.c:111)'
> 29: 
> 29: ======================================================================
> 29: FAIL: test_max_frame_small 
> (system_tests_protocol_settings.MaxFrameSmallTest)
> 29: ----------------------------------------------------------------------
> 29: Traceback (most recent call last):
> 29:   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_protocol_settings.py",
>  line 169, in test_max_frame_small
> 29:     self.assertIn(" max-frame-size=512", open_lines[0])
> 29: AssertionError: ' max-frame-size=512' not found in '2021-11-05 
> 10:50:29.666977 -0400 PROTOCOL (trace) [C2]:FRAME: 0 -> @open(16) 
> [container-id="QDR", hostname=null, max-frame-size=0x200, channel-max=0x7fff, 
> idle-time-out=0xea60, outgoing-locales=null, incoming-locales=null, 
> offered-capabilities=@<symbol>[:ANONYMOUS-RELAY, :"qd.streaming-links"], 
> desired-capabilities=@<symbol>[:ANONYMOUS-RELAY, :"qd.streaming-links"], 
> properties={:product="qpid-dispatch-router", :version="1.19.0-SNAPSHOT", 
> :"qd.conn-id"=2}] (/home/gmurthy/opensource/qpid-dispatch/src/server.c:111)'
> 29: 
> 29: ======================================================================
> 29: FAIL: test_max_session_frames_default 
> (system_tests_protocol_settings.MaxSessionFramesDefaultTest)
> 29: ----------------------------------------------------------------------
> 29: Traceback (most recent call last):
> 29:   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_protocol_settings.py",
>  line 225, in test_max_session_frames_default
> 29:     self.assertIn(" max-frame-size=16384", open_lines[0])
> 29: AssertionError: ' max-frame-size=16384' not found in '2021-11-05 
> 10:50:29.836335 -0400 PROTOCOL (trace) [C2]:FRAME: 0 -> @open(16) 
> [container-id="QDR", hostname=null, max-frame-size=0x4000, 
> channel-max=0x7fff, idle-time-out=0xea60, outgoing-locales=null, 
> incoming-locales=null, offered-capabilities=@<symbol>[:ANONYMOUS-RELAY, 
> :"qd.streaming-links"], desired-capabilities=@<symbol>[:ANONYMOUS-RELAY, 
> :"qd.streaming-links"], properties={:product="qpid-dispatch-router", 
> :version="1.19.0-SNAPSHOT", :"qd.conn-id"=2}] 
> (/home/gmurthy/opensource/qpid-dispatch/src/server.c:111)'
> 29: 
> 29: ======================================================================
> 29: FAIL: test_max_sessions_large 
> (system_tests_protocol_settings.MaxSessionsLargeTest)
> 29: ----------------------------------------------------------------------
> 29: Traceback (most recent call last):
> 29:   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_protocol_settings.py",
>  line 141, in test_max_sessions_large
> 29:     self.assertIn(" channel-max=32767", open_lines[0])
> 29: AssertionError: ' channel-max=32767' not found in '2021-11-05 
> 10:50:30.023670 -0400 PROTOCOL (trace) [C2]:FRAME: 0 -> @open(16) 
> [container-id="QDR", hostname=null, max-frame-size=0x4000, 
> channel-max=0x7fff, idle-time-out=0xea60, outgoing-locales=null, 
> incoming-locales=null, offered-capabilities=@<symbol>[:ANONYMOUS-RELAY, 
> :"qd.streaming-links"], desired-capabilities=@<symbol>[:ANONYMOUS-RELAY, 
> :"qd.streaming-links"], properties={:product="qpid-dispatch-router", 
> :version="1.19.0-SNAPSHOT", :"qd.conn-id"=2}] 
> (/home/gmurthy/opensource/qpid-dispatch/src/server.c:111)'
> 29: 
> 29: ======================================================================
> 29: FAIL: test_max_sessions (system_tests_protocol_settings.MaxSessionsTest)
> 29: ----------------------------------------------------------------------
> 29: Traceback (most recent call last):
> 29:   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_protocol_settings.py",
>  line 85, in test_max_sessions
> 29:     self.assertIn(" channel-max=9", open_lines[0])
> 29: AssertionError: ' channel-max=9' not found in '2021-11-05 10:50:30.211050 
> -0400 PROTOCOL (trace) [C2]:FRAME: 0 -> @open(16) [container-id="QDR", 
> hostname=null, max-frame-size=0x4000, channel-max=0x9, idle-time-out=0xea60, 
> outgoing-locales=null, incoming-locales=null, 
> offered-capabilities=@<symbol>[:ANONYMOUS-RELAY, :"qd.streaming-links"], 
> desired-capabilities=@<symbol>[:ANONYMOUS-RELAY, :"qd.streaming-links"], 
> properties={:product="qpid-dispatch-router", :version="1.19.0-SNAPSHOT", 
> :"qd.conn-id"=2}] (/home/gmurthy/opensource/qpid-dispatch/src/server.c:111)'
> 29: 
> 29: ======================================================================
> 29: FAIL: test_max_sessions_zero 
> (system_tests_protocol_settings.MaxSessionsZeroTest)
> 29: ----------------------------------------------------------------------
> 29: Traceback (most recent call last):
> 29:   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_protocol_settings.py",
>  line 113, in test_max_sessions_zero
> 29:     self.assertIn(" channel-max=32767", open_lines[0])
> 29: AssertionError: ' channel-max=32767' not found in '2021-11-05 
> 10:50:30.396279 -0400 PROTOCOL (trace) [C2]:FRAME: 0 -> @open(16) 
> [container-id="QDR", hostname=null, max-frame-size=0x4000, 
> channel-max=0x7fff, idle-time-out=0xea60, outgoing-locales=null, 
> incoming-locales=null, offered-capabilities=@<symbol>[:ANONYMOUS-RELAY, 
> :"qd.streaming-links"], desired-capabilities=@<symbol>[:ANONYMOUS-RELAY, 
> :"qd.streaming-links"], properties={:product="qpid-dispatch-router", 
> :version="1.19.0-SNAPSHOT", :"qd.conn-id"=2}] 
> (/home/gmurthy/opensource/qpid-dispatch/src/server.c:111)'
> 29: 
> 29: ----------------------------------------------------------------------
> 29: Ran 10 tests in 6.497s
> 29: 
> 29: FAILED (failures=10)
> 42/78 Test #29: system_tests_protocol_settings ....................***Failed  
>   6.68 sec {noformat}
>  
> {noformat}
> 15: ======================================================================
> 15: FAIL: test_DISPATCH_1988 (system_tests_link_routes.EmptyTransferTest)
> 15: ----------------------------------------------------------------------
> 15: Traceback (most recent call last):
> 15:   File 
> "/home/gmurthy/opensource/qpid-dispatch/tests/system_tests_link_routes.py", 
> line 1861, in test_DISPATCH_1988
> 15:     self.assertIn("x00S%E", repr(data))
> 15: AssertionError: 'x00S%E' not found in 
> 'b\'\\x00\\x00\\x00"\\x02\\x00\\x00\\x00\\x00S\\x13\\xc0\\x15\\tR\\x02p\\x7f\\xff\\xff\\xffCp\\x7f\\xff\\xff\\xffCR\\x02R\\t@B\\x00\\x00\\x00
>  
> \\x02\\x00\\x00\\x00\\x00S\\x15\\xc0\\x13\\x05AR\\x02@A\\x00S%\\xd0\\x00\\x00\\x00\\x05\\x00\\x00\\x00\\x01@\''
> 15: 
> 15: ----------------------------------------------------------------------
> 15: Ran 40 tests in 43.930s
> 15: 
> 15: FAILED (failures=1)
>  5/78 Test #15: system_tests_link_routes ..........................***Failed  
>  44.11 sec {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to