Skip to content
Success

Changes

Summary

  1. asterisk: IMS: Fix To header 'tag' attr not set in resync 401 (details)
  2. asterisk: f_TC_ims_registration_423_interval_too_brief: Fix To address (details)
  3. asterisk: Log unexpected AMI msg (details)
  4. Revert "s1ap: add {enc,dec}_S1AP_Global_ENB_ID() API" (details)
  5. deps/Makefile: Use osmocom fork of titan.TestPorts.SIPmsg (details)
  6. asterisk: Split test code into helper functions (details)
  7. asterisk: Unregister SIP UAs whose MT call gets cancelled (details)
  8. asterisk: Introduce test TC_ims_call_mo_holdresume_mo (details)
  9. asterisk: Increase timeout waiting for AMI event FullyBooted (details)
  10. asterisk: Fix accessing to unset called_contact var in MT call without (details)
  11. SGP32Definitions_Templates: populate certificates correctly (details)
  12. SGP32Definitions_Templates: add template for IpaEuiccDataResponse (details)
  13. IPAd_Tests: move static test configuration to IPAd_Tests.default (details)
  14. IPAd_Tests: rework verification of ESipa responses from IPAd (details)
  15. eIM_Tests: add testsuite for an eIM (details)
  16. eIM_Tests: Use real notificationAddress in ProfileINstallationResultData (details)
  17. RSPDefinitions_Templates: add variants of (details)
  18. IPAd_Tests: expect the IPAd to request a notifications list on init (details)
  19. asterisk: TC_ims_call_mo_2nd_mo_rejected (details)
  20. asterisk: Move Via generation to helper function (details)
  21. asterisk: IMS: MT call: Move Tx INVITE to helper function (details)
  22. ttcn3-asterisk: Introduce test TC_ims_call_mo_2nd_mt_rejected (details)
  23. asterisk: MO internal call: Expect direct rtp re-INVITE (details)
  24. asterisk: sip: Fail rx unexpected msg during unregister (details)
  25. asterisk: TC_internal_call_all_Nregistered: Answer Cancel when received (details)
  26. asterisk: Introduce test TC_ims_call_mt_no_local_uas_registered (details)
  27. asterisk: Introduce test TC_ims_call_mt_local_uas_inacall (details)
  28. Fix BTS_Tests_ASCI.TC_vbs_notification, add missing SI1 (details)
  29. asterisk: Introduce test TC_ims_call_mo_holdswitchresume_mo (details)
  30. sgsn: Move BSSGP_ConnHdlr code to its own file (details)
  31. sgsn: expected-results.xml: Add missing TC_sgsn_context_req_{in,out} (details)
  32. asterisk: IMS: enable EVS-only codec on IMS side (details)
  33. sgsn: Fix regression t_guard not passed (details)
  34. msc: Use RAB_ID obtained from RAB-AssReq (details)
  35. msc: Use template ts_RAB_SMdL (details)
  36. library/GTP_Emulation: Check IMSI presence before returning if (details)
  37. library/GTPv1C_Templates: Introduce template ts_GTPC_UpdatePdpRespGGSN (details)
  38. library/L3_Templates: Introduce templates for GMM Service Req/Acc/Rej (details)
  39. library/L3_Templates: Fix discriminator field in ts_GMM_DET_ACCEPT_MO (details)
  40. deps: Update titan.ProtocolEmulations.M3UA to current master (details)
  41. library/GTP_Emulation: Make GTPv1C port optional (details)
  42. sgsn: Rename vc_GTP -> vc_GGSN_GTP (details)
  43. GTP_ConnHdlr: Allow connection to multiple GTP_Emulation (details)
  44. sgsn: Set up GTPv1U in emulated RNCs (details)
  45. sgsn: Introduce test TC_attach_pdp_act_user (details)
  46. sgsn: Validate Direct Tunnel Flags DTI=1 is set during (details)
  47. ggsn: Fix function name (details)
  48. hnbgw: remove <= 1.5.x code paths (details)
  49. msc: remove <= 1.11.x code path (details)
  50. stp: remove <= 1.8.x code paths (details)
  51. sgsn: Introduce test TC_attach_pdp_act_pmm_idle (details)
  52. Improve use of enumareted type GTP_Clause (details)
  53. GTP1C_Templates,Osmocom_Gb_types: Use/move conversion functions at (details)
  54. sgsn: Introduce test TC_attach_pdp_act_pmm_idle_lost_pdp_status (details)
  55. library/GTPv1U_Templates: Mark parameters as templates (details)
  56. sgsn: Introduce test TC_pmm_idle_rx_mt_data (details)
  57. sgsn: Introduce test TC_update_ctx_err_ind_from_ggsn (details)
  58. pcu: Introduce test TC_x2001_pacch_pkt_dl_ass_unanswered_timeout (details)
  59. testenv: seccomp_profile: import (details)
  60. testenv: seccomp profile: enable io_uring (details)
  61. testenv: add test environment script (details)
  62. hlr: initial testenv.cfg (details)
  63. mgw: initial testenv.cfg (details)
  64. sip: initial testenv.cfg (details)
  65. sgsn/SGSN_Tests_SNS.cfg: run only SGSN_Tests_NS (details)
  66. sgsn: initial testenv.cfg (details)
  67. upf: initial testenv.cfg (details)
  68. hnodeb: default configs: fix conflict (details)
  69. hnodeb: more verbose error for f_tc_cs_mo_call (details)
  70. hnodeb: initial testenv.cfg (details)
  71. dia2gsup: initial testenv.cfg (details)
  72. smlc: import current configs from docker-playground (details)
  73. smlc: initial testenv.cfg (details)
  74. cbc: initial testenv.cfg (details)
  75. hss: initial testenv.cfg (details)
  76. mme: initial testenv.cfg (details)
  77. ttcn3-(tcp)dump(pcap)-stop.sh: store multiple runs of same test into (details)
  78. testenv/podman: use explicit no_podman=True (details)
  79. testenv: podman.is_running() -> testenv.args.podman (details)
  80. testenv/testdir: fix typo (details)
  81. SGSN_Tests: add paging a whole routing area with multiple cells (details)
  82. SGSN_Tests: remove unused variable d (details)
  83. SGSN_Tests_NS: NS related tests: use the shutdown helper (details)
  84. SGSN_Tests_NS: TC_NS_connect_alive: set missing verdict (details)
  85. ggsn: Split test and relax expectations testing gtpu access over ipv6 (details)
  86. sgsn: Fix running with testenv.py podman setup (details)
  87. sgsn: Introduce test TC_attach_rau_a_b_wrong_old_ra (details)
  88. deps/Makefile: Use upstream titan.TestPorts.SIPmsg (details)
  89. testenv: set args.podman = False if action != "run" (details)
  90. testenv: cmd: pass all env vars without --podman (details)
  91. S1AP_Emulation: Fix new_ctx never set when building security header (details)
  92. S1AP_Emulation: Fix building security headers for Integrity and (details)
  93. testenv/README: update (details)
  94. testenv: add TESTENV_REBUILD_OUTDATED_IMAGE (details)
  95. testenv: fix duplicate 2>&1 (details)
  96. mme: expect authentication during 2g->4G TAU procedure (details)
  97. s1gw: Split ConnHdlr to its own file (details)
  98. s1gw: Add mp_enb_bind_ip module parameter (details)
  99. s1gw: initial testenv.cfg (details)
  100. s1gw: Wait for component to stop before testing IUT for conn refused (details)
  101. s1gw: Immediate stop all components upon ConnHdlr failure (details)
  102. s1gw: Increase failure timeouts to ease debugging (details)
  103. s1gw: Fix direction of e-RAB Setup (details)
  104. mme: Fix order in eutran_to_geran testcase (details)
  105. s1gw: Validate S1SetupResp is forwarded fine MME->ENB (details)
  106. s1gw: Increase S1AP setup timeout (details)
  107. s1gw: Make components alive (details)
  108. s1gw: Add initial PFCP support emulating UPF (details)
  109. s1gw: Rename functions to include s1ap information (details)
  110. testenv: fix testsuite.run() not passing env variables (details)
  111. s1gw: rename module ConnHdlr -> S1GW_ConnHdlr (details)
  112. s1gw: cosmetic: reorder module parameters (details)
  113. s1gw: S1GW_Tests.cfg: add PFCP related module params (details)
  114. s1gw: osmo-s1gw.config: fix pfcp_{loc,rem}_addr comments (details)
  115. s1gw: osmo-s1gw.config: enable colors in logging (details)
  116. PFCP: rework templates, get rid of functions (details)
  117. PFCP: fix SEID value in {ts,tr}_PFCP_Session_Est_Req (details)
  118. PFCP: drop no longer needed {ts,tr}_PDU_PFCP (details)
  119. PFCP: add Heartbeat Req/Resp templates (details)
  120. PFCP_Emulation: respond to incoming Heartbeat Req (details)
  121. testenv: Fix testsuite.run() passing too many envvars to podman (details)
  122. Update key for Osmocom OBS (details)
