Skip to content
Success

Changes

Summary

  1. ranap: Support Tx GlobalRNC-ID during RANAP RESET (ACK) (details)
  2. Include GlobalRNC-ID IE during Tx RANAP Reset towards SGSN (details)
  3. testenv: don't use all RAM in 5gc testsuite build (details)
Commit 31ebf29eef756b721743d0dbe247972e595f698e by Pau Espin Pedrol
ranap: Support Tx GlobalRNC-ID during RANAP RESET (ACK)

This commit doesn't affect the behavior of any existing testsuite yet,
it only updates the templates and adds a RanOps param to be able to pass
a GlobalRNC-Id to RAN_Emulation.

A follow-up commit will change SGSN_Tests to append GlobalRNC-Id to
RANAP Reset when sending towards SGSN, since it's mandatory for an RNC
to set it according to 3GPP TS 25.413 8.26.2.2.

Change-Id: I0628e412bdff6ed8eefe9051ec351fbd1d0b634f
The file was modifiedmsc/BSC_ConnectionHandler.ttcn
The file was modifiedsgsn/SGSN_Tests.ttcn
The file was modifiedlibrary/rua/RUA_Emulation.ttcn
The file was modifiedlibrary/ranap/RANAP_Templates.ttcn
The file was modifiedhnbgw/HNBGW_Tests.ttcn
The file was modifiedlibrary/RAN_Emulation.ttcnpp
Commit 52db2d220326dcf3e32bee576746dde5ca533bf6 by Pau Espin Pedrol
Include GlobalRNC-ID IE during Tx RANAP Reset towards SGSN

An RNC shall include this IE during RANAP Reset, as specified in
3GPP TS 25.413 8.26.2.2.

Change-Id: Ic16817a2064fa87b80a81b07868005069d67aec2
The file was modifiedsgsn/SGSN_Tests.ttcn
The file was modifiedsgsn/BSSGP_ConnHdlr.ttcn
Commit 8880a196f73ae8c5ea196c8abe15dc48e774ae7a by Oliver Smith
testenv: don't use all RAM in 5gc testsuite build

When building the 5gc testsuite with as many parallel jobs as CPU cores
are available (the default), on at least Pau's and my system, all RAM
gets consumed and the system becomes unusable. On other systems, an
out-of-memory killer might kill the compiler, which is also not great.
This can currently only be avoided if the user remembers to pass "-j4"
to testenv, to ensure that only 4 jobs run in parallel.

Add a new max_jobs_per_gb_ram= option to 5gc/testenv.cfg. Set it to 0.3,
so on e.g. systems with 15 GiB of RAM, we get 4 jobs as maximum.

Change-Id: I1b9c9a2e3fa244337342e95457ac6d3a8caa0ae6
The file was modified_testenv/testenv/testenv_cfg.py
The file was modified5gc/testenv.cfg
The file was modified_testenv/README.md
The file was modified_testenv/testenv/__init__.py
The file was modified_testenv/testenv/testsuite.py