You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Charles E. Rolke (Jira)" <ji...@apache.org> on 2020/06/11 19:50:00 UTC

[jira] [Created] (DISPATCH-1689) [test] test framework can't handle qdrouter that is torn down too soon

Charles E. Rolke created DISPATCH-1689:
------------------------------------------

             Summary: [test] test framework can't handle qdrouter that is torn down too soon
                 Key: DISPATCH-1689
                 URL: https://issues.apache.org/jira/browse/DISPATCH-1689
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Tests
    Affects Versions: 1.12.0
            Reporter: Charles E. Rolke


Demonstration steps:
 # simple router is created with cls.tester.qdrouterd(..., wait=False)
 # skip cls.router.wait_ready()
 # run a test that executes quickly and creates no connection to the router

Then default teardown will show something like:
{noformat}
24: ERROR
24: 
24: ======================================================================
24: ERROR: tearDownClass (system_tests_policy.PolicyWarnings)
24: ----------------------------------------------------------------------
24: Traceback (most recent call last):
24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 723, in tearDownClass
24:     cls.tester.teardown()
24:   File "/home/chug/git/qpid-dispatch/tests/system_test.py", line 669, in teardown
24:     raise RuntimeError("Errors during teardown: \n\n%s" % "\n\n".join([str(e) for e in errors]))
24: RuntimeError: Errors during teardown: 
24: 
24: Process 65135 error: exit code -15, expected 0
24: qdrouterd -c PolicyWarnings.conf -I /home/chug/git/qpid-dispatch/python
24: /home/chug/git/qpid-dispatch/build/tests/system_test.dir/system_tests_policy/PolicyWarnings/setUpClass/PolicyWarnings-1.cmd
24: >>>>
24: <<<<
{noformat}
 The router did not crash and the test did nothing to cause a teardown issue. Conversely the test can do nothing to fix the issue outside of a sleep.



--
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