Osmocom test suites in TTCN-3 (Eclipse Titan) https://osmocom.org/projects/core-testing-infra
Go to file
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
COMMON initial chekin of code received by Ericsson on 20170410 2017-04-12 12:13:44 +02:00
ROHC_CNL113426_LATEST import Ericsson NS, ISUP, ROHC and SNDCP modules for TITAN 2017-07-25 08:23:52 +02:00
SCCP_Test Change addressing configuration to match libosmo-sigtran m3ua_test 2017-04-12 12:18:28 +02:00
bin Remove M3UA/MTP3/SCCP code from this repo, use upstream repos 2018-03-18 12:52:20 +01:00
bsc bsc: handle RR Release messages 2018-11-14 16:17:39 +00:00
bsc-nat Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handling 2018-10-24 15:10:13 +02:00
bts bts: Introduce mp_ipa_up_timeout parameter 2018-11-06 21:47:36 +00:00
deps SGsAP: Switch over to osmocom branch/repo to avoid bugs in official one 2018-10-28 09:52:34 +00:00
doc add ttcn3 test suites slides from OsmoDevCon 2018 2018-09-16 12:39:51 +02:00
ggsn_tests Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handling 2018-10-24 15:10:13 +02:00
hlr hlr: Fix DTE by requesting the correct type 2018-11-12 16:17:42 +00:00
lapdm Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handling 2018-10-24 15:10:13 +02:00
library BSSMAP_Templates: Add missing tr_BSSMAP_HandoverPerformed template 2018-11-07 11:37:27 +00:00
mgw Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handling 2018-10-24 15:10:13 +02:00
msc Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handling 2018-10-24 15:10:13 +02:00
pcu PCU: cleanup test config 2018-11-06 22:13:30 +00:00
sccp Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handling 2018-10-24 15:10:13 +02:00
selftest Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handling 2018-10-24 15:10:13 +02:00
sgsn Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handling 2018-10-24 15:10:13 +02:00
sip Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handling 2018-10-24 15:10:13 +02:00
sysinfo Add Misc_Helpers.ttcn to centralize TTCN3 shutdown handling 2018-10-24 15:10:13 +02:00
.gitignore add compare-results.sh, call from start-testsuite.sh 2018-04-06 01:07:15 +02:00
.gitreview Add git-review config 2017-12-13 11:15:48 +01:00
Common.cfg Make Console Loggign a bit more verbose: add all USER "log()" 2018-03-18 14:16:37 +01:00
Makefile introduce a TTCN3 test suite for SCCP 2018-07-24 19:05:10 +00:00
compare-results.sh compare_results.sh: less drastic wording 2018-09-06 14:35:07 +02:00
gen_links.sh.inc ignore results of .ttcnpp files 2018-03-16 18:25:58 +01:00
log_merge.sh log_merge.sh: Fix removal of log files 2018-03-20 22:21:57 +01:00
mask_expected_results.sh add mask_expected_results.sh 2018-04-11 19:32:01 +02:00
regen-makefile.sh Add SGsAP_CodecPort + SGsAP_Emulation module 2018-10-28 09:52:34 +00:00
rmlinks.sh Remove M3UA/MTP3/SCCP code from this repo, use upstream repos 2018-03-18 12:52:20 +01:00
start-testsuite.sh fix build: don't clean out expected-results.log: rename to *.xml 2018-04-11 19:29:18 +02:00
ttcn3-tcpdump-start.sh ttcn3-tcpdump-start.sh: reduce snaplen of tcpdump 2018-05-15 20:54:54 +00:00
ttcn3-tcpdump-stop.sh ttcn3-tcpdump-stop.sh: print colored verdict 2018-06-23 11:43:00 +00:00
update_expected_results_from_jenkins.sh add update_expected_results_from_jenkins.sh 2018-04-11 19:49:36 +02:00