The command
rtpengine-ctl -ip "${rtpengine_ctl_ip}" list interfaces
is used to check the number of rtp ports still open on the system
Change-Id: Id0e48aaf1f354cecf153db8102a5b5635e073287
* We want to be able to execute the tests with more than one
kamailio.proxy.process. So, don't set any value and added
the option to change it
Change-Id: I6fcf1af13b90341e85c784b2570565d52afb11f0
Otherwise kamailio-config-test reset file perms from 0600 to 0755.
From https://perldoc.perl.org/File/Copy.html :
> You may use the syntax use File::Copy "cp" to
> get at the cp alias for this function. The syntax is exactly the same.
> The behavior is nearly the same as well: as of version 2.15,
> cp will preserve the source file's permission bits like the
> shell utility cp(1) would do, while copy uses the default
> permissions for the target file
> (which may depend on the process' umask, file ownership, inherited ACLs, etc.).
> If an error occurs in setting permissions, cp will return 0,
> regardless of whether the file was successfully copied.
Change-Id: I7b227cb554699d68f809d38c82344d8f1afeed99
* Original option '-c' in run_tests.sh has been modified
in '-C'
* Add new option '-c' in run_tests.sh to execute a query on MySQL
after each test to extract the generated CDRs.
* Add new option '-c' in get_results.sh to compare the extracted
CDRs with the referece provided in the scenario (cdr_test.yml.tt2).
* Modified option 'mediator.interval' from 10 to 1 during the test
execution in order to speedup the cdrs generation.
* Updated README file with the latest changes.
* Added basic cdr_test for all the scenarios.
Change-Id: Ifffd686003fa5e3a1ac4ba76c502011d7fdb21bb
Test script tries to configure the paramenter to off before the test
starts. Since the parameter was moved in TT#27466, the parameter was
actualy not changed.
Change-Id: Ic5affbecc3304d8732c9edfc6243d951a8d7174b
These functions do internal error checks and will die on their own.
They return undef whenever the YAML file is empty, so we should not
abort on those.
Change-Id: Ifd61b98d3a95ee9b15ff240fbd5db0c1029c98e3
This module is more compliant and it is faster than the pure perl
implementation. The latter is also deprecated in favor of the former
(see man YAML for more details).
Change-Id: I15240ac294476c0d9cc30e36e622adc7e07db136
Having it here affects further ngcp-ngcpcfg-check Jenkins test which reports:
> 2016-05-06 02:23:46: Error: Invalid schema detected for /etc/ngcp-config/config.yml
> /etc/ngcp-config/config.yml#0: INVALID
> - [/kamailio/lb/children] Unexpected key 'children'
It happen only in case if kamailio-config-tests Jenkins job failed
and it didn't cleanup/restore original config.
Change-Id: I48eef343c3a1813af6e18b0d0b426d539dc2950b
- fix check.py comparation when int -> string
- disable tcpdump by default ( new option -K to enable it)
- fix graph_flow for json ( new option --json )
Change-Id: I25f49ef6303b4e2e28c34fefd7860c744e6c3250
- bin/config_debug.pl: we need to deactivate dns_cache on lb
- bin/scenario.pl: generates scenario hosts file + adds info on scenario.csv
- bin/check.sh: uses the info from scenario.csv and hosts files