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

Scott Griepentrog reviewboard at asterisk.org
Tue Dec 10 13:41:25 CST 2013


-----------------------------------------------------------
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.


Changes
-------

Some how the depends on 3027 was lost.


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/20131210/5bb81c8b/attachment.html>


More information about the asterisk-dev mailing list