osmo-ttcn3-hacks/bsc
Oliver Smith ace447ab8c bsc: TC_assignment_csd: delete mgcp EP after clear
Fix the test for sccplite, where it fails at the third rate with:
  Crit already present{ connid := omit, endpoint := omit, transid := omit }

For each rate that gets tested, a new expectation (Crit) gets set by
f_tc_assignment_csd() (f_establish_fully() -> f_create_mgcp_expect()).

If the expectation already exists at this point, it leads to the error
above. While the rate gets tested, the expectation gets removed in
MGCP_Emulation:main() (ops.create_cb.apply -> ExpectedCreateCallback()),
but only if the EP is not known.

So without this patch:
* T_14k4: passes, EP is not known, Crit gets removed
* T_9k6: passes, EP is known, Crit does not get removed
* T_4k8: error, because Crit already exists

Related: OS#4393
Change-Id: Ib8d27a670931105f45b994799c4757fffabdf97d
2023-05-08 14:37:23 +02:00
..
BSC_Tests.cfg BSC_Tests: add OML tests for bts_setup_ramp 2023-02-10 11:46:51 +00:00
BSC_Tests.default StatsD_Checker: Enable by default 2021-02-26 12:42:35 +01:00
BSC_Tests.ttcn bsc: TC_assignment_csd: delete mgcp EP after clear 2023-05-08 14:37:23 +02:00
BSC_Tests_CBSP.ttcn bsc: Submit valid l3 payload 2023-01-03 13:13:02 +01:00
BSC_Tests_LCLS.ttcn fix BSC_Tests_LCLS: do not use t_def_TestHdlrPars directly 2023-01-06 21:42:38 +07:00
BSC_Tests_OML.ttcn BSC_Tests: add OML tests for bts_setup_ramp 2023-02-10 11:46:51 +00:00
BSC_Tests_SCCPlite.cfg bsc: add config files for sccplite BSC tests 2022-06-13 19:16:18 +00:00
BSC_Tests_VAMOS.cfg bsc-VAMOS: add cfg files to run BSC_Tests_VAMOS locally 2021-06-05 20:24:35 +00:00
BSC_Tests_VAMOS.ttcn bsc: Submit valid l3 payload 2023-01-03 13:13:02 +01:00
MSC_ConnectionHandler.ttcn bsc: AssignmentState: voice_call -> rtp_stream 2023-04-21 08:05:01 +00:00
README.md bsc: Add statsd checker and use it in TC_assignment_sign 2020-08-13 15:02:15 +00:00
README.txt bsc: add TC_stats_conn_fail 2021-08-27 08:24:23 +00:00
expected-results.xml bsc: Add missing tests in expected-results.xml 2023-04-03 16:08:42 +02:00
gen_links.sh BSC_Tests: add OML tests for bts_setup_ramp 2023-02-10 11:46:51 +00:00
osmo-bsc-sccplite.cfg bsc: Update cfg files to use mgw pooling VTY commands 2022-10-19 13:38:30 +02:00
osmo-bsc-vamos.cfg bsc: Update cfg files to use mgw pooling VTY commands 2022-10-19 13:38:30 +02:00
osmo-bsc.cfg bsc: Update cfg files to use mgw pooling VTY commands 2022-10-19 13:38:30 +02:00
osmo-stp.cfg bsc/osmo-{bsc,stp}.cfg: enable extended timestamp in logging 2021-12-14 12:59:04 +00:00
regen_makefile.sh BSC_Tests: add OML tests for bts_setup_ramp 2023-02-10 11:46:51 +00:00

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"]; } %}