[asterisk-dev] [Code Review] 3056: testsuite: dialplan stress test to find memory allocation problems (valgrind)

opticron reviewboard at asterisk.org
Thu Dec 19 09:23:33 CST 2013


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


There are several red blobs in generate-dialplan.sh.


/asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/test-config.yaml
<https://reviewboard.asterisk.org/r/3056/#comment19927>

    exercises



/asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/test-config.yaml
<https://reviewboard.asterisk.org/r/3056/#comment19928>

    Is this expected to vary among test runs?


- opticron


On Dec. 10, 2013, 1:41 p.m., Scott Griepentrog wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3056/
> -----------------------------------------------------------
> 
> (Updated Dec. 10, 2013, 1:41 p.m.)
> 
> 
> Review request for Asterisk Developers and Matt Jordan.
> 
> 
> Bugs: AST-1179 and AST-1246
>     https://issues.asterisk.org/jira/browse/AST-1179
>     https://issues.asterisk.org/jira/browse/AST-1246
> 
> 
> Repository: testsuite
> 
> 
> Description
> -------
> 
> Stress test for dialplan reloading looking for race conditions and bad memory references.  Requires valgrind testsuite addition under review separately.
> 
> Used generate-dialplan.sh bash script to create the test loops and list of tests for extensions.conf to load.
> 
> Creates a minimum of 50 separate dialplan threads processing test loops, and reloads the dialplan constantly.  After 4 minutes, exits gracefully for valgrind report.
> 
> 
> Diffs
> -----
> 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/tests.yaml 4350 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/test-config.yaml PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/generate-dialplan.sh PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/testspawn.conf PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/testlist.conf PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/test9.conf PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/test8.conf PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/test7.conf PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/test6.conf PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/test5.conf PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/test4.conf PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/test3.conf PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/test2.conf PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/test1.conf PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/extensions.conf PRE-CREATION 
>   /asterisk/team/sgriepentrog/testsuite-valgrind/tests/pbx/dialplan_stress/configs/ast1/asterisk.options.conf.inc PRE-CREATION 
> 
> Diff: https://reviewboard.asterisk.org/r/3056/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Scott Griepentrog
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131219/26f853d3/attachment-0001.html>


More information about the asterisk-dev mailing list