Jiri Daněk created DISPATCH-2065:
------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]