Skip to content
Success

Changes

Summary

  1. testenv: don't use all RAM in 5gc testsuite build (details)
  2. sgsn: Add suport to obtain statsd output (details)
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/README.md
The file was modified_testenv/testenv/testenv_cfg.py
The file was modified_testenv/testenv/testsuite.py
The file was modified5gc/testenv.cfg
The file was modified_testenv/testenv/__init__.py
Commit 4d2f95437a778dd9fba55f640f76d6e7a43a8015 by Pau Espin Pedrol
sgsn: Add suport to obtain statsd output

It will be used in a follow-up commit in TC_stat_rnc_sctp_disconnected.

This new test infrastructure can still be used with osmo-sgsn latest
since it already initialized the statsd VTY commands despite having no
osmo_stats in use.

Change-Id: Ic86ce75ea700d05fc65fcea3cdab7b7eaac12069
The file was modifiedsgsn/SGSN_Tests.cfg
The file was modifiedsgsn/README.md
The file was modifiedsgsn/gen_links.sh
The file was modifiedsgsn/osmo-sgsn.cfg
The file was modifiedsgsn/SGSN_Tests.default
The file was modifiedsgsn/SGSN_Tests.ttcn
The file was modifiedsgsn/regen_makefile.sh