Skip to content
Success

Changes

Summary

  1. sccp: Initial testenv (details)
  2. sccp: Let some time for SCCP RLC to reach IUT before finishing test (details)
  3. library/s1ap: f_tr_S1AP_RABSetupRsp(): use ispresent() (details)
  4. library/s1ap: add E-RAB MODIFY REQ/RSP templates (details)
  5. library/s1ap: add E-RAB MODIFY IND/CNF templates (details)
  6. s1gw: make f_ConnHdlr_rx_session_modify_req() more flexible (details)
  7. s1gw: add constants for PFCP FAR IDs (details)
  8. mgw: Improve log and teardown upon unexpected mgcp resp received (details)
  9. PCU_Tests_SNS: sns_del: check if removed NS-VC still transmits (details)
  10. GSUP_Templates: Purge MS Request: allow the Message class IE to be (details)
  11. SGSN: f_cellid_to_RAI: fix spaces vs tabs (details)
  12. msc: add testenv.cfg (details)
  13. stp: Improve failure teardown using Misc_Helpers.f_shutdown (details)
  14. stp: set up all M3UA ports in array in steps (details)
  15. gbproxy: Don't log the payload size for every DL/UL-UNITDATA (details)
  16. testenv: run: add --autoreconf-in-src-copy arg (details)
  17. library/s1ap: fix criticality in UE CONTEXT RELEASE PDUs (details)
  18. s1gw: add f_TC_exec() (details)
  19. s1gw: add TCs for UE CONTEXT RELEASE procedures (details)
  20. hnbgw: Use Misc_Helpers.f_shutdown upon rx of unexpected msg (details)
  21. MGCP_Emulation: Make sure peer is running before Tx (details)
  22. hnbgw: Submit proper L3 PDUs during CR (details)
  23. Mutex: Create component alive (details)
  24. RAN_Adapter: Create components alive (details)
  25. hnbgw: Create all components alive (details)
  26. pcu: Fix wrong BSN uint size (details)
  27. pcu: Fix TC_dl_cs1_to_cs4 sporadic fail (details)
  28. pcu: Fix dummy DL block received due to timer race conditions (details)
  29. s1gw: f_ConnHdlr_session_delete(): invalidate peer's SEID (details)
  30. s1gw: f_ConnHdlr_session_delete(): respect any order (details)
  31. s1gw: add TC_e_rab_modify_req_rsp[_multi] (details)
  32. s1gw: add TC_e_rab_modify_ind_cnf[_multi] (details)
  33. hnbgw: remove osmo-hnbgw <= 1.6.0 code path (details)
  34. sgsn: remove osmo-sgsn <= 1.12.0 code path (details)
  35. eim: move es9p_Types_JSON to library (details)
  36. mgw: osmo-mgw.cfg: remove deprecated no-op params (details)
  37. bts: expect TC_data_{rtp,facch}_tchf144 to pass (details)
  38. stp: Allow setting up different m3ua_config list by test (details)
  39. Use fork of titan.ProtocolModules.M3UA containing fix (details)
  40. stp: Pass M3UA conn idx to f_M3UA_rkm_register() (details)
  41. stp: NOTIFY expectancy fixes (details)
  42. stp: Introduce tests TC_dyn_(2)asp_as_rkm_permitted (details)
  43. stp: Fix expectancies of TC_clnt_quirk_snm_inactive (details)
  44. stp: Fix brokeness in STP_Tests_M3UA.TC_tmt_loadshare (details)
  45. stp: Fix brokeness in STP_Tests_IPA.TC_tmt_loadshare (details)
  46. stp: STP_Tests.ttcn: Use M3UA PC and RCTX from config (details)
  47. es9p_Types_JSON: split headers into separate module (details)
  48. RSPDefinitions_Templates: add missing default values (details)
  49. es9p_Types_JSON: add decoder/encoder functions for opposite direction (details)
  50. HTTP_Adapter/cosmetic: remove stray newline (details)
  51. testenv/README: fix markdown syntax (details)
  52. HTTP_Adapter: allow requests to different hosts (details)
  53. HTTP_Adapter: add missing omit qualifiers (details)
  54. testenv: use --autoreconf-in-src-copy by default (details)
  55. deps: Update titan.ProtocolModules.M3UA to upstream master (details)
  56. stp: STP_Tests_IPA.TC_tmt_loadshare_sls: Fix test expectancies (details)
  57. sccp: Improve logging receiving unexpected msg (details)
  58. sccp: Fix test rx SLS expectancies (details)
  59. SCCP_Templates: Expect either proto class0 or class1 upon rx SCCP (details)
  60. HTTP_Server_Emulation: allow multiple HTTP server ports (details)
  61. testenv: -h output: add more binary repo examples (details)
  62. bts: BTS_Tests.cfg: remove commented out params (details)
  63. bts: BTS_Tests.cfg: set BTS_Tests.mp_transceiver_num (details)
  64. bts: Run osmo-bts-trx with sched_rr priority (details)
  65. asterisk: Rework test TC_ims_call_mo_after_tcp_conn_closed with new (details)
  66. mme: Take into account KSI update by Network (details)
  67. mme: Replace TC_s1ap_setup_wrong_plmn with test with different (details)
  68. rmlinks.sh: use -delete instead of -exec rm (details)
  69. rmlinks.sh: remove non-existent path exclude (details)
  70. remove unused ROHC_CNL113426_LATEST dir (details)
  71. deps: fix overriding recipe for target 'titan.ProtocolEmulations.SCCP' (details)
  72. bts: simplify f_tc_rsl_ms_pwr_ctrl() (details)
  73. library: fix coding style near f_rnd_int() (details)
  74. library: add f_rnd_sleep() (details)
  75. library/s1ap: cosmetic: fix a typo (details)
  76. library/s1ap: split PDU specific API to S1AP_Functions.ttcn (details)
  77. s1gw: derive altsteps from f_ConnHdlr_rx_s1ap_from_{enb,mme}() (details)
  78. s1gw: add UE multiplex component (details)
  79. s1gw: add TC_uemux_uldl_nas_release (details)
  80. s1gw: disable Nagle for eNB and MME connections (details)
  81. msc: f_establish_fully(): merge EST_TYPE_MO_{CALL,CSD} (details)
  82. msc: use f_expect_paging() in SS/USSD TCs (details)
  83. msc: split up as_unexp_gsup_or_bssap_msg() (details)
  84. msc: add TC_gsup_mt_sms_{paging,conn}_timeout (details)
  85. s1gw: ConnHdlr: allow passing {MME,ENB}-UE-S1AP-ID (details)
  86. s1gw: add UEMux TCs for E-RAB SETUP and RELEASE (details)
  87. s1gw: add UEMux TCs for INITIAL CTX SETUP and UE CTX RELEASE (details)
  88. s1gw: fix passing swapped {MME,ENB}_UE_S1AP_ID (details)
  89. remsim: make client tests work in testenv (details)
  90. testenv: fix building osmo-remsim with osmo-dev (details)
  91. Cosmetic: testenv/testdir: fix formatting (details)
  92. stp: TC_tmt_loadshare*: Use new vty command 'binding-table reset' (details)
  93. testenv: fix OSMO_DEV_MAKE_DIR env var (details)
  94. sccp: testenv: fix hardcoded sccp_demo_user path (details)
  95. sccp: testenv: fix run with asan + latest binaries (details)
  96. testenv: remove TESTENV_GIT_DIR (details)
  97. msc: add/expect network-originated MT-Forward-SM.Err (details)
  98. msc: execute more SMS-over-GSUP tests via UTRAN (details)
  99. testenv: make clone project function generic (details)
  100. testenv: clone_project: fix getting latest version (details)
  101. ns: initial testenv config (details)
  102. hnbgw: Support configuring RAC on each hnb conn (details)
  103. hnbgw: Test paging with PAge Area ID IE (details)
  104. stp: Fix typo in comment (details)
  105. testenv: clean: fix cleaning git dir (details)
  106. Revert "hnbgw: Test paging with PAge Area ID IE" (details)
  107. Revert "hnbgw: Support configuring RAC on each hnb conn" (details)
  108. msc: add TC_mo_ussd_evil_ms for OS#6756 (details)
  109. buildsystem: move related scripts to subdir (details)
  110. buildsystem/regen_makefile: change to inc script (details)
  111. buildsystem: remove ttcn3_compiler workaround (details)
  112. buildsystem/regen_makefile: modernize (details)
  113. buildsystem/gen_links: move set -e to users (details)
  114. buildsystem/gen_links: rename ignore_pp_results (details)
  115. buildsystem: build out-of-tree (details)
  116. buildsystem: make output more readable (details)
  117. testenv: remove copy_ttcn3_hacks_dir (details)
  118. testenv: refactor run --until-nok code (details)
  119. testenv: run: add --bisect argument (details)
  120. start-testsuite: fix passing $TEST to ttcn3_start (details)
  121. README: use # and ## for headlines (details)
  122. start-testsuite: respect $TTCN3_DIR (if set) (details)
  123. Move f_{dec,enc}_mcc_mnc() API BSSMAP_Templates.ttcn -> GSM_Types.ttcn (details)
  124. Fix MNC decoding in f_dec_mcc_mnc() (details)
  125. hnbgw: Support configuring RAC and Cell ID on each hnb conn (details)
  126. hnbgw: Test paging with Page Area ID IE (details)
  127. README: explain how to run testsuites manually (details)
  128. start-testsuite: remove workaround for TITAN < 9.0.0 (details)
  129. testenv: support fetching coredumps in jenkins (details)
  130. bts: set osmo-bts sched priority to 30 (details)
  131. tcpdump/dumpcap: move kill_rm_pidfile to inc file (details)
  132. Common.cfg: Logging: add %p to LogFile format (details)
  133. Cosmetic: log_merge: modernize (details)
  134. log_merge: ensure we don't overwrite the log file (details)
  135. log_merge: use same prefix as for pcap files (details)
  136. M3UA_Templates: Allow passing multiple Routing Context values (details)
  137. stp: Update TC_rkm_unreg_active to expect multiple routing contexts (details)
  138. stp: Store asp name in array of m3ua cfgs (details)
  139. stp: Introduce test TC_clnt_sctp_adm_shutdown (details)
  140. stp: Introduce test TC_m3ua_sctp_srv_adm_shutdown (details)
  141. hnbgw: HNBGW_Tests.default: Drop unused LLSK config (details)
  142. hnbgw: Add missing plmn config in osmo-hnbgw.cfg (details)
  143. hnbgw: Configure local ASP/AS in osmo-hnbgw.cfg (details)
  144. hnbgw: Introduce test TC_{cs,ps}_rua_dt_during_sccp_wait_cc (details)
  145. gbproxy/testenv: initial (details)
  146. gbproxy: sync configs with docker-playground (details)
  147. hnbgw: Introduce altstep as_pfcp_handle_del_req() (details)
  148. hnbgw: Introduce tests TC_ps_rab_release(_abnormal) (details)
  149. testenv: podman_install: show checked out commits (details)
  150. testenv: podman_install: tweak git commands (details)
  151. testenv: no python trace for setup script failures (details)
  152. testenv: podman: add erlang-dev (details)
  153. testenv: podman: add missing tree command (details)
  154. testenv: qemu: fix adding kernel modules (details)
  155. testenv: fix not aborting on build_initrd error (details)
  156. testenv: qemu: initrd build fail: stop immediately (details)
  157. testenv: qemu: add modules.alias (details)
  158. testenv: support qemu=required in testenv.cfg (details)
  159. testenv: qemu_initrd_add_bin: support adding so (details)
  160. testenv: cfg: check for multiple spaces in lists (details)
  161. stp: Rename STP_Tests.ttcn -> STP_Tests_IPA_M3UA.ttcn (details)
  162. stp: STP_Tests_IPA: Support configuring less than 8 AS(P)s (details)
  163. epdg: add sleep to f_TC_hss_initiated_deregister_permanent_termination (details)
  164. epdg: TC_concurrent_ues_MTC: rx CMD_ATTACHED without from (details)
  165. epdg: initial testenv.cfg (details)
  166. testenv: check eclipse-titan version (details)
  167. stp: Initial split into several testenv config (details)
  168. stp: Split M3UA TCP tests into its own testenv config (details)
  169. stp: m3ua: Specify ASP names to use per test (details)
  170. stp: ipa: Specify ASP names to use per test (details)
  171. library: NGAP encoding/decoding using libfftranscode (details)
  172. library: Add NGAP_Templates.ttcn (details)
  173. ngap: NGAP_Pixits: fix modulepar without default value assigned to (details)
  174. NGAP_Templates: Fix criticality of PLMNSupportList IE in NGSetupResponse (details)
  175. NGAP_Templates: Add missing rx template for NGSetupFailure with (details)
  176. library: Introduce NGAP Emulation (details)
  177. testenv: podman: Stick rebar3 downloaded version to 3.24.0 (details)
  178. 5gc: Introduce testsuite (details)
  179. library: Rename NAS_Templates.ttcn -> NAS_EPS_Templates.ttcn (details)
  180. testenv: add -j/--jobs parameter to run action (details)
  181. testenv: add TESTENV_INSTALL_DIR (details)
  182. testenv: README: document env vars set by testenv (details)
  183. 5gc: Initial ConnHdlr support (details)
  184. stp: ipa: Introduce tests to validate incoming TCP conn with unkown AS (details)
  185. testenv: deduplicate make_dir (details)
  186. testenv: fix TESTENV_INSTALL_DIR (details)
  187. 5gc: testenv: use TESTENV_INSTALL_DIR (details)
  188. log_merge.sh: Merge all logs if no test cases are found (details)
  189. deps: Depend on osmocom fork of forge.etsi.org nas.git (details)
  190. 5gc: Initial support encoding NG NAS UL messages (details)
  191. library/ngap: Fix wrong id set on PWSFailureIndication templates (details)
  192. library/ngap: Fix criticality of several NGAP messages (details)
  193. bts: f_init(): print testcasename() in the IUT's logs (details)
  194. bsc: fix race condition in RSLEm (details)
  195. testenv: run "make deps" every time (details)
  196. 5gc: Initial NAS receiving support (details)
  197. 5gc: Initial NAS transmitting support (details)
  198. testenv: podman: Install newer libcurl from bookworm-backports (details)
  199. 5gc: Fix upfd failing to start outside podman (details)
  200. testenv: use eclipse-titan 11 in Dockerfile (details)
  201. Revert "testenv: use eclipse-titan 11 in Dockerfile" (details)
Commit 60cf13449fc2b3ddce2330fafc6b6a6825c5ac7a by Pau Espin Pedrol
sccp: Initial testenv

Change-Id: I616425d729dda342e78537c6b7256d5dddebaa88
The file was addedsccp/sccp_demo_user.cfg
The file was addedsccp/testenv.cfg
Commit 039ac2b716051bde1790e5046de79325d50df77e by Pau Espin Pedrol
sccp: Let some time for SCCP RLC to reach IUT before finishing test

Otherwise tear down of the test component immediatelly afterwards
creates a race condition where sometimes the RLC message is not sent
before closing the socket.
As a result, the SCCP-SCOC stays in DISCONN_PEND until T(rel) fires a
while afterwards, generating a new RLSD in a follow-up test, disrupting
expectancies of that unrelated test.

Since sccp_demo_user doesn't implement a Layer Manager, the recv() 0
from the socket doesn't automatically tear down the SCCP conn, since it
could have several ASPs:
"""
0: asp-asp-srv-client: ss7_asp_xua_srv_conn_rx_cb(): sctp_recvmsg() returned 0 (flags=0x80)
...
asp-srv-client: connection closed
XUA_ASP(asp-srv-client){ASP_ACTIVE}: Received Event SCTP-COMM_DOWN.ind
XUA_ASP(asp-srv-client){ASP_ACTIVE}: state_chg to ASP_DOWN
XUA_AS(as-srv-client){AS_ACTIVE}: Received Event ASPAS-ASP_DOWN.ind
XUA_AS(as-srv-client){AS_ACTIVE}: state_chg to AS_PENDING
Delivering N-PCSTATE.indication to SCCP User 'SCCP Management'
Ignoring SCCP user primitive N-PCSTATE.indication
[Here same 2 lines for SCCP User 'refuser', 'echo', 'callback', 'test_client_vty']
XUA_ASP(asp-srv-client){ASP_DOWN}: No Layer Manager, dropping M-ASP_DOWN.indication
XUA_ASP(asp-srv-client){ASP_DOWN}: No Layer Manager, dropping M-SCTP_RELEASE.indication
"""

Change-Id: Id7d5970bb0fe0e42fedcb56fe4a738a92ddd5bbf
The file was modifiedsccp/SCCP_Tests_RAW.ttcn
Commit 7975223975ef30ef4f7a4f2f56144cca6016d721 by Vadim Yanitskiy
library/s1ap: f_tr_S1AP_RABSetupRsp(): use ispresent()

Change-Id: I6ee1246ef9f32ac7d5ce107d3ba9ea11ed87af20
The file was modifiedlibrary/s1ap/S1AP_Templates.ttcn
Commit 5364bf728ab5c00505a30639db26a91124266760 by Vadim Yanitskiy
library/s1ap: add E-RAB MODIFY REQ/RSP templates