Commit bedb43a3514d3c5399be6d2ed3bef0dcda9f4caf by Pau Espin Pedrol
asterisk: IMS: Fix To header 'tag' attr not set in resync 401 Unauthorized response

Change-Id: I74a014eb5cb5084726ef6b0462030a20fdbb3339
The file was modifiedasterisk/IMS_ConnectionHandler.ttcn
Commit 12139dfb8d151cac6a5077c056c9bf605bf39e9e by Pau Espin Pedrol
asterisk: f_TC_ims_registration_423_interval_too_brief: Fix To address 'tag' attribute

Change-Id: Ifd79d9cdc03f87f104a66564455e57bb7a462fe8
The file was modifiedasterisk/Asterisk_Tests.ttcn
Commit 54d5b2d550fa349482244d2bbc4bbcce1342d7cf by Pau Espin Pedrol
asterisk: Log unexpected AMI msg

Change-Id: I406a00a54cb6d956e465001b8da0b14ea3e24195
The file was modifiedasterisk/Asterisk_Tests.ttcn
Commit 312e33ce884070e7996299031a8d1dcfe012af83 by laforge
Revert "s1ap: add {enc,dec}_S1AP_Global_ENB_ID() API"

This reverts commit c4944aaa0114bda268af12bfb58d9f12f1041c4b.

This commit broke ttcn3-mme-test:

TC_RIM_RAN_INF0(34)@79228701f472: Dynamic test case error: Unknown coding method requested to encode type '@S1AP-IEs.Global-ENB-ID'
TC_RIM_RAN_INF0(34)@79228701f472: setverdict(error): none -> error
TC_RIM_RAN_INF0(34)@79228701f472: Final verdict of PTC: error

Encoding/decoding IEs (not complete PDUs) is not supported by libfftranscode.  This will only work with built-in TITAN's PER codec available in recent releases.

Change-Id: I4d73bca4ca1fded487d80e535d3050661b83dcea
The file was modifiedlibrary/s1ap/S1AP_Types.ttcn
The file was modifiedlibrary/s1ap/S1AP_EncDec.cc
The file was modifiedmme/MME_Tests.ttcn
Commit a988f0092003067323bc335b7bfceac8cabfecca by Pau Espin Pedrol
deps/Makefile: Use osmocom fork of titan.TestPorts.SIPmsg

This will allow us using IPv6 in IPmsg_PT until [1] is mergedi upstream.

[1] https://gitlab.eclipse.org/eclipse/titan/titan.TestPorts.SIPmsg/-/merge_requests/4

Related: SYS#6982
Change-Id: If9bffd57204ee1ea56cbf0cb0109c422fb2c460f
The file was modifieddeps/Makefile
Commit da12ffef63966057303d4cb189a48d3f70a178c4 by Pau Espin Pedrol
asterisk: Split test code into helper functions

This allows reusing code to create new tests coming up soon, like
sending HOLD (re-INVITE sendonly) after having estavlished the call.

Related: SYS#6782
Change-Id: Ic9c712f4cd688729bece225c0d19219dc53e14b3
The file was modifiedasterisk/Asterisk_Tests.ttcn
Commit 59019f50414e94651602d7e336eaa989a78fb20c by Pau Espin Pedrol
asterisk: Unregister SIP UAs whose MT call gets cancelled

Otherwise they are kept registered in Asterisk and that makes Asterisk
try to page them on subsequent MT calls to extension 500, making
test expectancies fail.

Change-Id: If76c7ac3bb6bb85643a8b83800954d5025593d25
The file was modifiedasterisk/Asterisk_Tests.ttcn
Commit acdabd6abf53e2610236e5723f41268498ce925f by Pau Espin Pedrol
asterisk: Introduce test TC_ims_call_mo_holdresume_mo

Related: SYS#7002
Change-Id: Ifffa1c4021f324871f11a60264c17b640569e18b
The file was modifiedasterisk/SIP_ConnectionHandler.ttcn
The file was modifiedlibrary/SDP_Templates.ttcn
The file was modifiedasterisk/IMS_ConnectionHandler.ttcn
The file was modifiedasterisk/expected-results.xml
The file was modifiedasterisk/Asterisk_Tests.ttcn
Commit c09bcf08ddb2f4a5e25c00d0d84b88e9c0f462ac by Pau Espin Pedrol
asterisk: Increase timeout waiting for AMI event FullyBooted

Change-Id: Ibd2bbdc4b916b5baca01407bac3cc5e9a99500e3
The file was modifiedasterisk/Asterisk_Tests.ttcn
Commit 99ae810fcadf4fbef3d292a68c52698e6fcf9296 by Pau Espin Pedrol
asterisk: Fix accessing to unset called_contact var in MT call without precondition

Change-Id: I7e7a6010c3b217c163945027d5c341bcb820c251
The file was modifiedasterisk/IMS_ConnectionHandler.ttcn
Commit db53e642f5809d718555a59654ddda2d94308074 by pmaier@sysmocom.de
SGP32Definitions_Templates: populate certificates correctly

The members eumCertificate and euiccCertificate are propulated with the wrong
sample certificates.

Related: SYS#6563
Change-Id: Id61c2261f931cacc543c76eea359bdcf22f36a4b
The file was modifiedlibrary/euicc/SGP32Definitions_Templates.ttcn
Commit 192de9d01c5e4f131d31b5fed4f6035f7e37063e by pmaier@sysmocom.de
SGP32Definitions_Templates: add template for IpaEuiccDataResponse

Related: SYS#6824
Change-Id: I93125dfedb2c1742efdc98e5f1f4d07ed5ed715c
The file was modifiedlibrary/euicc/SGP32Definitions_Templates.ttcn
Commit 6a10231466041752ec9a227978026f08ccb661cf by pmaier@sysmocom.de
IPAd_Tests: move static test configuration to IPAd_Tests.default

In IPAd_Tests.cfg we find some configuration parameters that never
change. Those can be moved to IPAd_Tests.default.

Change-Id: I14d6c7b617ed4c95a24e2ce96bf0d86c24288324
Related: SYS#6563
The file was modifiedipad/IPAd_Tests.cfg
The file was modifiedipad/IPAd_Tests.default
Commit 593e4534fe5b98d61e1536f4e0df5b2001ca8ce1 by pmaier@sysmocom.de
IPAd_Tests: rework verification of ESipa responses from IPAd

The verification of the ESipa requests is done separately in each test case
after calling f_esipa_transceive or f_esipa_receive. Let's do the verification
directly in those functions.

Related: SYS#6563
Change-Id: I0150fe5c98d5a5db9f1931c72ef6e015f74055bd
The file was modifiedipad/IPAd_Tests.ttcn
Commit 0c81180f28a985b7b70082b1e1867e543284e876 by pmaier@sysmocom.de
eIM_Tests: add testsuite for an eIM

This patch adds a testsuite for an eIM server component. It simulates
the SM-DP+ server backend and the IPAd client while it operates the
REST API of the eIM server.

Change-Id: Iba72ee00d10aba7831feedadacd943bf943de53e
Related: SYS#6824
The file was modifiedMakefile
The file was addedeim/eIM_Tests.ttcn
The file was addedeim/es9p_Types_JSON.ttcn
The file was addedeim/eIM_Tests.cfg
The file was addedeim/gen_links.sh
The file was addedeim/server.crt
The file was addedeim/eIM_Tests.default
The file was addedeim/regen_makefile.sh
The file was addedeim/server.key
The file was addedeim/REST_Types_JSON.ttcn
Commit 3a530f52ab3a6e64f0b02148188d36145ea9ca17 by pmaier@sysmocom.de
eIM_Tests: Use real notificationAddress in ProfileINstallationResultData

