Skip to content
Success

Changes

Summary

  1. testenv: fix missing titan_min= error msg (details)
  2. pgw: initial testenv.cfg (details)
  3. stp: Expect and answer M3UA BEAT from IUT (details)
  4. IPA_Emulation.ttcn: Add call to support dis/enabling CCM management (details)
  5. stp: IPA: Introduce test TC_beat (details)
  6. stp: IPA: Introduce test TC_beat_timeout (details)
  7. stp: IPA: Introduce test TC_clnt_beat_timeout (details)
  8. stp: Introduce test TC_(m3ua_tcp(clnt_))beat_timeout (details)
  9. epdg/testenv/run_osmo_epdg…: fix ip link ls output (details)
  10. epdg/testenv/run_osmo_epdg…: wait up to 30s (details)
  11. Bump titan_min to 11.1.0 where possible (details)
  12. testenv/podman_install: fix regex warning (details)
  13. stp: m3ua: Introduce test TC_combinedlset_loadshare (details)
  14. stp: Add helper function to build SCCP UDT encoded octetstring (details)
  15. stp: ipa: Introduce test TC_combinedlset_loadshare (details)
  16. Fix typo unknwon -> unknown (details)
  17. stp: Fix recent regression introduced in TC_ipa_to_m3ua_patch_sccp (details)
  18. pcu: TC_sns_del: improve test stability (details)
  19. remsim: bankd: add TC for creating a mapping with a busy client (details)
  20. bsc: generic: Introduce test TC_stat_msc_sctp_disconnected (details)
  21. stp: Support expect RFC466 4.5.1 DUNA after ASP ACT (details)
  22. Cosmetic: testenv: tweak argparse formatting (details)
  23. testenv: add run --asan (details)
  24. bsc-sccplite: Fix override of opc of incoming msgs (details)
  25. bsc: Avoid running TC_stat_msc_sctp_disconnected in latest (details)
  26. PCU: TC_sns_del: expect NS Alive while preparing the test (details)
  27. RAW_NS: SNS: allow to set the transaction id of Add/Chg/Del procedures (details)
  28. RAN_Emulation.ttcnpp: Log ignored rx RANAP msg when no cb set (details)
  29. StatsD_Checker: Allow configuring timeout (details)
  30. StatsD_Checker: Keep polling IUT if waiting for convergence (details)
  31. bsc: TC_mscpool_sccp_n_pcstate_detaches_msc: wait for AS to become (details)
  32. hnbgw: Use static sigtran config between osmo-hnbgw and osmo-stp (details)
  33. hnbgw: Introduce test TC_stat_stp_sctp_disconnected (details)
  34. hnbgw: swap first MSC and SGSN PC to be usual default ones (details)
  35. msc: Use static sigtran config between osmo-msc and osmo-stp (details)
  36. RAN_Emulation: Fix handling of IMSI in RANAP Paging (details)
  37. msc: Add suport to obtain statsd output (details)
  38. msc: Introduce test TC_stat_bsc_sctp_disconnected (details)
  39. GSUP Fix missing IMSI template present restriction in tr_GSUP_SAI_REQ (details)
  40. sgsn: Use static sigtran config between osmo-sgsn and osmo-stp (details)
  41. sgsn: Introduce test TC_stat_rnc_sctp_disconnected (details)
  42. smlc: Use static sigtran config between osmo-msc and osmo-stp (details)
  43. smlc: Add suport to obtain statsd output (details)
  44. sctp: Introduce test TC_stat_bsc_sctp_disconnected (details)
  45. hnbgw: Use static sigtran config also in osmo-hnbgw-with-pfcp.cfg (details)
  46. smlc: fix running against latest (details)
  47. SGSN: Iu: use correct service request type (details)
  48. testenv/requirements: update link (details)
  49. testenv: run requirements check before cfg init (details)
  50. testenv/requirements: simplify rsync checks (details)
  51. NGAP_Templates: Fix wrong IEs passed to InitialContextSetupResponse (details)
  52. Dockerfile: upgrade to libfftranscode 0.6 (updated NGAP ASN.1 to (details)
  53. ngap: Fix deviation in ASN1 from TS 38.413 version 17.5.0 (details)
  54. library/ngap: Use titan native APER enc/dec (details)
  55. Cosmetic: deps/Makefile: update comments (details)
  56. 5gc: Support PDU Session Establishment procedure (details)
  57. Split GTPv1U out of GTPv2_Emulation (details)
  58. GTP1vU_Emulation: Make UECUPS support optional (details)
  59. gbproxy: Drop unneeded GTP dependencies (details)
  60. GTPv1U_Emulation: support multiple client ports per GTP1U_ConnHdlr (details)
  61. Split GTPv1U out of GTP_Emulation (details)
  62. 5gc: Rework init code (details)
  63. 5gc: C5G_Tests.cfg: Set module name of multiple module params (details)
  64. Move ConnHdlr logic to its own file (details)
  65. pgw: Move to library/ high level APIs to run commands over UECUPS (details)
  66. pgw: Use templates to generate UECUPS commands (details)
  67. 5gc: Introduce test TC_register_ping4 (details)
  68. library/ngap: Fix wrong procedureCode in (details)
  69. testenv: Dockerfile: use debian archive for deb10 libssl pkg (details)
  70. testenv: Add $install_dir/usr/bin to $PATH (details)
  71. s1gw/testenv: adjust to use new launcher script (details)
  72. testenv: podman: add libnftables-dev (details)
  73. library/ngap: Support passing optional NAS-PDU to (details)
  74. NGAP_Functions.ttcn: Fix wrong offset of NGAP_ID_pair in (details)
  75. 5gc: Implement PDU Session Release procedure (details)
  76. library: Comment out debugging for NGAP/5G-NAS (details)
  77. 5gc: Introduce test TC_ng_register_ping4_256 (details)
  78. 5gc: Introduce test TC_periodic_registration_updating (details)
  79. {S1AP,NGAP}_Emulation: Fix indentation (details)
  80. {S1AP,NGAP}_Emulation: Fix using the value of an optional field (details)
  81. {S1AP,NGAP}_Emulation: Simplify lookup code (details)
  82. NGAP_Templates: Fixes and improvements for UEContextReleaseComplete (details)
  83. 5gc: Implement UE-initiated de-registration procedure (details)
  84. testenv: osmo_dev: remove unused limit_section arg (details)
  85. testenv/osmo-dev: split get_targets to own func (details)
  86. testenv: pass targets to osmo-dev's gen_makefile (details)
  87. Makefile: add 'clean-logs' target (details)
  88. msc: add TC_silent_call_{start_stop,active_conn} (details)
  89. testenv: Dockerfile: fix Suites: stable-backports (details)
  90. ngap: Add missing mandatory IE Cause to m_n2_UEContextReleaseRequest (details)
  91. ngap: Add template for UEContextReleaseReq without PDU Session List (details)
  92. 5gc: Obtain amf_id from NGAP_Emulation (details)
  93. 5gc: Place PDU Session params into its own subrecord (details)
  94. 5gc: Add tests for UE release context request procedure (details)
  95. 5gc: Add helper to get incremental PTI field (details)
  96. GSUP Templates: fix empty destination_name in GSUP ISD/UL (details)
  97. GSUP_Templates: ts_GSUP_UL_REQ: add template scopes (details)
  98. GSUP_Templates: fix whitespace issues (details)
  99. BSSGP_ConnHdlr: f_service_request: allow to define if a Service Accept (details)
  100. MSC Tests: add TC_gsup_lu_and_det: do a LU, Detach and expect GSUP MS (details)
  101. ngap: Fix wrong IE Id in m_n2_PDUSessionResourceModifyResponse() (details)
  102. 5gc: Test UE requested PDU Session Modification procedure (details)
  103. testenv: install curl backport only for bookworm (details)
  104. Cosmetic: testenv: make builddir_env more readable (details)
  105. testenv: use separate cache dirs per distro (details)
  106. testenv: init podman: add --distro arg (details)
  107. testenv: debian 13: fix installing libgcc (details)
  108. testenv: debian 13: fix installing eclipse-titan (details)
  109. testenv: check for --distro without --podman (details)
  110. testenv: check value of --distro early (details)
  111. testenv: add debian:trixie (details)
  112. testenv: enable_binary_repo: configure apt pin (details)
  113. testenv: set default distro to debian:trixie (details)
Commit c9d552ef83efaef859fe9b2dc202ba8833750d3b by Oliver Smith
testenv: fix missing titan_min= error msg

Fixes: 98268b665 ("testenv: add titan_min to all configs")
Change-Id: I0eb99da16ba6ffd5ae936aa63bb770e2a73fdd25
The file was modified_testenv/testenv/testenv_cfg.py
Commit fdf5f68b7a8f40cc44f89b308e9ead0a497c4b58 by Oliver Smith
pgw: initial testenv.cfg

All tests are passing with this config.

Related: OS#6494
Change-Id: I0f14ce56859c3303b2f6af57d7ab5722e0cbe8e0
The file was addedpgw/osmo-uecups-daemon.cfg
The file was modified_testenv/data/podman/Dockerfile
The file was modified_testenv/testenv/podman.py
The file was addedpgw/open5gs-upf.yaml
The file was addedpgw/testenv.sh
The file was addedpgw/open5gs-smf.yaml
The file was addedpgw/open5gs-nrf.yaml
The file was addedpgw/freediameter.conf
The file was addedpgw/testenv.cfg
The file was modifiedpgw/PGW_Tests.cfg
Commit 7d66ac9bdbc2321ec6087e7163c8b4fd8d7e560b by Pau Espin Pedrol
stp: Expect and answer M3UA BEAT from IUT

This fixes tests failing with newer versions of libosmo-sigtran where
HEARTBEAT procedure is enabled by default.

Change-Id: Idb70acde0683bc053db20781ce4926fbc318f51f
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit ebc2bb5f6cc6ca4b3bdc8b94c1a83dde1d1d3a8d by Pau Espin Pedrol
IPA_Emulation.ttcn: Add call to support dis/enabling CCM management

This allows eg. a user to let the Emulation do the inital handshake, and
then pass control of eg. IPA PING/PONG messages directly to the user
afterwards.

Change-Id: If68e0ba36c3a56f021dd50aadf2156ddc696b816
The file was modifiedlibrary/IPA_Emulation.ttcnpp
Commit 5a2eea6c9e5f197af6adc92339a0c18347ea7952 by Pau Espin Pedrol
stp: IPA: Introduce test TC_beat

Similar to the one already available in STP_Tests_M3UA, but testing
PING/PONG in IPA.

Change-Id: I3d762fb4780aaa9931c3841cce69da6ee95529f3
The file was modifiedstp/expected-results.xml
The file was modifiedstp/STP_Tests_IPA.ttcn
Commit 3ac340eeca0989133d8267ae9059aaa27176aae0 by Pau Espin Pedrol
stp: IPA: Introduce test TC_beat_timeout

Change-Id: I6f16915238d7762faf1c63fdeccca7e4a5f20893
Related: SYS#7501
Related: OS#4072
The file was modifiedstp/STP_Tests_IPA.ttcn
The file was modifiedstp/expected-results.xml
Commit b129fbaeff3ae23b0c554f498fb029afdee00cbc by Pau Espin Pedrol
stp: IPA: Introduce test TC_clnt_beat_timeout

Change-Id: I5a41857dbd9f0bfe40a3a539aaed8361bc29fd6b
Related: SYS#7501
Related: OS#4072
The file was modifiedstp/STP_Tests_IPA.ttcn
The file was modifiedstp/expected-results.xml
The file was modifiedstp/osmo-stp-ipa.confmerge
The file was modifiedstp/STP_Tests_IPA.cfg
Commit ece459185e4c5e82d3fbe0efaab8182f1375028a by Pau Espin Pedrol
stp: Introduce test TC_(m3ua_tcp(clnt_))beat_timeout

Related: SYS#7501
Related: OS#4072
Change-Id: Ie0c430b7992881e8ae506fe6434f06946f8f6278
The file was modifiedstp/STP_Tests_M3UA.ttcn
The file was modifiedstp/expected-results.xml
The file was modifiedstp/STP_Tests_M3UA_TCP.ttcn
Commit 3814f515f7ce74bbdaa10d6570278bc4db8d79ae by Oliver Smith
epdg/testenv/run_osmo_epdg…: fix ip link ls output

In the code that waits until the tun device is available, fix the
silencing of stdout and stderr.

Change-Id: I8ce8824930e8841dddd7a67d178d5140e4f71b84
The file was modifiedepdg/testenv/run_osmo_epdg_with_dummy_ue.sh
Commit f46bb1a28579542e15ebe5f1e246d28b42d487d8 by Oliver Smith
epdg/testenv/run_osmo_epdg…: wait up to 30s

Wait up to 30s for the tun device as waiting 10s is not enough if
jenkins is under high load.

Related: https://jenkins.osmocom.org/jenkins/job/ttcn3-epdg-test-net-next/29/console
Change-Id: Ia7298275b92f30efc40e9d6afa1abc8d7c5536d6
The file was modifiedepdg/testenv/run_osmo_epdg_with_dummy_ue.sh
Commit 91aa542a7a3de381b4d0fb8c2f8a598f90794192 by Oliver Smith
Bump titan_min to 11.1.0 where possible

I ran the generic version of all testsuites in the Osmocom jenkins with
eclipse-titan 11.1.0. Bump titan_min where we have the same result as
with 9.0.0.

The only testsuite that still didn't work the same is the gbproxy
testsuite (OS#6800), keep titan_min=9.0.0 there for now.

Related: OS#6490
Change-Id: Iba562ace07e6f38a8cde15b17478a0a1680df2fc
The file was modifiedns/testenv_sgsn_sns.cfg
The file was modifiedpgw/testenv.cfg
The file was modifiedpcap-client/testenv.cfg
The file was modifiedstp/testenv_ipa.cfg
The file was modifiedstp/testenv_m3ua.cfg
The file was modifiedbts/testenv_hopping.cfg
The file was modifiedbsc/testenv_generic.cfg
The file was modifieddia2gsup/testenv.cfg
The file was modifiedhss/testenv.cfg
The file was modifiedsgsn/testenv_sns.cfg
The file was modifiedpcu/testenv_generic.cfg
The file was modifiedbts/testenv_oml.cfg
The file was modifiedhlr/testenv.cfg
The file was modifiedremsim/testenv_server.cfg
The file was modifiedepdg/testenv.cfg
The file was modifiedbsc/testenv_sccplite.cfg
The file was modifiedmgw/testenv.cfg
The file was modifiedggsn_tests/testenv_open5gs.cfg
The file was modifieds1gw/testenv.cfg
The file was modifiedsccp/testenv.cfg
The file was modifiedgbproxy/testenv.cfg
The file was modifiedhnbgw/testenv_generic.cfg
The file was modifiedggsn_tests/testenv_osmo_ggsn_v4_only.cfg
The file was modifiedbsc/testenv_vamos.cfg
The file was modifiedsmlc/testenv.cfg
The file was modifiedns/testenv_sns.cfg
The file was modifiedggsn_tests/testenv_osmo_ggsn_all.cfg
The file was modifiedsgsn/testenv_generic.cfg
The file was modifiedggsn_tests/testenv_osmo_ggsn_v4v6_only.cfg
The file was modifiedhnodeb/testenv.cfg
The file was modifiedupf/testenv.cfg
The file was modifiedmsc/testenv.cfg
The file was modifiedcbc/testenv.cfg
The file was modifiedns/testenv_udp.cfg
The file was modifiedggsn_tests/testenv_osmo_ggsn_v6_only.cfg
The file was modifiedmme/testenv.cfg
The file was modifiedremsim/testenv_bankd.cfg
The file was modifiedstp/testenv_ipa-m3ua.cfg
The file was modified5gc/testenv.cfg
The file was modifiedpcrf/testenv.cfg
The file was modifiedsip/testenv.cfg
The file was modifiedhnbgw/testenv_with-pfcp.cfg
The file was modifiedstp/testenv_m3ua-tcp.cfg
The file was modifiedpcu/testenv_sns.cfg
The file was modifiedremsim/testenv_client.cfg
The file was modifiedbts/testenv_generic.cfg
Commit 1e089e76f23669f08d714a7eaa8e4fe89ca8bafb by Oliver Smith
testenv/podman_install: fix regex warning

Fix for the following warning with Python 3.12.3:

  …/testenv/podman_install.py:120: SyntaxWarning: invalid escape sequence '\d'
    pattern = re.compile("^\d+\.\d+\.\d+$")

Change-Id: I33ef4e16f3d3e4fa627f726d6fddd950b7826620
The file was modified_testenv/testenv/podman_install.py
Commit de0664f945a58549d1f6e7722679351e1e3241bd by Pau Espin Pedrol
stp: m3ua: Introduce test TC_combinedlset_loadshare

Test combined linkset loadsharing on M3UA AS.

Related: SYS#7112
Change-Id: I20a67648072f4d9839b1d1fceded1680362bf979
The file was modifiedstp/STP_Tests_M3UA.cfg
The file was modifiedstp/STP_Tests_M3UA.ttcn
The file was modifiedstp/expected-results.xml
The file was modifiedstp/osmo-stp-m3ua.confmerge
Commit b686e914b60d6e2486667fa8227576a70a86c909 by Pau Espin Pedrol
stp: Add helper function to build SCCP UDT encoded octetstring

Change-Id: I67961807bba4853b58e4b6f87eb3f2b56e9bb027
The file was modifiedstp/STP_Tests_IPA.ttcn
The file was modifiedstp/STP_Tests_Common.ttcn
The file was modifiedstp/STP_Tests_IPA_M3UA.ttcn
Commit 0e1c0a784da81db63b8d41c44114174594fe12e8 by Pau Espin Pedrol
stp: ipa: Introduce test TC_combinedlset_loadshare

Test combined linkset loadsharing on IPA AS.

Change-Id: I029ac9f3c664d2f30cddc36f6eb1b39295689247
Related: SYS#7112
The file was modifiedstp/STP_Tests_IPA.ttcn
The file was modifiedstp/osmo-stp-ipa.confmerge
The file was modifiedstp/expected-results.xml
The file was modifiedstp/STP_Tests_IPA.cfg
Commit 4da1a96bd1880d93498bfd87ebc0c6854b74854b by Pau Espin Pedrol
Fix typo unknwon -> unknown

Change-Id: I483090332931d85a8808bd558c4d4ac4d36fa16b
The file was modifiedbts/BTS_Tests.ttcn
The file was modifiedstp/STP_Tests_IPA.ttcn
Commit aa2211b45b8c03a77251865f6828e0fee1fe3362 by Pau Espin Pedrol
stp: Fix recent regression introduced in TC_ipa_to_m3ua_patch_sccp

The introduced function f_SCCP_UDT() had the calling+called param order
swapped with regards to previous templates. Change the order to first
have "calling" (src) and then "called" (dst) as already done in
ts_SCCP_UDT.
While at it, change the ts_SCCP_UDT params to accept template (value) to
make it easier for callers.

Fixes: b686e914b60d6e2486667fa8227576a70a86c909
Change-Id: I0e158557dabdb7e94d1c00a6d67126f2d85bb4cd
The file was modifiedlibrary/SCCP_Templates.ttcn
The file was modifiedstp/STP_Tests_Common.ttcn
The file was modifiedstp/STP_Tests_IPA_M3UA.ttcn
Commit 131d5d0cee16b804f7034be1f5d8a2df48c22f3c by lynxis
pcu: TC_sns_del: improve test stability

Add a sleep 1 to ensure the BSSGP flow Ack flows before removing the SNS.
Further add a data weight to the other NSVC to have at least one valid
NSVC with data weights. Otherwise the NSEI would become unavailable.

Related: OS#6751
Change-Id: Icb32e5f46ba7950848343efc46aee67e2397de5d
The file was modifiedpcu/PCU_Tests_SNS.ttcn
Commit cde4976148021b792453e631fe8f1585c58f40f5 by lynxis
remsim: bankd: add TC for creating a mapping with a busy client

Test if a busy client is implicit removed when creating a new mapping
for the same client with a different bankd slot.

After a desynchronisation between the server and bankd happen (e.g. restart the server),
the server might request a mapping between a client slot and a bankd slot
while the bankd still has a different mapping for the same client slot.

Example before this commit:
* server -> bankd: New Mapping (client 1/0, bankd 1/0)
* server <- bankd: Ack
* Restart server
* server -> bankd: New Mapping (client 1/0, bankd 2/0)
* server <- bankd: Ack (implicit remove mapping to bankd 1/0)

Related: SYS#7470
Change-Id: I57112758167c2a29fae9df0cf1e2691c5a8e7bed
The file was modifiedremsim/RemsimBankd_Tests.ttcn
Commit 40c73568c77ee3747a02fce2cf031d723a938207 by Pau Espin Pedrol
bsc: generic: Introduce test TC_stat_msc_sctp_disconnected

Take the chance to properly configure all ASP/AS data statically, in
order to be able to access them through VTY as well as have the setup
properly documented in the config files.

Change-Id: I028a16e2742ff0c58bf3b51ee1233ccf947a5a6a
Related: OS#5917
Related: SYS#7501
The file was modifiedbsc/osmo-bsc-sccplite.cfg
The file was modifiedbsc/osmo-stp.cfg
The file was modifiedbsc/expected-results.xml
The file was modifiedbsc/BSC_Tests.ttcn
The file was modifiedbsc/BSC_Tests.default
The file was modifiedbsc/BSC_Tests_SCCPlite.cfg
The file was modifiedbsc/osmo-bsc.cfg
Commit c3264dec64062359ce0ddc867d9c8ec0f634ba71 by Pau Espin Pedrol
stp: Support expect RFC466 4.5.1 DUNA after ASP ACT

libosmo-sigtran recently introduced support in SG role to send DUNA for
unreachablew destinations when a peer ASP becomes activated.
This is currently sent upon first ASP going active, since it's the time
where SG assumes the ASP peer may need that information.

Depends: libosmo-sigtran.git Id9d92c3fda7423a9c79fffac6b650abba9651853
Change-Id: I6bee0f890a8baaa62be193824b1ae2fceb53fb45
The file was modifiedstp/STP_Tests_IPA_M3UA.ttcn
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit f2d7775d961b392188bda1ec00fd3f651937cb26 by Oliver Smith
Cosmetic: testenv: tweak argparse formatting

Make all "add_argument" calls consistently have one function argument in
one line, instead of only having it in some places, and have all
arguments in one line in others. Having one function arg in one line is
enforced via ruff format when having a comma at the end of the function
call.

Change-Id: Ia1804f0313a27ddf8f7197ce0b2ad3b56421b290
The file was modified_testenv/testenv/__init__.py
Commit c3657172d306df5804d3142189a69ebb7a6a77f5 by Oliver Smith
testenv: add run --asan

Add a new --asan option for building Osmocom libraries and programs from
source with address sanitizer enabled. This works by adding
sanitize.opts to osmo-dev's gen_makefile.py, which in turn adds
--enable-sanitize to most Osmocom projects.

The --autoreconf-in-src-copy argument for gen_makefile.py must be moved
up, so the list of *.opts files is not interrupted by another type of
argument that causes argument parsing to fail.

Suggested-by: Pau Espin Pedrol <pespin@sysmocom.de>
Related: https://gitea.osmocom.org/osmocom/osmo-dev/src/branch/master/sanitize.opts
Change-Id: I1947dd3a7d9ce51dcbef9cffd5d7b402f236b9e2
The file was modified_testenv/testenv/osmo_dev.py
The file was modified_testenv/testenv/__init__.py
The file was modified_testenv/testenv/cmd.py
Commit ae5164897d190d9dcf4bde757b6a7475ca52a890 by Pau Espin Pedrol
bsc-sccplite: Fix override of opc of incoming msgs

This patch fixes a regression introduced recently in a patch. We
basically revert that line change. This fixes osmo-bsc crashes
spotted during ttcn3-bsc-test-sccplite.

Fixes: 40c73568c77ee3747a02fce2cf031d723a938207
Related: OS#6806
Change-Id: I9764f4020e80e954de61ff9ba4d8ce959359be8e
The file was modifiedbsc/osmo-bsc-sccplite.cfg
Commit a448af0d7f27967c54d21236eea05f7d323af654 by Pau Espin Pedrol
bsc: Avoid running TC_stat_msc_sctp_disconnected in latest

The osmo-stp in latest release, aside from not yet implementing the
"shutdown" cmd (which is known and hence test was expected to fail
there), has a side effect of ending up with a broken state after
restarting the ASP during got_parent() VTY node exit, where ASP is
ends up in ASP_DOWN and AS in AS_ACTIVE. This generates failures in all
tests after this one._

Change-Id: Icce4ec089b300f418e957ab67464759c782811a4
Related: OS#5917
Related: SYS#7501
Fixes: 40c73568c77ee3747a02fce2cf031d723a938207
The file was modifiedbsc/BSC_Tests.ttcn
Commit 71b0f8adc3277a7fb5d37c9ec7d84d44268800fb by lynxis
PCU: TC_sns_del: expect NS Alive while preparing the test

f_outgoing_sns_chg_weight() should handle NS Alive until
it do the SNS Delete procedure.

Related: OS#6751
Change-Id: I7c0991819de48b59e763fbe1ef6df4567c38007c
The file was modifiedpcu/PCU_Tests_SNS.ttcn
Commit 52b9d13a2d4fc42d54d0fba0f8c84cab0c13de29 by lynxis
RAW_NS: SNS: allow to set the transaction id of Add/Chg/Del procedures

Using hardcoded transaction ids are working, but for the TC_SNS_del it would
result in descending transaction ids.

Related: OS#6751
Change-Id: I1ea0424232ed925fee623568eb0edccdf1ae0368
The file was modifiedlibrary/RAW_NS.ttcnpp
Commit 2492d4481d3d68221396bdfdbf5f37c3a892291f by Pau Espin Pedrol
RAN_Emulation.ttcnpp: Log ignored rx RANAP msg when no cb set

Change-Id: I15b6fea2d44ab9607db020e1152ee1fd79839a52
The file was modifiedlibrary/RAN_Emulation.ttcnpp
Commit 5d92d33f623204cc9ef4b6496a4e90b999ef244c by Pau Espin Pedrol
StatsD_Checker: Allow configuring timeout

Change-Id: I183ad5810468cba5bfec20eb584a27462fde980c
The file was modifiedlibrary/StatsD_Checker.ttcnpp
Commit 49c118fe88d74e29c0734f3cca7a797dda4aacf4 by Pau Espin Pedrol
StatsD_Checker: Keep polling IUT if waiting for convergence

The wait_converge feature was implemented and used so far only against
IUTs which used also the snapshot feature, due to not having a VTY which
allows both resetting and triggering a status report manually. Instead,
those relied on IUT reporting changes at a given frequency.

If the wait_converge feature is requested and polling mode is used, then
make sure we poll once per second after last received statsd UDP msg.

Change-Id: Id78b46b88048206f74d1d88672b8309227e9438c
The file was modifiedlibrary/StatsD_Checker.ttcnpp
Commit 3c8f2862a33c36f5d8791ac31232e0a6afd2e934 by Pau Espin Pedrol
bsc: TC_mscpool_sccp_n_pcstate_detaches_msc: wait for AS to become unavailable

Otherwise race conditions can ocurr, specially since during some time
the AS can be in PENDING state until finally going into DOWN state and
notifying the peer.

Change-Id: Idc84929d89cbac4eb67cd2740f98844253dde70d
The file was modifiedbsc/BSC_Tests.ttcn
Commit 88d6666056d6cdc899d6c102fc379f8a469a725e by Pau Espin Pedrol
hnbgw: Use static sigtran config between osmo-hnbgw and osmo-stp

This allows referencing/accessing the specific ASP in osmo-stp, which
will be needed in a follow-up commit to test IUT behavior when the SCTP
conn is dropped.

Related: OS#5917
Change-Id: Icbec561e28db8e0da19a284b3ba73636ea5c8210
The file was modifiedhnbgw/osmo-stp.cfg
The file was modifiedhnbgw/osmo-hnbgw.cfg
Commit aa58029eb8b7889b878cd41c5b8641f49636ce46 by Pau Espin Pedrol
hnbgw: Introduce test TC_stat_stp_sctp_disconnected

Related: OS#5917
Depends: libosmo-sigtran.git Change-Id I7e4eedb65c4f2952f8b39ca4c539ca2f40e9946c
Change-Id: I079f2da09ff8d52e614ff6f5d267cd5429e4eb58
The file was modifiedhnbgw/HNBGW_Tests.default
The file was modifiedhnbgw/HNBGW_Tests.ttcn
The file was modifiedhnbgw/expected-results.xml
Commit 21a9dc3d6d1f1ad68a3645a810909280b28cea1a by Pau Espin Pedrol
hnbgw: swap first MSC and SGSN PC to be usual default ones

0.23.1 and 0.23.4 are default remote PCs to be used by osmo-hnbgw to
reach MSC and SGSN respectively, if no config is provided. In this
testsuite config, however, they were swapped, which is confusing.
Swap back the values so they match the default ones in osmo-hnbgw.

Change-Id: Ib62258e340ecf8cbe1026e43ccccc6bf98932244
The file was modifiedhnbgw/HNBGW_Tests.ttcn
The file was modifiedhnbgw/osmo-stp.cfg
The file was modifiedhnbgw/osmo-hnbgw-with-pfcp.cfg
The file was modifiedhnbgw/osmo-hnbgw.cfg
Commit 4e5e6c88e642ad20663b2274696041c75577a0e7 by Pau Espin Pedrol
msc: Use static sigtran config between osmo-msc and osmo-stp

This allows referencing/accessing the specific ASP in osmo-stp, which
will be needed in a follow-up commit to test IUT behavior when the SCTP
conn is dropped.

Related: OS#5917

Change-Id: Id78aac528b10a8449b83075419b74315d838d4a4
The file was modifiedmsc/osmo-stp.cfg
The file was modifiedmsc/osmo-msc.cfg
Commit edd0bee2234cd1dd60309ba1f32506b86d47d8f7 by Pau Espin Pedrol
RAN_Emulation: Fix handling of IMSI in RANAP Paging

The IMSI in RANAP Paging messages is encoded in octetstring BCD format.
We need to decode it before using it, since we use plain hexstrings
everywhere in the module to manage IMSIs.

Take the chance to clean up and improve logging on related lines, both
for BSSAP and RANAP.

Change-Id: Ia892a52bad41a4e331703bbab438d8c811b2025e
The file was modifiedlibrary/Osmocom_Types.ttcn
The file was modifiedlibrary/RAN_Emulation.ttcnpp
Commit 9a07f0ef1d2b2a9b587464801e1b38a17ddd81b9 by Pau Espin Pedrol
msc: Add suport to obtain statsd output

It will be used in a follow-up commit introducing a new test.

Change-Id: I66ffb278a7ddff975e43f72d9ec6b323705f720c
The file was modifiedmsc/MSC_Tests.default
The file was modifiedmsc/README.md
The file was modifiedmsc/osmo-msc.cfg
The file was modifiedmsc/regen_makefile.sh
The file was modifiedmsc/MSC_Tests.ttcn
The file was modifiedmsc/gen_links.sh
Commit a0ab56062497249eefa35132ad03c32adc00fca7 by Pau Espin Pedrol
msc: Introduce test TC_stat_bsc_sctp_disconnected

Related: OS#5917
Depends: osmo-msc.git Change-Id Ice1b2c163b1b0d134fcaa1c8bf543038a35fabdf
Change-Id: I4cf30ea09cb1d1286bd5ab6975f3f27e39b9c183
The file was modifiedmsc/MSC_Tests.default
The file was modifiedmsc/MSC_Tests.ttcn
The file was modifiedmsc/MSC_Tests_Iu.ttcn
The file was modifiedmsc/expected-results.xml
Commit 216e62c0df5890128a47f47d8b76cd749dc2d8b4 by Pau Espin Pedrol
GSUP Fix missing IMSI template present restriction in tr_GSUP_SAI_REQ

I got this DTE while running SGSN_Tests_Iu.TC_attach_pdp_act_user:
"""
GSUP_Templates.ttcn:381 Dynamic test case error: Restriction `present' on template of type hexstring violated.
"""

According to GSUP documentation, the IMSI param is mandatory.
Upon fixing it, the compiler found the user causing the problem:
"""
BSSGP_ConnHdlr.ttcn:797.49: error: Restriction on template formal parameter does not allow usage of any or omit
"""

That error is also fixed in this same commit.

Change-Id: Iea712df2f922fe5eb16e116f7a4609a0e20233b4
The file was modifiedlibrary/GSUP_Templates.ttcn
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
Commit d365b6a5e9a1a679146b195ff4870903cba2b527 by Pau Espin Pedrol
sgsn: Use static sigtran config between osmo-sgsn and osmo-stp

This allows referencing/accessing the specific ASP in osmo-stp, which
will be needed in a follow-up commit to test IUT behavior when the SCTP
conn is dropped.

Related: OS#5917

Change-Id: Ie52f4c1877587067af66add56ad8674b82b51718
The file was modifiedsgsn/osmo-stp.cfg
The file was modifiedsgsn/osmo-sgsn.cfg
Commit 3916f477b3edb7071670f909ec087a7e5b2ec514 by Pau Espin Pedrol
sgsn: Introduce test TC_stat_rnc_sctp_disconnected

The commit doesn't validate everything it should, because passing the
indication from osmo-iuh's iu_client to app (osmo-sgsn) is not
supported in current API, and hence the statsd metrics are not yet
implemented in osmo-sgsn.

Still, this test already validates that osmo-sgsn is capable of
surviving an sctp link down event in IuPS, and continue to work
afterwards. IT also allows easily debugging this scenario by inspecting
pcap files, logs, etc.

Related: OS#5917
Change-Id: I35888630ea9e9005e1252677c5d42f66f84e177b
The file was modifiedsgsn/expected-results.xml
The file was modifiedsgsn/SGSN_Tests.default
The file was modifiedsgsn/SGSN_Tests_Iu.ttcn
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit 780d496e07528c99a2b90ccf691a021c50311bba by Pau Espin Pedrol
smlc: Use static sigtran config between osmo-msc and osmo-stp

This allows referencing/accessing the specific ASP in osmo-stp, which
will be needed in a follow-up commit to test IUT behavior when the SCTP
conn is dropped.

Change-Id: I008dba252da29f445c52151c7b65428ca7054ed0
Related: OS#5917
The file was modifiedsmlc/osmo-stp.cfg
The file was modifiedsmlc/osmo-smlc.cfg
Commit 5268d5606c81746e2b86bcc39b1a67d9d0f11079 by Pau Espin Pedrol
smlc: Add suport to obtain statsd output

It will be used in a follow-up commit introducing a new test.

Change-Id: I52813397890a85326a85b3580fd605f9ac10a26d
The file was modifiedsmlc/regen_makefile.sh
The file was modifiedsmlc/gen_links.sh
The file was modifiedsmlc/osmo-smlc.cfg
The file was modifiedsmlc/SMLC_Tests.default
The file was modifiedsmlc/SMLC_Tests.ttcn
Commit 48f9b66a597c9f528084da3d5ec147eca02972fc by Pau Espin Pedrol
sctp: Introduce test TC_stat_bsc_sctp_disconnected

Change-Id: Ic67d9d8120e9bd09b0e54b237e93f49f79262be0
Related: OS#5917
Depends: osmo-smlc.git Change-Id Ib01576036f34ac7f21c5bce0155b50932eb9b72a
The file was modifiedsmlc/SMLC_Tests.default
The file was modifiedsmlc/SMLC_Tests.ttcn
The file was modifiedsmlc/expected-results.xml
Commit 61a6c1e76f4d6a9080ff965191bd7ffa8cf9ea63 by Pau Espin Pedrol
hnbgw: Use static sigtran config also in osmo-hnbgw-with-pfcp.cfg

Previous commit did set static configuration in osmo-hnbgw.cfg (generic)
but forgot to add the same to the with-pfcp scenario.

Fixes: 88d6666056d6cdc899d6c102fc379f8a469a725e
Change-Id: I20979cbd5cf7e9d8c109f72d5f84c4fbe26b44ca
The file was modifiedhnbgw/osmo-hnbgw-with-pfcp.cfg
Commit 13b19f999b00bb3f71a345b2526f6e7291eae23b by Oliver Smith
smlc: fix running against latest

osmo-smlc from latest doesn't support statsd yet. Use a separate config
that doesn't have the statsd block and don't try to initialize it for
latest.

Change-Id: If7b1d46777703f0511ee15520571d0313bdfa5ed
Fixes: 5268d5 ("smlc: Add suport to obtain statsd output")
The file was addedsmlc/osmo-smlc.latest.cfg
The file was modifiedsmlc/testenv.cfg
The file was modifiedsmlc/SMLC_Tests.ttcn
Commit 50e6218e0f70a9bb1501d54a933c0cef5873dee8 by lynxis
SGSN: Iu: use correct service request type

When the UE wants to transfer data, the Service Request
must have the type data.
Remove the default of f_service_request() to force
explicit defining it.

Change-Id: Ia47edd8ca916cf377da875583a3c4eb6ff5f1f52
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
The file was modifiedsgsn/SGSN_Tests_Iu.ttcn
Commit 6ae5988b6f043df3d69ccda87a7527deff951e04 by Oliver Smith
testenv/requirements: update link

Adjust the link, as the Latest_Builds wiki page was merged into
Binary_Packages.

Change-Id: Ie8a6df2f8fd08983532c8a757ae1849792fbd5b3
The file was modified_testenv/testenv/requirements.py
Commit f66a846f9f5a41bd8ca3882020a2b18db9eb4ab7 by Oliver Smith
testenv: run requirements check before cfg init

When parsing testenv.cfg files, the titan_min version gets compared with
the installed titan version. This fails with a python trace if titan is
not installed. Catch this earlier by running the requirements check
first, which ensures ttcn3_compiler is avaiable or gives a helpful error
message:

  [testenv] Missing program: ttcn3_compiler
  [testenv]   Install eclipse-titan, e.g. from osmocom:latest:
  [testenv]   https://osmocom.org/projects/cellular-infrastructure/wiki/Binary_Packages

Fixes: 18eef740 ("testenv: support using multiple titan versions")
Change-Id: I09ed7af5b236aeffd910d7c0a1a0b63a78631ade
The file was modified_testenv/testenv.py
Commit 73e81344c8f7d470fc2fae626b79df20df26acbc by Oliver Smith
testenv/requirements: simplify rsync checks

rsync is needed by osmo-dev for the autoreconf-in-src-copy feature that
testenv uses.

* Don't require rsync when running in podman. This is not necessary
  anymore since 92b3784 ("testenv: remove copy_ttcn3_hacks_dir").

* Combine the "if not testenv.args.binary_repo" code path with the
  "if not testenv.args.podman" code path, as --binary_repo can't be set
  without --podman.

Change-Id: I4fd885aa6c9b6801e18043f783bae357da716d19
The file was modified_testenv/testenv/requirements.py
Commit 8852c23e10ad302853ecda9e478de897faaff8d8 by Pau Espin Pedrol
NGAP_Templates: Fix wrong IEs passed to InitialContextSetupResponse

Change-Id: I7b385456e45505cb4655adda5ad5aba36fc96a4b
The file was modifiedlibrary/ngap/NGAP_Templates.ttcn
Commit 8c93a8091d0f655464f307f59bdf9361818aac2c by Pau Espin Pedrol
Dockerfile: upgrade to libfftranscode 0.6 (updated NGAP ASN.1 to V17.5.0)

Change-Id: I57c2f9adbb2f691f28ab936f09db3c24bdfeef5f
The file was modified_testenv/data/podman/Dockerfile
Commit 6d3463acdc67d34f5a9477592d7881b1bb9f94c6 by Pau Espin Pedrol
ngap: Fix deviation in ASN1 from TS 38.413 version 17.5.0

I originally copied the ASN1 files from https://forge.etsi.org/rep/int/5g-core/ngap.git
directory ttcn/LibNGAP/lib/asn1, commit fa43d01e202379a969e991a9454d9c6c6930b5b5.

Apparently one file contained a deviation from the 3GPP content and it
was also fixed in ngap.git in 47e7239dd80f2f12a4cbcdd7977ca0a32356f3be.

I found out this problem when trying to use this ASN1 file to generate
new libfftranscode, which then failed to properly decode
DownlinkNASTransport due to the deviation.

Change-Id: I7d127998ea162a392f3381ebb1d198ad3c783a56
The file was modifiedlibrary/ngap/NGAP_PDU_Descriptions.asn
Commit 76f41ca4a93b51d1c9fc26602710bad12a538eaf by Pau Espin Pedrol
library/ngap: Use titan native APER enc/dec

Related: OS#6490
Change-Id: I07b604fbd5d3665fdb48c4193ab58cffa7dd709a
The file was modifiedlibrary/ngap/NGAP_EncDec.cc
The file was modified5gc/regen_makefile.sh
Commit c7336be632c79144499c3d31bdedd703ccb212f0 by Oliver Smith
Cosmetic: deps/Makefile: update comments

Remove the part about caching logic of docker containers, as most
testsuites don't use docker-playground anymore. The main reason for
using commits here is that we have exact commits when doing regression
testing.

Replace the verbose license header with the SPDX version while at it.

Change-Id: I7eddc64aeab20292922ba013221679dfe952ff45
The file was modifieddeps/Makefile
Commit 1926de1cf1da5b4f968a37636cbe8fe820419409 by Pau Espin Pedrol
5gc: Support PDU Session Establishment procedure

This commit adds initial support to issue a successful PDU Session
Establishment procedure towards the 5GC, getting a ready-to-use GTPU
session with IPv4 addr + TEID + UE IP address.

commit has to our nas.git fork is updated in order to have multiple
fixes and improvements needed to have everything working fine.

Related: SYS#7073
Change-Id: If0769afd07a4bae7778d7a7c347cebaa5909b5f8
The file was addedlibrary/NG_NAS_Osmo_Types.ttcn
The file was modifiedlibrary/ngap/NGAP_Templates.ttcn
The file was modifiedlibrary/ngap/NGAP_Types.ttcn
The file was modifiedlibrary/ngap/NGAP_EncDec.cc
The file was modified5gc/gen_links.sh
The file was modifiedlibrary/NGAP_Functions.ttcn
The file was modified5gc/C5G_Tests.ttcn
The file was modifieddeps/Makefile
The file was modifiedlibrary/NG_NAS_Functions.ttcn
The file was modifiedlibrary/NG_NAS_Osmo_Templates.ttcn
Commit 2cee8714b800f598f008908edfb13571ddab53e2 by Pau Espin Pedrol
Split GTPv1U out of GTPv2_Emulation

GTPv1U and GTPv2C are 2 different protocols, working on 2 different
ports, on 2 different sockets.
Hence, it makes no sense to put them together, since some tests may want
to use only the control-plane, others may want to use the user-plane,
etc.
Morevoer, GTPv1U can be used together with both GTPv2C anf GTPv1C.

This commit also fixes the confusion where TEIC and TEID were not
properly separated in GTPv2_Emulation.

Change-Id: Ia45307107753294c6761cb588f0ab769821eb213
The file was modifiedlibrary/GTPv2_Emulation.ttcn
The file was modifiedpgw/PGW_Tests.cfg
The file was modifiedpgw/PGW_Tests.ttcn
The file was modifiedmme/gen_links.sh
The file was modifiedepdg/EPDG_Tests.ttcn
The file was modifiedpgw/gen_links.sh
The file was modifiedepdg/gen_links.sh
The file was addedlibrary/GTPv1U_Emulation.ttcn
The file was modifiedmme/MME_Tests.ttcn
The file was modifiedmme/regen_makefile.sh
Commit dd4745a8e64b5802905512f0b656085e5c221748 by Pau Espin Pedrol
GTP1vU_Emulation: Make UECUPS support optional

Some users may/do want to use the simple UDP/GTPU socket mode, so they
don't need to depend on all UECUPS code.

Change-Id: I3b4671d8e637f70f790b08ed8e3b5145e7a95703
The file was modifiedpgw/gen_links.sh
The file was modifiedpgw/regen_makefile.sh
The file was addedlibrary/GTPv1U_Emulation.ttcnpp
The file was removedlibrary/GTPv1U_Emulation.ttcn
The file was modifiedepdg/regen_makefile.sh
The file was modifiedepdg/gen_links.sh
Commit ebec5671387b2f166fdc7c24f8a246799d70ab7b by Pau Espin Pedrol
gbproxy: Drop unneeded GTP dependencies

Change-Id: Id282bf63ae4abe8f2e97d84146db1f48198dacf7
The file was modifiedgbproxy/regen_makefile.sh
The file was modifiedgbproxy/gen_links.sh
Commit a1d418c2e395f0d05555849c12cf6666986aa18b by Pau Espin Pedrol
GTPv1U_Emulation: support multiple client ports per GTP1U_ConnHdlr

This feature is already present in GTP1U code of GTP_Emulation.
That part of the code will be removed and ported to use
GTPv1U_Emulation, so we need to also support this feature here.

Change-Id: I10ce33f30a2da5159f8040725df619844a71d6bc
The file was modifiedlibrary/GTPv1U_Emulation.ttcnpp
The file was modifiedpgw/PGW_Tests.ttcn
The file was modifiedepdg/EPDG_Tests.ttcn
Commit 5c70880949733e4b1257a3bfd95b9f75f2775682 by Pau Espin Pedrol
Split GTPv1U out of GTP_Emulation

We already have a GTPv1U_Emulation, use it.

Change-Id: I5b3da248719b79d402b945904e3840a2ec387dab
The file was modifiedhnodeb/gen_links.sh
The file was modifiedsgsn/SGSN_Tests_Iu.ttcn
The file was modifiedhnodeb/HNBGW_ConnectionHandler.ttcn
The file was modifiedhnodeb/HNB_Tests.ttcn
The file was modifiedlibrary/GTP_Emulation.ttcn
The file was modifiedmme/MME_Tests.ttcn
The file was modifiedsgsn/gen_links.sh
The file was modifiedhnodeb/regen_makefile.sh
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit e57f19566233114807e08202f5e391b0aacad5af by Pau Espin Pedrol
5gc: Rework init code

* Move T_Guard to MTC, there's no need to have multiple of them (one per
  ConnHdlr).
* Call f_init_handler() internally so it doesn't need to be called by
  each ConnHdlr test.
* Change function attribute friend to private

Change-Id: I71e5d552a6c0089345982a403285f66a92397413
The file was modified5gc/C5G_Tests.ttcn
Commit 11ebed3db31da30376a047b774a339b1374429ec by Pau Espin Pedrol
5gc: C5G_Tests.cfg: Set module name of multiple module params

Change-Id: I936240af988d4727516b5722dd360a907d70eee7
The file was modified5gc/C5G_Tests.cfg
Commit 7302de843bb22e364f4ec568d48898913a3af531 by Pau Espin Pedrol
Move ConnHdlr logic to its own file

Similar to what we do in other testsuites, since we start to have
considrable amount of logic.

Change-Id: If7edf8ee63c71fbf949e2d340cf3881fd8e3ba41
The file was modified5gc/C5G_Tests.ttcn
The file was added5gc/ConnHdlr.ttcn
Commit d9f91c71239a837192a05b938fda7ec45eb07b08 by Pau Espin Pedrol
pgw: Move to library/ high level APIs to run commands over UECUPS

This way the code can be reused by other testsuites more easily.

Change-Id: I49c98fd423e47e16ddfb9ae4612b18db21ca3fa4
The file was modifiedpgw/PGW_Tests.ttcn
The file was modifiedlibrary/GTPv1U_Emulation.ttcnpp
Commit 594b42cec7ee58153e841f3e40486c9e844c4b81 by Pau Espin Pedrol
pgw: Use templates to generate UECUPS commands

This way if commands are extended with optional fields, we don't need to
update these since default params in templates will take care of it.

Related: SYS#7073
Depends: osmo-uecups.git Change-Id If524b0a122d1217fcd39e4633835a1a7d0620c7a
Change-Id: I4de6623318fe2abf9807702251fe420eb14de2cc
The file was modifieddeps/Makefile
The file was modifiedpgw/PGW_Tests.ttcn
Commit 682d83d6e46e62d273837a5cb69cf173423b4e4e by Pau Espin Pedrol
5gc: Introduce test TC_register_ping4

osmo-uecups is used to set up a GTPv1U tundev with the PDU session
params configured over NGAP/NAS, similar to what is already done in
PGW_Tests.

Depends: osmo-uecups.git Change-Id I6262c3dfbf774b361aadf0aa53ce09b5fdc38da4
Change-Id: I66737a94eedcf4184aa59bbbd7cc700d1e9d1521
The file was added5gc/testenv.sh
The file was modified5gc/gen_links.sh
The file was modified5gc/open5gs/open5gs-smf.yaml
The file was added5gc/osmo-uecups-daemon.cfg
The file was added5gc/testsuite_prepare.sh
The file was modified5gc/open5gs/open5gs-upf.yaml
The file was modified5gc/ConnHdlr.ttcn
The file was modifieddeps/Makefile
The file was modified5gc/expected-results.xml
The file was modified5gc/regen_makefile.sh
The file was removed5gc/open5gs/testenv.sh
The file was modified5gc/testenv.cfg
The file was modified5gc/C5G_Tests.ttcn
The file was modified5gc/C5G_Tests.cfg
Commit 8b030aa8ff76a71b31828b461987b91dc59928bb by Pau Espin Pedrol
library/ngap: Fix wrong procedureCode in PDUSessionResourceReleaseCommand templates

Change-Id: Ia4b0cacf8e3f859820d4b5e23d73f38bb5b7fbfd
The file was modifiedlibrary/ngap/NGAP_Templates.ttcn
Commit 54be980dbf7119069682b27cfc4d79874764e412 by Oliver Smith
testenv: Dockerfile: use debian archive for deb10 libssl pkg

As Debian 10 is EOL, this debian 10 package we are still using here to
make mongodb work is getting removed from the mirrors. Currently some
still have it, some have deleted it already. Use the archive instead.

Related: docker-playground Ia447d850d38c662aac567aa88685d984c0b42238
Change-Id: I1a81e8e1485c810396f1714e6ef0485878fab6ec
The file was modified_testenv/data/podman/Dockerfile
Commit 4490d45fc46278c854d788375235436c45b9b19c by Oliver Smith
testenv: Add $install_dir/usr/bin to $PATH

When building programs from source, don't look only in $install_dir/bin,
but also in $install_dir/usr/bin for the binaries. osmo-s1gw installs to
usr/bin with recent changes and other programs may do this too.

Related: osmo-s1gw I5681ca103daf1c497218b4513b0ca97b1aae03d3
Change-Id: I8d652dba94bbd44217a3034ac012b6568941347d
The file was modified_testenv/testenv/cmd.py
Commit a83f4b4dfbf163070af6ae982caed211061184f8 by Oliver Smith
s1gw/testenv: adjust to use new launcher script

osmo-s1gw now gets started through a launcher script.

Depends: osmo-s1gw I5681ca103daf1c497218b4513b0ca97b1aae03d3
Change-Id: Ief1579154bf46b9bc2551535ede3e1f14456d65d
The file was modifieds1gw/testenv.cfg
Commit dc9cb2ba1c889e5d179f2836a10b926c61af0fb4 by Oliver Smith
testenv: podman: add libnftables-dev

This is required for building osmo-s1gw from source in podman,
otherwise:

  /home/user/.cache/osmo-ttcn3-testenv/podman/make3/osmo-s1gw/default/lib/enftables/c_src/enftables.c:16:10: fatal error: nftables/libnftables.h: No such file or directory
     16 | #include <nftables/libnftables.h>
        |          ^~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

Change-Id: I0ae94f73f0875048d9a71d1582627e57e60425c6
The file was modified_testenv/data/podman/Dockerfile
Commit fab7baced46086a5a89250e8a124ba6eeb419046 by Pau Espin Pedrol
library/ngap: Support passing optional NAS-PDU to PDUSessionResourceReleaseCommand

Change-Id: I5f516f33824a83c0eaeb2c0decd82409b786867e
The file was modifiedlibrary/ngap/NGAP_Templates.ttcn
Commit 9d8f1cf5e328597c21e3adada0fc3e73f00d24cd by Pau Espin Pedrol
NGAP_Functions.ttcn: Fix wrong offset of NGAP_ID_pair in uEContextReleaseCommand

Change-Id: I2302bebf75530f574a7fe2647b1eafcc4d5fd7df
The file was modifiedlibrary/NGAP_Functions.ttcn
Commit a0a96312db260f832e75733da01faa830f2e5ceb by Pau Espin Pedrol
5gc: Implement PDU Session Release procedure

Related: SYS#7073
Change-Id: If79cb0c97008e7a9885bb548a3d2e67e41ba170f
The file was modifiedlibrary/NG_NAS_Osmo_Types.ttcn
The file was modifiedlibrary/NG_NAS_Osmo_Templates.ttcn
The file was modified5gc/ConnHdlr.ttcn
The file was modifiedlibrary/NGAP_Functions.ttcn
The file was modifiedlibrary/NG_NAS_Functions.ttcn
The file was modified5gc/C5G_Tests.ttcn
Commit 2d2840eb9cf4c6ac75734d0d79844ad83cd38588 by Pau Espin Pedrol
library: Comment out debugging for NGAP/5G-NAS

The current NGAP and 5G auth code is now working fine, so disable debug
logging. Keep it commented out so it can be re-enabled at any time if
some related topic needs to be debugged (will eventually happen).

Change-Id: I4250766644742f0fd11ca5e24b1a1a581dc81b4b
The file was modifiedlibrary/NGAP_Emulation.ttcn
The file was modifiedlibrary/milenage/milenage.c
Commit f6570fe2d243551aaf25740ce9dcf5f5f5e55011 by Pau Espin Pedrol
5gc: Introduce test TC_ng_register_ping4_256

open5gs-dbctl tool is called in batches of multiple IMSIs to speed up
setup, since each call takes fractions of seconds to complete.
mongosh called by open5gs-dbctl actually uses quite a lot of CPU and RAM
resources, hence limit the amount of parallel runs to a fair amount (eg.
running the 256 of them in parallel froze my workstation with 16GB of
RAM).

Change-Id: I7282fa3c1a474c4b7dceeb5e358547dcdbd1fea6
The file was modified5gc/expected-results.xml
The file was modified5gc/ConnHdlr.ttcn
The file was modifiedlibrary/NGAP_Emulation.ttcn
The file was modified5gc/create_test_subscribers.sh
The file was modified5gc/C5G_Tests.ttcn
Commit 465578b38747bf6e3166393554615cbe5bff013c by Pau Espin Pedrol
5gc: Introduce test TC_periodic_registration_updating

Related: SYS#7073
Change-Id: I63da25a3927cb459563d4325adc690beb8a67451
The file was modified5gc/ConnHdlr.ttcn
The file was modified5gc/expected-results.xml
The file was modified5gc/C5G_Tests.ttcn
Commit 00e9861436eb8ffcdbaabf14e37712382cb80f6c by Pau Espin Pedrol
{S1AP,NGAP}_Emulation: Fix indentation

Change-Id: Ifb2e4e3fc2d3ef4a76f2b0e906b12d0f740e9cdd
The file was modifiedlibrary/S1AP_Emulation.ttcn
The file was modifiedlibrary/NGAP_Emulation.ttcn
Commit 2783c40ed73e090dbdcacb6453571fc2a377372c by Pau Espin Pedrol
{S1AP,NGAP}_Emulation: Fix using the value of an optional field containing omit

This was triggered in NGAP_Emulation during run of C5G_Tests complete
testusite, when running TC_ng_register_ping4_256.

Titan apparently doesn't like using a field set as omit in a field of a
record during match().

Same fix is applied for S1AP_Emulation since they basically use the same
logic.

Change-Id: I4812c2e9eeeadc26ad057cd8019f7570e4a16155
The file was modifiedlibrary/S1AP_Emulation.ttcn
The file was modifiedlibrary/NGAP_Emulation.ttcn
Commit 9b52d97b25d8aaae4f95e8c3945a9b7e7708a562 by Pau Espin Pedrol
{S1AP,NGAP}_Emulation: Simplify lookup code

Simplify code matching IDs. Explicitly test, log and exit function
called with both IDs passed as "omit".

Change-Id: I02f33c191d131c6325f3608ceec80be6f036aa84
The file was modifiedlibrary/S1AP_Emulation.ttcn
The file was modifiedlibrary/NGAP_Emulation.ttcn
Commit 2640ca1e9df9ceee417ad3788c37ed39239de82b by Pau Espin Pedrol
NGAP_Templates: Fixes and improvements for UEContextReleaseComplete

The existing templates for UEContextReleaseComplete were completelly
wrong, probably due to copy-paste when introducing them. This commit
fixes all those problems and allows passing optional parameters.

* procedureCode was wrong
* Criticality of several fields was wrong
* Type of resource list was wrong, and marked as mandatory while it was
  optional.

Change-Id: I50da7cd4cb15d8e6b2c68b21a4e4be93e3973593
The file was modifiedlibrary/ngap/NGAP_Templates.ttcn
Commit 28c5496d5f00648b59acdf1364175946af9d8b0e by Pau Espin Pedrol
5gc: Implement UE-initiated de-registration procedure

Change-Id: Iab438d5a7cc5f2ba58943e4568c1fb5e5f41f99d
Related: SYS#7073
The file was modifiedlibrary/NG_NAS_Osmo_Templates.ttcn
The file was modified5gc/ConnHdlr.ttcn
The file was modified5gc/C5G_Tests.ttcn
The file was modifieddeps/Makefile
Commit 9cf4619d33570fa62fd7b8d3165f8ab558f79692 by Oliver Smith
testenv: osmo_dev: remove unused limit_section arg

Remove the unused limit_section argument in testenv.osmo_dev.make(). The
idea was to use osmo-dev to build programs where no packages are
available when using --binary-packages, but this didn't work because
when using --binary-packages, we must install all package dependencies
from the binary repository (so testing nightly / latest use the expected
library versions). Nowadays this use case is handled by
podman_install.from_source_* functions without using osmo-dev.

Change-Id: Ib09ffd0e269c58acd431bdbb5cc7cdcec2d36359
The file was modified_testenv/testenv/osmo_dev.py
Commit e226ed9c05da377d551227a0a10cbd5ef0d30213 by Oliver Smith
testenv/osmo-dev: split get_targets to own func

Split the code for getting osmo-dev targets into a separate function, so
this can be reused in the next patch.

Change-Id: I2bd7c05102ca472614289870957cdca335c01eaf
The file was modified_testenv/testenv/osmo_dev.py
Commit 34d9429b2bd5836ddcd35f60ed0a3000e38438ae by Oliver Smith
testenv: pass targets to osmo-dev's gen_makefile

Pass the targets we are about to build to osmo-dev's gen_makefile
script. This has two advantages:

1) Check early if a target isn't known by the current osmo-dev version,
   displaying a useful error to the user instead of just failing during
   make later on:

     ERROR: filter_projects_deps_targets: can't find project osmo-new-project in projects_deps!

     [testenv] gen_makefile.py from osmo-dev failed!
     [testenv] Your osmo-dev.git clone might be outdated, try:
     [testenv] $ git -C /home/user/code/osmo-dev pull

