When running ttcn3-bsc-test against osmo-bsc in SCCPlite mode, TC_lost_sdcch_during_assignment fails with the following output: Local verdict of MTC: fail reason: "Timeout of T_guard" Final verdict of PTC: fail reason: "Unexpected DLCX received" One key problem is that in f_TC_lost_sdcch_during_assignment() we expect to receive a DLCX message on port MGCP, but somehow it gets caught by the as_Media_mgw earlier than we attempt to receive it. * Fix this race condition by activating the as_Media_mgw with fail_on_dlcx := false, so that it does not catch DLCX messages. Another problem is that for SCCPlite we're running the MGCP_Emulation component with multi_conn_mode=true, so that all MGCP messages are arriving at port MGCP_MULTI (not MGCP) wrapped into MGCP_RecvFrom. * Expect the DLCX message on either of the two ports depending on the value of g_pars.aoip (AoIP or SCCPlite mode). This change makes BSC_Tests.TC_lost_sdcch_during_assignment pass. Change-Id: If4807d3d7d196682f7f22732ad47bcbb72858ed3 |
||
---|---|---|
.. | ||
BSC_Tests.cfg | ||
BSC_Tests.default | ||
BSC_Tests.ttcn | ||
BSC_Tests_CBSP.ttcn | ||
BSC_Tests_LCLS.ttcn | ||
BSC_Tests_VAMOS.cfg | ||
BSC_Tests_VAMOS.ttcn | ||
MSC_ConnectionHandler.ttcn | ||
README.md | ||
README.txt | ||
expected-results.xml | ||
gen_links.sh | ||
osmo-bsc-vamos.cfg | ||
osmo-bsc.cfg | ||
osmo-stp.cfg | ||
regen_makefile.sh |
README.md
BSC_Tests.ttcn
- external interfaces
- A-bis side: RSL (emulates BTS-side client) (OML handled by osmo-bts-omldummy)
- A-side (emulates MSC-side)
- BSSAP/SCCP/M3UA (AoIP)
- BSSAP/SCCP/IPA (SCCPLite)
- MGW side: MGCP (emulates MGW side)
- VTY
- CTRL
- StatsD
{% dot bsc_tests.svg digraph G { graph [label="AoIP", labelloc=t, fontsize=30]; 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"]; BSC -> ATS [label="StatsD"]; ATS -> STP [label="A BSSAP\nSCCP/M3UA"]; BSC -> STP [label="A BSSAP\nSCCP/M3UA"]; } %}
{% dot bsc_tests_sccplite.svg digraph G { graph [label="SCCPLite", labelloc=t, fontsize=30]; rankdir=LR; 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"]; BSC -> ATS [label="StatsD"]; ATS -> BSC [label="A BSSAP\nSCCP/IPA"]; } %}