osmo-ttcn3-hacks/bsc
Neels Hofmeyr 211169d794 bsc: handle RR Release messages
Receive RR Release messages if they happen during lchan release. Add RR Release
to the alt{}s in both f_expect_chan_rel() to cover a whole bunch of test cases,
and in f_tc_ho_out_fail_no_ho_detect() which has its own release expectations.

Before this, RR Release messages would typically be lost in the RSL.clear
recently removed by Ie1be30c3f109dda8c58c523df508211f8e20aad3.

However, I still expect tests to pass after this, since the current osmo-bsc
master has a bug that omits RR Release messages (since [1]).

By applying this patch, both the buggy osmo-bsc (omitting RR Release) and the
fix of that [2] should pass the BSC tests. So far by accepting whatever comes
along, and not complaining if it doesn't come along.

A subsequent patch will more precisely ensure that exactly the expected
messages will be sent by osmo-bsc (Ibc64058f1e214bea585f4e8dcb66f3df8ead3845).

[1] osmo-bsc I4fd582b41ba4599af704d670af83651d2450b1db
    commit 8b818a01b00ea3daad4ad58c162ac52b4f08a5cb
    "subscr conn: properly forget lchan before release"

[2] osmo-bsc I666b3b4f45706d898d664d380bd0fd2b018be358
    "fix: send RR Release (e.g. after BSSMAP Clear Cmd"

Related: OS#3413
Change-Id: I4e6d266d091b140f56b28312cb3c5d67ffcc3a59
2018-11-14 16:17:39 +00:00
..
BSC_Tests.cfg Add a TTCN3 module for IPA protocol testing 2018-10-08 17:56:36 +02:00
BSC_Tests.default detect VTY TELNET port connection failures (attempt #2) 2018-07-27 17:20:38 +02:00
BSC_Tests.ttcn bsc: handle RR Release messages 2018-11-14 16:17:39 +00:00
BSC_Tests_LCLS.ttcn BSC LCLS: explicitly check for RSL_IE_CHAN_NR 2018-11-06 19:11:34 +01:00
MSC_ConnectionHandler.ttcn cosmetic: fix typos 2018-11-06 17:09:50 +00:00
README.md Add README.md file for several suites 2018-06-14 18:55:36 +02:00
README.txt BSC_Tests: Update readme + source code comments 2017-12-17 19:48:03 +01:00
expected-results.xml bsc: add 3 tests for inter-BSC HO outgoing failures 2018-10-11 17:21:47 +02:00
gen_links.sh Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handling 2018-10-24 15:10:13 +02:00
osmo-bsc.cfg BSC: remove explicit address 2018-11-06 17:25:00 +00:00
osmo-stp.cfg ensure well-formed config files 2018-09-25 18:51:28 +00:00
regen_makefile.sh BSSAP_Adapter: Introduce transport over IPA/SCCPlite 2018-04-17 21:49:05 +02:00

README.md

BSC_Tests.ttcn

  • external interfaces
    • A-bis side: RSL (emulates BTS-side client)
    • A-side: BSSAP/SCCP/M3UA (emulates MSC-side)
    • MGW side: MGCP (emulates MGW side)

{% dot bsc_tests.svg digraph G { rankdir=LR; { rank=same; BTS; STP; }; BSC [label="IUT\nosmo-bsc",shape="box"]; ATS [label="ATS\nBSC_Tests.ttcn"]; BTS [label="osmo-bts-omldummy\nOML only"];

BTS -> BSC [label="A-bis OML"]; ATS -> BSC [label="A-bis RSL"]; ATS -> BSC [label="CTRL"]; ATS -> BSC [label="VTY"]; ATS -> STP [label="A BSSAP\nSCCP/M3UA"]; BSC -> STP [label="A BSSAP\nSCCP/M3UA"]; } %}