Change-Id: Id38cd51698c1388311a41f045ff08ec7f8a85146
The file was modifiedlibrary/s1ap/S1AP_Templates.ttcn
Commit 19f7a9373eb3b121b4d9bdc1b47a91ab8f30fcb8 by Vadim Yanitskiy
library/s1ap: add E-RAB MODIFY IND/CNF templates

Change-Id: I2dd3d420ebfaf37fefa1d33a40176ec57fee5619
The file was modifiedlibrary/s1ap/S1AP_Templates.ttcn
Commit 6820c8030437be7bfedcf7418823166d59b02cc5 by Vadim Yanitskiy
s1gw: make f_ConnHdlr_rx_session_modify_req() more flexible

Allow the caller to pass FAR ID, SEID, and E-RAB parameters (F-TEID),
so that it can also be used for testing the E-RAB MODIFY procedure.

Change-Id: I52317e79ac02cb4e321b49c2cd824de28e25a1c6
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
Commit 66f9a4babdbfdac63658bdb8adf0d827972c72fd by Vadim Yanitskiy
s1gw: add constants for PFCP FAR IDs

Change-Id: Ib25e5cc9ca21047f9884e1c13d0861bf4f7251a1
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
Commit 20c2b36373c86ec2fc6420f46d10794652cc0c73 by Pau Espin Pedrol
mgw: Improve log and teardown upon unexpected mgcp resp received

Change-Id: I233075f5a88ed7f1f7de496664cdc7281aefa900
The file was modifiedmgw/MGCP_Test.ttcn
Commit 62095640a8bce3be225b0710ce41450a1e20fef2 by lynxis
PCU_Tests_SNS: sns_del: check if removed NS-VC still transmits

After removing a NS-VC via SNS-DEL, the NS-VC shouldn't receive
any further NS PDUs.

Related: OS#6611
Change-Id: Ied4367a519cf75291ff8766c9efebb0f8a12b11f
The file was modifiedpcu/PCU_Tests_SNS.ttcn
Commit 554a286378ab242361cd2ec1da93cb1812668107 by lynxis
GSUP_Templates: Purge MS Request: allow the Message class IE to be present

Change-Id: I367f63fe5286e39ba51de94729455d2638f19c6f
The file was modifiedlibrary/GSUP_Templates.ttcn
Commit d05a3a0eab9cb7c8880cfff4cb8e26982d66c258 by lynxis
SGSN: f_cellid_to_RAI: fix spaces vs tabs

Change-Id: Ic1927729dd0d205f1bd866423c8dfdf91caf597d
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit 06b9d257ce31e5cc003cbe5ccb27d69586572fd3 by lynxis
msc: add testenv.cfg

Change-Id: Ia93115e3a27ac43b6530f2669e210f59169d75b9
The file was addedmsc/testenv.cfg
Commit 64fe578f24178958ce916f50e06bdb552d15a358 by laforge
stp: Improve failure teardown using Misc_Helpers.f_shutdown

Change-Id: I776bc32b1bdb52d7e90102c4ab6ff7b0ef7a12c6
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit 6cc1fd90ad922d9289f40ffc5d598aa33d8ca903 by laforge
stp: set up all M3UA ports in array in steps

This way we have all ports in more or less the same state when handling
messages.
It should also speed up tests and mitigate sporadic failures  under some
scenarios where we already accept the SCTP conn instead of rejecting it
and waiting for reconnect from client.

Change-Id: I585d9c768301bfd9ba849876923787137fc35981
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit 65cd8d4f7bd56d28527564dbfd205b252c631c1c by dwillmann
gbproxy: Don't log the payload size for every DL/UL-UNITDATA

This just wastes memory. We can check the pcaps if a test does fail.

Change-Id: I862d67a48f1d694262cf39a1e939033bde0c6eab
Related: OS#6704
The file was modifiedgbproxy/GBProxy_Tests.ttcn
Commit f10f4a8c7a66bdfd62ec8b62aac23bace47163a9 by Oliver Smith
testenv: run: add --autoreconf-in-src-copy arg

Add a new argument that avoids the problem that ./configure refuses to
run if it has already been executed in the source dir. (It aborts and
asks the user to run "make distclean" first, which is especially
annoying if it has to be done in multiple source dirs before being able
to build successfully.)

Put the new logic behind an "experimental argument" for now. I think it
improves usability greatly and plan to make it the default later when
it has been well tested.

I have also considered making the source dir read-only when mounted into
podman and this argument is set. This was the original goal of Lynxis'
related patch, on which idea this one is based. But osmo-dev still
needs to write into the source dir in case it clones a new repository,
so making the sources dir read-only with this trade-off should be a
separate flag and could be added in another patch later.

Related: osmo-ttcn3-hacks I0f1ac8852218f158ece14c176f05574f60d9d1f7
Depends: osmo-dev I18ac50e3441df81e1fe7d8d5321df7e80ab9c650
Change-Id: I5c38ce69dc39823d12be574c74a654d2fa6ed8fb
The file was modified_testenv/testenv/__init__.py
The file was modified_testenv/testenv/osmo_dev.py
Commit f6be37e47904348b555ceef4e874120cdc05f9ec by Vadim Yanitskiy
library/s1ap: fix criticality in UE CONTEXT RELEASE PDUs

Change-Id: I6c63b3ecb428b54705aea0c14610c00223651d8f
Related: SYS#7310
The file was modifiedlibrary/s1ap/S1AP_Templates.ttcn
Commit 2f87ce5ac603f97257b65a7cdb4d199dd7cbe338 by Vadim Yanitskiy
s1gw: add f_TC_exec()

The idea is to reduce the amount of boilerplate code.

Change-Id: I0df4ad15bc2dca2afb2c598c1b053f45b69c181b
The file was modifieds1gw/S1GW_Tests.ttcn
Commit 75cb01b7e1a83e850674e49a3f47fd116aa3eca0 by Vadim Yanitskiy
s1gw: add TCs for UE CONTEXT RELEASE procedures

Change-Id: I065692f311e9d03630ab3ca2f6a03465418f0e71
Related: osmo-s1gw.git Ic94489e3d3052221b49431da3a95e5c1eb0e0ba0
Related: SYS#7310
The file was modifieds1gw/S1GW_Tests.ttcn
The file was modifieds1gw/expected-results.xml
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
Commit e8db49258a4d5b495f5519a2c876b711f71c71ea by Pau Espin Pedrol
hnbgw: Use Misc_Helpers.f_shutdown upon rx of unexpected msg

Otherwise the test continues for a while and ends up with a DTE which
makes it harder to figure out the original test failure.

Change-Id: I7f07cff2ce93e8b11338ba4e39e1d49662323f58
The file was modifiedhnbgw/ConnHdlr.ttcn
Commit 229767a8c50df6191b8f6c8172e7eee642101c77 by Pau Espin Pedrol
MGCP_Emulation: Make sure peer is running before Tx

This avoid DTE with "Broken pipe" if messages are being transmitted
while tear down process has already started, even if components are
created as "alive".

Change-Id: I8724870b9b967ffa49c3da03e1cdb2941f81653a
The file was modifiedlibrary/MGCP_Emulation.ttcn
Commit b415d6dca43170532c8de9a4a8d817167ab62c83 by Pau Espin Pedrol
hnbgw: Submit proper L3 PDUs during CR

Generating random PDU values makes hnbgw act on it, since it looks up
higher layers to figure out NRI steering.

Change-Id: I725c35a3584b7d2d162c24ab2b662cfb80e539d7
Related: OS#6717
The file was modifiedhnbgw/ConnHdlr.ttcn
Commit 0671b682feea595b797ea0a4935ec6e0074c2758 by Pau Espin Pedrol
Mutex: Create component alive

Change-Id: Ie2980705dd0d2d8ed11a6c13349fb85e6f254748
The file was modifiedlibrary/Mutex.ttcn
Commit 8378569a717e710fd2f7df899ce99d1ef4ea508f by Pau Espin Pedrol
RAN_Adapter: Create components alive

HNBGW_Tests.TC_hnb_disconnected_timeout needs modification since it
expects the component to drop the underlaying conn towards the IUT when
the component is stopped. This is not longer the case when the component
is created as "alive". In order to make sure its resources are
destroyed, one needs to kill it.

Change-Id: Ice4d93b42552f1c5d621582b1fc3a38b4e1ae837
The file was modifiedlibrary/RAN_Adapter.ttcnpp
The file was modifiedhnbgw/HNBGW_Tests.ttcn
Commit 0202506948dc993e1d8fee683d110986e5dee615 by Pau Espin Pedrol
hnbgw: Create all components alive

This makes it easier to figure out errors due to getting rid of DTEs
changing the result output of the test.

Change-Id: If7ef1897adf3ef819314aa094ba78c526d77770f
The file was modifiedhnbgw/HNBGW_Tests.ttcn
Commit 74a5957494a5db5d835c0db717c47fed0e9c75b1 by Pau Espin Pedrol
pcu: Fix wrong BSN uint size

3GPP TS 44.060 9.1.4.2, BSN is 11 bit long.

Change-Id: Id1ef8b58dc61ab91de2c781a2fd1e8da5eba83a7
The file was modifiedpcu/GPRS_Components.ttcn
Commit 542ab1797b57aa7a5361b5ea5da06d6290c7528f by Pau Espin Pedrol
pcu: Fix TC_dl_cs1_to_cs4 sporadic fail

The test TC_dl_cs1_to_cs4 failed sporadically in ttcn3-pcu-test-asan.
Due to how the DL data arriving at Gb is split in chunks over RLC/MAC
(also based on how CS changes over time), it may happen that the full
PDU content doesn't finish at the exact block number where PCU expects
the DL ACK/NACK. As a result, since PCU delays finishing the DL TBF and
some data for that DL TBF has already not been ACKed (and since there's
no more active DL TBFs), it will decide to retransmit some of the
RLC/MAC blocks which haven't been yet ACKed, instead of transmitting
nothing.
This is an optimization to increase the probabilities the MS has
received all the data.
We need to account for this possibility in f_dl_data_exp_cs(), used in
the mentioned test. In there, it needs to be checked whether the
received DL data block is a retransmission, and use that knowledge to
resolve that all data has been transmitted and hence the final condition
can be checked.

Change-Id: I7fb40689547645adf1d54f43c263161be1d7a440
The file was modifiedpcu/GPRS_Components.ttcn
The file was modifiedpcu/PCU_Tests.ttcn
Commit 7c66363f06a2131ee96bbb39a02a40f86f07db95 by Pau Espin Pedrol
pcu: Fix dummy DL block received due to timer race conditions

Timer X2002, which manages delay at PCU between sending DL TBF Ass over
CCCH and start transmitting for it over PDCH, is clock-time based.
As a result, timer at PCU process and ttcn3 process may time out
slightly differently. Hence, it can happen that we request a DL block
immediatelly *before* the timer triggers at the PCU. In that scenario,
PCU transmits a dummy block instead of a data block.
Account for this race condition in several tests; some tests already
used this formula.

Change-Id: Ic2bb953483cd1f678cbe32c7a94e177f79ecb4e4
The file was modifiedpcu/PCU_Tests.ttcn
Commit a38b2fec94d540df5db0e89051ed160af26d0955 by Vadim Yanitskiy
s1gw: f_ConnHdlr_session_delete(): invalidate peer's SEID

Change-Id: If8027e2bdb5822eb7555cd02a72be900a1f18880
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
Commit 305ade194b1b0594968f081581496574d8198a8a by Vadim Yanitskiy
s1gw: f_ConnHdlr_session_delete(): respect any order

It's not guranteed (nor required) that PFCP Session Deletion Request
PDUs are sent in the same order as their respective ERab records are
organized in the given ERabList.  They can be emitted in any order.

Make f_ConnHdlr_session_delete() more flexible:

* Expect to receive N PFCP Session Deletion Request PDUs;
* For each received PFCP PDU, find the matching E-RAB;
* Make sure that an E-RAB is never released twice;
* Send PFCP Session Deletion Response.

This patch fixes the following TCs:

* TC_ue_ctx_release_req3
* TC_ue_ctx_release_cmd_compl3

Change-Id: I93d3d38829b1f425d18d59464894da239e3511eb
Related: 75cb01b7 ("s1gw: add TCs for UE CONTEXT RELEASE procedures")
Related: SYS#7310
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
Commit b80ae53000f83f6ade308a8780b0083215fa3563 by Vadim Yanitskiy
s1gw: add TC_e_rab_modify_req_rsp[_multi]

Test the E-RAB Modify procedure (MME initiated), which is defined
in 3GPP TS 36.413 section 8.2.2.

Change-Id: I58b9964bae24b5aac526ee0c0c8ac8798f351e05
Related: osmo-s1gw.git I24d57ea390d71b640cb42046a8658e9d30670682
Related: osmo-s1gw.git I057a1c58d0c6ad04c00ad3ea4c68230d8632a07e
Related: SYS#7308
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
The file was modifieds1gw/expected-results.xml
The file was modifieds1gw/S1GW_Tests.ttcn
Commit 67a8fde0c7be1b45acf138c6f1a4a0eb14a09f69 by Vadim Yanitskiy
s1gw: add TC_e_rab_modify_ind_cnf[_multi]

Test the E-RAB Modify procedure (eNB initiated), which is defined
in 3GPP TS 36.413 section 8.2.4.

Change-Id: Iec95ca0ecf37290bddfbefce1861f8ae66bf4db1
Related: osmo-s1gw.git I750ada0a5a21edc8bc06d567c8000b6304966474
Related: osmo-s1gw.git Icc16a57d40b68bd17c5d207b643927d58176e088
Related: SYS#7308
The file was modifieds1gw/S1GW_Tests.ttcn
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
The file was modifieds1gw/expected-results.xml
Commit c4253ad7497973c06e101666245a002c567c4166 by Pau Espin Pedrol
hnbgw: remove osmo-hnbgw <= 1.6.0 code path

osmo-hnbgw 1.7.0 has been released, so we can remove this code path.

Change-Id: Ie55b752c19aa597afdc47b6e57e8ff0b42313e00
The file was modifiedhnbgw/HNBGW_Tests.ttcn
Commit e9feead11104a79958b96d3b5002b690e920a981 by Pau Espin Pedrol
sgsn: remove osmo-sgsn <= 1.12.0 code path

Now that 1.13.0 has been released, we can run this test in latest too.

Change-Id: I4ead7b05d7d956303584ccbfe1e13692f54341af
The file was modifiedsgsn/SGSN_Tests.ttcn
Commit dc79a8837665962741be28b05505158c78f7b0de by pmaier@sysmocom.de
eim: move es9p_Types_JSON to library

The TTCN3 module es9p_Types_JSON is currently only used by the eIM testsuite,
but it may also be helpful in other testsuites in the future.

Related: SYS#7339
Change-Id: If4be10a298e30188aebe7c9d3efbdb56d2816c7f
The file was modifiedeim/gen_links.sh
The file was addedlibrary/euicc/es9p_Types_JSON.ttcn
The file was removedeim/es9p_Types_JSON.ttcn
Commit 075c76a18b623225139a1a979170bcb11099e917 by laforge
mgw: osmo-mgw.cfg: remove deprecated no-op params

This patch fixes the following warnings:

% Deprecated 'sdp audio-payload number <0-255>' config no longer has any effect
% Deprecated 'sdp audio-payload name NAME' config no longer has any effect
% Deprecated 'loop (0|1)' config no longer has any effect
% Deprecated 'allow-transcoding' config no longer has any effect
% Deprecated 'loop (0|1)' config no longer has any effect
% Deprecated 'allow-transcoding' config no longer has any effect

Change-Id: Ie4f2b46eda2e848781b77e590ad20e80fed86257
The file was modifiedmgw/osmo-mgw.cfg
Commit 40dedbef99437d641f041790198a68af6168a3b1 by laforge
bts: expect TC_data_{rtp,facch}_tchf144 to pass

Change-Id: I5dfcecc9cb6829ad208a54d7a3092a4cde327fb3
Related: OS#6167
The file was modifiedbts/expected-results.xml
Commit 7fbcc6f8a957dfc8fb3a30dd7577e927a42015d9 by Pau Espin Pedrol
stp: Allow setting up different m3ua_config list by test

This is useful, for instance, for tests willing to test dynamic ASPs.

Change-Id: I0a875bac5e9506be9140d5afa28da25bdc99a5a6
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit c810f6083f4163824622099f9493a1b98ddcc8ee by Pau Espin Pedrol
Use fork of titan.ProtocolModules.M3UA containing fix

Use a fork of the repository until the M3UA_NOTIFY decoding bug gets its
fix merged, currently submitted upstream in [1].

[1] https://gitlab.eclipse.org/eclipse/titan/titan.ProtocolModules.M3UA/-/merge_requests/4

Change-Id: I9ac3dcad88cd13c1b45fb70bdcd2a474d084a652
The file was modifieddeps/Makefile
Commit 702e4e1716a7ebb9aa9850375780821892351b00 by Pau Espin Pedrol
stp: Pass M3UA conn idx to f_M3UA_rkm_register()

Change-Id: I9295a2c3518f82e8c82625fb573e414b1d634146
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit 0687306e059b3e694332c732d2eaef3b2e31e88a by Pau Espin Pedrol
stp: NOTIFY expectancy fixes

