[asterisk-dev] [Code Review] 3412: testsuite: Add call setup tracking to masquerade supertest.

rmudgett reviewboard at asterisk.org
Thu Apr 3 15:42:04 CDT 2014



> On April 3, 2014, 1:19 p.m., Mark Michelson wrote:
> > I recommend running your changes through a PEP8 checker of some sort (such as pylint). I'll point out some of the violations I see, but a static checker will point out others.

I was wanting to do a PEP8 compliance patch separately to minimize the noise it will cause to this patch.


> On April 3, 2014, 1:19 p.m., Mark Michelson wrote:
> > /asterisk/trunk/tests/masquerade/run-test, line 230
> > <https://reviewboard.asterisk.org/r/3412/diff/1/?file=56979#file56979line230>
> >
> >     Just use
> >     
> >     logger.info(cli_command.output)


- rmudgett


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3412/#review11482
-----------------------------------------------------------


On April 1, 2014, 7:09 p.m., rmudgett wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3412/
> -----------------------------------------------------------
> 
> (Updated April 1, 2014, 7:09 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-22846
>     https://issues.asterisk.org/jira/browse/ASTERISK-22846
> 
> 
> Repository: testsuite
> 
> 
> Description
> -------
> 
> * Changed originated calls to use AMI originate instead of CLI originate so a custom call timeout could be specified.  The number of calls in the chain could take awhile to setup which the CLI originate might timeout before all calls in the chain were dialed.
> 
> * Call setup is now tracked to so the test can better distinguish when calls hangup if they were optimizations or timeout hangups.
> 
> * Added some helpful test failure diagnosis messages when the reactor is stopped.
> 
> * Added needed debug routines to get "core show locks" output into the test log.
> 
> NOTE:  This is an older test that was written before PEP8 was more rigidly enforced in review.  Another patch will be made to clear up PEP8 formatting compliance.
> 
> 
> Diffs
> -----
> 
>   /asterisk/trunk/tests/masquerade/run-test 4926 
>   /asterisk/trunk/tests/masquerade/configs/ast1/extensions.conf 4926 
> 
> Diff: https://reviewboard.asterisk.org/r/3412/diff/
> 
> 
> Testing
> -------
> 
> I've done many test runs looking for why the masquerade test fails and I have seen just about all the failure cases reported.
> 
> The core show locks code works when I uncomment and comment the right lines.  It showed that the problem was not a deadlock on Asterisk v12.
> 
> 
> Thanks,
> 
> rmudgett
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140403/e31564d8/attachment.html>


More information about the asterisk-dev mailing list