Skip to content
Unstable

Changes

Summary

  1. SGsAP_Emulation: Introduce proper support for server-mode (details)
  2. mme: Initial working state for MME_Tests_SGsAP.ttcn tests (details)
  3. mme: Store and check {mme,enb}_ue_id over S1AP (details)
  4. mme: Introduce test TC_s1ap_tau_periodic (details)
  5. mme: Fix implementation of TC_sgsap_alert* (details)
  6. */osmo-*.cfg: make stderr logging consistent (details)
  7. es2p_Types_JSON: add ES2p JSON encoder/decoder (details)
  8. es12_Types_JSON: add ES12 JSON encoder/decoder (details)
Commit 3f73dc3cadd0724642dacb544f0042a661d5e0b9 by Pau Espin Pedrol
SGsAP_Emulation: Introduce proper support for server-mode

Prior to this commit, only initial (not really useful) SCTP server-mode
support existed in SGsAP_Emulation.
This is basically because MSC_Tests uses the SCTP client-mode, and
MME_Tests_SGsAP were not yet in a fully working state.

In server-mode, we have a conn_id for the listening socket and a conn_id
for the accepted socket; track them properly.
Moreover, in server node we definetly need some sort of event to wait
for the client to connect; introduce it.
Based on existing work in Iuh_Emulation.

Change-Id: Iccf4ac96c56e947529f0ffc06428e2325a115d50
The file was modifiedlibrary/SGsAP_Emulation.ttcn
The file was modifiedmme/MME_Tests.ttcn
The file was modifiedmsc/MSC_Tests.ttcn
Commit 02d8803784ca1cd7fbad4033c4e8ba47d390d563 by Pau Espin Pedrol
mme: Initial working state for MME_Tests_SGsAP.ttcn tests

MME_Tests_SGsAP.ttcn tests were introduced to the repository many years
ago (~2019), but they were mostly WIP and were never run as part of the
regular testsuite.

This commit reworks and extends previous work to get them up to date
with current MME_Tests and makes most of them passing.

TC_sgsap_alert_* tests are still in WIP and will be fixed in follow-up
work.

Related: OS#6850
Change-Id: If07f1a67eb4213985da82afec94adb08786a0980
The file was modifiedmme/expected-results.xml
The file was modifiedmme/MME_Tests.ttcn
The file was modifiedlibrary/SGsAP_Templates.ttcn
The file was modifiedmme/MME_Tests_SGsAP.ttcn
The file was modifiedmme/ConnHdlr.ttcn
The file was modifiedmme/open5gs-mme.yaml
The file was modifiedmme/MME_Tests.cfg
Commit e4225d26e7cc0ca8767962b26355d1665a0a5262 by Pau Espin Pedrol
mme: Store and check {mme,enb}_ue_id over S1AP

* Generate a different enb_ue_id based on imsi_suffix, and store it
  during startup of ConnHdlr.
* Validate the MME sends the expected message to the expected enb_ue_id.
* Store the mme_ue_id and validate also that MME keeps using it.

A new procedure is added to S1AP_Emulation, similar to what already
exists in NGAP_Emulation, to obtain the mme_ue_id allocated by the peer.
This is needed because upon rx of DL NAS Transport messages we only
receive the upper layer NAS decoded in the Connhdlr, so we can't store
and track the MME ID early enough.

Change-Id: I62902db3851f48ce9f80cb1cc84797735c0091de
The file was modifiedmme/ConnHdlr.ttcn
The file was modifiedmme/MME_Tests.ttcn
The file was modifiedlibrary/s1ap/S1AP_Templates.ttcn
The file was modifiedlibrary/S1AP_Emulation.ttcn
Commit d2e96b0a5f6efa380793362954c98c4ba1515e2d by Pau Espin Pedrol
mme: Introduce test TC_s1ap_tau_periodic

Change-Id: I261c3421f6a082e0d610ece4cc96d3e031022891
The file was modifiedmme/ConnHdlr.ttcn
The file was modifiedmme/expected-results.xml
The file was modifiedlibrary/NAS_EPS_Templates.ttcn
The file was modifiedmme/MME_Tests.ttcn
Commit f75e59233d60612b52f8e510d20fdab78c8e9396 by Pau Espin Pedrol
mme: Fix implementation of TC_sgsap_alert*

