Skip to content
Unstable

Changes

Summary

  1. bts: f_init(): print testcasename() in the IUT's logs (details)
  2. bsc: fix race condition in RSLEm (details)
  3. testenv: run "make deps" every time (details)
  4. 5gc: Initial NAS receiving support (details)
  5. 5gc: Initial NAS transmitting support (details)
  6. testenv: podman: Install newer libcurl from bookworm-backports (details)
  7. 5gc: Fix upfd failing to start outside podman (details)
  8. testenv: use eclipse-titan 11 in Dockerfile (details)
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/create_test_subscribers.sh
The file was addedlibrary/NG_NAS_Osmo_Templates.ttcn
The file was modified5gc/gen_links.sh
The file was modifiedlibrary/NGAP_Functions.ttcn
The file was modifieddeps/Makefile
The file was modifiedlibrary/NGAP_Emulation.ttcn
The file was modifiedlibrary/Osmocom_Types.ttcn
The file was modified5gc/C5G_Tests.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 modified5gc/C5G_Tests.ttcn
The file was modifiedlibrary/NG_NAS_Osmo_Templates.ttcn
The file was modifiedlibrary/NGAP_Emulation.ttcn
The file was modifiedlibrary/NGAP_Functions.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