2) Parsing the generated Makefile when running "make" after generating
   it doesn't cause a noticable delay anymore. On my machine (with many
   Osmocom git repos cloned in osmo-dev's src dir) it went from several
   seconds to instantly.

Depends: osmo-dev I89bb60e94dd03606dbba5a3609d5e1a95993af5b
Change-Id: Ib2d8802b305f145d27aab3c1cc3129709b93d93d
The file was modified_testenv/testenv/osmo_dev.py
The file was modified_testenv/testenv.py
Commit 277645455fc1e9cfc73b302e79b01305d40bdd87 by Vadim Yanitskiy
Makefile: add 'clean-logs' target

When running tests manually I oftentimes end up with hundreds of
*.log files in testsuite directories.  The present patch adds a
convenience target for removing them.

Change-Id: Id0597f9eeea9e128ce38a2b19f2126c729e71ffd
The file was modifiedMakefile
Commit fce7affe62355633b0ecf40ce79b0224d9d3cea7 by Vadim Yanitskiy
msc: add TC_silent_call_{start_stop,active_conn}

This patch adds testcases for the silent-call feature:

* MSC_Tests.TC_silent_call_start_stop
  Test starting and stopping silent call via the VTY.
* MSC_Tests.TC_silent_call_active_conn
  Test initiating a silent call while there's an active connection.
  The MSC is expected to be smart and reject such an attempt.

