[ https://issues.apache.org/jira/browse/DISPATCH-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17265194#comment-17265194 ]
Ken Giusti commented on DISPATCH-1666: -------------------------------------- [https://docs.python.org/3/library/subprocess.html#subprocess.Popen.poll] Python allows us to check each router for termination state. The system test infrastructure needs to do this after each individual test and, if any routers are terminated, fail the entire test class. > Self test system detects and reports crashed qdrouterd instances > ---------------------------------------------------------------- > > Key: DISPATCH-1666 > URL: https://issues.apache.org/jira/browse/DISPATCH-1666 > Project: Qpid Dispatch > Issue Type: Improvement > Components: Tests > Affects Versions: 1.12.0 > Reporter: Charles E. Rolke > Assignee: Ken Giusti > Priority: Major > > When a *TestCase* creates a router through *cls.tester.qdrouterd* then the > test framework could detect that the router is no longer running normally and > fail the test with a "this router has exited" message. > When a router crashes there may be a series of test failure messages as in > DISPATCH-1660. Yes the tests failed and yes the test timed out. But the most > important thing that happened is that a router crashed with an assert. > With a notification that there is a crash then debug focus can switch > immediately to generating a usable core dump and getting a backtrace in the > environment where the test has failed. The responsibility of getting the dump > and backtrace might then be shared by CI administrators and not fall back to > the developer who wrote the self test. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org