You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (Jira)" <ji...@apache.org> on 2021/05/10 19:01:00 UTC

[jira] [Assigned] (DISPATCH-2065) AttributeError: 'DeleteConnectionWithReceiver' object has no attribute 'n_sent'

     [ https://issues.apache.org/jira/browse/DISPATCH-2065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ken Giusti reassigned DISPATCH-2065:
------------------------------------

    Assignee: Jiri Daněk

> AttributeError: 'DeleteConnectionWithReceiver' object has no attribute 'n_sent'
> -------------------------------------------------------------------------------
>
>                 Key: DISPATCH-2065
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2065
>             Project: Qpid Dispatch
>          Issue Type: Test
>          Components: Tests
>    Affects Versions: 1.15.0
>            Reporter: Jiri Daněk
>            Assignee: Jiri Daněk
>            Priority: Minor
>             Fix For: 1.17.0
>
>
> https://github.com/apache/qpid-dispatch/pull/1052/checks?check_run_id=2394806073#step:9:2728
> The stacktrace below is caused by a copy-paste error. The test object does not have the attributes that are accessed.
> Furthermore, the test output does not provide any useful diagnostics in its output to investigate why the timeout happened.
> {noformat}
> 34: ======================================================================
> 34: ERROR: test_21_delete_connection_with_receiver (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 377, in test_21_delete_connection_with_receiver
> 34:     test.run()
> 34:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_two_routers.py", line 496, 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 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 "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_test.py", line 1327, in on_timer_task
> 34:     self.parent.timeout()
> 34:   File "/home/runner/work/qpid-dispatch/qpid-dispatch/qpid-dispatch/tests/system_tests_two_routers.py", line 432, in timeout
> 34:     self.error = "Timeout Expired: sent=%d, received=%d" % (self.n_sent, self.n_received)
> 34: AttributeError: 'DeleteConnectionWithReceiver' object has no attribute 'n_sent'
> 34: 
> 34: ----------------------------------------------------------------------
> 34: Ran 32 tests in 124.158s
> 34: 
> 34: FAILED (errors=1)
> 34: 
> 18/37 Test #34: system_tests_two_routers ..........................***Failed  124.31 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