Change-Id: I3ef22fbb5a05f69cc8aea7f42e05f6e1d6c4a8b6
Related: osmo-msc.git I93913d189800d71f82c013b6e946bd63db362f65
Related: osmo-msc.git I52b3be26c61cadacc4783b5c324809ecd6906b36
The file was modifiedmsc/expected-results.xml
The file was modifiedmsc/MSC_Tests.ttcn
Commit 0b852f1c501c896aa14c54b51e633825b6a6d591 by Oliver Smith
testenv: Dockerfile: fix Suites: stable-backports

Using "stable-backports" broke now that Debian 13 is out. Use
"bookworm-backports" instead.

Fix for:
  E: The value 'bookworm-backports' is invalid for APT::Default-Release as such a release is not available in the sources

Change-Id: Icc46b6dc2493806dc12f0ff442abd70fe5b48eb8
The file was modified_testenv/data/podman/Dockerfile
Commit 5f056edafa983ad33df88a4df966d58adb0b8183 by Pau Espin Pedrol
ngap: Add missing mandatory IE Cause to m_n2_UEContextReleaseRequest

Change-Id: Ib7d87f957e469a23448e35fd82a697d1698c7da7
The file was modifiedlibrary/ngap/NGAP_Templates.ttcn
Commit 3e18a7d180d3d18903ae3332f19916321bef3693 by Pau Espin Pedrol
ngap: Add template for UEContextReleaseReq without PDU Session List