The ProfileInstallationResultData currently contains a dummy
address as notificationAddress. This means that the eIM may try to send
the ProfileInstallationResultData to that dummy address instead to the
testsuite. To prevent this, let's use the actual address as
notificationAddress

Related: SYS#6824
Change-Id: I337ef32a424875ca9d9be178ae96f1a76383dd38
The file was modifiedeim/eIM_Tests.ttcn
The file was modifiedlibrary/euicc/RSPDefinitions_Templates.ttcn
The file was modifiedlibrary/euicc/SGP32Definitions_Templates.ttcn
Commit 52f7134f5a60f0307de7ccb1021ec61b68552f74 by pmaier@sysmocom.de
RSPDefinitions_Templates: add variants of ts_retrieveNotificationsListResponse

There is currently only ts_retrieveNotificationsListResponse, which has a
profileInstallationResult in its notificationList. However, we will need
different variants of this template, so let's give it an appropriate prefix.
Let's also add a first variant that has just an empty notificationList

Change-Id: I1802b63a51bf68080b3ef81a967a964d961a1b96
Related: SYS#6563
The file was modifiedipad/IPAd_Tests.ttcn
The file was modifiedlibrary/euicc/RSPDefinitions_Templates.ttcn
Commit ee8708236ee50762824ad9e9244b15fc604d1d1f by pmaier@sysmocom.de
IPAd_Tests: expect the IPAd to request a notifications list on init

The IPAd now requests a list of pending notifications before it fetches
the a new eIM package.

Related: SYS#6563
Change-Id: I2cd7fdfde24404bc8cb1af258923cd86627db68a
The file was modifiedipad/IPAd_Tests.ttcn
Commit 4b80b4ada46378be5fca2e31188f22a89ace6d62 by Pau Espin Pedrol
asterisk: TC_ims_call_mo_2nd_mo_rejected

Related: SYS#7003
Change-Id: I7764e29e8df11ad65366642f83ebe922488bf128
The file was modifiedasterisk/expected-results.xml
The file was modifiedasterisk/SIP_ConnectionHandler.ttcn
The file was modifiedasterisk/Asterisk_Tests.ttcn
Commit 0f55834fe9835b80d3f733c6501df4aa1078d0d8 by Pau Espin Pedrol
asterisk: Move Via generation to helper function

Change-Id: Id49222928980e1fc5ab006719688b4fa0849d391
The file was modifiedasterisk/IMS_ConnectionHandler.ttcn
Commit 03c32d9c5e6dac9cc37238c8ba79f2fdf1128917 by Pau Espin Pedrol
asterisk: IMS: MT call: Move Tx INVITE to helper function

This helper function will be used by another function expecting an
INVITE reject in a follow-up patch.

Change-Id: If9657e88304fd7b3558737fdc807bae59cddc8a2
The file was modifiedasterisk/IMS_ConnectionHandler.ttcn
Commit 56eec6418444bd2db29a03f5714db76539a924c2 by Pau Espin Pedrol
ttcn3-asterisk: Introduce test TC_ims_call_mo_2nd_mt_rejected

Change-Id: Id6577d0e9137c86855469904d347e95b5bcfa4a7
The file was modifiedasterisk/expected-results.xml
The file was modifiedasterisk/Asterisk_Tests.ttcn
The file was modifiedasterisk/IMS_ConnectionHandler.ttcn
Commit 186a0b3f4b8b3950752cc3e769ca1e3b2972bef0 by Pau Espin Pedrol
asterisk: MO internal call: Expect direct rtp re-INVITE

Change-Id: I4ac602865cf0c18036b411acff4562322b32933b
The file was modifiedasterisk/Asterisk_Tests.ttcn
The file was modifiedasterisk/SIP_ConnectionHandler.ttcn
Commit 8c8679997d49e27e2b75f0f86aea41422107950a by Pau Espin Pedrol
asterisk: sip: Fail rx unexpected msg during unregister

Change-Id: Ibcf65b22925e990e4d13661204eaba1b471b6a5d
The file was modifiedasterisk/SIP_ConnectionHandler.ttcn
Commit 8e7ca9358c59532025cfb3ffc8900005c6610676 by Pau Espin Pedrol
asterisk: TC_internal_call_all_Nregistered: Answer Cancel when received

Otherwise CANCEL is not answered until the MO+MT SIP UAs have fully
established the call, which causes Asterisk to retransmit the CANCEL
several times.

Change-Id: I72e9ecaf58156f3fe62c4fb2d8c74c82ab16aa78
The file was modifiedasterisk/Asterisk_Tests.ttcn
Commit e69bd2047c8db989cae1d3440fc8c58a16bcdd2c by Pau Espin Pedrol
asterisk: Introduce test TC_ims_call_mt_no_local_uas_registered

Change-Id: Ibf7ecfe67f90df060b0ae87f394424566ad0fed4
The file was modifiedasterisk/Asterisk_Tests.ttcn
The file was modifiedasterisk/expected-results.xml
Commit d88f2017e2619dcc8a97b581d1a47ec1316f1a36 by Pau Espin Pedrol
asterisk: Introduce test TC_ims_call_mt_local_uas_inacall

Change-Id: I8a407993f37d18a0bf4c96f5228c0b5ce696053a
The file was modifiedasterisk/Asterisk_Tests.ttcn
The file was modifiedasterisk/expected-results.xml
Commit 3089a00ae7ddf6ebfbe167c7f17b07e55f6f65d4 by jolly
Fix BTS_Tests_ASCI.TC_vbs_notification, add missing SI1

Because System Information Type 1 was missing, the BTS could not assign
time slots to NCH. Without NCH, notification is not possible.

Related: OS#6467
Change-Id: I65dc55da78bc53a1265124e6b6f6bb9a1650206e
The file was modifiedbts/BTS_Tests_ASCI.ttcn
The file was modifiedbts/BTS_Tests.ttcn
Commit c07cd4b89393758ea3f26799ea315dc2efd63776 by Pau Espin Pedrol
asterisk: Introduce test TC_ims_call_mo_holdswitchresume_mo

Related: SYS#7003
Change-Id: I80ec326524501a2f0784291250e3d5fad6b04378
The file was modifiedasterisk/expected-results.xml
The file was modifiedasterisk/Asterisk_Tests.ttcn
Commit 0737428fa71b7d9bb849a9a000b3e1a7bcdce2ca by Pau Espin Pedrol
sgsn: Move BSSGP_ConnHdlr code to its own file

This was we split generic code from test specific code, making it easier
to focus on new test and finding generic functions which can be reused.
This is similar to what we already use in tons of other testsuites.

Related: SYS#5435
Change-Id: I0591cab8cca5195b8648920d5f79acc536a4efac
The file was addedsgsn/BSSGP_ConnHdlr.ttcn
The file was modifiedsgsn/SGSN_Tests.ttcn
The file was modifiedsgsn/SGSN_Tests_Iu.ttcn
Commit a049a3c2a94048d0555684558fccc82329149726 by Pau Espin Pedrol
sgsn: expected-results.xml: Add missing TC_sgsn_context_req_{in,out}

Change-Id: I2579958bbf8c28b72e58174e60634ca77c71dfee
The file was modifiedsgsn/expected-results.xml
Commit 1f29a2cc68db3e95e6e627d8de73de4d1c647335 by Pau Espin Pedrol
asterisk: IMS: enable EVS-only codec on IMS side

Related: SYS#7012
Change-Id: I1d1542f23ef7c6b2cd18afd90a169633d0d73a3f
The file was modifiedasterisk/IMS_ConnectionHandler.ttcn
Commit f847d7ffff6c242d689d9420424974fbb53fa759 by Pau Espin Pedrol
sgsn: Fix regression t_guard not passed

I forgot to pass this param when moving some code, and some tests which
set a higher guard time then where failing.

Fixes: 0737428fa71b7d9bb849a9a000b3e1a7bcdce2ca
Change-Id: I83cfd0d2fd148c8874b6e176af7273df7cb69174
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit 9b7b9a1bd2463febbfe47c716e08205d3ad211e0 by Pau Espin Pedrol
msc: Use RAB_ID obtained from RAB-AssReq

