Andrew Pogrebennyk
d5e7322eac
TT#23001 remove cfgt data after getting test results
...
Change-Id: I27917474ffa6364e4c0bc3ae6f67085e06ddb1fb
9 years ago
Victor Seva
ad3ae5c500
TT#16800 support memdbg csv report
...
Change-Id: Ib18bdbb0620280887e1affb9c9d431d604d8ed3b
9 years ago
Guillem Jover
d127610c17
TT#17650 Do not consider undef result from YAML::XS functions an error
...
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
9 years ago
Michael Prokop
6ab579610c
TT#17650 Fix experimental features in bin/ulog_parser.pl
...
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
9 years ago
Guillem Jover
0045d1e96b
TT#17650 Fix YAML::XS import
...
Change-Id: I9d2f9c0cdabbbdcc621ea7f1e2bdbe0ef36494b2
9 years ago
Guillem Jover
31f441ad1a
TT#17650 Switch to use YAML::XS instead of YAML
...
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
9 years ago
Victor Seva
a38c6237f5
TT#12860 bin/check.sh: fix non pbx scenarios
...
* sca module is not always loaded
Change-Id: I05bb92ed2484ba9b91ede55ee58a036e67ace6d4
9 years ago
Victor Seva
58a89e4a61
TT#17550 create the links for media181
...
Change-Id: I22f4297b214ee6c7dd45c3669021d869bfb68087
9 years ago
Victor Seva
ef58271793
TT#17550 sipp doesn't support subdirectories at exec play_pcap_audio action
...
* generate a link for every scenario on the fly if doesn't exist
* BASE_DIR has to be an absolute path
Change-Id: Ib50c641f127966b672646b8579d3a8b92bb76b55
9 years ago
Victor Seva
846a70b9d2
TT#12860 scenarios_pbx: add incoming_shared_line
...
* invite: update flow with REPLY_SCA_UPDATE
* invite_shared_line: update flow with REPLY_SCA_UPDATE
- fix misrouted ACKs
* bin/check.sh: release sca appearances from previous tests
- keep sca clean before/after any test
Change-Id: I384f68bfc563573ebc121515c3686291b6174b4f
9 years ago
Victor Seva
8c9c4b4a39
TT#14850 kamailio.(lb|proxy).cfgt config option
...
* renamed from debug in order to avoid confusions with debug_level
Change-Id: Ie0992e94af369cde6cc5a0d80eee86f099af27a0
9 years ago
Victor Seva
0db6e54bea
TT#10833 bin/check.sh: use netstat (-a) when checking for used ports
...
* for mports RTP filter UDP only (-u)
Change-Id: Ie660beb490369cf9096a2118b268a2cb77a13b5c
9 years ago
Victor Seva
fc2c1907be
TT#10702 pid_watcher.py: wait for ngcp-witnessd instead of colelctd
...
* checktools.sip_check_enable is controlled by ngcp-witnessd now
Change-Id: I8d2a5e5d38656d52c41d26c44108bc143edcd665
9 years ago
Victor Seva
9f60a7bbd5
TT#8901 soundsets: add sounds file to package
...
* check soundfile path
Change-Id: I0698bf029e527b89cc561f69c079a8e46f6bd0ed
10 years ago
Victor Seva
1e66618bed
TT#8901 support soundsets
...
* add invite_allowip_soundset as example
Change-Id: I08d3918b91ea4baa64f7bddfffee18b2374647a3
10 years ago
Victor Seva
8e263c9633
TT#7338 scenario.yml: support q value for REGISTER
...
Change-Id: I4733748c19d7820e71da3943452748702a8a2db9
10 years ago
Victor Seva
4e7cf79eac
TT#4760 move scenario_ids.yml to log just after run_sipp
...
* fix ./get_results.sh -T invocation
Change-Id: I45f00d98612bd5f16428d01395cb09fbc93bbce5
10 years ago
Victor Seva
6d10bef848
TT#4110 scenarios_pbx: is_pbx_pilot order is important
...
* create pbx_pilot fist
Change-Id: I14e717c2bb58dddf1854cc296f716ebb7b64fba9
10 years ago
Victor Seva
3640257da4
TT#4938 bin/restart_log.sh: fix delete previous logs
...
Change-Id: Id5d6cacd8f193fd6d932c882e0bcccc10615a2b9
10 years ago
Victor Seva
97c350026e
TT#5412 test: add yaml format test for XXXX_test.yml.tt2 files
...
* migrate to Docker
* tests/test_check.py: use junitxml
* bin/generate_tests.sh: support DEST_DIR
will use DEST_DIR as base dir destination
* rename scenarios_disabled -> disabled
* fix \t at XXXX_test.yml.tt2 templates
Change-Id: I845588ee4692f157f370a000abab75a05e701839
10 years ago
Victor Seva
47eb36c4f5
MT#19053 bin/config_debug.pl: use GROUP if defined as default value
...
Change-Id: I668ac12171bba1b8ee38a2844ecaba70f10bb0ae
10 years ago
Victor Seva
a255bedde2
TT#5105 bin/check.sh: restore previous behavior for responders
...
* don't reuse ports for responders
Change-Id: Ie32dfa3cc9a60849bec84fbb8cb804bb53df4db2
10 years ago
Victor Seva
08e18b604e
TT#5105 bin/check.sh: restore previous behavior with static ports for sender
...
Change-Id: Ibe45f3ff8b2ca2eaaa092bf966b728a35cbad57b
10 years ago
Victor Seva
550a9d3a9a
TT#5105 bin/check.sh: check media port+2, sipp uses media port +2
...
* fix sipp transport arguments
* change port range of media from 6003 to 46003 for responders
* change port range of media from 7002 to 45003 for senders
* change port from 50602 to 51602 for senders
Change-Id: Ia76daeb9098e05d67c6fb95ebe945cdb59c8a493
10 years ago
Victor Seva
193c3fd793
TT#4938 bin/restart_log.sh touch expected logs after remove them
...
Change-Id: I4ef394570704f56990d4561883e1a7aab705a604
10 years ago
Victor Seva
8e0a598282
TT#4877 add ncoslnpcarrier support
...
ncos.yml:
---
ncos_black:
data:
mode: blacklist
local_ac: 0
description: test ncos level
reseller_id: 1
patterns:
- pattern: "^439991"
description: block LNP call
ncos_white:
data:
mode: whitelist
local_ac: 0
description: test ncos level
reseller_id: 1
patterns:
- pattern: "^439991"
description: allow LNP call
lnp.yml
---
lnp_test_00:
data:
name: lnp_test_00
prefix: AA
numbers:
- number: '439992'
routing_number: '4318881001'
ncos:
- level: ncos_black
reseller_id: 1
- level: ncos_white
reseller_id: 1
Change-Id: I7c95df88b93feb902943e05d90165204982dfc86
10 years ago
Victor Seva
a0af0be1fc
TT#4760 scenario_ids.yml
...
* support dynamic checks with defined ids
* create_subscribers.pl generates scenario/scenario_ids.yml
* create_peers.pl will add peers info to it
* generate_test.pl will produce the final test_0XXX.tt2 with the
proper values
* we put the scenario_ids.yml in log if debug is needed
Example of scenarios_ids.yml:
---
customer_test:
id: 7
peer_00_host0:
id: 95
spce_test:
testuser1003:
uuid: 15dd6b9a-1b83-4d74-b630-be05d3fada77
Example of checks:
- return|ROUTE_SET_CALLEE_DIALOG:
$avp(lua_dlg_profile): [
"totalaccount:[% customer_test.id %]",
"totaluser:[% spce_test.testuser1003.uuid %]",
"total", "account:[% customer_test.id %]",
"user:[% spce_test.testuser1003.uuid %]"
]
Change-Id: I3d81bcae0865d9861b4f721618f2bc21f2db14b8
10 years ago
Victor Seva
28ac3bd131
TT#4110 add sems-pbx logs
...
Change-Id: I561293c4ec95aec64d66e0e92b38101b23220757
10 years ago
Victor Seva
1cf249f560
TT#4556 bin/create_lnp.pl: fix removal logic
...
panel API doesn't allow to remove lnpcarrier with lnpnumbers assigned
Change-Id: I4b67a1f06c3e156089db52b77d0b406d02f28401
10 years ago
Victor Seva
e3934987d1
TT#4475 pid_watcher.py: catch SIGTERM and log that the process was aborted
...
Change-Id: Ic97859a8b6d83665125e376ce80573bfcd4a65d1
10 years ago
Victor Seva
86e0e44faf
TT#4110 bin/create_subscribers.pl: add pbx_group support
...
* use sort for deterministic output for loops with keys
Example
> subscribers:
> spce.test:
> group00:
> customer: 'customerpbx.test'
> password: testuser
> cc: 43
> ac: 1
> sn: 1000
> is_pbx_pilot: 1
> is_pbx_group: 1
> pbx_extension: 1000
> group01:
> customer: 'customerpbx.test'
> password: testuser
> cc: 43
> ac: 1
> sn: 1001
> is_pbx_pilot: 0
> is_pbx_group: 1
> pbx_extension: 1001
> testuser1003:
> customer: 'customerpbx.test'
> password: testuser
> cc: 43
> ac: 1
> sn: 1003
> is_pbx_pilot: 0
> pbx_groups:
> - 'group00'
> pbx_extension: 1003
> testuser1002:
> customer: 'customerpbx.test'
> password: testuser
> cc: 43
> ac: 1
> sn: 1002
> is_pbx_pilot: 0
> pbx_groups:
> - 'group00'
> - 'group01'
> pbx_extension: 1002
> alias_numbers:
> - cc: 43
> ac: 96
> sn: 5751941
Change-Id: I3eabb55b30bff3dec4b03f53d1d00a7398e23881
10 years ago
Victor Seva
407517a48a
TT#4110 Initial support for PBX scenarios
...
* run_test.sh: add hacks for pbx
* bin/pid_watcher.py: add --pbx parameter to control
what services we need to check for.
* invite: simple call to an extenston from another PBX user
same customer. WARNING!! do not use customer.test, that
one is SIP only
* fix tap-test:
- source/tests/test_check.py:34:1: E302 expected 2 blank lines, found 1
- source/tests/test_check.py:96:54: E202 whitespace before '}'
* wrap-and-sort -sat
Change-Id: Iabb5139e70fd372088933fe9302b996148d38705
10 years ago
Victor Seva
874667ff39
TT#4110 add support for pbx
...
scenario.yml:
- is_pbx_pilot
- pbx_extension
Change-Id: I57d57d936162c56dbf3649656a0654b0d0c654ca
10 years ago
Andreas Granig
85f345ded5
TT#2766 Add inbound peering rules to tests
...
Change-Id: I1e8882e7f366c90ca775db7aea092251a66c386e
10 years ago
Alexander Lutay
d5b9c7211f
MT#19571 Remove {kamailio}{lb}{children} option from config_debug.pl as it doesn't exist
...
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
10 years ago
Victor Seva
7267cba42a
MT#19053 bin/update_peer_host.pl: fix error message
...
> Use of uninitialized value in concatenation (.) or string at ./bin/update_peer_host.pl line 76.
Change-Id: I121658d110d1deaa19e0e6407d5a45aa586b13ea
10 years ago
Victor Seva
81fc94a4ec
MT#19053 fix new flow with ROUTE_PSTN_SELECT_PEER
...
* add reload workaround when deleting peers too
Change-Id: I8f517a04c4ecd5f9eff728f16a8366b1469f409c
10 years ago
Victor Seva
1d9026e0f9
MT#17333 add lnp scenarios group
...
* add suport for lnp.yml
* update README
Change-Id: I6460a9a52f8d4645fb9411d0570fd3383b8e6918
10 years ago
Victor Seva
a06a24b703
MT#19053 fix bin/config_debug group option
...
* we need to define the option as string
Change-Id: Id5a93477d110179a97f2785603183fd1aee07f71
10 years ago
Victor Seva
d6bd38fd16
MT#19053 support groups of scenarios
...
* bin/config_debug.pl:
- use YAML instead of YAML::Tiny
- support config.yml per group
Change-Id: I226cb1ef776fa147e0b4d85a5e4f9987427a51e2
10 years ago
Victor Seva
036064d8ad
MT#13337 lock_ported scenario
...
* bin/create_subscribers.pl: remove lock from here is a preference!!
Change-Id: I47aedefa6aa7c459d68600e776c94b2f384f4ecb
10 years ago
Victor Seva
f998b1645d
MT#7571 disable invite_speeddial scenario
...
* bin/set_preferences.pl
- use rewrite_rule_set with rewrite rule set name not id
Change-Id: Ia87f835b78abab3cfb04f535cccb9cd65d38ed9c
10 years ago
Victor Seva
8fcba2e079
MT#7571 provisioning via REST API step two
...
* API: fix get_*_preferences URL
* bin/set_preferences.pl:
- don't use Hash::Merge and implement our merge()
- fix rewriteruleset preference fieldname
* migrate provisioning:
- ncos
- speeddial
- callforward
- peering
* enable peer scenarios
- MT#17185 support rfc3325
* add 'lock' property support for subscriber
Change-Id: I15e9afb744f6f4700dd863bfe226944ea4c3ecf7
10 years ago
Victor Seva
9a7814994b
MT#7571 bin/create_rewrite_rules.pl: use REST API
...
Change-Id: Icbefc9291c8c5719485b34c68fb5256517795de2
11 years ago
Alexander Lutay
1c77b3df68
MT#7571 config_debug.pl: Fix of the fix 78ba96f: s/ngcp-panel/ngcp_panel/
...
Change-Id: I7a7496fc9a97869aa08d6364b28970333558a9ac
11 years ago
Victor Seva
78ba96fe23
MT#7571 config_debug.pl: disable sslverify for restapi. fix 7d3ec378bd
...
Change-Id: Ia7fb8f37a9070344a1408de61c25b458924fb35d
11 years ago
Victor Seva
7d3ec378bd
MT#7571 config_debug.pl: disable sslverify for restapi
...
Change-Id: I7705a3ebd72b27fba4c8eafccd0897ea94ed3e31
11 years ago
Victor Seva
129397e6fc
MT#7571 use NGCP REST API instead of SOAP lib
...
- prefs.yml -> prefs.json
solving true/1 problem
- disable non working scenarios:
* incoming_foreign_dom
* incoming_peer
* invite_concurrent_max_out
* invite_concurrent_max_out_per_account
* invite_ignore_allowip
* invite_peerout
* invite_peerout_rewrite
* invite_peerout_rewrite_pv_regex
* register_allowip
* register_ignore_allowip
missing API parts:
- peers settings
- add/modify/delete peers
* bin/create_peers.pl
* bin/update_peer_host.pl
TODO:
- bin/create_ncos.pl
- bin/create_rewrite_rules.pl
- bin/create_subscribers_rewrite_rules.pl
- bin/create_subscribers_speeddial_rules.pl
Change-Id: I6d47e24669f9da22b5b3ac4fb410c50d2c9dbf53
11 years ago
Victor Seva
fc685d65b0
MT#16225 [jessie] update collectd pid filename
...
Change-Id: Id938d170d4900e42d273d21f9ecd85965efee0e8
11 years ago
Victor Seva
df0a6e1843
MT#16237 bin/scenario.pl: fix warning
...
> Mon Dec 14 09:59:29 CET 2015 - Generating csv/reg.xml files
> Possible precedence issue with control flow operator at ./bin/scenario.pl line 72.
Change-Id: I73968a15ea81de15cbb38c48678fefce98c28da9
11 years ago