osmo-ttcn3-hacks/msc
Stefan Sperling 04fc4bcc18 check for osmo-msc crash upon overlong IMSI
Overlong IMSIs used to trigger an assertion failure in osmo-msc.
This problem has been fixed but there was no test for it yet.

A lazy way of testing for this problem is to send an overlong IMSI
from an existing test which already verifies related behaviour
and would fail if the MSC crashed: TC_lu_by_tmsi_noauth_unknown

However, osmo-msc currently accepts overlong IMSIs and silently
truncates them, so this change as-is currently breaks this test.
But I would argue that osmo-msc's current behaviour is unreasonable
anyway and have proposed a patch to change it:
https://gerrit.osmocom.org/#/c/osmo-msc/+/9739/
With that patch applied to osmo-msc, this test keeps passing.

Change-Id: I2c472bee76086f6c84ec684d2e58b3351ebc3147
Depends: I785c994f41a646d8d83d3d82f5a9ae6b572eb641
Related: OS#2864
Related: g#9739
2018-06-25 17:51:30 +02:00
..
BSC_ConnectionHandler.ttcn msc/BSC_ConnectionHandler.ttcn: add EST_TYPE_SS_ACT for SS/USSD 2018-06-02 04:55:18 +07:00
MSC_Tests.cfg MSC_Tests: Add support for multiple BSC 2018-03-28 12:34:54 +02:00
MSC_Tests.default *.default: change logging filemask from ERROR | WARNING to += PARALLEL | VERDICTOP 2018-06-12 13:51:14 +02:00
MSC_Tests.ttcn check for osmo-msc crash upon overlong IMSI 2018-06-25 17:51:30 +02:00
README.md Add README.md file for several suites 2018-06-14 18:55:36 +02:00
USSD_Helpers.ttcn USSD_Helpers.ttcn: add f_USSD_FACILITY_IE_RETURN_ERROR 2018-06-06 10:59:11 +00:00
expected-results.xml msc/USSD: use more informative names for test cases 2018-06-21 22:06:45 +07:00
gen_links.sh msc: introduce USSD helper functions 2018-06-02 04:55:18 +07:00
osmo-msc.cfg sync TTCN3 MSC test config with docker-playground 2018-06-01 16:37:13 +00:00
osmo-stp.cfg sync TTCN3 MSC test config with docker-playground 2018-06-01 16:37:13 +00:00
regen_makefile.sh msc: import GSM 7-bit coding functions 2018-06-02 04:55:18 +07:00

README.md

MSC_Tests.ttcn

  • external interfaces
    • A: BSSAP/SCCP/M3UA (emulates BSC-side)
    • MNCC: MNCC/unix-domain (emulates ext. MNCC side)
    • MGW: MGCP (emulates MGW side)
    • GSUP (impllements HLR side)

{% dot msc_tests.svg digraph G { rankdir=LR; MSC [label="IUT\nosmo-msc",shape="box"]; ATS [label="ATS\nMSC_Tests.ttcn"];

ATS -> MSC [label="MNCC"]; ATS -> MSC [label="SMPP",style="dashed"]; ATS -> MSC [label="CTRL"]; ATS -> MSC [label="VTY"]; MSC -> ATS [label="GSUP"]; ATS -> STP [label="A BSSAP\nSCCP/M3UA"]; MSC -> STP [label="A BSSAP\nSCCP/M3UA"]; } %}