The helper function will be used too by follow-up patches.

Change-Id: If532c41304803d223591ce8e0c10dda4a562dfb8
The file was modifiedmsc/BSC_ConnectionHandler.ttcn
The file was modifiedlibrary/ranap/RANAP_Templates.ttcn
Commit db9fff864f67a929596d8993062bb55dabde42c7 by Pau Espin Pedrol
msc: Use template ts_RAB_SMdL

Change-Id: I768aad762c4fa6c0d3a6d0effd7a7a1aabb3488f
The file was modifiedmsc/BSC_ConnectionHandler.ttcn
Commit 973bd406709f5dc78d6790f77a551dfe9130a6e6 by Pau Espin Pedrol
library/GTP_Emulation: Check IMSI presence before returning if Conditional or Optional

Change-Id: I73c683e62191a06212933391d424d608a14f8c1e
The file was modifiedlibrary/GTP_Emulation.ttcn
Commit 97d3c91049e3ed9bac29dfb60ffe032d20f5a203 by Pau Espin Pedrol
library/GTPv1C_Templates: Introduce template ts_GTPC_UpdatePdpRespGGSN

Will be used by SGSN_Tests in a follow-up patch.

Change-Id: I91afc14eecfadb3e00ccb9b74794079a82ef884b
The file was modifiedlibrary/GTPv1C_Templates.ttcn
Commit f01765e40036e9496b94ebaf60cc440d16a183ef by Pau Espin Pedrol
library/L3_Templates: Introduce templates for GMM Service Req/Acc/Rej

Those will be used by a follow-up patch in SGSN_Tests.

Change-Id: Ia948a27e39cf11f1421396d15da32bd82ea9513c
The file was modifiedlibrary/L3_Templates.ttcn
Commit e77e00e642003b6978cba362d917b8fca28736b5 by Pau Espin Pedrol
library/L3_Templates: Fix discriminator field in ts_GMM_DET_ACCEPT_MO

It says it's overwritten, so in practice it may not be important, but
it's confusing for readers when figuring out which values are expected,
eg when adding a new tr_ template which needs that field set right (not
overwritten there).

Change-Id: If9741953f98b7dd29749d335a5bd937fdfb62bc6
The file was modifiedlibrary/L3_Templates.ttcn
Commit 6bcb581c3b29b3b6b7bbf91c9e8df67b8c7da6be by Pau Espin Pedrol
deps: Update titan.ProtocolEmulations.M3UA to current master

This contains a recently merged DTE fix showing up sometimes during
development in SGSN_Tests.

Change-Id: I4037fdd6ada765b2e041426393fcc506dd7885ff
The file was modifieddeps/Makefile
Commit 0aff376f637e9a3541ca60e24e68df27da147f3f by Pau Espin Pedrol
library/GTP_Emulation: Make GTPv1C port optional

The port is not needed when emulating HNBGW, since the setup of GTPv1U
happens through RAB-ASsReq/resp.

Change-Id: I3ffb54d0cb8b3a81ed5235feaaac6d989baf6e0d
The file was modifiedlibrary/GTP_Emulation.ttcn
Commit 413695b733f9983c84acf8fa5fd7b3bfa9188cf4 by Pau Espin Pedrol
sgsn: Rename vc_GTP -> vc_GGSN_GTP

GTPv1U will also be used by emulated HNBGWs, hence we want to
differentiate them in name.

Change-Id: I663e667956935372809c1c42ebe8d4312d6a4d41
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit fa267f468a0c9e9c7f01e21191be4c8ecbabf7e7 by Pau Espin Pedrol
GTP_ConnHdlr: Allow connection to multiple GTP_Emulation

This feature will be used by SGSN_Tests' BSSGP_ConnHdlr, which in 3G
scenario needs to connect to GTP at both GGSN and HNBGW/RNC endpoints.

Change-Id: I6fc49428967ebcf0f6c8a9f9f20f4a98a81f3273
The file was modifiedhnodeb/HNBGW_ConnectionHandler.ttcn
The file was modifiedmme/MME_Tests.ttcn
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
The file was modifiedlibrary/GTP_Emulation.ttcn
The file was modifiedsgsn/SGSN_Tests.ttcn
The file was modifiedhnodeb/HNB_Tests.ttcn
Commit b4bcd1048cd7c10c0c4e813522509f6cfb80d04c by Pau Espin Pedrol
sgsn: Set up GTPv1U in emulated RNCs

Change-Id: Icf5fa28ea08cfd255b49b546eadd74e91a9c7ecf
The file was modifiedsgsn/SGSN_Tests.ttcn
The file was modifiedsgsn/SGSN_Tests_Iu.ttcn
Commit 85db882d8b2926102d072bb131223d25215fd474 by Pau Espin Pedrol
sgsn: Introduce test TC_attach_pdp_act_user

Related: SYS#5435
Change-Id: I5f0cb51457395d95bde22732b032786211cb7b61
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
The file was modifiedsgsn/expected-results.xml
The file was modifiedsgsn/SGSN_Tests_Iu.ttcn
Commit 861dbf16cf9585fb7e492244d9d86e804be89991 by Pau Espin Pedrol
sgsn: Validate Direct Tunnel Flags DTI=1 is set during UpdatePDPContextReq

Related: SYS#5435
Change-Id: Iadd30318d02fbc304f65840f2299e5ec8b5b08e9
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
Commit 8f60d4bc5c9795821a5527a502e04768f53dfa4a by Pau Espin Pedrol
ggsn: Fix function name

The function is used to handle a UpdatePDPCtxResp, not a Req.
While at it, mark the function as private.

Change-Id: Ia455af1cd64ffce53b454e611c4fc85816e785bc
The file was modifiedggsn_tests/GGSN_Tests.ttcn
Commit 277e44c9bdd54c3d27e2e8a18f30435079b78578 by Oliver Smith
hnbgw: remove <= 1.5.x code paths

Change-Id: Ie1336a7372a46439cf53e38a555f36d0201fa230
The file was modifiedhnbgw/HNBGW_Tests.ttcn
Commit e7cd99d678a86f6431a458e78e9d231451bbeea1 by Oliver Smith
msc: remove <= 1.11.x code path

Change-Id: I865f53ca0e6dd90401f8cabe5c60ad812d91e5bb
The file was modifiedmsc/MSC_Tests.ttcn
Commit 68a78719eb606eb40c3462818e64f3845e1978fc by Oliver Smith
stp: remove <= 1.8.x code paths

Change-Id: I31a1516215237984c029c02dfa30aa223c3d06a3
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit 7c8ab5c9c4e5f332e2431eeb4bba0376e450cd7b by Pau Espin Pedrol
sgsn: Introduce test TC_attach_pdp_act_pmm_idle

Change-Id: Id46ccd9db11c8b792e1c071de91ef092ed1544c7
The file was modifiedsgsn/SGSN_Tests_Iu.ttcn
The file was modifiedlibrary/ranap/RANAP_Templates.ttcn
The file was modifiedsgsn/expected-results.xml
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
Commit 21b4e33ce0d5b2ea6c9bbefc6c319d054dd45cda by Pau Espin Pedrol
Improve use of enumareted type GTP_Clause

Change-Id: Ib071fa97a354cb27263cd46dba8f468b4ddc0018
The file was modifiedlibrary/GTPv1C_Templates.ttcn
The file was modifiedsgsn/SGSN_Tests.ttcn
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
Commit b0f6a3b7b132a552a98018f61dc5f29f545a394d by Pau Espin Pedrol
GTP1C_Templates,Osmocom_Gb_types: Use/move conversion functions at Osmocom_Types

Change-Id: I29948bfcb2b344d5aca293fa60455fcc6de66c72
The file was modifiedlibrary/GTPv1C_Templates.ttcn
The file was modifiedlibrary/Osmocom_Types.ttcn
The file was modifiedlibrary/Osmocom_Gb_Types.ttcn
Commit 663b91e93642231060d5239a30ac4fc80423ba95 by Pau Espin Pedrol
sgsn: Introduce test TC_attach_pdp_act_pmm_idle_lost_pdp_status

Related: SYS#5435
Change-Id: I34a0dabc37ba24d0c9fb1ae2587e7ec8c1b606fa
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
The file was modifiedsgsn/SGSN_Tests_Iu.ttcn
The file was modifiedsgsn/expected-results.xml
Commit 8296be19976964215f10fc3742269958b2d0e5fd by Pau Espin Pedrol
library/GTPv1U_Templates: Mark parameters as templates

