[ https://issues.apache.org/jira/browse/DISPATCH-1666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17299711#comment-17299711 ]
Jiri Daněk commented on DISPATCH-1666: -------------------------------------- Python could be listening for _SIGCHLD_ events. Unix sends the signal every time a child process (=router) exits. This could cause a test to fail, so that the cause of failure is obvious and timely. > 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