[
https://issues.apache.org/jira/browse/DISPATCH-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17380813#comment-17380813
]
ASF subversion and git services commented on DISPATCH-1772:
-----------------------------------------------------------
Commit 8c8829b88386e590e2fe14278fa2f2ece8e2a44c in qpid-dispatch's branch
refs/heads/main from Charles E. Rolke
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=8c8829b ]
DISPATCH-1772: Add logging to fallback dest self test
* This patch instruments the SwitchoverTest where most of the test
failures show up
* The on_message handler is broken up to explicitly handle receiving
from primary and fallback receivers in phases 0 and 1
* Add sender drain handling
This closes #1298
> Fallback destination test prints insufficient data when it fails
> ----------------------------------------------------------------
>
> Key: DISPATCH-1772
> URL: https://issues.apache.org/jira/browse/DISPATCH-1772
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Tests
> Affects Versions: 1.13.0
> Reporter: Charles E. Rolke
> Assignee: Charles E. Rolke
> Priority: Major
>
> Occasionally the Switchover_mix test fails in CI. When this happens then the
> self test prints only a single line describing the failure such as:
> {code:java}
> "63:
> ======================================================================",
> "63: FAIL: test_35_switchover_mix_1
> (system_tests_fallback_dest.RouterTest)",
> "63:
> ----------------------------------------------------------------------",
> "63: Traceback (most recent call last):",
> "63: File
> \"/opt/qpid-dispatch-src/tests/system_tests_fallback_dest.py\", line 353, in
> test_35_switchover_mix_1",
> "63: self.assertEqual(None, test.error)",
> "63: AssertionError: None != u'Timeout Expired - n_tx=0, n_rx=0,
> n_rel=1046, phase=1, local_rel=0'",
> "63: ",
> "63:
> ----------------------------------------------------------------------",
> {code}
> This error message says that (phase=1) all the messages were sent
> successfully before the switchover was initiated. Then 1046 messages were
> released by the locally connected router until the test timed out.
> Class system_test/Logger could be used to generate a much more detailed
> narrative describing how the client test event stream played out. Further,
> the Logger log marks the client events with microsecond resolution so that
> when possible the log can be correlated with qdrouterd logs.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]