Change-Id: I278f7dbc64704c1ba2b8a75d6f540ac52b067598
The file was modifiedlibrary/GTPv1U_Templates.ttcn
The file was modifiedlibrary/GTPv1C_Templates.ttcn
Commit 8b1132191637a70ea7190a27f137c8c20301869c by Pau Espin Pedrol
sgsn: Introduce test TC_pmm_idle_rx_mt_data

Change-Id: I35d660b8e546f6ce0af8c05d7b5c56833a26fb76
The file was modifiedsgsn/SGSN_Tests_Iu.ttcn
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
The file was modifiedsgsn/expected-results.xml
Commit fb65d9bc2ea32ee0659e02c0b6e0c17fa960fd54 by Pau Espin Pedrol
sgsn: Introduce test TC_update_ctx_err_ind_from_ggsn

Related: OS#6512
Related: SYS#5435
Change-Id: Ic417b23cae798361f73150f6a72f91e2f8528e7a
The file was modifiedsgsn/expected-results.xml
The file was modifiedlibrary/GTPv1C_Templates.ttcn
The file was modifiedlibrary/GTPv1U_Templates.ttcn
The file was modifiedsgsn/SGSN_Tests_Iu.ttcn
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
Commit 097ece0f3ea628b1985ea25e072fa18211864b0d by Pau Espin Pedrol
pcu: Introduce test TC_x2001_pacch_pkt_dl_ass_unanswered_timeout

Related: OS#3928
Change-Id: I08921132de863404485581dfa439a54f109b0078
The file was modifiedpcu/expected-results.xml
The file was modifiedpcu/PCU_Tests.ttcn
Commit 2f5e76013a32f2a203c2b0075465b743c09234b7 by Oliver Smith
testenv: seccomp_profile: import

Import the current default seccomp profile from podman:
https://raw.githubusercontent.com/containers/common/ae4a61e1b2e0af84a668f87f7622d86ebc418cba/pkg/seccomp/seccomp.json

The next patch will adjust it to enable io_uring. Both patches are in
preparation for the new testenv script, which will optionally use podman
to run the testsuites. The seccomp profile will allow using io_uring
inside podman.

Related: OS#6494
Change-Id: Id52e63b7ab4150def084aa0b02efbf731f4224d8
The file was added_testenv/data/podman/seccomp.json
Commit 59f2cc1dd23e4996ae988a788dcf347a8ace7791 by Oliver Smith
testenv: seccomp profile: enable io_uring

Revert 399bd5 ("seccomp: let io_uring_* fail with ENOSYS") from
upstream: https://github.com/containers/common/commit/399bd59e0d0d3e3845d59a7fe197d08371b061b0

Related: OS#6494
Change-Id: If9fdc3bfe0f6541776eb9c1839d892777394e999
The file was modified_testenv/data/podman/seccomp.json
Commit 6cc780e5dc273531d0c336dd21329c9e1393f4e1 by Oliver Smith
testenv: add test environment script

Add a new testenv.py script that builds/installs all components needed
for a testsuite, builds the testsuite from source and runs it.

Features:
* --binary-repo argument to install packages from osmocom:latest or any
  other repository from the Osmocom OBS instead of building from source
* without --binary-repo, the test components are built with osmo-dev,
  cloning the missing source git repositories and building them in the
  right order
* --podman argument to run the testsuite and its components inside a
  container (using podman instead of docker so it runs rootless)
* Simple testenv.cfg file to specify components for running testsuites
* Iterative compilation of components and testsuite
* Using ccache
* Testsuite doesn't start if any of the components fail to start (e.g.
  because of a config error)
* Testsuite gets stopped if any of the components crash
* ^C stops the testsuite + all components
* Test component output logs to stdout in addition to a log file (turn
  off with --no-tee)
* --test argument to only run one specific test
* --shell argument to run an interactive shell before teardown to
  inspect the test environment while components are still running

This script unifies the use cases of running a testsuite without
containers (for local development), and with containers (as jenkins
runs it, but can also be used for local development e.g. to get a clean
pcap). Previously jenkins used a different set of configurations from
docker-playground.git and many different containers instead of just one.

Related: OS#6494
Change-Id: If9f8b79dd6e5b4f06be4e5ff73db97759c3acfb2
The file was added_testenv/testenv.py
The file was modifiedREADME.md
The file was added_testenv/data/podman/Dockerfile
The file was added_testenv/testenv/osmo_dev.py
The file was added_testenv/testenv/testsuite.py
The file was added_testenv/data/podman/obs.key
The file was added_testenv/testenv/cmd.py
The file was added_testenv/data/osmo-dev/osmo-bts-trx.opts
The file was added_testenv/testenv/podman.py
The file was added_testenv/README.md
The file was added_testenv/data/scripts/respawn.sh
The file was added_testenv/testenv/__init__.py
The file was added_testenv/testenv/daemons.py
The file was added_testenv/testenv/podman_install.py
The file was added_testenv/data/scripts/rename_junit_xml_classname.sh
The file was added_testenv/data/scripts/log_format.sh
The file was added_testenv/pyproject.toml
The file was added_testenv/data/scripts/testenv-podman-main.sh
The file was modified.gitignore
The file was addedtestenv.py
The file was added_testenv/testenv/requirements.py
The file was added_testenv/testenv/testdir.py
The file was added_testenv/testenv/testenv_cfg.py
Commit 210e9a32eb24e8233e54eb8d30f4c3e548785362 by Oliver Smith
hlr: initial testenv.cfg

Change-Id: If937f021a33bf81b4e7296c2efdbd13a73cdaca9
The file was addedhlr/testenv.cfg
Commit eb1bcc413d9a3e4baab7189798e4b38f44df680f by Oliver Smith
mgw: initial testenv.cfg

Change-Id: Ifad2a6e25816c2dd7d27206751597b486acdd096
The file was addedmgw/testenv.cfg
Commit d972f7db1b0c99499c4415ed933f2cbe2c1aae74 by Oliver Smith
sip: initial testenv.cfg

Change-Id: I2b6df9240d8cb56c363c8c1a175946af183497da
The file was addedsip/testenv.cfg
Commit 3caeb5b352cf2ce2ee0f83115c7cf98ac3bca1e8 by Oliver Smith
sgsn/SGSN_Tests_SNS.cfg: run only SGSN_Tests_NS

In order to get the same output as ttcn3-sgsn-test-sns using the configs
from docker-playground, do not enable the SGSN_Tests and SGSN_Tests_Iu
in the SNS config.

Related: docker-playground I767ec223585002d6420eda27ed338722f764c902
Change-Id: I9b5b953406cd4de2b18854b3f33420610267d5fd
The file was modifiedsgsn/SGSN_Tests_SNS.cfg
Commit 6baec93cb85fa8a0051e9aacd0178e90adbfdadc by Oliver Smith
sgsn: initial testenv.cfg

Change-Id: Ib72dcfba64252990b5cabf9752df86d76c8ae318
The file was addedsgsn/testenv_sns.cfg
The file was addedsgsn/testenv_generic.cfg
Commit 8e353e4d6a8674e08c4785779c8f7d77b9cada7f by Oliver Smith
upf: initial testenv.cfg

Change-Id: I287075221b4e001a6532056d894a79eb06934070
The file was addedupf/testenv.cfg
Commit 4a44b579b3abb695f95d6fc81d4ca795f78b38ff by Oliver Smith
hnodeb: default configs: fix conflict

Use IPs similar to the configurations in docker-playground, so when
using these configs the tests don't fail with:

GTP_Emulation.ttcn:185 Dynamic test case error: Using the value of an optional field containing omit. (Address already in use)

Change-Id: Ie99708be1164e48e2acceb9cafdb9ca6308490bb
The file was modifiedhnodeb/HNB_Tests.default
The file was modifiedhnodeb/osmo-hnodeb.cfg
Commit f9b51202bf91c817799af293abff3d9ddc9ef189 by Oliver Smith
hnodeb: more verbose error for f_tc_cs_mo_call

Print the received IP and expected IP, so we directly see it without
finding it in the big log file.

