Summary: | ASTERISK-25167: Testsuite: Resolve remaining Asterisk shutdown timeout's | ||
Reporter: | Corey Farrell (coreyfarrell) | Labels: | |
Date Opened: | 2015-06-16 15:10:39 | Date Closed: | |
Priority: | Minor | Regression? | |
Status: | Open/New | Components: | Tests/testsuite |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | A few tests remain where asterisk does not cleanly shutdown.
* tests/bridge/bridge_action/ * tests/channels/pjsip/transfers/attended_transfer/nominal/callee_local_direct_media/ * tests/channels/pjsip/transfers/attended_transfer/nominal/caller_local_direct_media/ * tests/fax/pjsip/directmedia_reinvite_t38/ * tests/manager/redirect/dual/bridge/same/ * tests/masquerade/ * tests/rest_api/external_interaction/attended_transfer/non_stasis_app_to_stasis_bridge/ * tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_bridge/different_stasis_app/ * tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_bridge/same_stasis_app/ This list is based on the latest Bamboo run of the testsuite with reference debugging enabled. For now it is easiest to assume that any test producing thousands of leaked objects probably had a timeout for shutdown. Once these tests are fixed we will be able to switch from {{kill -9}} to {{kill -6}} on timeout of Asterisk shutdown. This is needed to identify situations where shutdown actually freezes, so we can see exactly where it locked up. Help with any of these is appreciated. Please comment on this ticket if you are working on one or more tests. | ||
Comments: | By: Corey Farrell (coreyfarrell) 2015-06-16 15:27:48.669-0500 More information about {{tests/bridge/bridge_action/}} is on ASTERISK-24529, this one is a bug in Asterisk. By: Corey Farrell (coreyfarrell) 2015-06-16 15:54:56.756-0500 The 3 rest_api tests are marked as expected-result: False. Since they are failing due to a bug in Asterisk they should be skipped instead. I'm working on a patch for these tests now. By: Corey Farrell (coreyfarrell) 2015-06-17 11:34:49.535-0500 My change to skip the rest_api tests has been abandoned, [~kharwell] is working on a proper fix to make the tests actually pass. By: Kevin Harwell (kharwell) 2015-06-24 09:47:15.167-0500 I've fixed the following three rest_api tests as part of ASTERISK-24782 ([review 692|https://gerrit.asterisk.org/#/c/692/] && [review 693|https://gerrit.asterisk.org/#/c/693/]): {quote} tests/rest_api/external_interaction/attended_transfer/non_stasis_app_to_stasis_bridge/ tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_bridge/different_stasis_app/ tests/rest_api/external_interaction/attended_transfer/stasis_bridge_to_stasis_bridge/same_stasis_app/ {quote} These all now pass and asterisk cleanly shutdowns for each one. |