Fix expected behavior of STP according to specs (RFC 4666 4.3.4.5),
after osmo-stp got several related fixes in libosmo-sigtran.git
Change-Id I85948ab98623a8a53521eb2d2e84244011b39a93 and Change-Id
I3dffa2e9c554f03c7c721b757ff33a89961665b5.

Change-Id: I3a56b4fcb8c119a31815f3175db2d7899fbfddd7
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit 1f3865fd7e7d81c41eeb61cc9574a9c931de69ce by Pau Espin Pedrol
stp: Introduce tests TC_dyn_(2)asp_as_rkm_permitted

These tests allows testing behavior of scenarios related to dynamic
ASP/AS/RKM improved/fixed in libosmo-sigtran.git Change-Ids:
I986044944282cea9a13ed59424f2220fee6fe567
I85948ab98623a8a53521eb2d2e84244011b39a93
I3dffa2e9c554f03c7c721b757ff33a89961665b5

Change-Id: Ic3116cbe63832003876ae19b31491275aebb41a9
The file was modifiedstp/STP_Tests_M3UA.ttcn
The file was modifiedstp/expected-results.xml
Commit bb2d39ff2d79d437edab8783d778fa83434913ff by Pau Espin Pedrol
stp: Fix expectancies of TC_clnt_quirk_snm_inactive

The test STP_Tests_M3UA.TC_clnt_quirk_snm_inactive validates the
snm_inactive quirk by sending a DAUD before the link being activated,
and expecting a DAVA to make sure osmo-stp did indeed process the SNM
message.
However, osmo-stp used to lack proper route validation based on link
state, which means it would incorrectly assumed the link for the
affected PC (55) in the test was active and hence would answer with a
DAVA. After libosmo-sigtran.git Change-Id
I928fb1ef5db6922f1386a188e3fbf9e70780f25d this wrong behavior is fixed,
and hence osmo-stp starts answering with a DUNA instead of a DAVA, since
AS "as-client" has not yet been activated during the test.
Fix the test expectancies by expecting a DUNA instead of a DAVA.

Change-Id: I907981c1487b299df852c405bae1fefff4bf5191
Depends: libosmo-sigtran.git Change-Id I928fb1ef5db6922f1386a188e3fbf9e70780f25d
Related: SYS#7112
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit 009199c9d571c26f52a18e55bd5a6f6b314ad649 by Pau Espin Pedrol
stp: Fix brokeness in STP_Tests_M3UA.TC_tmt_loadshare

The test was not even setting the traffic-mode in the IUT.
Furthermore, it was expecting pure round-robin behavior, which was the
older behavior of osmo-stp when loadshare traffic-mode was selected.