Change-Id: I1c061aeae9d6b1645683ea758bf8169feec47bc7
The file was modifiedhnodeb/HNB_Tests.ttcn
Commit 2688b7079d439e48cd24b47754a41b6c8f409426 by Oliver Smith
hnodeb: initial testenv.cfg

Change-Id: I13422e5cef3013992949029f847c90043ab4a4fc
The file was addedhnodeb/testenv.cfg
Commit 79ac595dee20068a176f472005a7532fc8057f65 by Oliver Smith
dia2gsup: initial testenv.cfg

Change-Id: I1f3f7235134a5acb4436fd4745fa5304ad51bc56
The file was addeddia2gsup/osmo_dia2gsup.config
The file was addeddia2gsup/testenv.cfg
The file was modifieddia2gsup/DIA2GSUP_Tests.cfg
Commit 00cb43161731d4be786357b7971457a3bbd04292 by Oliver Smith
smlc: import current configs from docker-playground

Import the current configs, replacing the IPs used with 127.0.0.x.

Before this patch, attempting to run the testsuite without containers
fails because of the wrong IP range:
20240718122103706 DLGLOBAL NOTICE unable to bind socket: (172.18.23.20|fd02:db8:23::20):2905: Cannot assign requested address (socket.c:1042)

Change-Id: I3ed9e971daf32458bc554fa0a7f4698b4a461bfa
The file was modifiedsmlc/SMLC_Tests.cfg
The file was modifiedsmlc/osmo-smlc.cfg
The file was modifiedsmlc/osmo-stp.cfg
Commit a8397285f3c2e4dfd63397e8579121269b40bcd1 by Oliver Smith
smlc: initial testenv.cfg

Change-Id: Ib6db49f149e9382b802fceb40b307c5a286f92a1
The file was addedsmlc/testenv.cfg
Commit b66a8ce84cce6b4b93c900edb63f88ed81235cfd by Oliver Smith
cbc: initial testenv.cfg

Change-Id: I8578bf7a2e627c93cc7480534cc2ddbba3ad6ff1
The file was addedcbc/osmo-cbc.cfg
The file was addedcbc/testenv.cfg
The file was modifiedcbc/CBC_Tests.cfg
Commit 9f643039addc261ea676dc1de22c1eff16f73e88 by Oliver Smith
hss: initial testenv.cfg

Change-Id: I8a095f51f1a9516967d5188587537a2f90927f6c
The file was addedhss/mongod.conf
The file was modifiedhss/HSS_Tests.cfg
The file was addedhss/freediameter.conf
The file was addedhss/open5gs-hss.yaml
The file was addedhss/create_test_subscribers.sh
The file was addedhss/testenv.cfg
Commit 937f6bddcb6ea7e1e6dbb560ef8a4e0c6913c9f5 by Oliver Smith
mme: initial testenv.cfg

Change-Id: I780584cc7722d92baa213049ee0a35e16a0e087c
The file was addedmme/open5gs-mme.yaml
The file was addedmme/freediameter.conf
The file was addedmme/testenv.cfg
The file was modifiedmme/MME_Tests.cfg
Commit b82c0e163dc111b5b972246b793dc91d1b4c2adb by laforge
ttcn3-(tcp)dump(pcap)-stop.sh: store multiple runs of same test into different pcap file

This is useful when testing the behavior of a SUT when the same scenario
is run twice, for instance to debug a crash in the SUT.
In this setup, it is definetly interesting to have stored pcaps of the
several times the scenario is run.

Change-Id: Ib68fc4df1f5a105b4b2c904d2d2003c621a2ad31
The file was modifiedttcn3-dumpcap-stop.sh
The file was modifiedttcn3-tcpdump-stop.sh
Commit c35202f7071e2fb2b460ca97276b02bfcacebb19 by Oliver Smith
testenv/podman: use explicit no_podman=True

Add an explicit no_podman=True to the commands that are meant to run
outside of the podman container. Previously it was implicit by relying
on logic in testenv.cmd.run, which would run the commands outside of
podman unless the podman container was running.

In the next patch I will remove the implicit logic, because it could
lead to the bug of running commands outside of the container by accident
if the container crashed.

Related: OS#6494
Change-Id: I41afe6d6b565a8e8c384229ee44f1b75f25c0a4b
The file was modified_testenv/testenv/podman.py
Commit e603517ea2726c4203fcc9a33e50687a99ad7de9 by Oliver Smith
testenv: podman.is_running() -> testenv.args.podman

Use testenv.args.podman instead of testenv.podman.is_running() in all
places except for testenv.podman.stop().

- testenv.args.podman is always True when --podman is used.

- testenv.podman.is_running() is only True while the container is
  currently running.

Most of the time the behavior is the same. But without this patch, when
the container crashes, commands would unexpectedly run outside of the
container (and then fail on jenkins due to missing programs).

Related: OS#6494
Change-Id: Iea634f5e97d14f1f7e777f4609b9593974964d23
The file was modified_testenv/testenv/cmd.py
The file was modified_testenv/testenv/daemons.py
Commit 4d0ec2f852aca5a64b5b296de42ade18d09ecd4d by Oliver Smith
testenv/testdir: fix typo

Change-Id: Id61b770ff3b6fdee0dedcdab6eca3760dddc287a
The file was modified_testenv/testenv/testdir.py
Commit c724dd3a77767d36cc29fa8831c61d31085c3a00 by lynxis
SGSN_Tests: add paging a whole routing area with multiple cells

1. Attach + PDP Request
2. Wait for UE to be in Standby
3. Transmit to GTP Userdata
4. See the Paging on 2 BVCIs within the Routing Area

Change-Id: I88dc95669d57278a96e05ec84f934ebf70b319e5
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit cf9ef6d8e69bfab3df824ef39f91d56576c9a004 by lynxis
SGSN_Tests: remove unused variable d

Change-Id: I611e4444dfc9443584397e5523e7612ee5b00af4
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit 95e0430755b41accd287a7501f722d876ec247f1 by lynxis
SGSN_Tests_NS: NS related tests: use the shutdown helper

Currently the test case TC_SNS_config_sgsn() is failing because of a
dynamic test error after succeeding. Use the Misc_Helpers.f_shutdown()
to prevent this.

Change-Id: I08eee0d11ae04276ca1ad8fd58ebb93dd6d0066f
The file was modifiedsgsn/SGSN_Tests_NS.ttcn
Commit 74129473bd88882f04e4c960c2b1dc80fd4c25a8 by lynxis
SGSN_Tests_NS: TC_NS_connect_alive: set missing verdict

Change-Id: I03574bc17a10d9098dcd25d73007ec5525c42c18
The file was modifiedsgsn/SGSN_Tests_NS.ttcn
Commit 6ec37f62651e8f3e9e841d32d62a1539b4dd25d0 by Pau Espin Pedrol
ggsn: Split test and relax expectations testing gtpu access over ipv6 ll-addr

Testing gtpu traffic to some potentially external IP address using the
link-local address has no clear usecase and it also depends on the
network setup and the implementation of the GGSN.
Hence, remove it from the regular test and move it to another test which
has a relaxed validation accepting different resolutions.
This allows knowing/testing the code path in the GGSN, while accepting
different outcomes.

Related: OS#6382
Change-Id: Icfae181ba1bb0dfb8a1a15dfe3a1d542ce69d88a
The file was modifiedggsn_tests/GGSN_Tests.ttcn
Commit 8802fe3d1807306f10fb117a5d176552003ff456 by Pau Espin Pedrol
sgsn: Fix running with testenv.py podman setup

The initial testenv.py setup introduced in osmo-ttcn3-hacks.git
6baec93cb85fa8a0051e9aacd0178e90adbfdadc lacked some recent updates to
the ttcn3 testsuite setup where a second IP address is added to the
container in order to distinguish between RNC and CN in GTPU.

Change-Id: Ia0af52f8b7d61c15bdf2b6152fae27dd003d00e8
The file was modifiedsgsn/osmo-stp.cfg
The file was modifiedsgsn/SGSN_Tests.cfg
Commit ac1b89089024bf243833cb04158bc4c749119888 by Pau Espin Pedrol
sgsn: Introduce test TC_attach_rau_a_b_wrong_old_ra

This test reproduces a crash in osmo-sgsn, and fixed in
osmo-sgsn.git Change-Id I5a4328c6e945b85dd815215724feecadba59c435.

