You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2021/05/22 09:42:00 UTC

[jira] [Commented] (DISPATCH-2024) system_tests_two_routers delivery state AssertionError: MODIFIED != RELEASED

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

Jiri Daněk commented on DISPATCH-2024:
--------------------------------------

Happened again, https://github.com/apache/qpid-dispatch/runs/2645358808?check_suite_focus=true#step:25:1048

{noformat}
35: ______________ TwoRouterTest.test_10a_propagated_disposition_data ______________
35: 
35: self = <system_tests_two_routers.TwoRouterTest testMethod=test_10a_propagated_disposition_data>
35: 
35:     def test_10a_propagated_disposition_data(self):
35:         test = PropagatedDispositionData(self, self.routers[0].addresses[0], self.routers[1].addresses[0])
35: >       test.run()
35: 
35: /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_two_routers.py:213: 
35: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
35: /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_two_routers.py:1652: in run
35:     Container(self).run()
35: /usr/local/lib64/python3.9/site-packages/proton/_reactor.py:180: in run
35:     while self.process():
35: /usr/local/lib64/python3.9/site-packages/proton/_reactor.py:243: in process
35:     event.dispatch(handler)
35: /usr/local/lib64/python3.9/site-packages/proton/_events.py:165: in dispatch
35:     self.dispatch(h, type)
35: /usr/local/lib64/python3.9/site-packages/proton/_events.py:165: in dispatch
35:     self.dispatch(h, type)
35: /usr/local/lib64/python3.9/site-packages/proton/_events.py:162: in dispatch
35:     _dispatch(handler, type.method, self)
35: /usr/local/lib64/python3.9/site-packages/proton/_events.py:123: in _dispatch
35:     m(*args)
35: /usr/local/lib64/python3.9/site-packages/proton/_handlers.py:71: in on_delivery
35:     self.on_released(event)
35: /usr/local/lib64/python3.9/site-packages/proton/_handlers.py:122: in on_released
35:     _dispatch(self.delegate, 'on_released', event)
35: /usr/local/lib64/python3.9/site-packages/proton/_events.py:123: in _dispatch
35:     m(*args)
35: /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_two_routers.py:1629: in on_released
35:     self.test.assertEqual(Delivery.MODIFIED, event.delivery.remote_state)
35: E   AssertionError: MODIFIED != RELEASED
35: =============================== warnings summary ===============================
35: ../../../../../../home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py:1317
35:   /home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py:1317: PytestCollectionWarning: cannot collect test class 'TestTimeout' because it has a __init__ constructor (from: )
35:     class TestTimeout(object):
35: 
35: -- Docs: https://docs.pytest.org/en/stable/warnings.html
35: - generated xml file: /__w/qpid-dispatch/qpid-dispatch/qpid-dispatch/build/tests/junitxmls/system_tests_two_routers.xml -
35: =========================== short test summary info ============================
35: FAILED ::TwoRouterTest::test_10a_propagated_disposition_data - AssertionError...
35: ============== 1 failed, 32 passed, 1 warning in 83.64s (0:01:23) ==============
17/36 Test #35: system_tests_two_routers ................***Failed   83.94 sec
{noformat}