Actually split the test into 2, naming them properly (since round robin
is not a AS traffic mode in itself, but a possible implementation of the
loadshare traffic-mode.

The new test validates the usual loadshare traffic-mode based on SLS
distribution.

Related: SYS#7112
Depends: libosmo-sigtran.git Change-Id I61340549c596f1c04bc2269dbc165c327bf72037
Change-Id: I16d81cb2f88bb2927f248182ad4f8f27c8c24859
The file was modifiedstp/STP_Tests_M3UA.ttcn
The file was modifiedstp/expected-results.xml
Commit 8d0f1a96b3802364a07585684565c233fdb6c0fc by Pau Espin Pedrol
stp: Fix brokeness in STP_Tests_IPA.TC_tmt_loadshare

Similar to previous commit for M3UA, this time for IPA.
Since in IPA so far the SLS is fixed per ASP, we need to add an extra
sender ASP which will get a new asp_id (and hence SLS) so that we can
also test traffic being sent/distributed to the 2nd receiver.

Change-Id: I61c3efbf8e30533d051e2de506f7c8eaae7e297b
The file was modifiedstp/STP_Tests_IPA.ttcn
The file was modifiedstp/STP_Tests.ttcn
The file was modifiedstp/expected-results.xml
The file was modifiedstp/osmo-stp.cfg
Commit 03b3bff502a10538544da996574b7d5e61672eb2 by Pau Espin Pedrol
stp: STP_Tests.ttcn: Use M3UA PC and RCTX from config

Change-Id: I81c8402d5ccd6e59f2a6869927c637fff30cb952
The file was modifiedstp/STP_Tests_M3UA.ttcn
The file was modifiedstp/STP_Tests.ttcn
Commit 59f515ce4378408922791a4dfa59ecf0e02cfde6 by pmaier@sysmocom.de
es9p_Types_JSON: split headers into separate module

The headers used in the JSON binding of ES9+ are also used in ES2+, ES11 and ES12.
Let's split the headers into a separate module, so that we can re-use them in
other definitions too.

Change-Id: I0242c877805003fa67445800960f75ce27752383
Related: SYS#7339
The file was modifiedlibrary/euicc/es9p_Types_JSON.ttcn
The file was addedlibrary/euicc/esx_header_Types_JSON.ttcn
The file was modifiedeim/gen_links.sh
Commit 874b0001ced9248bf162e3cab44d3c751a5d68bb by pmaier@sysmocom.de
RSPDefinitions_Templates: add missing default values

The template parameters of some templates lack a reasonable default.
Let's add default values to those.

Related: SYS#7339
Change-Id: Ia55d17a00462c7c7729eb0d8d24ab0556c4c6918
The file was modifiedlibrary/euicc/RSPDefinitions_Templates.ttcn
Commit 368e35f9fb84904482a77175041cbb74f2c61a6f by pmaier@sysmocom.de
es9p_Types_JSON: add decoder/encoder functions for opposite direction

We currently only have ES9p encoder/decoder functions to emulate an ES9p server,
however, we will need to emulate ES9p clients too

Change-Id: Ic7e3390bd09cc9e0c91ca90ac60cdde5d2ce1384
Related: SYS#7339
The file was modifiedlibrary/euicc/es9p_Types_JSON.ttcn
Commit ef4f54ac563e72a902be8341bcf6d78b4481d4df by pmaier@sysmocom.de
HTTP_Adapter/cosmetic: remove stray newline

Change-Id: If23ca399071ddb8f9f39797b543d43f6173406f9
The file was modifiedlibrary/HTTP_Adapter.ttcn
Commit b147943311904948903d29fdc0343e5827122f74 by Oliver Smith
testenv/README: fix markdown syntax

Put the two wget lines into a code block, otherwise the line break is
omitted and it looks weird.

Change-Id: Ia61d56cdf4822595e2a05b320e387a079bdbfeb2
The file was modified_testenv/README.md
Commit 946605badc75aac38b35e420387966153c82ade4 by pmaier@sysmocom.de
HTTP_Adapter: allow requests to different hosts

The host that is requested via the HTTP_Adapter is configured once on
initialization. This is fine if the test scenario only has exactly one
destination to query. For multiple destinations, this model does not
work. Let's add an http_pars parameter to the request functions, so
that the user can direct the requests to different hosts dynamically.

Related: SYS#7339
Change-Id: Ic87674f2381b3c6a1be6d0ce28a9e5403cda201b
The file was modifiedlibrary/HTTP_Adapter.ttcn
Commit b26f4f635f74fcd1b69a10728f3a73f98dffc632 by pmaier@sysmocom.de
HTTP_Adapter: add missing omit qualifiers

On some function in the HTTP_Adapter module, the (omit)
qualifiers are missing.

Related: SYS#7339
Change-Id: I985021852cbe2bcce60b1466e8ec9c3820a0c0f8
The file was modifiedlibrary/HTTP_Adapter.ttcn
Commit dacbca96bad18d177dfff08378ae3f60b68fe1ef by Oliver Smith
testenv: use --autoreconf-in-src-copy by default

Pass --autoreconf-in-src-copy to osmo-dev's gen_makefile.py by default,
so we can always avoid errors related to:

* running "./configure" in-tree and out-of-tree (results in "configure:
  error: source directory already configured; run "make distclean" there
  first")
* running "./configure" / "autoreconf" with different autotools versions
  (on host system and in podman container)

I've kept is as experimental flag at first for better testing, but make
it the default now as it seems to work reliably.

The old make dir is cleaned up when the user runs "./testenv.py clean"
the next time.

Related: osmo-dev I18ac50e3441df81e1fe7d8d5321df7e80ab9c650
Change-Id: I41e1fb534e253ddb43f266d73485b83259a8aa40
The file was modified_testenv/testenv/requirements.py
The file was modified_testenv/testenv/__init__.py
The file was modified_testenv/testenv/osmo_dev.py
Commit 964e44bc64dce01495bd43f97e44d7e05086857f by Pau Espin Pedrol
deps: Update titan.ProtocolModules.M3UA to upstream master

MR contained in our fork was merged [1], so we can use upstream again.

[1] https://gitlab.eclipse.org/eclipse/titan/titan.ProtocolModules.M3UA/-/merge_requests/4

This patch doesn't contain an update hash because it was merged as
fast-forward so the commit hash now in master HEAD did not change from
the one in our repo fork branch.

Change-Id: Icf411559d3ba5bc699d8a66d7c42e7034392a9e6
The file was modifieddeps/Makefile
Commit 1468b6fc125663e64e297b059cfb549ec0f60906 by Pau Espin Pedrol
stp: STP_Tests_IPA.TC_tmt_loadshare_sls: Fix test expectancies

Change-Id: I68856e11a92b707eb11ab4813390e6faf3c54b69
The file was modifiedstp/STP_Tests_IPA.ttcn
Commit fb4b71777cd5b8a2f04939a6230ac172d560caa2 by Pau Espin Pedrol
sccp: Improve logging receiving unexpected msg

Change-Id: I90c5236882e96fc038fee0d2f4551cfc58767c78
The file was modifiedsccp/SCCP_Tests_RAW.ttcn
Commit 20e1d390f0bf4e9bc961f279197dd4489476ee5b by Pau Espin Pedrol
sccp: Fix test rx SLS expectancies

The SLS is the same for all messages in conn being sent in one direction, but
doesn't need to be the same value on both directions.
Since the SLS value on the other direction is not selected by the test
itself, we cannot expect a given specifi value.
Update the test expectancies.

This started to fail since recently libosmo-sigtran started properly
setting SLS values, eg libosmo-sigtran.git
7781eb275da41a9b6b1ea5d8b0e802e87a8e9d53 and
0061e8d0bcba3b0ed5ea255588619627d0975380.

Change-Id: Ic288b58629361de9cfadb568a27b51b7e02c9e99
The file was modifiedsccp/SCCP_Tests_RAW.ttcn
Commit 8fc1b2152ff7615f610e7a040cb3b5135dfc5351 by Pau Espin Pedrol
SCCP_Templates: Expect either proto class0 or class1 upon rx SCCP

Until recently, libosmo-sigtran only sent class0, but it is now able to
send class1 too (0061e8d0bcba3b0ed5ea255588619627d0975380).
Adapt the test expectancies.

Change-Id: Ia1e05b24f1b56404d951eece0e9314d784d375db
The file was modifiedlibrary/SCCP_Templates.ttcn
Commit 45ae4a9fe5d996f1352579fc8cafd03f871622fb by laforge
HTTP_Server_Emulation: allow multiple HTTP server ports

At the moment the HTTP_Server_Emulation component can only provide
a single HTTP server. Let's extend it so that it can provide multiple
HTTP server.

Related: SYS#7339
Change-Id: I11df9df5c3041f977b458835e923c74abe3bba7b
The file was modifiedipad/IPAd_Tests.ttcn
The file was modifiedeim/eIM_Tests.ttcn
The file was modifiedlibrary/HTTP_Server_Emulation.ttcn
Commit fbd787d9d5de270b72dee5f7076f8e928ee88774 by Oliver Smith
testenv: -h output: add more binary repo examples

It wasn't clear how to use the nightly asan repository with testenv.
Extend the help output for that.

Change-Id: I5e18059f129423eac3374bd6beff32930a0f7c95
The file was modified_testenv/testenv/__init__.py
Commit 79a9e4970fa86126ec9affdd1f7a4cc0a3df1c08 by Vadim Yanitskiy
bts: BTS_Tests.cfg: remove commented out params

... most of them are personal stuff.

Change-Id: I892ae9003082da78ba41df55b6fb56ff4aae5526
The file was modifiedbts/BTS_Tests.cfg
Commit aa1ceb8f87c6c9d1d0d2de1e6a33b4bc9fa44823 by Vadim Yanitskiy
bts: BTS_Tests.cfg: set BTS_Tests.mp_transceiver_num

At least for osmo-bts-trx, we are running the testsuite with 4
transceivers.  This is also required for running the hopping config.

Change-Id: I449001f67abe1748f221c1ef9d0212f024f710dd
The file was modifiedbts/BTS_Tests.cfg
Commit 6c973bdd6e5a5b476ce3d82cb61dd90e1ba210cb by Pau Espin Pedrol
bts: Run osmo-bts-trx with sched_rr priority

use a real time prio since it really needs to do stuff in ral time with
high prio. Use lower rt prio than fake_trx since that one is the most
important piece providing clock.

Change-Id: I0251ed3ec0645617cf4e9bcc03e75c805bf1634c
The file was modifiedbts/osmo-bts.cfg
Commit 422f442d62c2f1265acbf820b49577354e259f0d by laforge
asterisk: Rework test TC_ims_call_mo_after_tcp_conn_closed with new expectancies

Previous expected behavior (and Asterisk-UE implementation) was wrong.
Since recently, Asterisk behaves better, that is, whenever the TCP conn
is dropped by the peer, it will attempt re-connecting and
re-registering.

Related: SYS#7398
Change-Id: I7ec1e8e30c4d72be96c8e300e0d038e63ba0e600
The file was modifiedasterisk/Asterisk_Tests.ttcn
The file was modifiedasterisk/IMS_ConnectionHandler.ttcn
Commit 878bd8e8b1730810dccccecfd634d162579379ef by Pau Espin Pedrol
mme: Take into account KSI update by Network

Since recently, open5gs updates the KSI received from the UE in order to
comply better with 4G Core expectancies.

Track assigned KSI in ttcn3 code and update it according to
expectancies.

Depends: open5gs.git 70310979c58fe186e9eaa06bec9d9a31f24ff7a1
Change-Id: Ie97788c5d9996370cd3e24cc0ff7c003adff1a65
The file was modifiedlibrary/NAS_Templates.ttcn
The file was modifiedmme/MME_Tests.ttcn
Commit 3d453535309a811881a6109bd2d304bb489eca60 by Pau Espin Pedrol
mme: Replace TC_s1ap_setup_wrong_plmn with test with different expectancies

This test was written following previous open5gs behavior, which was
wrong and updated in https://github.com/open5gs/open5gs/issues/3544.

Expect test to trigger a successful S1 setup procedure.
Rename the test to reflect the new expectancies.

Related: OS#6634
Change-Id: I3aba3d642e3bc70f08b6e0713514fb8906da775d
The file was modifiedmme/MME_Tests.ttcn
The file was modifiedmme/expected-results.xml
Commit e890d4ca47465bbf2fbe160d879538d1c0b4cf4b by Vadim Yanitskiy
rmlinks.sh: use -delete instead of -exec rm

Change-Id: Ic2cf9c36159a2bbf1acb59e6b316d1ef30aabe28
The file was modifiedrmlinks.sh
Commit 48fc8c0e9bb5ac555399c1f04c78e3781b84a077 by Vadim Yanitskiy
rmlinks.sh: remove non-existent path exclude

Change-Id: I91ae0d3a610f4c9d826bfb1f579204fb0f55e7c8
The file was modifiedrmlinks.sh
Commit 5a7ce576e95560346a6c1f0e7eeb8c1673f46fea by Vadim Yanitskiy
remove unused ROHC_CNL113426_LATEST dir

Change-Id: I30a5595ad1d0dfd2d6e4193add9e9e3503210aca
The file was removedROHC_CNL113426_LATEST/doc/ROHC_CNL113426_FS.pdf
The file was removedROHC_CNL113426_LATEST/src/ROHC_Types.ttcn
The file was removedROHC_CNL113426_LATEST/doc/ROHC_CNL113426_PRI.pdf
The file was removedROHC_CNL113426_LATEST/doc/ROHC_CNL113426_UG.pdf
The file was removedROHC_CNL113426_LATEST/src/ROHC_EncDec.cc
Commit e2d11575ed143cffecc5a0a4039beebc0d4f2c16 by Vadim Yanitskiy
deps: fix overriding recipe for target 'titan.ProtocolEmulations.SCCP'

This patch fixes the following warnings:

Makefile:188: warning: overriding recipe for target 'titan.ProtocolEmulations.SCCP'
Makefile:185: warning: ignoring old recipe for target 'titan.ProtocolEmulations.SCCP'
Makefile:188: warning: overriding recipe for target 'titan.ProtocolEmulations.SCCP/clean'
Makefile:185: warning: ignoring old recipe for target 'titan.ProtocolEmulations.SCCP/clean'
Makefile:188: warning: overriding recipe for target 'titan.ProtocolEmulations.SCCP/distclean'
Makefile:185: warning: ignoring old recipe for target 'titan.ProtocolEmulations.SCCP/distclean'

The problem is that 'titan.ProtocolEmulations.SCCP' is listed in
both ECLIPSEGITLAB_REPOS and OSMOGITHUB_REPOS.

Change-Id: Ia215f02fc08d66fb56e7e0e452b75d6e2f6c59c5
Fixes: 207ce0370 ("deps: Update titan.ProtocolEmulations.SCCP to upstream master")
The file was modifieddeps/Makefile
Commit dd3ae980159c9b65e0b125fbd662e7523efb84c8 by Vadim Yanitskiy
bts: simplify f_tc_rsl_ms_pwr_ctrl()

Change-Id: I67968a0398f9957dc4cc9c7fdffaf2b0ac40b88a
The file was modifiedbts/BTS_Tests.ttcn
Commit f60cf7a324c533cf14a3258c36d5acee817500ad by Vadim Yanitskiy
library: fix coding style near f_rnd_int()

Change-Id: Ic9b97cd1626f35b3483f37fa250eea9dfd35ef51
The file was modifiedlibrary/Osmocom_Types.ttcn
Commit 2cdcfa003a5ff3ea53b7b5090d498e23739c7629 by Vadim Yanitskiy
library: add f_rnd_sleep()

Change-Id: I97474d0c39052d8a9dd294238530e0b6c31a19e0
The file was modifiedlibrary/Osmocom_Types.ttcn
Commit 76a7496f33a62ef2a6719ed126041c9a162272d6 by Vadim Yanitskiy
library/s1ap: cosmetic: fix a typo

Change-Id: I50aceea2653c426d1f60542dbb6721b8c75ed3fb
Related: SYS#7288
The file was modifiedlibrary/s1ap/S1AP_Templates.ttcn
Commit 58466982bfa2801061799193e18f1a01903e0e61 by Vadim Yanitskiy
library/s1ap: split PDU specific API to S1AP_Functions.ttcn

Change-Id: Id3ba089140093490abd0307addeb5d7287dc5894
Related: SYS#7288
The file was addedlibrary/S1AP_Functions.ttcn
The file was modifiedmme/MME_Tests.ttcn
The file was modifiedlibrary/S1AP_Emulation.ttcn
The file was modifiedmme/gen_links.sh
Commit abffd4f37822a4740b2dcc35a157b93ba1d45e01 by Vadim Yanitskiy
s1gw: derive altsteps from f_ConnHdlr_rx_s1ap_from_{enb,mme}()

Change-Id: I8637a8abed0f0152abf2dce63ac28aa90f85bdc7
Related: SYS#7288
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
Commit 3dc20fe5be46cee02c78a34c40697e7ec503a59a by Vadim Yanitskiy
s1gw: add UE multiplex component

The UEMux is built upon the ConnHdlr component, allowing to simulate
concurrent activity of multiple virtual UEs.  This new component will
be used in follow-up patches.

Change-Id: I60e6f5d2b9882c27cecd06a2450bda4909c0532a
Related: SYS#7288
The file was addeds1gw/S1GW_UEMux.ttcn
The file was modifieds1gw/gen_links.sh
Commit 325d07697da4351ddd8f4556b984acee12c35fd2 by Vadim Yanitskiy
s1gw: add TC_uemux_uldl_nas_release

So far all of our *_multi TCs have been running the test logic in
multiple eNB connections.  This is the first TC simulating activity
of multiple virtual UEs within a single eNB connection.

Change-Id: I8e5db55739241f89592a7d2a81a13e8028e90d1d
Related: SYS#7288
The file was modifieds1gw/S1GW_UEMux.ttcn
The file was modifieds1gw/S1GW_Tests.ttcn
The file was modifieds1gw/expected-results.xml
Commit 049d7025fc492ab372d4ba6037813bc11814c138 by Vadim Yanitskiy
s1gw: disable Nagle for eNB and MME connections

Change-Id: Id89941659fd2763aad9262b05aa007370424f2c1
Related: SYS#7288
The file was modifieds1gw/S1GW_Tests.default
Commit f2290ac1f47d0d14203207a3bd33ec348828d8a4 by Vadim Yanitskiy
msc: f_establish_fully(): merge EST_TYPE_MO_{CALL,CSD}

There's nothing special about CSD at the stage of MM connection
establishment, it looks like a normal call at this point.

Change-Id: I732b58ed43bc0d76fb78a6a41e19261658d8f755
The file was modifiedmsc/BSC_ConnectionHandler.ttcn
Commit d82ce1dd7604cfc8538cea92cb0c694c55c33b7f by Vadim Yanitskiy
msc: use f_expect_paging() in SS/USSD TCs

Change-Id: Ia75420c738ef412af6ae602566fab7c997b48335
The file was modifiedmsc/MSC_Tests.ttcn
Commit adfc1d11aa46a6ad8bffb207af2958fddba6833c by Vadim Yanitskiy
msc: split up as_unexp_gsup_or_bssap_msg()

Make use of derived as_unexp_{gsup,bssap}_msg() altsteps.
Take a chance to improve them by printing unexpected PDUs.

Change-Id: Ie6c349bdae289d19614809545e23c2b7bf88f8ed
The file was modifiedmsc/MSC_Tests.ttcn
Commit e9de1515d41aa979cbf2446b6530d24140811fa7 by Vadim Yanitskiy
msc: add TC_gsup_mt_sms_{paging,conn}_timeout

Change-Id: Ief16753783e044911f1e3cef8d7012810d709e61
Related: SYS#7323
The file was modifiedmsc/expected-results.xml
The file was modifiedmsc/MSC_Tests.ttcn
Commit 64db5053a31f720f2fb7311f5e95f7eef52d423d by Vadim Yanitskiy
s1gw: ConnHdlr: allow passing {MME,ENB}-UE-S1AP-ID

This is needed for follow-up UEMux testcases, in which we spawn
multiple virtual UEs with unique {MME,ENB}-UE-S1AP-IDs.

Change-Id: Ife37c77cff348cdfbde191dbad6da816e68ca941
Related: SYS#7288
The file was modifieds1gw/S1GW_Tests.ttcn
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
Commit cdc149a6676477368fd95ea9465b2c8a97b5f86a by Vadim Yanitskiy
s1gw: add UEMux TCs for E-RAB SETUP and RELEASE

Change-Id: Ia4583f82a768ca3d185aad596ce8ec9bbd37ad32
Related: SYS#7288
The file was modifieds1gw/S1GW_Tests.ttcn
The file was modifieds1gw/expected-results.xml
The file was modifieds1gw/S1GW_UEMux.ttcn
Commit f3b38d4b45adc00b7e10b5f2489be04586effd3f by Vadim Yanitskiy
s1gw: add UEMux TCs for INITIAL CTX SETUP and UE CTX RELEASE

Change-Id: I811904e50dd6f0a05b0bb6babebe5b4690e2d3ec
Related: SYS#7288
The file was modifieds1gw/S1GW_Tests.ttcn
The file was modifieds1gw/expected-results.xml
The file was modifieds1gw/S1GW_UEMux.ttcn
Commit 25e65906f9c3b84293a3ae74f7c7d046ac022f93 by Vadim Yanitskiy
s1gw: fix passing swapped {MME,ENB}_UE_S1AP_ID

This commit fixes a regression introduced in 64db5053
and makes the following TCs green again:

* TC_e_rab_modify_ind_cnf[_multi]
* TC_e_rab_modify_req_rsp[_multi]

Change-Id: I9b19a82234f547a9e44c9c034492ee4b21892818
Fixes: 64db5053 ("s1gw: ConnHdlr: allow passing {MME,ENB}-UE-S1AP-ID")
The file was modifieds1gw/S1GW_Tests.ttcn
The file was modifieds1gw/S1GW_ConnHdlr.ttcn
Commit a89579678e54923ab1a18cc55d72f5ac62d6a3b3 by Oliver Smith
remsim: make client tests work in testenv

* Prevent osmo-remsim-client-shell from closing immediately with "STDIN
  was closed, terminating".

* Fix REMSIM_Tests.cfg:
  * move mp_ to proper section
  * proper IP

Change-Id: I91b08b9bfde11f4600993b18ece1e810b61ed904
The file was modifiedremsim/client/REMSIM_Tests.cfg
The file was modifiedremsim/testenv_client.cfg
Commit bb438dc76eea5b644c258927c9fdfe84778e896f by Oliver Smith
testenv: fix building osmo-remsim with osmo-dev

Use --disable-remsim-client-ifdhandler as configure argument for
osmo-remsim. We don't need this for running tests and this prevents the
buildsystem from trying to write to /usr/lib/pcsc/drivers/ which fails
the build.

Change-Id: I3b00e5301433476bd19de3814943878f918c1fa0
The file was added_testenv/data/osmo-dev/testenv.opts
The file was removed_testenv/data/osmo-dev/osmo-bts-trx.opts
The file was modified_testenv/testenv/osmo_dev.py
Commit fd3991491645f2e5b7a0bf5b3a91a4c13290a0f8 by Oliver Smith
Cosmetic: testenv/testdir: fix formatting

This wasn't caught by previous ruff versions, fix it.

Change-Id: Ib770ee2e14811777efdb2c5867b29ba379abde7c
The file was modified_testenv/testenv/testdir.py
Commit 83ab0c8fdb80a80bb70384199f0f88c93c8f2f1b by Pau Espin Pedrol
stp: TC_tmt_loadshare*: Use new vty command 'binding-table reset'

Reset the eSLS binding table state before starting the test, to run it
with a clean state.

This test also fixes TC_unknown_client_dynamic_tmt_loadshare since it
now resets the table after connecting the 2nd dynamic ASP, which allows
re-distributing all seeds in the table into the new available set of
ASPs.

Depends: libosmo-sigtran.git Change-Id I56c34072a9ded42c13dbfc105a0ab3353ca353ec
Change-Id: I40b7724edcc06a3df641e316be4770d0e56bb72d
The file was modifiedstp/STP_Tests_M3UA.ttcn
The file was modifiedstp/STP_Tests_IPA.ttcn
Commit f008dd8f7a8af34bcf42ea5dbc4a3c350e2d27e5 by Oliver Smith
testenv: fix OSMO_DEV_MAKE_DIR env var

When --autoreconf-in-src-copy was made the default, the make dir name
has been changed to make2 but this variable was not adjusted. Fix it.

Fixes: dacbca96 ("testenv: use --autoreconf-in-src-copy by default")
Change-Id: Ia46ebe1240806995960545afbb34e6533580f209
The file was modified_testenv/testenv/cmd.py
Commit ea43b4aac4d50b1b815620bdb3d40cb8796631b3 by Oliver Smith
sccp: testenv: fix hardcoded sccp_demo_user path

The current path only worked for with podman and with osmo-dev. Make it
work for the following use cases too:

* without podman, with osmo-dev
* with podman, with binary packages (instead of osmo-dev)

Removing package=no is required, so testenv builds sccp_demo_user from
source when running with --binary-packages. This is needed as
sccp_demo_user is not packaged (OS#5899).

Change-Id: Id6e0b669dcb71cab9e789fe011e60827a8e07f77
The file was modifiedsccp/testenv.cfg
The file was addedsccp/run_sccp_demo_user.sh
Commit 563100e13fb12b2bb0b073adeab9327778d0bb70 by Oliver Smith
sccp: testenv: fix run with asan + latest binaries

When running against osmocom:nightly:asan, build sccp_demo_user with
--enable-sanitize. Otherwise this code is not running with asan and
doesn't even start (as the libraries we link against are built with
--enable-sanitize).

When running against osmocom:latest, check out the latest tag instead of
current master.

Fixes: OS#5899
Change-Id: I5307125560694feae9f0978ebd27607a77ed8675
The file was modified_testenv/testenv/podman_install.py
Commit f10f525ce38726785bb935e124ad4591b9097c13 by Oliver Smith
testenv: remove TESTENV_GIT_DIR

This variable is not used anymore, remove it.

Change-Id: Iabb9fa3b9b393b2cb7f18fb877746e5d1e510e63
The file was modified_testenv/testenv/cmd.py
Commit a61fcf1c87c56b48e08e09b3411e2f56f6b6a8c0 by Vadim Yanitskiy
msc: add/expect network-originated MT-Forward-SM.Err

The idea is to have two variants of the MT-Forward-SM.Err:

* _MS: originated by the MS/UE (via RP-ERROR),
* _NET: originated by the network (MSC) itself.

In both testcase scenarios we expect the network to indicate the
MT_FORWARD_SM_ERROR on its own, due to the lack of response from MS/UE.
Use the right template kind for that, expect a specific Cause value.

Change-Id: Ic27d943645fdff8d34f958e3bf16c8ee6e8368d2
Related: osmo-msc.git I51d92752471147e6d21a5059bebb0702b32642a5
Related: e9de1515 ("msc: add TC_gsup_mt_sms_{paging,conn}_timeout")
Related: SYS#7323
The file was modifiedmsc/MSC_Tests.ttcn
The file was modifiedlibrary/GSUP_Templates.ttcn
Commit fff7a5d8fbf8dd3ccc768c7c89219a6fbd9b1ae8 by Vadim Yanitskiy
msc: execute more SMS-over-GSUP tests via UTRAN

Change-Id: Ia3c044ad04561a4ee6dbb4a3fe59fedd3ac79bba
Related: 1cd11a05a ("MSC_Tests.ttcn: introduce TC_gsup_mt_multi_part_sms")
Related: 8d0d7af27 ("msc: add TC_gsup_mt_sms_lu_delay for X36 (LU delay) timer")
Related: e9de1515d ("msc: add TC_gsup_mt_sms_{paging,conn}_timeout")
The file was modifiedmsc/MSC_Tests.ttcn
The file was modifiedmsc/MSC_Tests_Iu.ttcn
The file was modifiedmsc/expected-results.xml
Commit dc17cca7ea3dc1bc86d4654191df82d42bbbf63c by Oliver Smith
testenv: make clone project function generic

Prepare to use the same code for cloning libosmocore in order to build
osmo-ns-dummy in a follow-up patch, which isn't in the binary packages
either.

Change-Id: Id19ed229545b22751c810b647e9be24f955f348d
The file was modified_testenv/testenv/podman_install.py
Commit 8b0f9ab9f1349611114e6cbf2974576b1a0563c1 by Oliver Smith
testenv: clone_project: fix getting latest version

Extend the logic for getting the last version, so it doesn't only work
with libosmo-sigtran (where the last version happens to be the last one
returned by "git ls-remote --tags") but also for libosmocore where this
isn't the case. Filter the versions by the relevant ones and then sort
them to get the highest one.

Change-Id: Ic15e385b9c8bab5c0dc70276049d6ad5ae927a6a
The file was modified_testenv/testenv/podman_install.py
Commit 0f12d25ec57a2795fef62cf65eab8dbb3534102c by Oliver Smith
ns: initial testenv config

Change-Id: I7b0d81db49dae0a3bb3d4c3b36fd3f8b4b590760
The file was added_testenv/data/scripts/build_osmo_ns_dummy.sh
The file was addedns/testenv_sns.cfg
The file was modified_testenv/testenv/podman_install.py
The file was addedns/testenv_udp.cfg
The file was addedns/testenv_sgsn_sns.cfg
The file was addedns/run_osmo_ns_dummy.sh
Commit 4e4398aac6d19fe16c40be88290e0da08588fd2d by Pau Espin Pedrol
hnbgw: Support configuring RAC on each hnb conn

Change-Id: Ie6a731d641ca963f71537e09fda8c894730bee84
The file was modifiedhnbgw/HNBGW_Tests.ttcn
The file was modifiedhnbgw/ConnHdlr.ttcn
Commit b0e3627eaa2665a03eb2301b099da6bceb4e4d4a by Pau Espin Pedrol
hnbgw: Test paging with PAge Area ID IE

Change-Id: I313aadae08f187b413e894a93faa29ce771ef7fe
The file was modifiedhnbgw/HNBGW_Tests.ttcn
The file was modifiedhnbgw/expected-results.xml
The file was modifiedlibrary/ranap/RANAP_Templates.ttcn
Commit 2ad3001b4bbd3e4cc2fa8fe5a70a5d057a9f1e36 by Pau Espin Pedrol
stp: Fix typo in comment

Change-Id: I9f4a1e5ec0b0d2614b3cec0768e8847fce3e3cdf
The file was modifiedstp/STP_Tests_IPA.ttcn
Commit 9d542aa3544b064d1560792dce754b1d9a30f8a5 by Oliver Smith
testenv: clean: fix cleaning git dir

Don't try to build a PATH that contains the testsuite dir if running the
"clean" action, because then no testsuite is defined.

Fix for:
  $ ./testenv.py clean
  [testenv] + ['rm', '-rf', '/home/user/.cache/osmo-ttcn3-testenv/git']
  Traceback (most recent call last):
    File "/home/user/code/osmo-dev/src/osmo-ttcn3-hacks/./testenv.py", line 137, in <module>
      main()
    File "/home/user/code/osmo-dev/src/osmo-ttcn3-hacks/./testenv.py", line 133, in main
      clean()
    File "/home/user/code/osmo-dev/src/osmo-ttcn3-hacks/./testenv.py", line 117, in clean
      testenv.cmd.run(["rm", "-rf", path])
    File "/home/user/code/osmo-dev/src/osmo-ttcn3-hacks/_testenv/testenv/cmd.py", line 106, in run
      env=generate_env(env),
          ^^^^^^^^^^^^^^^^^
    File "/home/user/code/osmo-dev/src/osmo-ttcn3-hacks/_testenv/testenv/cmd.py", line 72, in generate_env
      path += f":{os.path.join(testenv.testsuite.ttcn3_hacks_dir, testenv.args.testsuite)}"
                                                                  ^^^^^^^^^^^^^^^^^^^^^^
  AttributeError: 'Namespace' object has no attribute 'testsuite'

Change-Id: I65da89581260fc60b3d8da0a93ee04c0c22c7f2c
The file was modified_testenv/testenv/cmd.py
Commit 0aea324764a6439e97aac2f6b19cea7dbfcbd787 by Oliver Smith
Revert "hnbgw: Test paging with PAge Area ID IE"

This reverts commit b0e3627eaa2665a03eb2301b099da6bceb4e4d4a: caused
regression in several other tests.

Related: OS#6762
Change-Id: I416d514e739cc0b16832192bfdb746a4ed09336f
The file was modifiedlibrary/ranap/RANAP_Templates.ttcn
The file was modifiedhnbgw/HNBGW_Tests.ttcn
The file was modifiedhnbgw/expected-results.xml
Commit 0d958c2c723afcb911dc6bbc40027b30f526fe62 by Oliver Smith
Revert "hnbgw: Support configuring RAC on each hnb conn"

This reverts commit 4e4398aac6d19fe16c40be88290e0da08588fd2d: caused
regression in several other tests.

Related: OS#6762
Change-Id: I077c584219bfa54468bd796a1fc2e85fd60b7a02
The file was modifiedhnbgw/ConnHdlr.ttcn
The file was modifiedhnbgw/HNBGW_Tests.ttcn
Commit 6aff1b551255c1c789494ab6bec61baa91302d1b by Vadim Yanitskiy
msc: add TC_mo_ussd_evil_ms for OS#6756

This is an "evil MS" scenario that crashes current osmo-msc.

Change-Id: If1d85a1b4b63b01b4565e53677acfd21e664e799
Related: osmo-msc.git I724f0f0c9ef8611d3c3653e9370361b252127f72
Related: OS#6756
The file was modifiedmsc/MSC_Tests.ttcn
The file was modifiedmsc/expected-results.xml
Commit 2ba10d9ea1ccb97843d2b416ffb2c9ca5a05f45e by Oliver Smith
buildsystem: move related scripts to subdir

Clean up the main directory by moving all buildsystem related scripts
into a _buildsystem subdirectory.

Rename gen_links.sh.inc to gen_links.inc.sh while at it, so vim does
syntax highlighting as shell script and not bitbake.

The rest of these patches in this series lead up to changing the
buildsystem to build out-of-tree (so we don't clutter the source dirs
with symlinks and build artifacts) and making the build output more
readable.

Related: OS#6599
Change-Id: Ieeefdfd74b2698794fb12fec4ed32565dc9f36a6
The file was modifiedMakefile
The file was modifiedbsc/regen_makefile.sh
The file was modifiedccid/regen_makefile.sh
The file was modifiedbts/gen_links.sh
The file was modifiedpcu/gen_links.sh
The file was modifiedlibrary/sbcap/regen_makefile.sh
The file was modifiedremsim/gen_links.sh
The file was modifiedfr/regen_makefile.sh
The file was modifiedpgw/gen_links.sh
The file was modifiedsccp/gen_links.sh
The file was added_buildsystem/gen_links.inc.sh
The file was modifiedepdg/regen_makefile.sh
The file was modifiedfr-net/gen_links.sh
The file was modifiedhlr/regen_makefile.sh
The file was modifiedlibrary/hnbap/regen_makefile.sh
The file was modifiedbsc-nat/gen_links.sh
The file was modifiedhss/gen_links.sh
The file was modifiedmme/gen_links.sh
The file was modifiedgbproxy/regen_makefile.sh
The file was modifiedpcrf/regen_makefile.sh
The file was modifiedSCCP_Test/regen_makefile.sh
The file was modifiedeim/gen_links.sh
The file was modifiedgbproxy/gen_links.sh
The file was modifieddia2gsup/regen_makefile.sh
The file was modifiedepdg/gen_links.sh
The file was modifiedmgw/regen_makefile.sh
The file was modifiedselftest/gen_links.sh
The file was modifiedmsc/regen_makefile.sh
The file was modifiedhnodeb/gen_links.sh
The file was modifiedggsn_tests/gen_links.sh
The file was modifiedhnbgw/regen_makefile.sh
The file was modifiedhss/regen_makefile.sh
The file was modifiedsimtrace/regen_makefile.sh
The file was modifiedasterisk/regen_makefile.sh
The file was modifiedhnodeb/regen_makefile.sh
The file was modifiedstp/gen_links.sh
The file was modifiedeim/regen_makefile.sh
The file was modifiedselftest/regen_makefile.sh
The file was added_buildsystem/rmlinks.sh
The file was modifiedstp/regen_makefile.sh
The file was modifiedsysinfo/gen_links.sh
The file was modifiedSCCP_Test/gen_links.sh
The file was modifiedpcap-client/regen_makefile.sh
The file was modifiedsysinfo/regen_makefile.sh
The file was removedgen_links.sh.inc
The file was modifiedmme/regen_makefile.sh
The file was modifiedbsc/gen_links.sh
The file was modifieddia2gsup/gen_links.sh
The file was modifiedns/regen_makefile.sh
The file was modifiedlibrary/ranap/regen_makefile.sh
The file was modifiedsmlc/gen_links.sh
The file was modifiedasterisk/gen_links.sh
The file was modifieds1gw/regen_makefile.sh
The file was added_buildsystem/regen-makefile.sh
The file was modifiedfr-net/regen_makefile.sh
The file was modifiedhnbgw/gen_links.sh
The file was modifiedsip/regen_makefile.sh
The file was modifiedggsn_tests/regen_makefile.sh
The file was modifiedhlr/gen_links.sh
The file was modifiedmsc/gen_links.sh
The file was modifiedmgw/gen_links.sh
The file was modifiedupf/regen_makefile.sh
The file was modifiedbts/regen_makefile.sh
The file was modifiedlibrary/rua/regen_makefile.sh
The file was modifiedcbc/gen_links.sh
The file was removedrmlinks.sh
The file was modifiedipad/regen_makefile.sh
The file was modifiedsimtrace/gen_links.sh
The file was modifiedlibrary/sabp/regen_makefile.sh
The file was modifiedsip/gen_links.sh
The file was removedregen-makefile.sh
The file was modifiedsccp/regen_makefile.sh
The file was modifiedlibrary/s1ap/regen_makefile.sh
The file was modifiedcbc/regen_makefile.sh
The file was modifiedccid/gen_links.sh
The file was modifiedremsim/regen_makefile.sh
The file was modifiedupf/gen_links.sh
The file was modifiedpcap-client/gen_links.sh
The file was modifiedsgsn/gen_links.sh
The file was modifiedsgsn/regen_makefile.sh
The file was modifiedsmlc/regen_makefile.sh
The file was modifiedpcrf/gen_links.sh
The file was modifiedpcu/regen_makefile.sh
The file was modifieds1gw/gen_links.sh
The file was modifiedfr/gen_links.sh
The file was modifiedpgw/regen_makefile.sh
The file was modifiedbsc-nat/regen_makefile.sh
The file was modifiedipad/gen_links.sh
The file was modifiedns/gen_links.sh
Commit 85b38bbc8512df88fb246a5f6855a460ef3a4961 by Oliver Smith
buildsystem/regen_makefile: change to inc script

Make the regen_makefile script more consistent with gen_links.inc.sh by
also turning it into an include script. By doing this all previously
declared variables are available in regen_makefile, which means export
and passing as arguments is not needed anymore, making the resulting
users simpler.

Use #!/bin/sh -e while at it and remove empty CPPFLAGS_TTCN3 vars.

Change-Id: I10a41671e857024be6a5e8577c2aaca83228793e
The file was modifiedepdg/regen_makefile.sh
The file was modifiedsgsn/regen_makefile.sh
The file was modifiedsip/regen_makefile.sh
The file was modifiedeim/regen_makefile.sh
The file was modifiedsmlc/regen_makefile.sh
The file was modifiedremsim/regen_makefile.sh
The file was modifieds1gw/regen_makefile.sh
The file was modifiedsccp/regen_makefile.sh
The file was modifiedbsc/regen_makefile.sh
The file was modifiedbts/regen_makefile.sh
The file was modifiedccid/regen_makefile.sh
The file was modifiedhnbgw/regen_makefile.sh
The file was modifiedipad/regen_makefile.sh
The file was modifiedpcrf/regen_makefile.sh
The file was modifiedhss/regen_makefile.sh
The file was modifiedupf/regen_makefile.sh
The file was removed_buildsystem/regen-makefile.sh
The file was modifiedbsc-nat/regen_makefile.sh
The file was modifiedpcap-client/regen_makefile.sh
The file was modifiedselftest/regen_makefile.sh
The file was modifieddia2gsup/regen_makefile.sh
The file was modifiedfr/regen_makefile.sh
The file was modifiedstp/regen_makefile.sh
The file was modifiedhlr/regen_makefile.sh
The file was modifiedSCCP_Test/regen_makefile.sh
The file was modifiedpcu/regen_makefile.sh
The file was modifiedggsn_tests/regen_makefile.sh
The file was modifiedns/regen_makefile.sh
The file was modifiedsysinfo/regen_makefile.sh
The file was added_buildsystem/regen_makefile.inc.sh
The file was modifiedasterisk/regen_makefile.sh
The file was modifiedmgw/regen_makefile.sh
The file was modifiedmsc/regen_makefile.sh
The file was modifiedgbproxy/regen_makefile.sh
The file was modifiedhnodeb/regen_makefile.sh
The file was modifiedpgw/regen_makefile.sh
The file was modifiedsimtrace/regen_makefile.sh
The file was modifiedcbc/regen_makefile.sh
The file was modifiedfr-net/regen_makefile.sh
The file was modifiedmme/regen_makefile.sh
Commit c444e78561adfeb0935ad37432f6c826f6e5c0c7 by Oliver Smith
buildsystem: remove ttcn3_compiler workaround

The related debian bug has been fixed in 2018, so remove the workaround.
I've also verified that the binary is called "compiler" in Arch Linux
(as some developers are on Arch).

Change-Id: Ia50aa3caffeaa85eefba10695096aa23dcb69c93
The file was modified_buildsystem/regen_makefile.inc.sh
Commit c643bd3f72a0e4f1f60ef05341fec2c0944d67bd by Oliver Smith
buildsystem/regen_makefile: modernize

Apply various small changes to make this file more readable.

Change-Id: I5a7dcd6171c6a370928ebedafc5ed318384dd8dd
The file was modified_buildsystem/regen_makefile.inc.sh
Commit 9a4a7d0b174af1a83d5dbd9417ba897febe79746 by Oliver Smith
buildsystem/gen_links: move set -e to users

Make it more obvious that the various gen_links.sh scripts are running
with "set -e" by adding it to the #! line instead of setting it through
an included file.

Change-Id: I4caf445bef716161526a213d6a06ecc9d30f78cb
The file was modifiedbsc-nat/gen_links.sh
The file was modifiedeim/gen_links.sh
The file was modifiedggsn_tests/gen_links.sh
The file was modifiedpcrf/gen_links.sh
The file was modifiedccid/gen_links.sh
The file was modifiedremsim/gen_links.sh
The file was modifieddia2gsup/gen_links.sh
The file was modifiedpcu/gen_links.sh
The file was modifiedsmlc/gen_links.sh
The file was modifiedhlr/gen_links.sh
The file was modifiedsip/gen_links.sh
The file was modifiedSCCP_Test/gen_links.sh
The file was modifiedbts/gen_links.sh
The file was modifiedselftest/gen_links.sh
The file was modifiedstp/gen_links.sh
The file was modifiedfr/gen_links.sh
The file was modifiedsccp/gen_links.sh
The file was modifiedasterisk/gen_links.sh
The file was modifiedcbc/gen_links.sh
The file was modifiedbsc/gen_links.sh
The file was modifiedfr-net/gen_links.sh
The file was modifiedgbproxy/gen_links.sh
The file was modifiedhnodeb/gen_links.sh
The file was modifiedsgsn/gen_links.sh
The file was modifiedipad/gen_links.sh
The file was modifiedpcap-client/gen_links.sh
The file was modifiedupf/gen_links.sh
The file was modifiedsimtrace/gen_links.sh
The file was modifiedhnbgw/gen_links.sh
The file was modified_buildsystem/gen_links.inc.sh
The file was modifiedhss/gen_links.sh
The file was modifiedmme/gen_links.sh
The file was modifiedmgw/gen_links.sh
The file was modifieds1gw/gen_links.sh
The file was modifiedsysinfo/gen_links.sh
The file was modifiedpgw/gen_links.sh
The file was modifiedepdg/gen_links.sh
The file was modifiedmsc/gen_links.sh
The file was modifiedns/gen_links.sh
Commit 66c566812c000979a9e7e16eac7aece1a3c48124 by Oliver Smith
buildsystem/gen_links: rename ignore_pp_results

Rename ignore_pp_results to gen_links_finish in preparation for the next
patch where the function will be used for generating more symlinks
instead of writing to a gitignore file. This is a separate commit to
make the next one more readable.

Change-Id: I6a1a79f1a3ff18fe4b51e4c72c3e9b56c571935e
The file was modifiedggsn_tests/gen_links.sh
The file was modifiedepdg/gen_links.sh
The file was modifiedccid/gen_links.sh
The file was modifiedpgw/gen_links.sh
The file was modifiedbsc-nat/gen_links.sh
The file was modified_buildsystem/gen_links.inc.sh
The file was modifieds1gw/gen_links.sh
The file was modifiedasterisk/gen_links.sh
The file was modifiedipad/gen_links.sh
The file was modifiedsip/gen_links.sh
The file was modifiedsmlc/gen_links.sh
The file was modifiedSCCP_Test/gen_links.sh
The file was modifieddia2gsup/gen_links.sh
The file was modifiedeim/gen_links.sh
The file was modifiedfr-net/gen_links.sh
The file was modifiedns/gen_links.sh
The file was modifiedhnodeb/gen_links.sh
The file was modifiedmgw/gen_links.sh
The file was modifiedpcrf/gen_links.sh
The file was modifiedpcap-client/gen_links.sh
The file was modifiedsysinfo/gen_links.sh
The file was modifiedremsim/gen_links.sh
The file was modifiedfr/gen_links.sh
The file was modifiedhss/gen_links.sh
The file was modifiedpcu/gen_links.sh
The file was modifiedmme/gen_links.sh
The file was modifiedbsc/gen_links.sh
The file was modifiedsgsn/gen_links.sh
The file was modifiedsccp/gen_links.sh
The file was modifiedhnbgw/gen_links.sh
The file was modifiedhlr/gen_links.sh
The file was modifiedmsc/gen_links.sh
The file was modifiedstp/gen_links.sh
The file was modifiedselftest/gen_links.sh
The file was modifiedsimtrace/gen_links.sh
The file was modifiedbts/gen_links.sh
The file was modifiedgbproxy/gen_links.sh
The file was modifiedcbc/gen_links.sh
The file was modifiedupf/gen_links.sh
Commit 050ba48cc6270344af406188b39ca3e249924daf by Oliver Smith
buildsystem: build out-of-tree

The buildsystem used to create symlinks to dependency source files in
the testsuite directories, and then building inside that source
directory. This lead to many unrelated files being in the source
directory.

Change the logic to create symlinks to all sources in a separate
$BUILDDIR instead (default: _build) and do the build there.

Advantages:
* Source directories are not cluttered with other files anymore.
* Clean up logic becomes much simpler and faster (rm -rf _build instead
  of generating a Makefile and running "make clean" in every testsuite
  directory).
* No need to generate gitignore files on the fly anymore.
* Using a separate $BUILDDIR is now possible, this will be used by
  testenv in a follow-up patch when running with podman, to make sure
  that build artifacts from podman and not using podman are not mixed as
  they are incompatible.

Related: OS#6599
Change-Id: If18aaf2a2a0d55bb617e5cb1b73f6ee4b1952494
The file was modified.gitignore
The file was modified_buildsystem/gen_links.inc.sh
The file was removed_buildsystem/rmlinks.sh
The file was modifiedstart-testsuite.sh
The file was modifiedMakefile
The file was modified_buildsystem/regen_makefile.inc.sh
The file was modified_testenv/testenv/testsuite.py
Commit fb850543a1508156bdaccfd9a81804c9a412effe by Oliver Smith
buildsystem: make output more readable

Generate short and readable compile messages:

  CC       IPL4asp_PT.o
  CCLD     TCCInterface.so
  CCLD     TELNETasp_PT.so
  CCLD     MGCP_Test

Instead of the very verbose messages we would get otherwise. Especially
the linking message clutters a whole page of terminal output without
this path:

   if ... g++ ... $ALL_OBJ_FILES; then : ; else ... $ALL_OBJ_FILES; fi

Change-Id: I780106e64089dc24a7ba724f6a94e67417d49c30
The file was modified_buildsystem/regen_makefile.inc.sh
Commit 92b378412d503581db16b88b957a36c56a4eac53 by Oliver Smith
testenv: remove copy_ttcn3_hacks_dir

When running with podman, set a separate builddir to avoid conflicts
with build objects generated from running "make" outside of podman. As
the buildsystem supports setting a differerent builddir directly now,
remove the copy_ttcn3_hacks_dir logic that was used to emulate this
feature.

Change-Id: I9cae0c4f8c34bb6876ef51048ef19b35a2e369a9
The file was modified_testenv/testenv/testsuite.py
The file was modified_testenv/testenv/requirements.py
The file was modified_testenv/testenv/testenv_cfg.py
Commit 16f8d193fe7350ab4ffd3de09e970d1fd2f95ab9 by Oliver Smith
testenv: refactor run --until-nok code

Refactor the code in preparation for using the code that checks if the
testsuite was successful with a new --bisect arg in the next patch.

Change-Id: I3a8fc83c6833f0d2a8be9c0d7ddaea0546859988
The file was modified_testenv/testenv.py
The file was modified_testenv/testenv/testsuite.py
Commit 0eb0e4a3b766f8d1cc6b83b8aa719067a47921ff by Oliver Smith
testenv: run: add --bisect argument

Add an argument that lets testenv.py exit with != 0 when at least one
test has failed, so it can be used with "git bisect".

Change-Id: I941064c1c704560e0f7351c82e810481cd72b6da
The file was modified_testenv/testenv/__init__.py
The file was modified_testenv/testenv/testsuite.py
Commit 4c55a1b18164f07dbe333be504206042e421aa04 by Oliver Smith
start-testsuite: fix passing $TEST to ttcn3_start

Fix that testenv / ttcn3_start kept running after the testsuites were
already done. This was caused by passing an empty string to ttcn3_start
as test argument, which causes it to still use the config file, but run
in a single test mode:

https://gitlab.eclipse.org/eclipse/titan/titan.core/-/blob/9.0.0/mctr2/mctr/ttcn3_start#L307-319

After the first test ran, ttcn3_start sends "emtc" to the MTC, which
replies with "MTC cannot be terminated." as it is still in
MC_EXECUTING_TESTCASE instead of MC_READY:

https://gitlab.eclipse.org/eclipse/titan/titan.core/-/blob/9.0.0/mctr2/cli/Cli.cc#L695-700

The ttcn3_start script then waits forever for the "MTC terminated.."
string, which doesn't come since "emtc" isn't sent to the MTC a second
time:

https://gitlab.eclipse.org/eclipse/titan/titan.core/-/blob/9.0.0/mctr2/mctr/ttcn3_start#L353-356

Fixes: 050ba48c ("buildsystem: build out-of-tree")
Change-Id: Ic50de8350e20d101417c5689058b64fe6547126f
The file was modifiedstart-testsuite.sh
Commit 09b0b21580c1895371c02a5fcb4aa670da4ec19f by Oliver Smith
README: use # and ## for headlines

Prepare README to be able to use deeper headline levels.

Change-Id: Ice2baaf3ffdd1c11238c7791ab39925bed10818d
The file was modifiedREADME.md
Commit 94c920d1e478bdf6b2f39eb0082306e366fb9586 by Vadim Yanitskiy
start-testsuite: respect $TTCN3_DIR (if set)

Change-Id: I5c1cdc6ffbe50cf7ee48a160d2f406e428326d14
The file was modifiedstart-testsuite.sh
Commit 76fb46829295808f2a587d20baa599dd57cf02f9 by Pau Espin Pedrol
Move f_{dec,enc}_mcc_mnc() API BSSMAP_Templates.ttcn -> GSM_Types.ttcn

The GsmMcc and GsmMnc types used in the function are defined in
GSM_Types.ttcn, which is also incldued by BSSMAP_Templates.
Hence, move the function there so that it can be used in other
testsuites including more generic GSM_Types.ttcn but not
BSSMAP_Templates.ttcn.

Change-Id: Iafafd2957a11d34a9402d252a169fec40593f483
The file was modifiedlibrary/GSM_Types.ttcn
The file was modifiedlibrary/BSSMAP_Templates.ttcn
The file was modifiedcbc/CBC_Tests.ttcn
Commit a5725515b5f2f8da89d6daa42b2239d81143cc7b by Pau Espin Pedrol
Fix MNC decoding in f_dec_mcc_mnc()

This API is so far only used in MSC_Tests.ttcn f_sgs_perform_lu(), but
will be used in more testsuites in follow-up commits.

Change-Id: I9db37d0dc9abbbefd57af4f0e2b91bf8a918d4e9
The file was modifiedlibrary/GSM_Types.ttcn
Commit 886dc9713aacb1e7e480e310b8382edf606e715a by Pau Espin Pedrol
hnbgw: Support configuring RAC and Cell ID on each hnb conn

Change-Id: I490e770be5e390a1f55e1dff1cf0c42e917a8d33
The file was modifiedhnbgw/ConnHdlr.ttcn
The file was modifiedhnbgw/HNBGW_Tests.ttcn
Commit a96d791ed80f1746dbe778f3b7cec484309e9db7 by Pau Espin Pedrol
hnbgw: Test paging with Page Area ID IE

Change-Id: I5a053bcf1f8470038e95d03889da077f8f967bfa
The file was modifiedhnbgw/HNBGW_Tests.ttcn
The file was modifiedlibrary/ranap/RANAP_Templates.ttcn
The file was modifiedhnbgw/expected-results.xml
Commit e217e408c4e236b87915f5c8f9bc4d39ce064983 by Oliver Smith
README: explain how to run testsuites manually

As the testsuites are now in the _build directory, running them might
not be as obvious. Add an example to the README. While at it, explain a
bit more what the testenv script does and where one can read more about
it.

Change-Id: I1ee9319ada889a8dd43cfb32776dc1a8ae12d607
The file was modifiedREADME.md
Commit 2fe6caed9404d06c2e4527e61284ca584b3e5392 by Vadim Yanitskiy
start-testsuite: remove workaround for TITAN < 9.0.0

We're using the 9.0.0 nowadays, which does not need this workaround.

Change-Id: I57eecd6e0ea9e488a2110b029ddc313bd05cd1fa
The file was modifiedstart-testsuite.sh
Commit aa25aeaa7504bbe19d1b62e6d2bee2e53a4227f8 by Oliver Smith
testenv: support fetching coredumps in jenkins

The Osmocom jenkins nodes run inside LXCs. When we get a coredump it
appears on the host, fetch it from there via testenv-coredump-helper,
which gets added to the hosts in the related patch.

Related: osmo-ci I7e66c98106b7028a393e3b873e96ae2dcb412c48
Related: OS#6769
Change-Id: I3784b4cbcef08b26f77b6f6f7a70a830d9c81a18
The file was modified_testenv/README.md
The file was modified_testenv/testenv/coredump.py
Commit e0f38967fc4ca526993c19b7bc357789463e47eb by Oliver Smith
bts: set osmo-bts sched priority to 30

Change the scheduling priority from 10 to 30, as we are currently see
osmo-bts suffering from scheduling latency in jenkins even though we
don't run other jobs at that time:

  20250425034138405 DL1C ERROR PC clock skew: elapsed_us=387574, error_us=382959 (scheduler_trx.c:449)

This should fix that the kernel prioritizes other (userspace or kernel)
processes running on the same machine that have a higher priority. We
have seen such an improvement after increasing scheduler priority for
osmo-bts-sysmo too (see I2394e6bbc00a1d47987dbe7b70f4b5cbedf69b10).

Priority 30 is higher than 10. From sched(7):

> Processes scheduled under one of the real-time policies (SCHED_FIFO,
> SCHED_RR) have a sched_priority value in the range 1 (low) to 99 (high).

This testsuite currently gets executed through docker-playground and it
fetches this config from osmo-ttcn3-hacks (see
If15461240f3037c142c176fc7da745a1701ae3f8).

Related: osmo-ci I0162f7299c8e37f893ffa10ddc4c8edece29ed7f
Change-Id: I828422e2363a58ca8c19d0f1b8a1b7d4e4bc031e
The file was modifiedbts/osmo-bts.cfg
Commit bde6f20f3848c50d19c94b3867a4884c880efe13 by Oliver Smith
tcpdump/dumpcap: move kill_rm_pidfile to inc file

Move kill_rm_pidfile out of the 4 ttcn3 tcpdump/dumpcap scripts into a
shared include file. Use the version of the function that only tries to
kill the command with sudo if it was started with sudo.

This fixes dumpcap not stopping if:

* it was started with ttcn3-tcpdump-start.sh (despite the name it will
  start dumpcap instead of tcpdump if dumpcap was found), where it gets
  started without sudo, and

* no rule is set in the user's sudoers file to run kill as root with
  NOPASSWD.

Change-Id: Ia63c37b54fb42a8c64a676334cef6f9df4152e18
The file was modifiedttcn3-tcpdump-stop.sh
The file was modifiedttcn3-dumpcap-start.sh
The file was modifiedttcn3-dumpcap-stop.sh
The file was modifiedttcn3-tcpdump-start.sh
The file was added_scripts/tcpdump-dumpcap.inc.sh
Commit f5290b95a41e7413d9ff7d2ddeff9feac908a115 by Oliver Smith
Common.cfg: Logging: add %p to LogFile format

Add the process ID at the end of the log file that ttnc3 writes, to
avoid potential conflicts:

> Otherwise if you have eg TC_foobar in STP_Tests_M3UA and
> STP_Tests_IPA, you may end up rewriting one of them since both would be
> written with the same file name.

%e is the name of the TTCN-3 executable, e.g. STP_Tests even if the test
case is in STP_Tests_M3UA. It is not possible to get STP_Tests_M3UA into
the file name with any of the meta characters, I've tried it out.

Related: https://gitlab.eclipse.org/eclipse/titan/titan.core/-/blob/9.0.0/usrguide/referenceguide/7-the_run-time_configuration_file.adoc#L632-666
Change-Id: I0a2a376cd11784addff8ca228e3cc3e831b418a2
The file was modifiedCommon.cfg
The file was modifiedlog_merge.sh
Commit 60122096625dbc7db67d1f6a27eadf919b699e9a by Oliver Smith
Cosmetic: log_merge: modernize

Move license and copyright up and use an SPDX license identifier.

Change-Id: Iedd4f575edeaf47852f073d04d8cd8ffd92920dc
The file was modifiedlog_merge.sh
Commit b2a916a7ef4052174c1b996ca118aff0c607f7b0 by Oliver Smith
log_merge: ensure we don't overwrite the log file

Add a safety check that ensures we don't overwrite an existing log file
by accident.

Change-Id: Ieda3d95c60dfae208959b80d55a1e8c3925a9dad
The file was modifiedlog_merge.sh
Commit f93e24e746a2977355ac25b952bc58c011b630f8 by Oliver Smith
log_merge: use same prefix as for pcap files

In some testsuites we have tests in ttcn3 files other than the main
testsuite executable. In that case we save the pcap files with the name
of the ttcn3 file with the test, but before this patch the merged log
file has the name of the main testsuite. This is inconsistent and may
lead to a conflict if a test exists in multiple ttcn3 files.

Fix this by getting the same prefix as we use for the pcap from the
logfile itself. Fall back to using the same prefix as without this patch
in case we can't parse the log line.

Fixes: OS#6787
Change-Id: Id2937d711a54a34c0d87d080199b4c3d5a5d6e06
The file was modifiedlog_merge.sh
Commit b50ad60f6f38b94f43462d5c56691ba201e78e1f by Pau Espin Pedrol
M3UA_Templates: Allow passing multiple Routing Context values

Change-Id: I117c63786d71aea683b554cf294fee0ceed665e0
The file was modifiedlibrary/M3UA_Templates.ttcn
Commit d14819cf286914d87c6b87445d14f25a69eca886 by Pau Espin Pedrol
stp: Update TC_rkm_unreg_active to expect multiple routing contexts

That test is registering a new routcing context (AS) into an
existing/pre-configured ASP.
As a result, the ASP serves 2 AS. When we receive notifications on that
ASP then we'll be receiving info on 2 routing contexts, one for the
pre-confgiured AS and one for the dynamically registered one.

Depends: libosmo-sigtran.git I646301ec3d08ef98f227cf4d19da1039e40cedd2
Change-Id: I2dc4d197e6de38781b63e3079ada4c4b4a0db31d
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit 2b5b120b7eaa2ae4baebc9c6dfca601857731e7d by Pau Espin Pedrol
stp: Store asp name in array of m3ua cfgs

This way we keep STP specific config in one place instead of having to
figure out the ASP name on each test where we want to modify that ASP.

Change-Id: I1d5d9113dc95a8da911a7a99260c9bfe6e9de7c9
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit 3e856d5685d5d6e2b4b2cd4e1d18ee746cbee451 by Pau Espin Pedrol
stp: Introduce test TC_clnt_sctp_adm_shutdown

Related: OS#6752
Change-Id: I8b1c8b633afc1515dedfccd43e642401896b167e
The file was modifiedstp/expected-results.xml
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit 3a7b28ef19010f55295764cf719cac13502bb3b7 by Pau Espin Pedrol
stp: Introduce test TC_m3ua_sctp_srv_adm_shutdown

Related: OS#6752
Change-Id: Iad34af7e7758fbd3a0d686a261ccce53bc705817
The file was modifiedstp/expected-results.xml
The file was modifiedstp/STP_Tests_M3UA.ttcn
Commit eafa096c17f673dcf7e3efc77c09d5044449ad73 by Pau Espin Pedrol
hnbgw: HNBGW_Tests.default: Drop unused LLSK config

That's only used in osmo-hnodeb, and it's probably a leftover when
copy-pasting from hnodeb directory to create the hnbgw testsuite.

Change-Id: Ic04ded35f64b5dac0c5f36ebdf066d751013c438
The file was modifiedhnbgw/HNBGW_Tests.default
Commit fe3378149c9df99970cc1177a7941962cd07b89a by Pau Espin Pedrol
hnbgw: Add missing plmn config in osmo-hnbgw.cfg

Change-Id: Ie360247b7be9cf5ac4feeab2a8957131896f7721
The file was modifiedhnbgw/osmo-hnbgw.cfg
Commit 7f797404b9b95370d562c085447a107358a79c6b by Pau Espin Pedrol
hnbgw: Configure local ASP/AS in osmo-hnbgw.cfg

This allows us using known port for the SCTP assoc, which can then be
used to look up ASP in osmo-stp VTY.

Change-Id: Ic04702b597f7217890ee58734c11b866fb14af8b
The file was modifiedhnbgw/osmo-hnbgw.cfg
Commit fc86052d9d2a22bb6409669127ef25261bee38a7 by Pau Espin Pedrol
hnbgw: Introduce test TC_{cs,ps}_rua_dt_during_sccp_wait_cc

Related: SYS#7453
Change-Id: I97767db5560edf951202c876726d0c52b5b5b49f
The file was modifiedhnbgw/HNBGW_Tests.ttcn
The file was modifiedhnbgw/expected-results.xml
Commit bf3798b378d365c09cfa5fa242838cb43a54f522 by Oliver Smith
gbproxy/testenv: initial

Change-Id: I75265eb0765da85bffd76f8d64d278ed008d9b47
The file was addedgbproxy/testenv.cfg
Commit a02c8a259caaf20050cb3fb40ccf330518d3a8d9 by Oliver Smith
gbproxy: sync configs with docker-playground

Change-Id: Ibef7e870c5c90d1cc861c89904950b1ac68dc9b2
The file was modifiedgbproxy/osmo-gbproxy.cfg
The file was modifiedgbproxy/GBProxy_Tests.cfg
Commit e75a84faccbaf35dc5b8579f7b0e06037821fca4 by Pau Espin Pedrol
hnbgw: Introduce altstep as_pfcp_handle_del_req()

Change-Id: I94101b5f0ad8634db68f0a9d5230c00926b02061
The file was modifiedhnbgw/HNBGW_Tests.ttcn
The file was modifiedhnbgw/ConnHdlr.ttcn
Commit 2427e756ad58c4b59b0e0158cc4d3b014da537bd by Pau Espin Pedrol
hnbgw: Introduce tests TC_ps_rab_release(_abnormal)

Same as their existing CS counterparts TC_rab_release(_abnormal).

Related: SYS#7451
Change-Id: Ia25efc2d6bf01d4a13e7fd1ce0563d20dd2e321e
The file was modifiedhnbgw/HNBGW_Tests.ttcn
The file was modifiedhnbgw/expected-results.xml
The file was modifiedlibrary/ranap/RANAP_Templates.ttcn
Commit 1da23db789f441168ae0a53bc6a1636427cae631 by Oliver Smith
testenv: podman_install: show checked out commits

When running with --podman --binary-repo and a testsuite needs a
component for which we don't have a binary package (such as
sccp_demo_user), we need to clone the source and build it.

Show the commit from which we are building / have already built the
component.

Suggested-by: Pau Espin Pedrol <pespin@sysmocom.de>
Change-Id: I2837a41c919a9f7ef8c315ce5aa48fb4fe3f9a85
The file was modified_testenv/testenv/podman_install.py
Commit 8dfdcbc98f5da4ce0fcea261adcfecb922b3afae by Oliver Smith
testenv: podman_install: tweak git commands

* Do not run them in podman: git is required to run testenv, by not
  running it through podman the command in the log is shorter.
* Set advice.detachedHead=false for the git clone to avoid printing the
  "You are in 'detached HEAD' state. You can look around ..." text block
  that isn't useful in this context.

Change-Id: I2ee26764d1471e54eff748e11ec2cce6fb662667
The file was modified_testenv/testenv/podman_install.py
Commit c3a6c8156207166fa183a5d68dafdf8530a8278e by Oliver Smith
testenv: no python trace for setup script failures

Do not print a python trace when a setup script fails, usually it is
unrelated and just clutters the output.

Change-Id: Icbec52befa268547906fdbe9b52bdbc9e94722e6
The file was modified_testenv/testenv/daemons.py
Commit 0bb6ee7d89ebe617437a59d29c78fb82013c0fc7 by Oliver Smith
testenv: podman: add erlang-dev

Add the full erlang-dev package to the podman container, so we can build
osmo-epdg from source. Without this it fails with ei.h missing.

Change-Id: I4ca9d1823037889315f50de629e5581964cda079
The file was modified_testenv/data/podman/Dockerfile
Commit cd111b3951f5362a8ad09e5978784f9d4ae3d441 by Oliver Smith
testenv: podman: add missing tree command

The tree command is used by the testenv scripts when building QEMU
initrds to quickly show the contents of the initrd before packing it.

Fix for:
  + tree -a /tmp/testenv-ggsn_tests-osmo_ggsn_v4_only-20250509-1151-745e3562-dxt_lu1f/ggsn/_initrd
  osmo-ggsn/run.sh: 140: tree: not found

That the build initramfs logic did not abort here is another bug that
gets fixed in a follow-up patch in this series.

Change-Id: I75fcd210db9e5c9364cb98ee09ebf754790aa55f
The file was modified_testenv/data/podman/Dockerfile
Commit a1c1394e673ea4ae83a37f1bb1902059765d8972 by Oliver Smith
testenv: qemu: fix adding kernel modules

Without this patch qemu_initrd_add_file fails to add kernel modules
with "No such file or directory" when running in podman, even though the
files exist:

  ./testenv.py run ggsn -Dp -c osmo_ggsn_v4_only
  …
  + cp -a --parents /lib/modules/6.1.0-34-amd64/kernel/drivers/net/net_failover.ko /tmp/testenv-ggsn_tests-osmo_ggsn_v4_only-20250509-1146-cd82caba-wegi5i98/ggsn/_initrd/usr
  cp: 'lib/modules/6.1.0-34-amd64/kernel/drivers/net': No such file or directory
  …

When looking at it with strace it became clear that this comes from a
getxattr that fails in the podman filesystem and returns a misleading
error:

  getxattr("lib/modules/6.1.0-34-amd64/kernel/drivers/net", "system.posix_acl_access", 0x7ffc012054e0, 132) = -1 ENOENT (No such file or directory)

Fix it by modifying the cp command to not try to preserve any attributes
(they don't matter in the initramfs).

Change-Id: Ic32318da169ee8ebf867937782be5cf8a15f9f2f
The file was modified_testenv/data/scripts/qemu/qemu_functions.sh
Commit 1555973888309197222fe06e5ce208e51579f1e1 by Oliver Smith
testenv: fix not aborting on build_initrd error

Without this patch the build_initrd function keeps going on errors:

  + cp -a --parents /lib/modules/6.1.0-34-amd64/kernel/drivers/net/net_failover.ko /tmp/testenv-ggsn_tests-osmo_ggsn_v4_only-20250509-1040-a21668df-euc9e2fs/ggsn/_initrd/usr
  cp: 'lib/modules/6.1.0-34-amd64/kernel/drivers/net': No such file or directory
  + cp -a --parents /lib/modules/6.1.0-34-amd64/kernel/drivers/net/virtio_net.ko /tmp/testenv-ggsn_tests-osmo_ggsn_v4_only-20250509-1040-a21668df-euc9e2fs/ggsn/_initrd/usr
  …

The reason for that is that even though the script runs with set -e, the
-e flag gets ignored between if…then where the build_initrd shell
function gets called:

  if ! build_initrd >build_initrd.log 2>&1; then
  qemu_initrd_exit_error "build_initrd.log"
  fi

Fix it by using a trap instead.

Related: https://unix.stackexchange.com/a/65564
Change-Id: I2870b7e7ba28b2afc72e86b7a3bc389103564c80
The file was modifiedggsn_tests/osmo-ggsn/run.sh
The file was modified_testenv/data/scripts/qemu/qemu_functions.sh
Commit 93d36bcd48e5e7b646f4f964de536f0499670dad by Oliver Smith
testenv: qemu: initrd build fail: stop immediately

Let qemu_wait.sh fail immediately when building the initrd has failed,
instead of waiting until it runs into a timeout.

Change-Id: I6de4d1c31385af52ee0fd55378adb10a9e2c2154
The file was modified_testenv/data/scripts/qemu/qemu_wait.sh
The file was modified_testenv/data/scripts/qemu/qemu_functions.sh
Commit 73287f8c0b45f60a2de21482a30ed9d312c37121 by Oliver Smith
testenv: qemu: add modules.alias

Fix loading the sctp module, which is needed to run osmo-epdg in QEMU:
  modprobe: can't load module libcrc32c (kernel/lib/libcrc32c.ko): unknown symbol in module, or unknown parameter

Change-Id: I475176734b994e7abda63badda0983ab6534b682
The file was modified_testenv/data/scripts/qemu/qemu_functions.sh
Commit 9ccb5118853bbdcd46429ac10f5e1b8b093d1897 by Oliver Smith
testenv: support qemu=required in testenv.cfg

Make it possible to set qemu=required in addition to the existing
possibility of qemu=optional in the testenv configs and verify that
either the debian kernel (from the podman container) or a custom kernel
gets used for such configs.

This is in preparation for adding a testenv config for osmo-epdg, which
uses kernel-gtp and unlike osmo-ggsn doesn't have userspace fallback
code. With testenv using the hosts gtp kernel device for this is not
supported (it would have several downsides anyway, such as not being in
control what exact kernel version is used leading to different test
outcomes for different users, not being easily able to compare different
kernel versions, having a harder time getting debug logs from the module
etc.).

Change-Id: If4abdf1f9248fee0915603a9b3c6e3e5e5083057
The file was modified_testenv/README.md
The file was modified_testenv/testenv/testenv_cfg.py
Commit b273a1d02aa6a02a65b45f5761363bc14823b771 by Oliver Smith
testenv: qemu_initrd_add_bin: support adding so

Erlang has its own library loading mechanism, so we need to explicitly
add the depending libraries to the initramfs instead of just pointing at
binaries.

Change-Id: I1b9f06e7bff22b9260fbe0bd765177a25e97b557
The file was modified_testenv/data/scripts/qemu/qemu_functions.sh
Commit 317d4e52883375036e040eb4451a4c4d9d0a714e by Oliver Smith
testenv: cfg: check for multiple spaces in lists

Pau ran into an unexpected bug while having entries in copy= separated
by multiple spaces ("copy=osmo-stp.cfg  osmo-stp-m3ua.confmerge"):

  [testenv][m3ua] + ['cp', '-a', 'osmo-stp.cfg', '', 'osmo-stp-m3ua.confmerge', '/tmp/testenv-stp-m3ua-20250516-1349-e4103924-bfvi_syt/stp']
  cp: cannot stat '': No such file or directory

Catch this early and print a more useful error:

  [testenv] /home/user/code/osmo-dev/src/osmo-ttcn3-hacks/stp/testenv.cfg: copy= in section [stp] has multiple spaces:
  [testenv]   "osmo-stp.cfg  osmo-stp-m3ua.confmerge"
  [testenv] Please separate elements with only one space.

Change-Id: Ie47cf5482ba479457a662759ce87611a7c41e29c
The file was modified_testenv/testenv/testenv_cfg.py
Commit 229633a11fd3cfeb8ffcdb29f3915b5615390676 by Pau Espin Pedrol
stp: Rename STP_Tests.ttcn -> STP_Tests_IPA_M3UA.ttcn

The previous name usually causes confusion since it seems to indicate
either:
* Some sort of common placeholder for STP_Tests_IPA and STP_Tests_M3UA
  (it's not the case, we already have STP_Tests_Common.ttcn for that)
* A placeholder for tests not IPA or M3UA related (it's not the case,
  since it only contains IPA<->M3UA tests).

Hence, rename it to denote better the aim of that file, ie. testing
forwarding between IPA and M3UA AS(P)s.

Change-Id: Id2963407adf11add01630c3899a062d764c8ad75
The file was removedstp/STP_Tests.ttcn
The file was modifiedstp/README.md
The file was modifiedstp/STP_Tests_Common.ttcn
The file was addedstp/STP_Tests_IPA_M3UA.ttcn
The file was modifiedstp/STP_Tests_IPA.ttcn
The file was modifiedstp/expected-results.xml
The file was modifiedstp/STP_Tests_M3UA.ttcn
The file was modifiedstp/STP_Tests.cfg
Commit 07ea85b00364fbf4245c8768ac6389ca5a4b0e02 by Pau Espin Pedrol
stp: STP_Tests_IPA: Support configuring less than 8 AS(P)s

This is a preparation patch towards splitting testsuite into smaller
configurations.

Change-Id: I820d295cd22fe824abf0f60bf6f1f0f3fd069d85
The file was modifiedstp/STP_Tests_IPA.ttcn
Commit c9165d53c1d5f9d5a523e1fe94079162d21ff023 by Oliver Smith
epdg: add sleep to f_TC_hss_initiated_deregister_permanent_termination

The test sends PERMANENT_TERMINATION twice to osmo-epdg. If we don't
sleep between them, osmo-epdg is not able to terminate related FSMs
quickly enough between the first and the second termination request when
running in QEMU, which results in osmo-epdg answering with
DIAMETER_SUCESS instead of DIAMETER_ERROR_USER_UNKNOWN for the second
f_DIA_SWx_RT.

Related: OS#6796
Change-Id: I5d7021b6a9800cf1d7588f4a0ef864f5c30cf475
The file was modifiedepdg/EPDG_Tests.ttcn
Commit 92ba23b5dcf9f9c971961bb1a465c99c65fe4361 by Oliver Smith
epdg: TC_concurrent_ues_MTC: rx CMD_ATTACHED without from vc_conn_list[i]

This is needed to make the test pass in QEMU. I think this makes it
accept the COORD_CMD_ATTACHED in any order instead of the order the
COORD_CMD_START were sent beforehand.

Increasing the sleep between the COORD_CMD_START also makes the test
pass in QEMU, but that increases the overall test time significantly in
TC_concurrent_ues100.

Change-Id: I4c76d12273a14df562ea906e6c8ddb348d1b0eda
The file was modifiedepdg/EPDG_Tests.ttcn
Commit 3e531e9a155bf58992ec7dcdb1e494377220db55 by Oliver Smith
epdg: initial testenv.cfg

With this config, all tests are passing.

Depends: osmo-ci Ia60d5c1f5ade31e37293b40340e789f04ea86287
Change-Id: Ide2873be7830cc43e7fa09f26b2d504d0563a3c2
The file was addedepdg/osmo-epdg.config
The file was addedepdg/testenv.cfg
The file was addedepdg/testenv/wait_until_osmo_epdg_is_ready.sh
The file was addedepdg/testenv/run_qemu.sh
The file was modifiedepdg/EPDG_Tests.cfg
The file was addedepdg/testenv/run_osmo_epdg_with_dummy_ue.sh
Commit 12500cb616309309c7b6d1ada8d72f0746312afe by Oliver Smith
testenv: check eclipse-titan version

The osmocom:latest repository currently has eclipse-titan 9.0.0 and we
assume that the user has at least this version installed. Add a check to
avoid subtle unexpected errors caused by using older versions.

Related: I57eecd6e0ea9e488a2110b029ddc313bd05cd1fa
Change-Id: Icace325f492ce803d6f25a30b128ee0676e16727
The file was modified_testenv/testenv/requirements.py
Commit ab4904cd1323dc45f110c01470a45430f61398df by Pau Espin Pedrol
stp: Initial split into several testenv config

As a first step, split the generic config into 3 configs, one per
module.

The idea is to have a different config for a given set of related tests
running on a specific network topology/setup.

This helps in simplifying the test conditions, which allows easily
adding new topologies to test, validate specific scenarios or debug
existing ones.

For instance, to test Combined linkset loadsharing, we'll need to set up
some sort of scenario where we have at least 2 AS with each at least 1
ASP.

Change-Id: I4ec8e1bbc8e71d8bd421dfbd5356bf1937ce2bb4
The file was modifiedstp/STP_Tests_IPA_M3UA.ttcn
The file was removedstp/testenv.cfg
The file was modifiedstp/STP_Tests_IPA.ttcn
The file was addedstp/testenv_ipa.cfg
The file was addedstp/testenv_m3ua.cfg
The file was addedstp/osmo-stp-ipa-m3ua.confmerge
The file was addedstp/testenv_ipa-m3ua.cfg
The file was addedstp/STP_Tests_IPA.cfg
The file was addedstp/STP_Tests_IPA_M3UA.cfg
The file was addedstp/osmo-stp-m3ua.confmerge
The file was addedstp/STP_Tests_M3UA.cfg
The file was modifiedstp/STP_Tests_M3UA.ttcn
The file was modifiedstp/osmo-stp.cfg
The file was addedstp/osmo-stp-ipa.confmerge
Commit abb3cc03711da6bed0b30c82cadd7b34778d777b by Pau Espin Pedrol
stp: Split M3UA TCP tests into its own testenv config

That group of tests explicitly tests operation of m3ua-tcp AS(P)s and
interaction with m3ua(-sctp) ones.
Hence, create a new config to test those, where we keep the TCP related
configuration in osmo-stp.

Change-Id: I8123887755aa3253830b43407b4cc6b21142233c
The file was modifiedstp/expected-results.xml
The file was addedstp/osmo-stp-m3ua-tcp.confmerge
The file was modifiedstp/STP_Tests_M3UA.ttcn
The file was addedstp/STP_Tests_M3UA_TCP.ttcn
The file was addedstp/testenv_m3ua-tcp.cfg
The file was modifiedstp/STP_Tests_M3UA.cfg
The file was addedstp/STP_Tests_M3UA_TCP.cfg
The file was modifiedstp/osmo-stp-m3ua.confmerge
Commit e4a4b0f4d6f8978e92c0856947eb4cfad53ceff6 by Pau Espin Pedrol
stp: m3ua: Specify ASP names to use per test

Since we recently introduced an "asp_name" into each m3ua_config,
use that to construct a list of m3ua_configs to set up for each test.

This makes each test only set up the relevant ASPs for the test easily,
plus the big win of port offsets becoming test-specific.

That means changing the order or clients or servers in the testsuite
config, or adding new ones won't break existing tests.

Also add a new "is_server" field which allows specifying clients and
servers in whichever order we like.

Change-Id: I63ed043014ee8a9a593ed17797b621f39c746bcd
The file was modifiedstp/STP_Tests_M3UA_TCP.cfg
The file was modifiedstp/STP_Tests_M3UA.cfg
The file was modifiedstp/STP_Tests_M3UA.ttcn
The file was modifiedstp/STP_Tests_IPA_M3UA.cfg
The file was modifiedstp/STP_Tests_IPA_M3UA.ttcn
The file was modifiedstp/STP_Tests_M3UA_TCP.ttcn
Commit 4545814cd37ae44b86d19837d91fb239ef455775 by Pau Espin Pedrol
stp: ipa: Specify ASP names to use per test

Similar to what was done for M3UA ASPs in previous commit.

Change-Id: Ifce2a3964d4caf0850691515e516cee93dbe8d44
The file was modifiedstp/STP_Tests_IPA.ttcn
The file was modifiedstp/STP_Tests_IPA_M3UA.ttcn
The file was modifiedstp/STP_Tests_IPA_M3UA.cfg
The file was modifiedstp/STP_Tests_IPA.cfg
The file was modifiedstp/osmo-stp-ipa.confmerge
Commit ed16ac3b25eaaf3a5ddd36b3e607b069dadd132f by Pau Espin Pedrol
library: NGAP encoding/decoding using libfftranscode

This allows us to encode/decode 3GPP NGAP messages, as used on the
N2/NG-C interface control plane between gNB and AMF.

asn files fetched from https://forge.etsi.org/rep/int/5g-core/ngap.git
directory ttcn/LibNGAP/lib/asn1, commit
fa43d01e202379a969e991a9454d9c6c6930b5b5.

Change-Id: Ia8e29c77e09a4388c774e3d7286f96052d67fe3f
The file was addedlibrary/ngap/NGAP_EncDec.cc
The file was addedlibrary/ngap/regen_makefile.sh
The file was addedlibrary/ngap/NGAP_Containers.asn
The file was addedlibrary/ngap/NGAP_CommonDataTypes.asn
The file was addedlibrary/ngap/NGAP_PDU_Contents.asn
The file was addedlibrary/ngap/NGAP_IEs.asn
The file was addedlibrary/ngap/NGAP_PDU_Descriptions.asn
The file was addedlibrary/ngap/NGAP_Types.ttcn
The file was addedlibrary/ngap/NGAP_Constants.asn
Commit a9c4ef430c25416181fb36e37789ad50d7325b61 by Pau Espin Pedrol
library: Add NGAP_Templates.ttcn

files fetched from https://forge.etsi.org/rep/int/5g-core/ngap.git
directory ttcn/LibNGAP/lib/LibNGAP_*.ttcn, commit
fa43d01e202379a969e991a9454d9c6c6930b5b5.

Change-Id: I52aed2961329ee904de82b4fdb91e3eaca2059c9
The file was modifiedlibrary/General_Types.ttcn
The file was addedlibrary/ngap/NGAP_Templates.ttcn
The file was addedlibrary/ngap/NGAP_Pixits.ttcn
Commit 3c890acb0baafdabda1eed936d560d46cfd8a632 by Pau Espin Pedrol
ngap: NGAP_Pixits: fix modulepar without default value assigned to template

Otherwise titan errors during startup when trying to assign unbound
values to template parameters in NGAP_Templates.ttcn.

Change-Id: Ib2410457d2b25f09134509b618b079b010e6ace0
The file was modifiedlibrary/ngap/NGAP_Pixits.ttcn
Commit 5d8439122f6f8e2baa4bcb7dc7810cc410fde374 by Pau Espin Pedrol
NGAP_Templates: Fix criticality of PLMNSupportList IE in NGSetupResponse

The criticality rejected is specified in 3GPP TS 38.413 version 18.5.0
Release 18, both in the ASN.1 definition of "NGSetupResponseIEs NGAP-PROTOCOL-IES",
as well as section 9.2.6.2.
open5gs-amfd is correctly sending reject there.

Change-Id: I0e73a97201e61a41ce5b056a149e185582ed187c
The file was modifiedlibrary/ngap/NGAP_Templates.ttcn
Commit 12d3e30457340daa1c794f0b5de8de6965983fdf by Pau Espin Pedrol
NGAP_Templates: Add missing rx template for NGSetupFailure with TimeToWait optional IE

Change-Id: I241b83119e1fcf849895393ac1a1231368a85cbb
The file was modifiedlibrary/ngap/NGAP_Templates.ttcn
Commit ef9df57aeb4995c57c75bb0637a564a64d7fb929 by Pau Espin Pedrol
library: Introduce NGAP Emulation

Only initial features are working, like sending NG Setup Request +
Response.

Change-Id: I5aea8be12c54cf907e71bffe6456efb5e60eb203
The file was addedlibrary/NGAP_CodecPort.ttcn
The file was addedlibrary/NGAP_Functions.ttcn
The file was addedlibrary/NGAP_Emulation.ttcn
The file was addedlibrary/NGAP_CodecPort_CtrlFunct.ttcn
The file was addedlibrary/NGAP_CodecPort_CtrlFunctDef.cc
Commit e74f8817c7f6a0250e280765080f3fabae054339 by Pau Espin Pedrol
testenv: podman: Stick rebar3 downloaded version to 3.24.0

The previous URL now contains a newer 3.25.0 rebar3 release, which
requires minimum OTP 26, but debian12 launches with OTP 25.

"""
  This BEAM file was compiled for a later version of the runtime system than the current (Erlang/OTP 25).
  To fix this, please re-compile this module with an Erlang/OTP 25 compiler.
  (Use of opcode 182; this emulator supports only up to 180.)
"""

Change-Id: Idce3a0a9e61b1d897a6d26f6b6eb49d59b0883ad
The file was modified_testenv/data/podman/Dockerfile
Commit b3571455fd989fc477f7f99a392bd8945ec9e4bd by Pau Espin Pedrol
5gc: Introduce testsuite

Change-Id: I867433c87c6da2f0d1f299245aedf4830acbf539
The file was modifiedMakefile
The file was added5gc/open5gs/open5gs-sepp1.yaml
The file was added5gc/open5gs/open5gs-bsf.yaml
The file was added5gc/mongod.conf
The file was added5gc/open5gs/open5gs-smf.yaml
The file was added5gc/gen_links.sh
The file was added5gc/open5gs/open5gs-nrf.yaml
The file was added5gc/expected-results.xml
The file was added5gc/testenv.cfg
The file was added5gc/C5G_Tests.ttcn
The file was added5gc/open5gs/open5gs-udr.yaml
The file was added5gc/README.md
The file was added5gc/open5gs/open5gs-smf-freediameter.conf
The file was added5gc/open5gs/open5gs-ausf.yaml
The file was added5gc/regen_makefile.sh
The file was added5gc/open5gs/open5gs-amf.yaml
The file was added5gc/open5gs/open5gs-upf.yaml
The file was added5gc/create_test_subscribers.sh
The file was added5gc/open5gs/open5gs_prepare.sh
The file was added5gc/open5gs/open5gs-scp.yaml
The file was added5gc/open5gs/open5gs-sepp2.yaml
The file was added5gc/C5G_Tests.cfg
The file was added5gc/C5G_Tests.default
The file was added5gc/open5gs/open5gs-pcf.yaml
The file was added5gc/open5gs/open5gs-udm.yaml
Commit 1e4551b8f3b15131e4bc596bfd3716a9f1f7ba0f by Pau Espin Pedrol
library: Rename NAS_Templates.ttcn -> NAS_EPS_Templates.ttcn

This new naming matches existing files like NAS_EPS_Types.ttcn.
This also allows differentiating it from 5G NAS.

Change-Id: Ief9835e7c70ed2885105117613ec653a6ed4dfea
The file was removedlibrary/NAS_Templates.ttcn
The file was modifiedmme/MME_Tests.ttcn
The file was addedlibrary/NAS_EPS_Templates.ttcn
The file was modifiedmme/gen_links.sh
The file was modifiedmme/LTE_CryptoFunctions.ttcn
The file was modifiedlibrary/S1AP_Emulation.ttcn
Commit b4780d40ee653556980d181d16b90440f402d727 by Oliver Smith
testenv: add -j/--jobs parameter to run action

Allow building with less than all CPU cores. This may be desirable
because the NGAP asn1 files are huge and building with -j$(NPROC) eats
all the memory on some systems.

Suggested-by: Pau Espin Pedrol <pespin@sysmocom.de>
Change-Id: I191291cabd40e23983d29a350e587c1e11a52c0d
The file was modified_testenv/testenv/__init__.py
The file was modified_testenv/testenv/osmo_dev.py
The file was modified_testenv/testenv/testsuite.py
The file was modified_testenv/testenv/podman_install.py
Commit 143b1000572151d2a1b549d44ca3cbbb314df8f6 by Oliver Smith
testenv: add TESTENV_INSTALL_DIR

This is useful for e.g. the new 5gc testsuite.

Suggested-by: Pau Espin Pedrol <pespin@sysmocom.de>
Change-Id: I0a45e67c40a2c1d2220ef301e3e51178939f60b6
The file was modified_testenv/testenv/cmd.py
Commit 1146db60d9e2c97254e33c4ef11ab769bf14c6d0 by Oliver Smith
testenv: README: document env vars set by testenv

Change-Id: I1a43d6b71c4dbc00abd8a4347fb2b35704491591
The file was modified_testenv/README.md
The file was modified_testenv/testenv/cmd.py
Commit 24ca6ff9f2dbdb5569d338523b0c5353d4040fc8 by Pau Espin Pedrol
5gc: Initial ConnHdlr support

With this we can already send an InitialUEMessage(Registration Request)
to the 5GC and see if everything is configured properly there.

Change-Id: I094b6775198dfcbf4041c3af423baa6f5072b97d
The file was modified5gc/C5G_Tests.ttcn
The file was modified5gc/expected-results.xml
The file was modifiedlibrary/NGAP_Functions.ttcn
Commit d7b640552dddee25de26d6e03e801c5973ad9d99 by Pau Espin Pedrol
stp: ipa: Introduce tests to validate incoming TCP conn with unkown AS (ipa_unit_id)

Change-Id: If6a9f54a19f6a4d833bbf66aad5dafd7e9917f82
The file was modifiedstp/STP_Tests_IPA.ttcn
The file was modifiedstp/expected-results.xml
Commit 12cf6c92fac57348ada46991005e1730778c8622 by Oliver Smith
testenv: deduplicate make_dir

Generate the osmo-dev make dir path in one location, in testenv.cmd
which gets imported by testenv.osmo_dev instead of doing it in both.
This makes it easier to bump make_dir_version when necessary.

Change-Id: Id3cb30e1ea126daf04dac227a2bf39b746549ec9
The file was modified_testenv/testenv/cmd.py
The file was modified_testenv/testenv/osmo_dev.py
Commit 8cbe2afa357e10014103acdf6517211b8eea3ec6 by Oliver Smith
testenv: fix TESTENV_INSTALL_DIR

When osmo-dev is used (no --binary-repo arg is set), then set
TESTENV_INSTALL_DIR and --install-prefix for osmo-dev to:
  <cache dir>/osmo-ttcn3-testenv/{podman,host}/install
Old --install-prefix:
  <cache dir>/osmo-ttcn3-testenv/{podman,host}/usr
Old TESTENV_INSTALL_DIR:
  <cache dir>/osmo-ttcn3-testenv/{podman,host}

The old behavior was misleading, because:
* It resulted in configs getting installed into:
  <cache dir>/osmo-ttcn3-testenv/{podman,host}/usr/etc/...
* TESTENV_INSTALL_DIR looked like it would point at the install dir
  (because there is usr inside that directory), but it was actually
  pointing at the top dir of the install dir.

Fixes: 143b1000 ("testenv: add TESTENV_INSTALL_DIR")
Change-Id: Id94936338a6eb74dee0b3f4668cbaca309b269e4
The file was modified_testenv/README.md
The file was modified_testenv/testenv/cmd.py
The file was modified_testenv/testenv/osmo_dev.py
Commit 68979fbd794c4716437c22a2ffbb66d94934d69b by Oliver Smith
5gc: testenv: use TESTENV_INSTALL_DIR

Change-Id: I412e53d132957a877a9a0478df3ac2fe31327a6c
The file was modified5gc/open5gs/open5gs_prepare.sh
Commit e915b6e14c2e34756df41a7d33d11b6ad9cd733e by Pau Espin Pedrol
log_merge.sh: Merge all logs if no test cases are found

This can happen for instance if titan exits with an error during startup
even before starting any test.
In that scenario, titan still writes stuff to a file (eg.
C5G_Tests--efc28eab6a6d-hc-1305.log).
Let's try to make everything logged available in that case, so user can
debug what went wrong.

Change-Id: Ifc68e42022e8b2990d3c5221b3901f255e4e759b
The file was modifiedlog_merge.sh
Commit 01082e623873a09567c82f28aff437aaae3dd762 by Pau Espin Pedrol
deps: Depend on osmocom fork of forge.etsi.org nas.git

This module provides types, templates and functions to operate NG NAS
(5G).

A fork is needed because:
* Upstream code doesn't compile against eclipse titan (A PR has been
  submitted upstream and we should eventually be able to compile ttcn3
  code just fine in that regard).
* Some system/external functions need to be implemented, such as
  fx_GetSystemTime(). We currently do that in our fork.

Related: SYS#7073
Change-Id: I004fc26e5d691ee7e3be984e28f5516e2b55258c
The file was modifieddeps/Makefile
Commit 28224acd24e3a2d93babc79213422a9b412b854d by Pau Espin Pedrol
5gc: Initial support encoding NG NAS UL messages

Change-Id: Id59564114cf18ae745e3e385e2c91779a453e545
The file was modified5gc/C5G_Tests.ttcn
The file was addedlibrary/NG_NAS_Functions.ttcn
The file was modified5gc/gen_links.sh
The file was modified5gc/regen_makefile.sh
Commit 060b156b9c42050d6f41c8b5f40ef8cc849912d6 by Pau Espin Pedrol
library/ngap: Fix wrong id set on PWSFailureIndication templates

Change-Id: Ied1c7a5914c6cbacf64ba857aa31c12ca6f001fb
The file was modifiedlibrary/ngap/NGAP_Templates.ttcn
Commit caa43cefe1801f4be03713d20faf62570a9fef04 by Pau Espin Pedrol
library/ngap: Fix criticality of several NGAP messages

As defined in ASN.1 in 3GPP TS 38.413 section 9.4.3.

Change-Id: I2283a5b025f0ce7d7445fa0ce9ba8405156c4533
The file was modifiedlibrary/ngap/NGAP_Templates.ttcn
Commit d100e4b6470b14fbb66c409eaf00a09506c2c475 by laforge
bts: f_init(): print testcasename() in the IUT's logs

It's useful to see testcase names in the IUT's logs in some
situations.  For instance, when some testcase crashes the IUT.

Change-Id: I16136f32d7143edfc1638e359ef5b1066c248732
Related: OS#6794
The file was modifiedbts/BTS_Tests.ttcn
Commit 0ae8624fd8bbfdfb1cce159ebac587fff1957bd7 by laforge
bsc: fix race condition in RSLEm

It may happen that the RSLEm component receives a DChan message
earlier than we suspend the DChan processing.  We saw this once:

  RSL for unknown Dchan
      BSC_Tests.ttcn:12769 BSC_Tests control part
      BSC_Tests.ttcn:5888 TC_ho_int_a5_4 testcase

Let's guard against this by calling f_rslem_suspend() earlier.

Change-Id: I012d4db05538d294a6b4aa85be4a40bb0bad28a3
The file was modifiedbsc/BSC_Tests.ttcn
Commit 1197bdf6b7b9880812d6bbcf5a8b8db32179ba47 by Oliver Smith
testenv: run "make deps" every time

The previous logic of not always running "make deps" was useful when
"make deps" would take a long time to complete even if there were no
changes. But this has been fixed in c7e40d6a ("Makefile: avoid fetching
deps if not needed"). Run it every time now in order to fix that deps
are not updated after deps/Makefile gets changed.

Change-Id: I02668530ce36c51a1c641fb816464c9c8e6ded9e
The file was modified_testenv/testenv/testsuite.py
Commit 6a185b88e35599030fbeb316b801c0f7afcbaab8 by Pau Espin Pedrol
5gc: Initial NAS receiving support

With this patch it is already possible to receive the NAS Auth Request
in the test ConnHdlr.

nas.git dep needs updating to include a new patch fixing decoding of
NG_AUTHENTICATION_REQUEST.

Change-Id: I6697f30f95777fc9aed16a529a669d10f42c57be
The file was modified5gc/gen_links.sh
The file was modified5gc/C5G_Tests.ttcn
The file was modifiedlibrary/Osmocom_Types.ttcn
The file was modifiedlibrary/NGAP_Functions.ttcn
The file was modified5gc/create_test_subscribers.sh
The file was addedlibrary/NG_NAS_Osmo_Templates.ttcn
The file was modifieddeps/Makefile
The file was modifiedlibrary/NGAP_Emulation.ttcn
Commit 4e2919d7793781b9f5ae67d5ad32da57c3eff1a6 by Pau Espin Pedrol
5gc: Initial NAS transmitting support

With this patch it is already possible to transmit the NAS Auth Response
in the test ConnHdlr.
We still lack generating a proper RES to have the response properly
accepted.

Change-Id: I951e98217b0150eed58fabb8e50a4782c1a3b510
The file was modifiedlibrary/NG_NAS_Osmo_Templates.ttcn
The file was modifiedlibrary/NGAP_Functions.ttcn
The file was modified5gc/C5G_Tests.ttcn
The file was modifiedlibrary/NGAP_Emulation.ttcn
Commit 769f6e6e2cd4c2e0a02ddf2f9c81a59c5a60a0c3 by Pau Espin Pedrol
testenv: podman: Install newer libcurl from bookworm-backports

It was already spotted a few days ago that libcurl4 7.88.1-10+deb12u12,
currently being shipped by debian12, contains some sort of bug where it
doesn't properly format/read HTTP2 requests when used in open5gs.
It was found out that installing a newer version of libcurl4 fixes the
problem.
This patch also fixes the problems spotted in the 5gc testsuite when
running within podman (they didn't show up outside podman because I'm
using Archlinux and hence using newer libcurl 8.13.0 too).

Change-Id: I799eeac73c49b9596502ad98acaa11dba3b88e97
The file was modified_testenv/data/podman/Dockerfile
Commit 076493241d7e5ef0c4c41b50532d3955651a40cc by Pau Espin Pedrol
5gc: Fix upfd failing to start outside podman

tuns need to be recreated beforehand with sudo, as already done in
ttcn3-ggsn-tests-ogs, otherwise upfd would need root access to create
them.

Change-Id: I5d3e0c3b7391d312304190acf07b347320481275
The file was modified5gc/open5gs/open5gs-upf.yaml
The file was modified5gc/testenv.cfg
The file was added5gc/open5gs/testenv.sh
Commit 8082d099e3f96da3dfe4348b0e1bd794d93b8b02 by Oliver Smith
testenv: use eclipse-titan 11 in Dockerfile

Install eclipse-titan from osmocom:nightly instead of osmocom:latest,
which now has version 11. Once we ensured everything works as expected,
we will upgrade the version in osmocom:latest too.

Change-Id: I660dd6ca93a54087b1d41787c4ed2b64a3ad0437
The file was modified_testenv/data/podman/Dockerfile
Commit 0285c3de4a29940094ac5aed992aa7f0edc2d9f2 by Oliver Smith
Revert "testenv: use eclipse-titan 11 in Dockerfile"

This reverts commit 8082d099e3f96da3dfe4348b0e1bd794d93b8b02.
The file was modified_testenv/data/podman/Dockerfile