That's the only optional IE in the message. Add a separate template to
be able to transmit with that IE set, similar to what's already done in
m_n2_InitialContextSetupRequest_withPDUSessionList().

Change-Id: I0f1a549103b70bcd373dcd4c688761d3eeef10a6
The file was modifiedlibrary/ngap/NGAP_Templates.ttcn
Commit 00439f67575fb04e91f5bbc216e4e00ed08b5620 by Pau Espin Pedrol
5gc: Obtain amf_id from NGAP_Emulation

This will be needed in a follow-up commit in order to be able to
transmit UE Context Release Request.

Change-Id: I49cb6d7fe9f18734c49bb49ecceb671e8122ce88
The file was modified5gc/ConnHdlr.ttcn
The file was modified5gc/C5G_Tests.ttcn
The file was modifiedlibrary/NGAP_Emulation.ttcn
Commit 08db9b0f53a1e33ce07b2bdfb3ce197d8d33266b by Pau Espin Pedrol
5gc: Place PDU Session params into its own subrecord

This way we properly split between layers, plus the fact that we'll
probably want to hold several concurrent pdu sessions in each UE in the
future.

Change-Id: Ibb0c8d3f0901d53e4aa75855e602234410fd00f9
The file was modified5gc/ConnHdlr.ttcn
The file was modified5gc/C5G_Tests.ttcn
Commit b04e85128a47761a99c0301ac1d3f3307663d987 by Pau Espin Pedrol
5gc: Add tests for UE release context request procedure

