Victor Seva
9cfffe6dc6
TT#85300 create_peers.pl: use try/catch when creating rules
...
* search for the rules seems not to work fine
* was unable to create more than one rule per group
Change-Id: Ia0ef731968c7c1da6ab9874e2a5dbab604c42418
6 years ago
Victor Seva
4c3826e755
Revert "TT#87502 Update pid_watcher to check sems-b2b instead of ngcp-sems and sems-pbx"
...
This reverts commit 2cfbd49bba .
Change-Id: Ia86f79720ba8c87b1ce823f4505eac31758ac29a
6 years ago
Victor Seva
e123b0bad0
Revert "TT#84599 scenarios_pbx: add more test to avoid nightly errors"
...
This reverts commit 76e4ef2367 .
Change-Id: Iefb89461f4a775f2a82d4851e0d64c5762074454
6 years ago
Victor Seva
7af0ea1e88
TT#81700 run_tests.sh: -k option to capture pcap per scenario
...
* bench.sh -K and -k options for capture
Change-Id: Id2d0213e2c53f43b927ca9912a71471563466ac7
6 years ago
Victor Seva
a5b78d45b7
TT#84555 disable failing scenarios from scenarios_pbx
...
* Not stable yet
Change-Id: Idaec69073927f37d6ffffb7fe9edf29b3a72a5aa
6 years ago
Marco Capetta
2cfbd49bba
TT#87502 Update pid_watcher to check sems-b2b instead of ngcp-sems and sems-pbx
...
Change-Id: Iad0616116332a726cf92932ed4639b348da48352
6 years ago
Victor Seva
0b8d1183fa
TT#81700 bin/generate_test_tt2.pl: fix some common subst
...
* expires in Contact
* split logic between specific changes for a header and
common subst for any header, so both can be executed
* don't stop checking for network occurrences on first
match, line can have more than one occurrence
Change-Id: I682f39f93d14fd081241a9ed2674cddb25150248
6 years ago
Sipwise Jenkins Builder
af3fef74ef
Release new version 9.0.0.0+0~mr9.0.0.0
6 years ago
Victor Seva
1f1b200b9c
TT#81700 obey profile if selected via parameters
...
* only try to autodetect if parameter is empty
Change-Id: I6297788dbb9faf58eb976b3bd50eb876765c8e1b
6 years ago
Victor Seva
1de175486b
TT#84335 scenarios_pbx: invite_callforward fix cdr check
...
* was a copy from scenarios/invite_callforward
Change-Id: Ibae8679ccea084ca174547ffe768c3115050b81f
6 years ago
Marco Capetta
143c843abc
TT#72451 Add missing ROUTE_SET_HIH_CF route
...
Change-Id: I18372f67d1541893e3869fa17daed199f6e84604
6 years ago
Marco Capetta
6929437333
TT#72451 Add new ROUTE_SET_HIH_CF route
...
Additionally added HIH check of both the subscribers on invite_redirect
scenario.
Change-Id: I9274f7a4c79644e4bc793603f6cf466d2b817cb9
6 years ago
Victor Seva
74db7b5934
TT#81700 get_results.sh: fix error on tap summary
...
scenarios that are PRO only should not be in the SCEN list.
Introduced at 25f2e51c05
Change-Id: I0aa13dada4b8ddc73f799a1132a6c515a715aee1
6 years ago
Sipwise Jenkins Builder
23bff716bb
Release new version 8.6.0.0+0~mr8.6.0.0
6 years ago
Victor Seva
5091fc349b
TT#81700 run_tests.sh: copy rtpengine log if check fails
...
* bin/config_debug.pl: enable debug log for rtpengine
Change-Id: Ibaf4e0c2b856d82a3e82f3f2479cdef68a0a366c
6 years ago
Victor Seva
b902548b7d
TT#81700 run_tests.sh: show rtp sessions if open ports
...
* get more info when check fails
Change-Id: I2b5cc3189f44f005a640803026728ee90b30d09f
6 years ago
Victor Seva
ca4ee692f0
TT#81700 bin/check.sh: use result of the check not ERR_FLAG
...
* ERR_FLAG is common for the scenario
Change-Id: Id4b236abf0f30d2439ba4ac3d3cf4b93eed41c8f
6 years ago
Victor Seva
5fe990c22e
TT#81700 generate_test_tt2.sh: helper
...
Helper script to generate test_yml.tt2 files from scenario
$ ./bin/generate_test_tt2.sh -x scenarios_pbx incoming_shared_line 16 17
Change-Id: Iaf43dbc04ddcd9c8f6d7b913939a7cd3649e31d8
6 years ago
Victor Seva
2f1f4df4a0
TT#81700 bin/generate_test_tt2.pl: fix some common subst
...
Change-Id: I3f5453fc1efca5b15e76232027a69ff29457fd6e
6 years ago
Victor Seva
7b064d6506
TT#81700 run_tests.sh: print moved file just if size are different
...
* log is too verbose and it's getting too big
Change-Id: Ifcacb11c383ee075d9132040024976811626b7cf
6 years ago
Victor Seva
d3434ab764
TT#81700 bin/check.sh: support checking up to two steps of messages
...
* if X fails, check X+1, X-1 and X+2 and X-2
Change-Id: I124783610ca8603de72fc8e6716e3ad31df55d09
6 years ago
Victor Seva
76e4ef2367
TT#84599 scenarios_pbx: add more test to avoid nightly errors
...
* trying to reorganize the flow since nightly checks always fails
Change-Id: I58f6ea100e2a2aabd7871a72ecf6e3e26ac3af63
6 years ago
Victor Seva
25f2e51c05
TT#81700 get_results.sh: add summary at the end of the report
...
With all the retransmission checks, now is quite difficult to see
what actually failed
Change-Id: I194d8b5f7af772ea42a78fa99ec64a72b14434e3
6 years ago
Victor Seva
7d7625d62d
TT#81700 generate_test_tt2.pl: add common subst port 5080 -> 508[08]
...
Change-Id: Ia622e1887b8676e230ccecab04018f5a35b31d72
6 years ago
Marco Capetta
a2b08d2006
TT#76782 Adaptation after changes to ROUTE_CODES_ANNOUNCEMENTS_MAPPING
...
The check of the preferences has been moved inside the route, thus
it is executed even if the preferences are not set.
Change-Id: Ibc03a41b469f096f69587eeed099178437d1f88e
6 years ago
Victor Seva
740408f3fc
TT#81700 fix discover of scenarios
...
* check for dirs with a scenario.yml file
* remove some shellcheck warnings:
SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
Change-Id: I88b48fcc9668c3be26755472d6001f630a341fca
6 years ago
Victor Seva
1aa65df64c
TT#81700 check.sh: produce flow.diff and scenario.sip files on error
...
Change-Id: Ia101b6988da718adf0ad93be020bfa0891266d70
6 years ago
Victor Seva
003a92e5fb
TT#81700 autodetect environment
...
* use ngcp-type when available
Change-Id: I545aae11fab6975837e5f7a45528ec5268bdbd2d
6 years ago
Victor Seva
8e912dd3b2
TT#81700 generate_test_tt2.pl: add -n option
...
* subst sipp ports for sender/receivers defined at scenarios.yml file
* fix some common substitutions
* subst ids from scenarios_ids.yml
* check.py fix some style issues
Change-Id: I245c76ff540851fa7c1248995476411f092b857c
6 years ago
Victor Seva
2df340ce5f
TT#81700 bin/get_results.sh: obey PROFILE environment var
...
Change-Id: I113f8402b7166477af3b14dfdd32fa45299e6500
6 years ago
Victor Seva
5872e2130c
TT#68855 support different transport on perm registrations
...
* fix delete perm registration: subscriber needs to exists
move delete before deletion of domain
* bench.sh: obey PROFILE environment variable
* bin/config_debug.pl: set tcp for one of the extra_sockets
Change-Id: I4650058f22ffcac68fa44913e1b03ecf090c2f28
6 years ago
Victor Seva
8e19a04311
TT#84335 scenarios_pbx: add invite_callforward
...
Change-Id: Ic2bfc977863eb19842f40260b354fb6fdb0e4c54
6 years ago
Victor Seva
b459ef3f42
TT#81700 generate_test_tt2.pl: add -F option
...
* this will filter common headers
* fix Content-Length substitution
* run_tests.sh: PROFILE environment as default
Change-Id: Ib0f42f3be6a378e8bfd5e32d7982687fc9869e4e
6 years ago
Victor Seva
d17f8e04b8
TT#68855 clean_registrations.pl: clean bannedusers too
...
to be sure no other test is messing with actual test run
Change-Id: I2413e97f3e100146e63e5a3e7e8c28359107a735
6 years ago
Victor Seva
12207c1bfa
TT#68855 clean_registrations.pl, don't try to clean mysql if redis is on
...
Change-Id: I3cbf822671c8689428bb3862c9bb103938d7bac4
6 years ago
Victor Seva
83f869a58f
TT#68855 invite_perm_reg
...
Change-Id: I12d7f89091d80c1179501ab257704cdcba91f0aa
6 years ago
Victor Seva
3a3de63604
TT#81700 support change kamailio module level of debug
...
Now we can define different module level of debug per scenario.
So we can have more info without changing the general config.yml
Change-Id: I64e5467eedf2c41827ab8de85835b0b6c09486eb
6 years ago
Victor Seva
d71c223eb2
TT#68855 clean_registrations.pl
...
tool that reads info directly from scenario.yml
* check.sh: clean some shellcheck warnings
* bench.sh: fix group option
Change-Id: If736c42729e8fd32e964a5c9db7e47b289e916c8
6 years ago
Victor Seva
74a743320f
TT#68855 check.sh: fix errors calling delete_location()
...
* now it will be called *before* scenario is built
* introduced at b006dee9f8
TODO: move this external tool that can read scenario.yml info
directly
Change-Id: Ic85ceb2900ea137c96b7d3354d59439fa72a8a96
6 years ago
Victor Seva
b006dee9f8
TT#68855 add support for permanent registrations
...
Change-Id: I7852a92cb000a42ea4c32dcb8af4edf0ade14ad8
6 years ago
Marco Capetta
3fe284ace5
TT#73250 Add queue and group_serial PBX scenarios to k-c-t
...
- invite_queue
- invite_group_serial
Some other tests has been prepared but not yet completed
- invite_group_parallel
- invite_xfer_blind_caller
- invite_xfer_blind_callee
Change-Id: I77f80495e85ba8691d4dc22c7807b945fac3325e
6 years ago
Victor Seva
be14641e8b
TT#81700 bench.sh: fix support selecting the GROUP scenario
...
* pass group to get_results.sh too
Change-Id: I7559cbd1e41de39afd33526b4093bb92e793da5f
6 years ago
Victor Seva
36349d44d9
TT#81700 generate_test_tt2.pl: add P-LB-Uptime to common subst headers
...
* remove invite_conference_update media file, this has to be a link
* ngcpcfg apply executed outside /etc/ngcp-config seems to generate
.ngcpcfg_perms file in $pwd so adding a workaround to avoid it
* bench.sh: support selecting the GROUP scenario
* show_flow_diff.pl: improve the diff output adding the values of
the flows not only the names
Change-Id: I40db8433595168ce8d3ef061f77f02a1616ed980
6 years ago
Victor Seva
6f6e07eba7
TT#42858 add support for checking retransmissions
...
Add 'retrans: true' to the test.yml file and name
it '_test_retransmission.yml.tt2' instead of '_test.yml.tt2'
Change-Id: I2e83f773ed8a1ba537aedb61410db79fecbecf16
6 years ago
Victor Seva
a60bd79300
TT#81700 generate_test_tt2.pl: replace common headers
...
* From/To tag
* CSeq number
* WWW-Authenticate nonce
* Server Sipwise major version
* Content-Length >0
Change-Id: Ife7f3f6f791eb6b18b6538c99a9e612d9cb0cfa8
6 years ago
Sipwise Jenkins Builder
af82164bad
Release new version 8.5.0.0+0~mr8.5.0.0
6 years ago
Marco Capetta
8e27778326
TT#78301 Fix typo in sems port evaluation introduced in commit 4880fed1
...
Change-Id: Iadfaec7e93a558bab94ad08af51456e376714ec1
6 years ago
Marco Capetta
4880fed136
TT#78301 Adapt tests to sems unification
...
All ports 5080 are changed to 508[0|8] and all port 5085
are changed to 508[5|8].
This to allow to use the test als whtn b2b server is not
enabled.
Change-Id: Iec75fc5a92eb9bd09e1a0c4b2d2200df3006ed2e
6 years ago
Victor Seva
ac4165878c
TT#81700 bin/show_flow_diff.pl
...
* shows differences between test_yml and cfgt_json
> # ./bin/show_flow_diff.pl scenarios/invite/0007_test.yml log/scenarios/invite/0007.json
> # ./bin/show_flow_diff.pl scenarios/invite/0007_test.yml log/scenarios/invite/0008.json
> @@ -6,8 +6,12 @@
> - return|ROUTE_APPLY_HEADER_RULES:
> - start|ROUTE_PREPARE_UA:
> - return|ROUTE_PREPARE_UA:
> + - start|REPLY_ROUTE_RTPENGINE:
> + - return|REPLY_ROUTE_RTPENGINE:
> - start|REPLY_ROUTE_NAT_CONTINUE:
> - start|ROUTE_EXIT:
> - start|ROUTE_RUNTIME:
> - return|ROUTE_RUNTIME:
> - - exit|ROUTE_EXIT:
> + - start|dialog:start:
> + - return|dialog:start:
> + - return|dialog:start:
Change-Id: If2241c9a313f7bda71d3179cab8d9390fa21d9b9
6 years ago
Victor Seva
c2df9cfa14
TT#81700 generate_test_tt2.pl: add option to replace uuids from scenario_ids.yml file
...
> # ./bin/generate_test_tt2.pl -f Route -f Call-id -f via -f expires -f max-forwards -i log/scenarios/invite/scenario_ids.yml log/scenarios/invite/0005.json > /tmp/out_1.tt2
> # ./bin/generate_test_tt2.pl -f Route -f Call-id -f via -f expires -f max-forwards log/scenarios/invite/0005.json > /tmp/out.tt2
> # diff -uN /tmp/out.tt2 /tmp/out_1.tt2
> --- /tmp/out.tt2 2020-05-15 11:42:37.114319685 +0200
> +++ /tmp/out_1.tt2 2020-05-15 11:42:26.850316458 +0200
> @@ -191,7 +191,7 @@
> 'P-NGCP-Authorization: testuser1002@spce.test',
> 'P-NGCP-Authorized: 1',
> 'P-NGCP-Caller-Info: <sip:testuser1002@spce.test>;ip=127.126.0.1;port=51602;primary=4311002',
> - 'P-Caller-UUID: 86399f34-7385-4f4c-b829-70cb7ef9f466',
> + 'P-Caller-UUID: [% spce_test.testuser1002.uuid %]',
> 'Server: Sipwise NGCP Proxy 8.X',
> 'Content-Length: 0',
> ]
> @@ -204,8 +204,8 @@
> 'Content-Type: application/sdp',
> 'Content-Length: 176',
> 'P-LB-Uptime: 1103',
> - 'P-Caller-UUID: 86399f34-7385-4f4c-b829-70cb7ef9f466',
> - 'P-Callee-UUID: e2ccfb8b-93ce-4472-99b5-9d39548c95e7',
> + 'P-Caller-UUID: [% spce_test.testuser1002.uuid %]',
> + 'P-Callee-UUID: [% spce_test.testuser1003.uuid %]',
> 'P-Asserted-Identity: <sip:4311002@spce.test>',
> 'P-Called-Party-ID: <sip:testuser1003@spce.test>',
> 'P-App-Param: ;calltimer=21600;aleg_sst_enable=no;sst_enable=no;hold_alter_b2b_bleg=no;hold_alter_b2b_aleg=no',
Change-Id: I3d0e577c7ac4f28f599b7afb0f4e746232e40415
6 years ago