Debian package 'python-xmlrunner' is based on old
unittest-xml-reporting (1.5.0-1) and generated report *.xml file is not
recognized by jenkins jUnit plugin:
[xUnit] [ERROR] - The result file
'/var/lib/jenkins/workspace/kamailio-config-tests-unit-test-docker/results/test_check.xml'
for the metric 'JUnit' is not valid. The result file has been skipped.
So let's install the newest version from pip in docker the same like in Makefile
Change-Id: I7f4272d04bdec5ed1112bb25e751a1c4df95359b
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
Added option "-r" to run_tests and get_results script to activate
retransmission checks. If option is activated:
* at the end of the each test, json files will be checked and,
if a retransmission is found, the files will be renamed and
renumbered. This will help to detect most of the retransmission cases.
* In case a retransmission is not detected in the previous step,
if a scenario fails, it will be compared with the next json file.
This is an additional help to detect retransmissions.
* In case the transmission is detected and properly healed, no error
code is returned. Otherwise the script will exit 1 as before.
Change-Id: I5eaa7bdb920be869099440c295e0bfd75c2bf107
The script move the kamailio json files from /tmp/cfgtest folder
to the log folder as stated in the README file. This is executed
at the end of each single test.
To be sure that the /tmp/cfgtest is in place, it creates the folder
before start the test and it deletes the folder afterwards.
Change-Id: I54426b4415898165c1c2ba8154d0761a869c85d4
This reverts commit 2d5434e723.
There are cases in which ngcp-panel is restarted and cases in which it
is not restarted, so this change is not valid.
Change-Id: If322af4ef0c54fb7ba437c42f846b794a55554c5
Recent versions of pep8 check for this, while we are modifying
system path to load functions from check.py. Since we need at
least the os and sys modules for modifying system path and being
able to run `from check import ...` let's ignore this problem for
now.
Change-Id: Ia9f3ea2c67c3a720896f1c92031544ac7e688025
- Bump debhelper compatibility version 10.
- Switch from Priority extra to optional.
- Update debian/.gitignore file.
Change-Id: I5a85036f0ceb3034732314d7678d971655683fbb
* addresses an issue with sems where it could not
play 12k rate original no_sh.wav
* sox no_sh.wav --type wav --bits 16 - rate 8k
Change-Id: Ic911d75b08fbea30545081d94945f3fd1823608f
* File::Slurp read_file() is changed to use a buffer.
That enables it to correctly read binary files.
Change-Id: I9d81016913ff3ae6f709ee23560090054c2adff4
Otherwise we cannot build kamailio-config-tests against Debian Stretch:
> Can't locate List/MoreUtils.pm in @INC (you may need to install the List::MoreUtils module)
> ... at bin/create_subscribers.pl line 28.
Change-Id: I609f91913a99f0591623f8e35b471c48c98ef456
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
Fixes:
| given is experimental at bin/ulog_parser.pl line 151.
| when is experimental at bin/ulog_parser.pl line 153.
| when is experimental at bin/ulog_parser.pl line 154.
| push on reference is experimental at bin/ulog_parser.pl line 175.
| push on reference is experimental at bin/ulog_parser.pl line 215.
Change-Id: I2ac8dfa23c37e375e1d85f01dba666c5329ec3b4
sipwise-kamailio-config-tests-lnp failed:
> sipp: The following events occured:
> 2017-06-22 12:01:31.792835 1498125691.792835: SIPp now prefers looking for
> pcap files next to the scenario. scenarios_lnp/media181sec.pcap couldn't be
> found next to the scenario, falling back to using the current working directory.
Change-Id: I1a06b830a77c433e6ce0f22a338191a7f16d6dc8
devscripts is necessary for checkbashisms.
python is necessary for pythoncheck.
libconfig-tiny-perl, libhash-merge-perl, libyaml-libyaml-perl
are necessary for bin/create_lnp.pl.
liblist-allutils-perl is necessary for bin/create_subscribers.pl.
libtemplate-perl is necessary for bin/generate_test.pl.
libjson-perl + libgraphviz-perl are necessary for bin/graph_flow.pl
libtext-csv-perl is necessary for bin/scenario.pl
While at it update the runtime dependencies accordingly which
were identified with the syntaxchecks.
Change-Id: Ia60b215c5d97918457ea1b417477f204818b5eeb
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
* generate a link for every scenario on the fly if doesn't exist
* BASE_DIR has to be an absolute path
Change-Id: Ib50c641f127966b672646b8579d3a8b92bb76b55