Related: OS#6441
Change-Id: I3ce02f30a1e5becb80ab2a29f6bf5d08dd45b79c
The file was modifiedsgsn/SGSN_Tests.ttcn
The file was modifiedsgsn/expected-results.xml
Commit 1851c85a04f2a3dc737f14c5eedd96b1e31f1b3f by Pau Espin Pedrol
deps/Makefile: Use upstream titan.TestPorts.SIPmsg

The patch we used from the sysmocom fork is now meged in upstream (same
git commit hash), hence we can jump back to upstream.

Related: SYS#6982
Change-Id: I8ca1252fd8710f50d8da5fb4fc105d29d9a506af
The file was modifieddeps/Makefile
Commit 0891beff9d786c91a99fc5016f78b90bc48d90f1 by Oliver Smith
testenv: set args.podman = False if action != "run"

Fix "./testenv.py clean":

    File "/home/user/code/osmo-dev/src/osmo-ttcn3-hacks/_testenv/testenv/cmd.py", line 85, in run
      if not no_podman and testenv.args.podman:
                           ^^^^^^^^^^^^^^^^^^^
  AttributeError: 'Namespace' object has no attribute 'podman'

Change-Id: I44d5229aa481bfed13c006368d590e1486536c0e
The file was modified_testenv/testenv/__init__.py
Commit de72acd28406033f295582112a5fe4314f74addc by Oliver Smith
testenv: cmd: pass all env vars without --podman

As suggested by Pau, pass all environment variables to through testenv
if it is running without podman. This way a custom TTCN3_DIR,
TTCN3_BIN_DIR and more variables that may make sense when running
directly on the host, work as expected.

Closes: OS#6544
Change-Id: I5e710a1ee7185a3f6f4f1e98f201f3f6fda2be55
The file was modified_testenv/testenv/cmd.py
Commit 9229de94aecdf2313ebead5e3eb6ed9fc51044d8 by Pau Espin Pedrol
S1AP_Emulation: Fix new_ctx never set when building security header

The flag was never set to true. It needs to be set to true when building
the security head of Security Mode Complete after receiving Security
Mode Command with a new EPS security context.
TS 24.301 5.4.3.3

Change-Id: I76ad46f7ee5f49698e41da729cb6422866202951
The file was modifiedmme/LTE_CryptoFunctions.ttcn
The file was modifiedlibrary/S1AP_Emulation.ttcn
Commit 54047a1303854dbd289ec892ae5c080fb930d956 by Pau Espin Pedrol
S1AP_Emulation: Fix building security headers for Integrity and Ciphering

The fact that the network instructs the UE to use EEA0 encryption (null
algo) doesn't mean the UE should mark the NAS frames in the security
header as non-ciphered. They need to be marked as IP+ciphered in the
outer header, and as plain in the inner one.

Now TTCN3 behaves like a UE recorded while executing a similar test
case. Moreover, wireshark is now happy decoding the messages.

Change-Id: Ifd4fe83e7b5aefdaafe7ce1c8b1ec6a67c65819c
The file was modifiedmme/LTE_CryptoFunctions.ttcn
The file was modifiedlibrary/S1AP_Emulation.ttcn
The file was modifiedmme/MME_Tests.ttcn
Commit 9a8a6cd3de3c151f0e95786616072d8d3412211b by Oliver Smith
testenv/README: update

Point at ./testenv.py -h and describe that everything runs in 1
container with --podman.

Change-Id: Ie9eee8cf14ba2069c1cd5bd6ab703f3f6ccdc100
The file was modified_testenv/README.md
Commit 368177254e7ff91637ac36421f5193f8c73d84d0 by Oliver Smith
testenv: add TESTENV_REBUILD_OUTDATED_IMAGE

Add an environment variable that allows rebuilding the podman image
whenever it appears to be outdated. This is useful when working on the
Dockerfile. As requested by Pau.

Change-Id: Ia1243320b6d310c69ef9291cca69a1594b1a8a70
The file was modified_testenv/testenv/podman.py
The file was modified_testenv/README.md
Commit bf450995fc45e2412cc5904bacf4aa78be3e52e6 by Oliver Smith
testenv: fix duplicate 2>&1

The pipe variable already has 2>&1, therefore we don't need to add it in
cmd.

Change-Id: Ifeae4c53b57f90242041e61ca5ab7073d155d7a8
The file was modified_testenv/testenv/daemons.py
Commit 46b706f7fe0c73033dd47643e2bac3c84dd17395 by Pau Espin Pedrol
mme: expect authentication during 2g->4G TAU procedure

If TAU happens without an existing security context, network for sure wants
to authenticate the UE. This is the scenario being tested here.

If there was a security context (eg. from a previous 4G Attach), then
it's up to the network to decide (or be capable) to implicitly
authenticate the UE.

Change-Id: I5ebcaf23a643b6cb97534328737257d26d3981fe
The file was modifiedmme/MME_Tests.ttcn
The file was modifiedlibrary/NAS_Templates.ttcn
Commit 1fff332d6108da85dc8e483589ad54ebc5b9aca4 by Pau Espin Pedrol
s1gw: Split ConnHdlr to its own file

This allows easily separating general routines from test specific code.

Change-Id: I9f8d9afbccd59f3e22649b35d2a7ef75578d051a
The file was addeds1gw/ConnHdlr.ttcn
The file was modifieds1gw/S1GW_Tests.ttcn
Commit f222a1dfdda3ab378b5f65000c6a0c0e682cd8fa by Pau Espin Pedrol
s1gw: Add mp_enb_bind_ip module parameter

This allows more easily understanding pcap traces by looking at the
config file to identify the ip addresses.

Change-Id: I294b14e6ef119c17eec22f813d5755279560e0bc
The file was modifieds1gw/S1GW_Tests.cfg
The file was modifieds1gw/S1GW_Tests.ttcn
The file was modifieds1gw/ConnHdlr.ttcn
Commit b72943e2e0ce6849f30f04765264194b8faf640d by Pau Espin Pedrol
s1gw: initial testenv.cfg

This commit already provides a running setup to run the testsuite,
similar to the one already available in docker-playground.git.

Change-Id: Ib66c3f23355c117302b48fc9ef05cde1920d8739
The file was addeds1gw/testenv.cfg
The file was addeds1gw/osmo-s1gw.config
Commit 0168b108df51d78f125cf06f048b0046f950fec7 by Pau Espin Pedrol
s1gw: Wait for component to stop before testing IUT for conn refused

Change-Id: I9dcac498766dd4a597cc5827bdb9192e861356c6
The file was modifieds1gw/S1GW_Tests.ttcn
Commit 47132cc036a43c38f277f6875bd63b2551c8b9cb by Pau Espin Pedrol
s1gw: Immediate stop all components upon ConnHdlr failure

Otherwise it's difficult to see/find in logs stuff like timeouts waiting
for messages, etc.

Change-Id: I8b3b7e9cd61a8ad0d167f20a41c61eac3f245d70
The file was modifieds1gw/ConnHdlr.ttcn
Commit 2fe4882bf29a246940742f902e1ff0a61ad0bfae by Pau Espin Pedrol
s1gw: Increase failure timeouts to ease debugging

Let the IUT do some stuff before quickly exiting.
In fact, the previous timeouts were a bit tight anyway since several
messages may be required before an answer comes back on the same
interface.

Change-Id: I985511c1a56edb0663826a20bbf27ea34a6c4dcd
The file was modifieds1gw/ConnHdlr.ttcn
Commit f0896d7cb38883f14a963344b6e317eeee02878b by Pau Espin Pedrol
s1gw: Fix direction of e-RAB Setup

Change-Id: Idfc3bc0a53d5f966a889b997c3d5a4928297236f
The file was modifieds1gw/S1GW_Tests.ttcn
Commit ffbe3560437c9606c9a8705f8e103b423b3b0077 by daniel
mme: Fix order in eutran_to_geran testcase

The diagram shows that the S1-AP release should happen after the Delete
Session Request/Response (even though all a numbered 13).

The test started failing because a newer open5gs would check/require a
resource that was freed due to an S1 release.

