[asterisk-bugs] [JIRA] (ASTERISK-23379) [patch] Testsuite: Timeout shutting down asterisk should result in failed test

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Feb 26 17:26:04 CST 2014


Rusty Newton created ASTERISK-23379:
---------------------------------------

             Summary: [patch] Testsuite: Timeout shutting down asterisk should result in failed test
                 Key: ASTERISK-23379
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23379
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Tests/testsuite
    Affects Versions: SVN
            Reporter: Corey Farrell


asterisk.stop() first attempts to shutdown asterisk gracefully.  If this does not complete after 10 seconds signal 9 is used.  I believe this should be signal 6 - ABRT and core dump.

* Backtrace of all threads may give clues to why graceful shutdown is not successful.
* Any test that fails to hangup channels needs to be fixed.
* If the test did hangup all channels, then we have a reference leak.

It would also be helpful to increase the graceful shutdown timeout from 10 to 20 seconds.  While testing testsuite ABRT I found a few tests that just needed a few more seconds to shutdown gracefully, mostly when more than 1 instance of asterisk was in play.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list