[Home]

Summary:ASTERISK-20323: Sporadic timing dependent test failures in one-step-parking due to not waiting for Asterisk to be fully booted
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2012-08-27 08:20:51Date Closed:2012-09-11 10:41:54
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Tests/testsuite
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The one-step-parking test occasionally fails due to not waiting for Asterisk to be fully booted.  Messages logs from ast1/ast2 indicate this:

ast1:
{noformat}
[Aug 23 05:27:26] VERBOSE[29309][C-00000000] chan_iax2.c:     -- Call accepted by 127.0.0.1 (format alaw)
[Aug 23 05:27:26] VERBOSE[29309][C-00000000] chan_iax2.c:     -- Format for call is (alaw)
[Aug 23 05:27:26] VERBOSE[29352][C-00000000] chan_iax2.c:     -- Hungup 'IAX2/127.0.0.1:4571-1886'
{noformat}

ast2:
{noformat}
[Aug 23 05:27:26] VERBOSE[29322] chan_iax2.c:     -- Accepting UNAUTHENTICATED call from 127.0.0.1:
      > requested format = ulaw,
      > requested prefs = (ulaw|alaw),
      > actual format = alaw,
      > host prefs = (alaw|ulaw),
      > priority = mine
[Aug 23 05:27:26] NOTICE[29322] chan_iax2.c: iax_pvt_callid_new created and set [C-00000000]
[Aug 23 05:27:26] WARNING[29323][C-00000000] pbx.c: PBX requires Asterisk to be fully booted
[Aug 23 05:27:26] WARNING[29323][C-00000000] chan_iax2.c: Unable to start PBX on IAX2/userA-1772
[Aug 23 05:27:26] VERBOSE[29323][C-00000000] chan_iax2.c:     -- Hungup 'IAX2/userA-1772'
{noformat}

This test needs to be migrated to use the existing test infrastructure.

http://bamboo.asterisk.org/browse/TESTING-ASTERISKTRUNK-AST18CENTOS64-606/
Comments:By: Richard Mudgett (rmudgett) 2012-08-27 10:37:57.664-0500

The /tests/one-step-parking/ test could be deleted.
The /tests/callparking/ also tests one-step parking.

By: Kinsey Moore (kmoore) 2012-09-11 10:41:54.370-0500

No need to fix the test since its functionality is duplicated elsewhere in better form.  Removed.