Change-Id: Icaaeb2923fdcaba47a72ed0aedc5661f68c03774
The file was modified5gc/ConnHdlr.ttcn
The file was modified5gc/expected-results.xml
The file was modified5gc/C5G_Tests.ttcn
Commit 44b1d9086304c7290fac9619ca495f4911fde577 by Pau Espin Pedrol
5gc: Add helper to get incremental PTI field

Change-Id: I9d32024b58799bbd3ef547cdc73ee73d7f7275d2
The file was modified5gc/ConnHdlr.ttcn
The file was modified5gc/C5G_Tests.ttcn
Commit de6aae8e13fb95d041fd854e429307174e5a961a by lynxis
GSUP Templates: fix empty destination_name in GSUP ISD/UL

The destination_name TLV should be either set with a valid name
or not present, but a field with length 0 shouldn't be used.

Change-Id: Ia89b5a82665e407fa578e5209fbcde0676326df0
The file was modifiedlibrary/GSUP_Templates.ttcn
Commit 7b2eeda67229f8dcf8eff5f6db8f70ecb8990d43 by lynxis
GSUP_Templates: ts_GSUP_UL_REQ: add template scopes

Allow to omit the source_name TLV in GSUP UL Request.
The whole ts_GSUP_UL_REQ must resolve to a value.