> system_tests_two_routers delivery state AssertionError: MODIFIED != RELEASED
> ----------------------------------------------------------------------------
>
>                 Key: DISPATCH-2024
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2024
>             Project: Qpid Dispatch
>          Issue Type: Test
>    Affects Versions: 1.16.0
>            Reporter: Jiri Daněk
>            Priority: Major
>             Fix For: 1.16.0
>
>
> This is using the libuv proactor on Linux
> https://github.com/jiridanek/qpid-dispatch/runs/2208416852#step:9:1035
> {noformat}
> 34: test_10a_propagated_disposition_data (system_tests_two_routers.TwoRouterTest) ... FAIL
> 34: test_11_three_ack (system_tests_two_routers.TwoRouterTest) ... ok
> 34: test_12_excess_deliveries_released (system_tests_two_routers.TwoRouterTest)
> 34: Message-route a series of deliveries where the receiver provides credit for a subset and ... ok
> 34: test_15_attach_on_inter_router (system_tests_two_routers.TwoRouterTest) ... ok
> 34: test_17_address_wildcard (system_tests_two_routers.TwoRouterTest) ... ok
> 34: test_17_large_streaming_test (system_tests_two_routers.TwoRouterTest) ... ok
> 34: test_18_single_char_dest_test (system_tests_two_routers.TwoRouterTest) ... ok
> 34: test_19_delete_inter_router_connection (system_tests_two_routers.TwoRouterTest)
> 34: This test tries to delete an inter-router connection but is ... ok
> 34: test_20_delete_connection (system_tests_two_routers.TwoRouterTest)
> 34: This test creates a blocking connection and tries to delete that connection. ... ok
> 34: test_21_delete_connection_with_receiver (system_tests_two_routers.TwoRouterTest) ... ok
> 34: test_30_huge_address (system_tests_two_routers.TwoRouterTest) ... ok
> 34: 
> 34: Router QDR.B debug dump file:
> 34: >>>>
> 34: alloc.c: Items of type 'qd_iterator_t' remain allocated at shutdown: 28 (SUPPRESSED)
> 34: alloc.c: Items of type 'qd_timer_t' remain allocated at shutdown: 1 (SUPPRESSED)
> 34: alloc.c: Items of type 'qd_bitmask_t' remain allocated at shutdown: 3 (SUPPRESSED)
> 34: alloc.c: Items of type 'qdr_action_t' remain allocated at shutdown: 1 (SUPPRESSED)
> 34: alloc.c: Items of type 'qd_buffer_t' remain allocated at shutdown: 11 (SUPPRESSED)
> 34: alloc.c: Items of type 'qd_parsed_field_t' remain allocated at shutdown: 11 (SUPPRESSED)
> 34: alloc.c: Items of type 'qd_connector_t' remain allocated at shutdown: 1 (SUPPRESSED)
> 34: alloc.c: Items of type 'qd_message_t' remain allocated at shutdown: 5 (SUPPRESSED)
> 34: alloc.c: Items of type 'qd_message_content_t' remain allocated at shutdown: 3 (SUPPRESSED)
> 34: alloc.c: Items of type 'qdr_delivery_t' remain allocated at shutdown: 5 (SUPPRESSED)
> 34: alloc.c: Items of type 'qd_link_ref_t' remain allocated at shutdown: 4 (SUPPRESSED)
> 34: 
> 34: <<<<
> 34: 
> 34: ======================================================================
> 34: FAIL: test_10a_propagated_disposition_data (system_tests_two_routers.TwoRouterTest)
> 34: ----------------------------------------------------------------------
> 34: Traceback (most recent call last):
> 34:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_two_routers.py", line 211, in test_10a_propagated_disposition_data
> 34:     test.run()
> 34:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_two_routers.py", line 1640, in run
> 34:     Container(self).run()
> 34:   File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/proton/_reactor.py", line 182, in run
> 34:     while self.process():
> 34:   File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/proton/_reactor.py", line 240, in process
> 34:     event.dispatch(handler)
> 34:   File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/proton/_events.py", line 165, in dispatch
> 34:     self.dispatch(h, type)
> 34:   File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/proton/_events.py", line 165, in dispatch
> 34:     self.dispatch(h, type)
> 34:   File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/proton/_events.py", line 162, in dispatch
> 34:     _dispatch(handler, type.method, self)
> 34:   File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/proton/_events.py", line 123, in _dispatch
> 34:     m(*args)
> 34:   File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/proton/_handlers.py", line 71, in on_delivery
> 34:     self.on_released(event)
> 34:   File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/proton/_handlers.py", line 122, in on_released
> 34:     _dispatch(self.delegate, 'on_released', event)
> 34:   File "/opt/hostedtoolcache/Python/3.7.10/x64/lib/python3.7/site-packages/proton/_events.py", line 123, in _dispatch
> 34:     m(*args)
> 34:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_two_routers.py", line 1617, in on_released
> 34:     self.test.assertEqual(Delivery.MODIFIED, event.delivery.remote_state)
> 34: AssertionError: MODIFIED != RELEASED
> 34: 
> 34: ----------------------------------------------------------------------
> 34: Ran 32 tests in 68.678s
> 34: 
> 34: FAILED (failures=1)
> 34: 
> 16/35 Test #34: system_tests_two_routers ..........................***Failed   68.83 sec
> {noformat}



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

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