Change-Id: I0d7a388dc8b1a1c13de8f7e3fe7781423fc90868
The file was modifiedmme/MME_Tests.ttcn
Commit 1e604efed4cb7208bb0c6a1992bf4f668fa27834 by Pau Espin Pedrol
s1gw: Validate S1SetupResp is forwarded fine MME->ENB

Change-Id: I6d9b060eb81269c7cb76e007f669c5b9ead97158
The file was modifiedlibrary/s1ap/S1AP_Templates.ttcn
The file was modifieds1gw/ConnHdlr.ttcn
Commit c63d68d28acfa5e1684264a3e3cd75080220c54c by Pau Espin Pedrol
s1gw: Increase S1AP setup timeout

The existing timer is too tight, specially when running tons of
components concurrently.

Change-Id: I99d554bf0dd0f4c1dbd801663c1801f3725df09f
The file was modifieds1gw/ConnHdlr.ttcn
Commit f60c2b156a2b3adeb5b9af376f85aac0d135f901 by Pau Espin Pedrol
s1gw: Make components alive

This helps avoiding getting errors during test tear down.

TC_conn_term_mme_unavail needs to be modified since the port is kept
alive after it is stopped, so test needs to be adapted.

Change-Id: I538e31bf14836f81a6e3c0b844f9f70f1eaccb59
The file was modifieds1gw/S1GW_Tests.ttcn
Commit f46633902fe249e24b7ba55fba27ae4993cf6d90 by Pau Espin Pedrol
s1gw: Add initial PFCP support emulating UPF

Change-Id: If2b135e113d2568092e90ac9b6c5f651ab30f5d0
The file was modifieds1gw/ConnHdlr.ttcn
The file was modifieds1gw/regen_makefile.sh
The file was modifiedlibrary/PFCP_Emulation.ttcn
The file was modifieds1gw/gen_links.sh
The file was modifieds1gw/osmo-s1gw.config
The file was modifieds1gw/S1GW_Tests.ttcn
Commit 85249af7ad61568d586eea0575f099aa2e28e143 by Pau Espin Pedrol
s1gw: Rename functions to include s1ap information

Change-Id: Ic4b06712f3222bada71ff5ca8a6c65ec9c92ae1e
The file was modifieds1gw/S1GW_Tests.ttcn
The file was modifieds1gw/S1AP_Server.ttcn
The file was modifieds1gw/ConnHdlr.ttcn
Commit 95231624f12c299019c0d6064b5d4d3004dad093 by Vadim Yanitskiy
testenv: fix testsuite.run() not passing env variables

Running start-testsuite.sh in a clean env fails on systems with non-
standard TTCN3_BIN_DIR and TITAN_LIBRARY_PATH paths.  This is the
case for Arch Linux and the eclipse-titan AUR package.  Let's call
cmd.generate_env() to allow overriding these variables.

Change-Id: I95c3cfe41ee230927bb5777631372597cbd3c051
The file was modified_testenv/testenv/testsuite.py
Commit 3e06cd5397d45c109e701f9774a10d202488681e by Vadim Yanitskiy
s1gw: rename module ConnHdlr -> S1GW_ConnHdlr

This fixes the following warning:

  ConnHdlr.ttcn:39.1-43.1: warning: Definition with name `ConnHdlr'
                                    hides a module identifier

Change-Id: I47364a35720059d6a51f004a5692b9a0c1ad98d8
The file was addeds1gw/S1GW_ConnHdlr.ttcn
The file was removeds1gw/ConnHdlr.ttcn
The file was modifieds1gw/S1GW_Tests.ttcn
Commit 219ff961be458ec3a1647292ed60addf9d7eff0a by Vadim Yanitskiy
s1gw: cosmetic: reorder module parameters

Change-Id: I6ee5d2e283327f52320ef5580b195c42e400c8de
The file was modifieds1gw/S1GW_Tests.cfg
The file was modifieds1gw/S1GW_Tests.ttcn
Commit 31dd7237437bfb4c6252177ab206c7a07581fd98 by Vadim Yanitskiy
s1gw: S1GW_Tests.cfg: add PFCP related module params

Change-Id: Id134f2fd0e2e138ee6cb7a8f8a3e2af7f027bda4
The file was modifieds1gw/S1GW_Tests.cfg
Commit d34380faf2fe84774c169890aaa7b06e44ac4350 by Vadim Yanitskiy
s1gw: osmo-s1gw.config: fix pfcp_{loc,rem}_addr comments

Change-Id: I4b5b18750de48b5db1a23a95a427ba1fd3d3905d
The file was modifieds1gw/osmo-s1gw.config
Commit 1af1003ba61eb3560a11a7b8ffc33c70b3292634 by Vadim Yanitskiy
s1gw: osmo-s1gw.config: enable colors in logging

Change-Id: I49fa2ca9d7aea5a2728d07f176b80a6438551047
The file was modifieds1gw/osmo-s1gw.config
Commit d90f512cf911c0c866f651cdb6f04fc0566de63e by Vadim Yanitskiy
PFCP: rework templates, get rid of functions

This patch fixes dozens of compilation warnings, turning functions
returning templates into templates inheriting from {tr,ts}_PDU_PFCP_.

Change-Id: I04735adf88c81b949e1dca6e9ab9a3b37ba78bd6
Related: SYS#6772
The file was modifiedlibrary/PFCP_Templates.ttcn
The file was modifiedupf/UPF_Tests.ttcn
Commit 136143d55bc3bc900addeb83c4a30863e2e90eea by Vadim Yanitskiy
PFCP: fix SEID value in {ts,tr}_PFCP_Session_Est_Req

According to 3GPP TS 29.244, section 7.2.2.4.2 "Conditions for Sending
SEID=0 in PFCP Header": if a peer's SEID is not available, the SEID
field shall still be present in the header and its value shall be set
to "0" in the following messages:

* PFCP Session Establishment Request message on Sxa/Sxb/Sxc/N4;
...

Change-Id: Iacfbd68336b6fc4481c15ca5b304636df4491da4
Related: SYS#6772
The file was modifiedlibrary/PFCP_Templates.ttcn
Commit 1b766a215bfc04d3ca4398b392bab50bb3a3b661 by Vadim Yanitskiy
PFCP: drop no longer needed {ts,tr}_PDU_PFCP

Change-Id: I6091d7e76e852d2487b784fb2b3e39b416a48195
Related: SYS#6772
The file was modifiedlibrary/PFCP_Templates.ttcn
Commit 565a4167227de1674397d9b6f26d2471dc98ccb5 by Vadim Yanitskiy
PFCP: add Heartbeat Req/Resp templates

Change-Id: I569b47b6ebc3ca238da544488cac69dfc1db1dfe
Related: SYS#6772
The file was modifiedlibrary/PFCP_Templates.ttcn
Commit 486cd980a7ac902d7cc91aa99271d64926a0a1ab by Vadim Yanitskiy
PFCP_Emulation: respond to incoming Heartbeat Req

This is a mandatory procedure that every 3GPP TS 29.244 compliant
peer shall support.

Change-Id: I93990feb1864701e2903af85480093ef751bafe5
Related: SYS#6772
The file was modifiedlibrary/PFCP_Emulation.ttcn
The file was modifiedlibrary/PFCP_CodecPort.ttcn
Commit 5e4a5f5382d0312e96314b1b29f1cd847d353e5f by Pau Espin Pedrol
testenv: Fix testsuite.run() passing too many envvars to podman

A recent commit added some code in testenv to pass all environment to the
testsuite being run. However, we don't want that happening when running
the testsuite under podman, since then we'd be polluting the env inside
the container with the env from the host running the container.

This fixes running testenv with podman from an Archlinux host having
some TTCN_* extra variables used by testsuite scripts to find ttcn3
binaries & libs under /opt/eclipse-titan/.

Fixes: 95231624f12c299019c0d6064b5d4d3004dad093
Change-Id: Ia8fca37b878323cd188035004b587c124598376e
The file was modified_testenv/testenv/testsuite.py
Commit 0751c6bfd577b81fd767bdb685a22e41097ac542 by Oliver Smith
Update key for Osmocom OBS

The current key has expried, update it to the new one which is valid
until 2026-10-16.

Related: https://osmocom.org/news/268
Source: https://obs.osmocom.org/projects/osmocom/public_key
Change-Id: I732b379b8ac70f5e2139520a07183060a9c1a7f0
The file was modified_testenv/data/podman/obs.key