Change-Id: I250960a1e1c19dfa1efa81f6bbc93efa07cb225c
The file was modifiedlibrary/GSUP_Templates.ttcn
Commit b6e0943a81b1e0b937295142643b08a1afbc01ec by lynxis
GSUP_Templates: fix whitespace issues

Change-Id: I03be75063a71153bd2881afd1d741454c508fada
The file was modifiedlibrary/GSUP_Templates.ttcn
Commit 2ff5b2633a43cecaed75b30b85537d6de3a52c97 by lynxis
BSSGP_ConnHdlr: f_service_request: allow to define if a Service Accept is expected

A SecurityModeCommand is defined as an implicit Service Accept when the UE
is in PMM_IDLE (meaning, having no Iu signalling connection)

Change-Id: I5c190db28263c530a8eea188bf570a58eaffdd4d
The file was modifiedsgsn/SGSN_Tests_Iu.ttcn
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
Commit cb40cdc72329544dd61cfb20f0d54fd2773a8b4d by lynxis
MSC Tests: add TC_gsup_lu_and_det: do a LU, Detach and expect GSUP MS Purge

Currently the MSC/VLR doesn't inform the HLR when a MS detaches.

Change-Id: I9e87537efc2c921fa860539a706316ed410b45d5
The file was modifiedmsc/expected-results.xml
The file was modifiedmsc/MSC_Tests.ttcn
Commit 4a437693acc3c07d9b352ce576f423b3f495ce19 by Pau Espin Pedrol
ngap: Fix wrong IE Id in m_n2_PDUSessionResourceModifyResponse()

