Harald Welte | 21b46bd | 2017-12-17 19:46:32 +0100 | [diff] [blame] | 1 | Integration Tests for OsmoBSC |
| 2 | ----------------------------- |
| 3 | |
| 4 | This test suite tests OsmoBSC while emulating both multiple BTS + MS as |
| 5 | well as the MSC. |
| 6 | |
| 7 | In terms of external entities, you will need to run |
| 8 | * osmo-mgw in order to properly terminate the MGCP commands by the BSC |
| 9 | * osmo-stp as STP between the simulated MSC and osmo-bsc |
| 10 | * 3x osmo-bts-omldummy as this test suite only implements RSL and no OML |
| 11 | |
| 12 | The included jenkins.sh script, together with the Dockerfiles from |
| 13 | http://git.osmocom.org/docker-playground/ can be used to run both the |
| 14 | osmo-bsc-under-test as well as the extenal entities and the tester. |
| 15 | |
| 16 | |
| 17 | Further Test Ideas |
| 18 | ------------------ |
| 19 | |
| 20 | This is a random list of things about things possible to test. |
| 21 | Asterisks '*' are TODO, while 'x' means already implemented. |
Harald Welte | 696ddb6 | 2017-12-08 14:01:43 +0100 | [diff] [blame] | 22 | |
| 23 | = exhaustion of resources |
| 24 | |
Harald Welte | bab2f7a | 2017-12-15 15:16:42 +0100 | [diff] [blame] | 25 | x send many CHAN RQD (any) and count if all channels get actually allocated |
| 26 | xx verify BTS_CTR_CHREQ_TOTAL reflects number sent on RSL |
Harald Welte | 696ddb6 | 2017-12-08 14:01:43 +0100 | [diff] [blame] | 27 | ** verify how quickly they get released again |
| 28 | ** verify that CHAN RQD with same RA + FN get only on allocation |
Harald Welte | bab2f7a | 2017-12-15 15:16:42 +0100 | [diff] [blame] | 29 | x verify that we get IMM_ASS_REJ once channels are exhausted |
| 30 | xx verify BTS_CTR_CHREQ_NO_CHANNEL increments accordigly |
Harald Welte | 696ddb6 | 2017-12-08 14:01:43 +0100 | [diff] [blame] | 31 | * verify for particular channel type / cause values |
| 32 | * verify that IMM.ASS.REJ has increasing back-off |
| 33 | * verify how BSC reacts to AGCH overload (DELETE IND) |
| 34 | |
Harald Welte | 696ddb6 | 2017-12-08 14:01:43 +0100 | [diff] [blame] | 35 | = paging |
| 36 | |
Harald Welte | bab2f7a | 2017-12-15 15:16:42 +0100 | [diff] [blame] | 37 | x page by TMSI vs. page by IMSI |
| 38 | x verify if CCCH_LOAD_IND(PCH) slot count is observed |
| 39 | x verify paging expiration |
| 40 | x paging with different identity (lac/cgi/...) on A interface -> expect on right BSC(s) |
| 41 | |
| 42 | = assignment |
| 43 | |
| 44 | x CSD call |
| 45 | x CTM telephony |
| 46 | x CIC on AoIP |
| 47 | x missing CodecList IE |
| 48 | * with no CIC and no AoIP |
| 49 | * with IPv6 Address in AoIP |
| 50 | * with LCLS information |
Harald Welte | 21b46bd | 2017-12-17 19:46:32 +0100 | [diff] [blame] | 51 | x supported/unsupported/invalid ciphers |
Harald Welte | bab2f7a | 2017-12-15 15:16:42 +0100 | [diff] [blame] | 52 | * supported/unsupported/invalid codecs |
| 53 | * inconsistent channel type + codec + codec-list |
| 54 | * on full BTS -> fail |
Harald Welte | 696ddb6 | 2017-12-08 14:01:43 +0100 | [diff] [blame] | 55 | |
| 56 | = hand-over |
| 57 | |
| 58 | * intra-BSC HO |
| 59 | * handover detect when not expected |
| 60 | |
| 61 | = erroneous channel release |
| 62 | |
Harald Welte | bab2f7a | 2017-12-15 15:16:42 +0100 | [diff] [blame] | 63 | x no response to CHAN ACT |
| 64 | x CONN FAIL IND from BTS |
Harald Welte | 696ddb6 | 2017-12-08 14:01:43 +0100 | [diff] [blame] | 65 | ** verify counter increment of BTS_CTR_CHAN_RF_FAIL |
| 66 | * no (or late?) response to RF CHAN REL |
| 67 | * no (or late?) response to RLL RELEASE REQ |
Harald Welte | bab2f7a | 2017-12-15 15:16:42 +0100 | [diff] [blame] | 68 | x RLL messages on not-activated channels |
Harald Welte | 696ddb6 | 2017-12-08 14:01:43 +0100 | [diff] [blame] | 69 | |
| 70 | = misc |
| 71 | |
| 72 | * SMS-CB |
Harald Welte | bab2f7a | 2017-12-15 15:16:42 +0100 | [diff] [blame] | 73 | x behavior in case of CHAN ACT NACK |
Harald Welte | 696ddb6 | 2017-12-08 14:01:43 +0100 | [diff] [blame] | 74 | * EST REQ for SAPI3 originating from core |
| 75 | * behavior of BSC in various error cases (ERR IND) |
| 76 | ** BTS_CTR_CHAN_RLL_ERR increment on T200_EXPIRED |
| 77 | * MODE MODIFY with ACK / NACK / no response |
Harald Welte | bab2f7a | 2017-12-15 15:16:42 +0100 | [diff] [blame] | 78 | * invalid message type / IE type |
| 79 | ** verify BSSAP CONFUSION is sent in all applicable cases |
Harald Welte | 696ddb6 | 2017-12-08 14:01:43 +0100 | [diff] [blame] | 80 | |
| 81 | = IPA voice related |
| 82 | |
| 83 | * expect IPA CRCX, send UDP flows, expect them on AoIP |
| 84 | * expect RTCP |
| 85 | * missing RTP flow? |
| 86 | * missing RTCP? |
| 87 | * missing / drop-outs in RTP flow[s] |
| 88 | * no response to IPA CRCX / MDCX / DLCX |
| 89 | |
| 90 | = counters |
| 91 | |
| 92 | * test each and every counter in BSC, validate via CTRL interface |
Harald Welte | bab2f7a | 2017-12-15 15:16:42 +0100 | [diff] [blame] | 93 | xx RSL/OML failure: drop link, expect BTS_CTR_BTS_xxx_FAIL +1 |
| 94 | xx paging |
| 95 | xxx send PAGING from MSC side |
| 96 | xxx expect BSC_CTR_PAGING_ATTEMPTED increase by one |
| 97 | xxx expect BSC_CTR_PAGING_EXPIRED on T3113 expiration |
Harald Welte | 696ddb6 | 2017-12-08 14:01:43 +0100 | [diff] [blame] | 98 | ** BTS_CTR_CODEC_* on CHAN_ACT_ACK |
| 99 | * new counter ideas |
| 100 | ** number of SCCP CR timeouts |
| 101 | ** number of incoming RESET from MSC |
| 102 | |
| 103 | = VTY based/corresponding tests |
| 104 | |
| 105 | * changes in BCCH FILLING |
| 106 | * changes in SACCH FILLING |
| 107 | |
Harald Welte | 21b46bd | 2017-12-17 19:46:32 +0100 | [diff] [blame] | 108 | = dynamic TS switching |
| 109 | |
| 110 | * TBD |
| 111 | |