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

Corey Farrell (JIRA) noreply at issues.asterisk.org
Tue Nov 4 09:18:29 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-23369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Corey Farrell closed ASTERISK-23369.
------------------------------------

    Resolution: Workaround Available

ASTERISK-24379 effectively resolves this issue.  Any instance of Asterisk that doesn't shutdown gracefully will leak references, if REF_DEBUG is enabled the test will fail due to leaks.

> [patch] Testsuite: Timeout shutting down asterisk should result in failed test
> ------------------------------------------------------------------------------
>
>                 Key: ASTERISK-23369
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23369
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Tests/testsuite
>    Affects Versions: SVN
>            Reporter: Corey Farrell
>         Attachments: testsuite-asterisk-signal-abrt.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list