Change-Id: I13547e548e5323fe54340393cbe9f333f10c5969
The file was modifiedlibrary/ngap/NGAP_Templates.ttcn
Commit b5e80f8c09e15a1c2994adc1cdf085ee8be53bae by Pau Espin Pedrol
5gc: Test UE requested PDU Session Modification procedure

Change-Id: Id9ac0f0e431c4a82dfab8675c93bf3c3f05442a7
The file was modified5gc/ConnHdlr.ttcn
The file was modifiedlibrary/ngap/NGAP_EncDec.cc
The file was modified5gc/C5G_Tests.ttcn
The file was modifieddeps/Makefile
The file was modifiedlibrary/NGAP_Functions.ttcn
The file was modifiedlibrary/NG_NAS_Osmo_Templates.ttcn
The file was modified5gc/expected-results.xml
The file was modifiedlibrary/ngap/NGAP_Types.ttcn
Commit 481fbd2eb0f5e278ac9168ced17cc0046965f175 by Oliver Smith
testenv: install curl backport only for bookworm

Change-Id: Ifeeea010fb13bfd65e1d3659a3c43fc4acf07795
The file was modified_testenv/data/podman/Dockerfile
Commit f4b635152119753b8d0e20e5ae5627b7dab7410d by Oliver Smith
Cosmetic: testenv: make builddir_env more readable

