aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-09-23bsc: TC_stat_num_bts_connected: also validate new bts.N.num_trx.*neels/two-trxNeels Hofmeyr1-0/+6
Related: SYS#5542 Related: I283d38e7a8c032e274a5bd2fa150ec2c9a7157b4 (osmo-bsc) Change-Id: I5be1cb470930354c4561cbed301bc50a32484ed9
2021-09-23bsc: TC_stat_num_bts_connected: also validate bts.N.{oml,rsl}_connectedNeels Hofmeyr1-0/+18
Related: SYS#5542 Change-Id: Ib6d5204563751b483d2e202df0cac276369c1685
2021-09-23bsc: configure two TRX for bts 2, connect both RSL for bts 2Neels Hofmeyr2-36/+96
Related: SYS#5542 Change-Id: Id771b309af14c9599b94f636e27537833a6d2806
2021-09-23THIS PATCH BREAKS BSC_Tests.TC_ho_int AND I DON'T KNOW WHYNeels Hofmeyr1-1/+3
During f_rslem_suspend() an unidentified error happens. Later on there is "RSL for unknown DChan" as a side effect of the above. Change-Id: Ic1b70af0d359842a35478ac9be604ad3190c0c02
2021-09-22pcu: Allow empty rlcmac blocks in data_reqPau Espin Pedrol2-5/+19
They are used by osmo-pcu to signal idle blocks. Change-Id: Ied6b133be5bfd181f08c445b76af0f570edfd2a4
2021-09-17pcu: add TC_stat_pdch_avail_occ_ms_not_known_*Oliver Smith1-0/+97
Add two new tests to verify occupied and available PDCH stats if MS is not known by the PCU. Related: SYS#4878 Change-Id: Id21d4056a21b73ff612956700d2056d838eb54f8
2021-09-17pcu: TC_stat_pdch_avail_occ: test gprs/egprs statsOliver Smith1-4/+11
Extend the test to verify that TTCN3.bts.0.pdch.occupied.gprs and TTCN3.bts.0.pdch.occupied.egprs work as expected. These new stats are needed for performance measurements in 3GPP TS 52.402 § B.2.1.54-55. Related: SYS#4878 Depends: osmo-pcu I0c0a1121b4ae5f031782e7e63a0c28eb0b6c8b42 Change-Id: Ia98de17187810acb2e1b327c37beab79a0c211b8
2021-09-17pcu: TC_stat_pdch_avail_occ: enable 4 TRXOliver Smith1-3/+6
Enable multiple TRX to verify that counters work as expected if the allocator spreads TBFs over multiple TRX. Related: SYS#4878 Change-Id: Ibde5be120e893fcecceb72a888483d5a6bb8ce50
2021-09-14pcu: Support Neighbor Address Resolution over PCUIFPau Espin Pedrol4-195/+324
New versions of osmo-pcu support Neighbor Address Resolution over this interface, and deprecated the old CTRL interface. Let's use it by default while still keeping support for the old one for a while to avoid breakage of existing deployments. Tests run to validate: * Old osmo-pcu still passes tests using CTRL interface * New osmo-pcu (with new iface support) still passes tests using CTRL interface * New osmo-pcu (with new iface support) passes tests using new iface Related: SYS#4971 Change-Id: I05f1aabc64fc5bc4740b0d8afd8990b485eacd50
2021-09-14bsc: add TC_ctrl_trx_rf_lockedNeels Hofmeyr1-0/+69
Related: OS#5542 Depends: Ie46fd730797b64fb185d705c3507e36f5f23ef4b (osmo-bsc) Change-Id: I2bb5096732f75a7341c7e83951e63c5a2038b469
2021-09-14bsc: verify new CTRL 'rf_states' and 'bts.N.rf_states'Neels Hofmeyr1-0/+25
Related: SYS#5542 Depends: I14fa2678fc8f2c11a879c5e9615ac552782c5b7e (osmo-bsc) Change-Id: I01e6f391a5e71b0606c42be9b57f8a1687d59bcb
2021-09-14bsc: add TC_stat_num_bts_connected_* testsNeels Hofmeyr1-0/+58
Related: SYS#5542 Depends: I2057a798e681a169cc03243a09b3d6449734c010 (osmo-bsc) Depends: Idace66b37492fe96b2f2e133a69cac7960ca279c (libosmocore) Change-Id: Ic1b35b7406547f92818afe399a2383d154576409
2021-09-14bsc: add TC_stat_num_msc_connected* testsNeels Hofmeyr1-0/+53
Verify MSC connection count stats. Related: SYS#5542 Depends: Idace66b37492fe96b2f2e133a69cac7960ca279c (libosmocore) Depends: If76bbf9b3adb64c68d5c31c6b526fa71a99996ae (osmo-bsc) Change-Id: I178dcf4516606aa561d47b06061b8a416d3c40cf
2021-09-14bsc: reset MSC link stati in f_init()Neels Hofmeyr1-0/+5
I want to add tests that verify the stat items reflecting the MSC connection status. To be able to run a test expecting fewer connected MSC after a test that launched more MSCs requires the links to be reset. Related: SYS#5542 Depends: I1975941b790d2b30d0904d41e456220cba26ecff (osmo-bsc) Change-Id: Ice3056dc46c94f9399f8379db7aeb7193782f2f2
2021-09-14bsc: make TC_stats_conn_fail less fragileNeels Hofmeyr1-0/+2
Add a delay between sending the RSL Conn Fail IND and checking the stats values, so that osmo-bsc has a good chance of receiving the message and promoting the failure into the stats values first. Even though jenkins shows no failures, when testing locally, this test fails a lot for me without that bit of delay. Change-Id: Iaf0173239528337283b23f70840d36ad25f14950
2021-09-09bsc: add TC_imm_ass_pre_ts_ackNeels Hofmeyr1-0/+46
Also test the early IA feature for non-dyn TS in 'pre-ts-ack' mode, for completeness' sake. Related: SYS#5559 Change-Id: I6ba84b4b618dd99ec2095aaf611209e525f2b5f4
2021-09-08Cosmetic: pcu: fix GprsMS count commentOliver Smith1-1/+1
Related: SYS#4878 Change-Id: Ic11abb330eccf8572a95ddb7e7c59c57b018a713
2021-09-07bsc: properly check TSC and ARFCN in early IA testsNeels Hofmeyr1-6/+33
Tests have shown that the Training Sequence Set was not correct in early IMM ASS messages. Add validation of the TSC and ARFCN in IMM ASS messages for all early IA related tests. This makes the tests fail. Related osmo-bsc patch linked below makes the tests pass again. Related: SYS#5559 Related: I9f26074154600d854a0b3baee2f38a6666f4cb56 (osmo-bsc) Change-Id: I4479244b0c53648e62e84e1ebf986f51d659484f
2021-09-07fix errmsg in f_ctrl_set() which said "GET"Neels Hofmeyr1-1/+1
Change-Id: I56cd20c3c1b22ac0b1e5c03727c4e6d6cbfa6973
2021-09-07ns2: add tc TC_mirror_unitdata_tx_status_blockedAlexander Couzens1-0/+29
Change-Id: I9be2037b9228d2400bd293841ae6b957cb25c501
2021-09-07ns: add test case for SIZE after a successful configurationAlexander Couzens1-0/+17
Change-Id: I5a7d55e9b3d28872baa4259f33333db8c0d6081d
2021-09-07ns: add test case for UNITDATA transmissionAlexander Couzens1-1/+28
Change-Id: I5f59581d4257436eb9651c0c5ab5dd002f23d834
2021-09-07ns: fix missing f_ prefix for function f_tx_block_by_vtyAlexander Couzens1-4/+4
All function should have this prefix Change-Id: Id7b692b3b76946b36dcaa3d23b32b5ccb5007702
2021-09-07ns: always clean up the ns_codecAlexander Couzens1-0/+19
The f_clean_ns_codec() was introduced later to clean up the ns_codec properly. Change-Id: I7a84f75ebd1c68b3c0a6b55b8c49903c51dd6b92
2021-09-07ns: add tests to test UNITDATA over a BLOCKED nsvcsAlexander Couzens1-2/+55
The UNITDATA should be rejected by a NS STATUS PDU. Change-Id: I62ce93ca4953f8b0476a15479089db2f6c2fa684
2021-09-07ns: add TC_sns_sgsn_size_correct_port to check if SIZE_ACK is transmitted ↵Alexander Couzens1-0/+15
from the correct port Change-Id: Ib0fbf0cc87ff8f00fd4062b471d7a4835b45723c
2021-09-07ns: f_init_vty: only reset SNS configuration when using SNS.Alexander Couzens1-4/+6
Change-Id: I9ecf0abe29e5acdd18f4b18b340baeb442cc09b6
2021-09-07ns: add TC_sns_bss_remove_bind_fail_sns to check SNS fails correct when ↵Alexander Couzens1-0/+39
removing a bind This TC produces an abort of the ns2 dummy by the memory sanitizer. Test if SNS fails when removing a bind which has the last valid connection. The ns2 has 2 binds, ttcn3 1 bind. There are 2 NSVCs. Bind -- NSVCs -- Bind. (ns2) (ttcn3) 1*-----------*1 / 2*-broken--/ Remove the 1st ns2 bind after the other NSVC has failed. Change-Id: I8f7daee7a3bcadf64e8ae607619425adbefe3c4b
2021-09-06pcu: add TC_stat_pdch_avail_occOliver Smith1-0/+47
Test new stats bts.N.pdch.available/occupied, which count available PDCHs (3GPP TS 52.402 § B.2.1.38) as well as occupied PDCHs (§ B.2.1.42-44). Related: SYS#4878 Related: osmo-pcu I74760a68ee055510a79e80854ec7bf1521669119 Change-Id: I607b4729740159c161af824317f9fc04878eb13d
2021-09-04ns2: add TC_sns_sgsn_add_change_del similiar to the bss sideAlexander Couzens1-0/+47
1. do SNS configuration 2. add a bind 3. receive the SNS_ADD 4. before answering the SNS_ADD, change the weight via vty and remove the bind Change-Id: I1a3d2273279f3def0d225ba78d400fb52a958c64
2021-09-04ns2: add TC_sns_sgsn_del to test SNS DEL on the SGSN sideAlexander Couzens1-0/+22
Test the SNS DEL procedure when ns2 is operating the SGSN side. Change-Id: If519da5212470957b922c569b2b8e5a50e12a8a8
2021-09-03ns2: mark TC_sns_bss_all_signalling_nsvcs_failed as brokenAlexander Couzens1-1/+5
The test case tests the wrong side. The signalling and data weight are valid for the other side. The correct test case needs to add a second bind on the ttcn3 side because the signalling and data weight is valid for the remote side. Change-Id: Ice79a038b0b8df9e69232bb24b2f2b18b3632758
2021-09-03ns2: add TC_sns_sgsn_add to test SNS ADD on the SGSN roleAlexander Couzens1-0/+20
Change-Id: I7474ea81ee905fb9fffb6c413b312e0b3547ea14
2021-09-03ns2: add first sgsn test case TC_sns_sgsn_config_successAlexander Couzens3-0/+160
Checks if the SGSN can success configures a SNS. Change-Id: Ibacc2f6ad3053ff7b1e00054cabb9ec7010ffab2
2021-09-03ns2: introduce module parameter SnsRoleAlexander Couzens1-9/+17
Allow the .cfg to define which tests should be run. The new SGSN role SNS tests have their own configurations for TTCN3 and osmo-nsdummy. Change-Id: If8162f256428e2e1f353ffbf42a7c0cd24bcecd9
2021-08-31pcu: Introduce test TC_pdch_energy_savingPau Espin Pedrol1-0/+49
Related: SYS#4919 Related: OS#4772 Change-Id: Icf5cc467ecabe3fcbf86e0f4caf497669b76fb42
2021-08-31pcu: as_rx_fail_dummy: Drop unneeded dependency on ms paramPau Espin Pedrol1-2/+2
The parameter is not used, so let's drop it and rename it to make it usable without ms. Change-Id: I57e9c754c00f930fccc35cf8d853e576fc8054da
2021-08-27Cosmetic: bsc: remove outdated commentOliver Smith1-1/+0
The mentioned bug was fixed 3 years ago, and there are already lots of tests below so remove the comment. Related: OS#3182 Change-Id: I3df4dbd1647dae78eccd31c49c3aec3cf9e12a6f
2021-08-27bsc: add TC_stats_conn_failOliver Smith2-1/+44
Verify that stat bts.N.chan.rf_fail_sdcch works correctly. Related: SYS#4878 Change-Id: I310ea1609168bc26790875767943e0545ed05177
2021-08-23bts: add TC_early_immediate_assignment_pre_chan_ackNeels Hofmeyr1-0/+71
Related: SYS#5559 Related: Ie52765b238b01f22fb327fe12327fbf10abcad4c (osmo-bts) Change-Id: Ifb2c62431a91dafa6116b5d6b9410930f00a6e18
2021-08-19MGCP_Test: add control interface to MGW testsuitePhilipp Maier3-2/+13
The testsuite for osmo-mgw does not use the control interface yet. Change-Id: I7324802bf6e692ce8b7d9b269dd2385a7d3d0d77
2021-08-19MGCP_Test: do not use module parameter mp_test_ip (statsd)Philipp Maier1-2/+1
The module parameter mp_test_ip was added with the following commit: Change-Id I61e23e264bc85eb36d07431c7839fb445c110947 There is already mp_local_ipv4, which has the same function, so we should remove mp_test_ip again and use mp_local_ipv4 to set up the receiving of statsd information. Change-Id: I70f33aed4102c67118cc6701c2578a70c0dfe604 Related: SYS#5535
2021-08-17bsc: add TC_imm_ass_pre_ts_ack_dyn_tsNeels Hofmeyr1-0/+68
Test the experimental 'immediate-assignment pre-ts-ack' implemented in I19e6a3d614aa5ae24d64eed96caf53e6f0e8bb74 Related: SYS#5559 Change-Id: I2ae28cd92910d4bc341a88571599347a64a18fe5
2021-08-17bsc: add TC_imm_ass_pre_chan_ack_dyn_tsNeels Hofmeyr1-0/+67
Related: SYS#5559 Change-Id: Ic5a3b930c57a5c61514137986eb4f8f8c1f2a1ba
2021-08-17bsc: add TC_imm_ass_pre_chan_ackNeels Hofmeyr2-2/+136
Add tests for the new early IMM ASS feature in osmo-bsc: 'immediate-assignment (post-chan-ack|pre-chan-ack)' Related: 0b44493d3de03d2750527e224df67b473fe39f93 (osmo-bsc) Related: SYS#5559 Change-Id: If71f4562d532b6c5faf55f5fd073449a8a137ebf
2021-08-17osmo-mgw.cfg: add missing statsd configurationPhilipp Maier1-0/+10
The recently added test TC_dlcx_wildcarded depends on statsd information from osmo-mgw but in the osmo-mgw configuration no statsd is configured. Change-Id: I35e07a6b1853234559ab4d7e044f3899e8d0a3e8 Related: SYS#5535
2021-08-15pcu: add test TC_paging_pch_timeoutOliver Smith1-0/+25
Related: SYS#4878 Change-Id: I8a8a912908f42d16dc04e2abe8ee4117f08bc672
2021-08-15pcu: f_tc_paging_ps_from_sgsn: move init/shutdownOliver Smith1-5/+15
Prepare to use this shared function in a new test with additional commands between init, the function and shutdown. Related: SYS#4878 Change-Id: I6fd523c7f5ab496b3356cf896a8ceaf9b6e874d2
2021-08-15stp: TC_rkm_unreg_never_registered: !latestOliver Smith1-1/+12
Disable test TC_rkm_unreg_never_registered for current latest version of osmo-stp (1.4.0), as it does not clean up properly and now causes other tests to fail. With this patch, test results for -latest are restored to how it was before I7d2f9eb298778a8e60c7e73f314bc73528e85406 and I31fcba85d23a8767eb0ceb513ff5b440558a475b were merged. Related: OS#4239 Change-Id: Ice8fe9597a0a12eb4ec26172982a0f5cd01a148b
2021-08-15stp: rename mp_stp_has_asp_quirkOliver Smith1-3/+3
Rename the option to mp_osmo_stp_newer_than_1_4_0, because I'm going to use the variable in the next patch for something unrelated to the asp quirk and so we can avoid introducing another variable. Related: docker-playground I6a32398242b53c827a94cf65e4a35900a7c4171a Related: OS#4239 Change-Id: I43b1aa2c029c88c88320d40f60df46a5eb6c4c24