Change-Id: I717c6f153ae77874170bf03e7a6c7bb628d12dba
The file was modifiedmme/MME_Tests_SGsAP.ttcn
The file was modifiedmme/ConnHdlr.ttcn
Commit 3ffdea4b3c0a460357ab7eb6541dec6378553f9f by laforge
*/osmo-*.cfg: make stderr logging consistent

Use the following options for stderr logging in all config, to make the
output consistent and readable (e.g. no hex categories, no long paths to
source files at the end of log lines). Use the same order of parameters
in all files.

  log stderr
   logging filter all 1
   logging color 1
   logging timestamp 1
   logging print extended-timestamp 1
   logging print file basename last
   logging print category 1
   logging print category-hex 0
   logging print level 1

Related: OS#6272
Change-Id: I229cce244719b3ce61afb6df33fe0ca20dc22456
The file was modifiedmsc/osmo-stp.cfg
The file was modifiedbts/osmo-bts.cfg
The file was modifiedgbproxy/osmo-gbproxy.fr.cfg
The file was modifiedsmlc/osmo-smlc.cfg
The file was modifiedggsn_tests/osmo-ggsn/osmo-ggsn.src.cfg
The file was modifiedsgsn/osmo-stp.cfg
The file was modifiedsmlc/osmo-stp.cfg
The file was modifiedhnbgw/osmo-hnbgw.cfg
The file was modifiedhnbgw/osmo-stp.cfg
The file was modifiedbsc/osmo-bsc.cfg
The file was modifiedpcap-client/osmo-pcap-client.cfg
The file was modifiedbts/osmo-bsc.cfg
The file was modifiedmgw/osmo-mgw.cfg
The file was modifiedgbproxy/osmo-gbproxy.cfg
The file was modifiedbsc/osmo-bsc-vamos.cfg
The file was modifiedhnodeb/osmo-hnodeb.cfg
The file was modifiedsgsn/osmo-sgsn.cfg
The file was modifiedpcu/osmo-pcu.cfg
The file was modifiedsmlc/osmo-smlc.latest.cfg
The file was modified5gc/osmo-uecups-daemon.cfg
The file was modifiedns/osmo-ns.fr.cfg
The file was modifiedbsc/osmo-bsc-sccplite.cfg
The file was modifiedns/osmo-ns.sgsn.sns.cfg
The file was modifiedbsc/osmo-stp.cfg
The file was modifiedcbc/osmo-cbc.cfg
The file was modifiedsip/osmo-sip-connector.cfg
The file was modifiedmsc/osmo-msc.cfg
The file was modifiedpcu/osmo-pcu-sns.cfg
The file was modifiedhnbgw/osmo-hnbgw-with-pfcp.cfg
The file was modifiedns/osmo-ns.udp.cfg
The file was modifiedhlr/osmo-hlr.cfg
The file was modifiedbsc-nat/osmo-bsc-nat.cfg
The file was modifiedns/osmo-ns.sns.cfg
The file was modifiedstp/osmo-stp.cfg
The file was modifiedsgsn/osmo-sgsn.sns.cfg
The file was modifiedpgw/osmo-uecups-daemon.cfg
The file was modifiedupf/osmo-upf.cfg
Commit df2459bee71c0f4ce751d2cfa8307413c5cd365e by laforge
es2p_Types_JSON: add ES2p JSON encoder/decoder

This patch adds ES2p encoder/decoder functions.

Change-Id: Ic6e230bdd0b2c43a5183cd1f53b930e6f3c53e66
Related: SYS#7339
The file was addedlibrary/euicc/es2p_Types_JSON.ttcn
Commit 60dda543d7fcb81012d50e6d4905a9a59024d7b8 by laforge
es12_Types_JSON: add ES12 JSON encoder/decoder

This patch adds ES12 encoder/decoder functions.

Related: SYS#7339
Change-Id: I875cbb3a6dab6ac1eac5df1199f6fb71738a744e
The file was addedlibrary/euicc/es12_Types_JSON.ttcn