Change-Id: I7bbd14bd91c97bc37a163018217b104ace0e1a53
The file was modified_testenv/testenv/testsuite.py
Commit b7706e346e9755612f467651af3ef92ee54b2045 by Oliver Smith
testenv: use separate cache dirs per distro

Change-Id: I0f1c05bb4d8cfababc24477976abf8a0baa3daba
The file was modified_testenv/testenv/cmd.py
The file was modified_testenv/testenv/testsuite.py
The file was modified_testenv/testenv/podman.py
Commit 20223ae6360d71a3357ab345721bb14469ffe52d by Oliver Smith
testenv: init podman: add --distro arg

Allow building the podman image for another distribution. This was
mostly implemented already, but due to the missing --distro argument for
"./testenv.py init podman" it could not be used yet.

Change-Id: Iff59b5d403e88046a3f98438394e1e02a36e7c0a
The file was modified_testenv/testenv/__init__.py
Commit a4020ef1e1ab85735597c68247fcc1103376efdd by Oliver Smith
testenv: debian 13: fix installing libgcc

Use a wildcard to install the proper libgcc-*-dev package (libgcc-11-dev
for debian bookworm, libgcc-13-dev for trixie).

Change-Id: I9992d8cf8cd68a9e3ec9178909e0766dbd5d12ad
The file was modified_testenv/data/podman/Dockerfile
Commit d205bdfeb3a0515ac1a87fde5138577784ef05db by Oliver Smith
testenv: debian 13: fix installing eclipse-titan

Change-Id: I56be4e3e72a1ad4590e904f9a48d90aa635c9980
The file was modified_testenv/data/podman/Dockerfile
Commit e23a1f54854e2800bdcf1e5ee50101bf84fc480f by Oliver Smith
testenv: check for --distro without --podman

The --distro option only makes sense with --podman, complain if it is
used without --podman.

Change-Id: I1b7b26320c65d498a1e812f85f0b98eda95be783
The file was modified_testenv/testenv/__init__.py
Commit ff1be69d165eab54efc852029e0315d5697a1342 by Oliver Smith
testenv: check value of --distro early

Make sure that the value for --distro is supported early on, instead of
only checking it if --binary-repo is set while trying to add the binary
repository.

Change-Id: I37493f26d71e70a19f4a19b3bbda972c03c84905
The file was modified_testenv/testenv/podman.py
The file was modified_testenv/testenv/__init__.py
Commit 9c6073ccc5d738bfa5f3e7c388348368a77140d6 by Oliver Smith
testenv: add debian:trixie

Change-Id: Ib62851960724c17f9adddf54a2fc39adef911d32
The file was modified_testenv/testenv/__init__.py
Commit 5897e046456c48b1d7cd54b4b9bbb51ddb0eb3b6 by Oliver Smith
testenv: enable_binary_repo: configure apt pin

Add an apt-pin to ensure packages from the Osmocom repositories get
preferred over Debian's packages. I just ran into this with osmo-mgw,
where we have 1.4.0 in osmocom:latest and Debian 13 has 1.14.0+dfsg1-2,
which counts as higher version. This results in the wrong package being
selected, and also in an error later on when trying to install related
debug packages from our repository:

  The following packages have unmet dependencies:
   osmo-mgw-dbgsym : Depends: osmo-mgw (= 1.14.0) but 1.14.0+dfsg1-2 is to be installed

Change-Id: I3a45de277bbd5299c8b840680b56b52a8731caa4
The file was modified_testenv/testenv/podman.py
Commit cfdf5c6decad947b13717c8ae8f9aa1642a8966b by Oliver Smith
testenv: set default distro to debian:trixie

Related: OS#6826
Change-Id: Ib9c5dafaa7b17e435f61fbedfd92393c0a767f34
The file was modified_testenv/testenv/__init__.py