Skip to content
Success

Changes

Summary

  1. enb,epc,ms: refactor KPI API (details)
  2. enb.py: increase zmq trx timeout to 4000ms (details)
  3. {enb,ms}-label.conf: raneme and add modifier to select eNB/MS based on label (details)
  4. srsenb_drb.conf.tmpl: set PDCP discard timer to 150ms for QCI9 (details)
  5. amarisoft_drb.cfg.tmpl: add additional QCI10 with infinit PDCP discard timer (details)
  6. srsenb_drb.conf.tmpl: add QCI10 with infinit PDCP discard timer (details)
  7. ms_srs: add config scheme to select NAS log level (details)
  8. srsue.conf.tmpl: Adjust ue.config template for new pcap path (details)
  9. srsenb_sib.conf.tmpl: reduce the default size of the PUCCH (details)
  10. jenkins-build-amarisoft: copy ltesim_server binary into epc trial tgz (details)
  11. osmo-gsm-tester_androidue_conn_chk.sh: improve error handling (details)
  12. ms_android: set num_carriers to 1 by default (details)
  13. epc-label@.conf: add scenario to select runnode based on label (details)
  14. run_node: add label to RunNode class (details)
  15. mod-enb-ncells@.conf: add scenario file to select number of cells (details)
  16. ms_srs: turn tx/rx_gain into INT and make them optional (details)
  17. AndroidUE: Fix connection timeout (details)
  18. iperf3_bidir: add extra test for bi-directional iperf test (details)
  19. ms_srs: add force_ul_amplitude config (details)
  20. enb.py: increase ZMQ trx timeout to 8s (details)
  21. srslte_common: fix condition to check if KPI have already extracted (details)
  22. sysmo/defaults.conf: Fix attribute name (details)
  23. sysmocom/default.conf: Add missing default value for force_ul_amplitude (details)
  24. contrib: open5gs: Install more binaries to have an EPC (details)
  25. Initial Open5GS support (details)
  26. open5gs: Avoid use of non-standard ports (details)
Commit 3ce672594ff67402f2eea72b0ff2a7b2c4fdaf5d by Pau Espin Pedrol
enb,epc,ms: refactor KPI API

we previously mixed component specific and component agnostic APIs
(stdout vs. log file for example) for setting and retrieving KPI.

This patch propose to use a single abstract get_kpis() method for
all components that can be enriched with component-specific
stuff as desired.

In the case of srsLTE blocks, the main implementation will
remain in srslte_common() and is shared among srsENB/srsUE/srsEPC.

The KPI analyzer in srslte_common() extract and also manages
all three KPI sources (log, csv and stdout) independently.

In addition to the get_kpis() method that always returns a flat
dictionary, it also exposes get_kpi_tree() that return
a dict of KPI dicts that will be used for the Junit.xml generation.

Change-Id: I4bacc6b8a0cb92a581edfb947100b57022265265
The file was modifiedsrc/osmo_gsm_tester/obj/enb.py
The file was modifiedsrc/osmo_gsm_tester/obj/enb_srs.py
The file was modifiedsrc/osmo_gsm_tester/obj/ms_srs.py
The file was modifiedsrc/osmo_gsm_tester/obj/epc.py
The file was modifiedsrc/osmo_gsm_tester/obj/epc_amarisoft.py
The file was modifiedsrc/osmo_gsm_tester/obj/srslte_common.py
The file was modifiedsrc/osmo_gsm_tester/obj/enb_amarisoft.py
The file was modifiedsrc/osmo_gsm_tester/obj/epc_srs.py
Commit 0320ec2e9570ace58a59fce81a0ae37e286a8bfd by Pau Espin Pedrol
enb.py: increase zmq trx timeout to 4000ms

with many parallel jobs running on one machine we should
relax the timeout a bit to avoid false positives.

Change-Id: Ib32a07559bd5a4b0165f6d3431c5ac57cc050f44
The file was modifiedsrc/osmo_gsm_tester/obj/enb.py
Commit aec7fa53902b677789526cbf2f104f15e20a207c by Pau Espin Pedrol
{enb,ms}-label.conf: raneme and add modifier to select eNB/MS based on label

Change-Id: I26ea160b65b9dd5ef3e5ca1100d4541a0bbcbb27
The file was removedsysmocom/scenarios/ms-label.conf
The file was addedsysmocom/scenarios/ms-label@.conf
The file was addedsysmocom/scenarios/enb-label@.conf
Commit 88727efa106eb2d57e725118ef66ec971804c043 by Pau Espin Pedrol
srsenb_drb.conf.tmpl: set PDCP discard timer to 150ms for QCI9

srsENB now supports PDCP discard so we set it to a sane value.
Also enable status reporting for UL.

Change-Id: Ib6ad0ff57b95a1f220f87c1ede0f6eacc5fb21ff
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb_drb.conf.tmpl
Commit 3cecad8ebf3e93203de894e54d38954f3459e325 by Pau Espin Pedrol
amarisoft_drb.cfg.tmpl: add additional QCI10 with infinit PDCP discard timer

also set QCI9 to 150ms to match default srsENB config

Change-Id: I60cc1390480142bd5bb516934c9f30b6122496d5
The file was modifiedsrc/osmo_gsm_tester/templates/amarisoft_drb.cfg.tmpl
Commit 2bc8311ea781977648532054f4996966ed1bb82b by Pau Espin Pedrol
srsenb_drb.conf.tmpl: add QCI10 with infinit PDCP discard timer

copy of QCI9 params but with infinit PDCP discard to avoid SDU drops
at PDCP

Change-Id: I64a74d09cc1a55ba21a7be7b5cc203e56bba3b10
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb_drb.conf.tmpl
Commit c487f7438c887955f348864a1e2663b1a3c469cf by Pau Espin Pedrol
ms_srs: add config scheme to select NAS log level

we've provided only all_log_level so far but sometimes it's needed
to select the level per layer. This patch adds the ability
to do so for the NAS layer in the UE.

Change-Id: Iab2bce65e8af81f6d344849c97952e6441cb2846
The file was modifiedsrc/osmo_gsm_tester/obj/ms_srs.py
The file was modifiedsrc/osmo_gsm_tester/templates/srsue.conf.tmpl
The file was modifiedsysmocom/defaults.conf
Commit f4ff058ee2faaef39870ff405a10bdd3287ed2be by Pau Espin Pedrol
srsue.conf.tmpl: Adjust ue.config template for new pcap path

Change-Id: I4af6abaa3973652a12f571d88bca59cd443704f3
The file was modifiedsrc/osmo_gsm_tester/templates/srsue.conf.tmpl
Commit b04f135d32a69ea191c100517effcd17837e27a1 by Pau Espin Pedrol
srsenb_sib.conf.tmpl: reduce the default size of the PUCCH

optimized PUCCH config

Change-Id: I45ae7c33f9d1df20df37c0fe6c3d73aa85ae1b31
The file was modifiedsrc/osmo_gsm_tester/templates/srsenb_sib.conf.tmpl
Commit 585e35ba663c3dd85ae6ae0e6855406b4ee8fa90 by Pau Espin Pedrol
jenkins-build-amarisoft: copy ltesim_server binary into epc trial tgz

the ltesim_server is part of the UE package but needs to be executed
on the EPC run node. Therefore its handy to have the binary in the epc
trial tgz.

Change-Id: I21ac57d1c1547c1cf4d2394c8593f58ff2c78697
The file was modifiedcontrib/jenkins-build-amarisoft.sh
Commit e98e1294eb32d0d543380713dc2c1c77319be111 by Pau Espin Pedrol
osmo-gsm-tester_androidue_conn_chk.sh: improve error handling

fix check of $serial and check passed arguments.
exit when adb isn't installed on host

Change-Id: I6190a840dbc86838457da96d188afc17f83ab15f
The file was modifiedutils/bin/osmo-gsm-tester_androidue_conn_chk.sh
Commit b190b4c397bad29233b90a4638ddb0adb7789c54 by Pau Espin Pedrol
ms_android: set num_carriers to 1 by default

throughput tests require the UE object to have the num_carriers
member. For Android UEs, set it to 1 by default.

Change-Id: I297d24bb578a7db0eb7629be4f2cc0d54624467d
The file was modifiedsrc/osmo_gsm_tester/obj/ms_android.py
Commit 001ca8595d0031974bec4722016eafcddd494294 by Pau Espin Pedrol
epc-label@.conf: add scenario to select runnode based on label

this allows to select the resource/machine the EPC runs on based on the label

Change-Id: I710c67ad5a11bd33071acd779e19835ae49ce4a3
The file was addedsysmocom/scenarios/epc-label@.conf
Commit 3fc74d353a6345f145b2f9d58dacc9afbaeb2a69 by Pau Espin Pedrol
run_node: add label to RunNode class

this allows specifying a label on each run node that can be used
to filter/select specific nodes.

Change-Id: Ib6a977007f56d6ff9ff029aaf049a75fb5d5e1dd
The file was modifiedsrc/osmo_gsm_tester/obj/run_node.py
Commit 1a1970721a0f06a9dfcc5c686a3765e5774d2c09 by Pau Espin Pedrol
mod-enb-ncells@.conf: add scenario file to select number of cells

Change-Id: Ib599de56b0b51a125555895014d78d3d649c01a0
The file was addedsysmocom/scenarios/mod-enb-ncells@.conf
Commit 1bba2891c5edce44a6b05b6e97b0331b4b463807 by Pau Espin Pedrol
ms_srs: turn tx/rx_gain into INT and make them optional

when they are greater than 0 they are written as config paramter.
if they are -1 they are disbaled and automatic gain calibration is
used.

Change-Id: I473ff3ae679784178574d2f76b612dbf77180490
The file was modifiedsrc/osmo_gsm_tester/obj/ms_srs.py
The file was modifiedsrc/osmo_gsm_tester/templates/srsue.conf.tmpl
Commit 7b4e1f676b688f5b4e89a8130164d81b7ab78979 by Pau Espin Pedrol
AndroidUE: Fix connection timeout

Change-Id: Iaacf348e2e018da5b67ada33079018c1859d3b63
The file was modifiedsrc/osmo_gsm_tester/obj/ms_android.py
Commit 6246a9db198febaa36e5ef9d140f2118dd07cb9a by Pau Espin Pedrol
iperf3_bidir: add extra test for bi-directional iperf test

Change-Id: Ibb62f53dbb15bc4788c92ebb2dee70e31dd851de
The file was addedsysmocom/suites/4g/iperf3_bidir.py
Commit fcdff4bcfee83790384de1bbd7341455bc8f9c65 by Pau Espin Pedrol
ms_srs: add force_ul_amplitude config

this allows to overwrite the PHY export option phy.force_ul_amplitude

Change-Id: I255f027433944c1739c89757609f0dcc3b8aa7cb
The file was modifiedsrc/osmo_gsm_tester/obj/ms_srs.py
The file was modifiedsrc/osmo_gsm_tester/templates/srsue.conf.tmpl
Commit f69b94814894beea81ef8af66376afa0cd2ab285 by Pau Espin Pedrol
enb.py: increase ZMQ trx timeout to 8s

increase value further to avoid failed tests due to load on system

Change-Id: I77b7864e7ef60faf0262dc24325915d73dd2d5a3
The file was modifiedsrc/osmo_gsm_tester/obj/enb.py
Commit 67ab78b3316740f4d2aa686645ea9756567b2ac3 by Pau Espin Pedrol
srslte_common: fix condition to check if KPI have already extracted

Change-Id: I6fdcbfadfdcfe131096d0345d2c21c87f8f7b1b6
The file was modifiedsrc/osmo_gsm_tester/obj/srslte_common.py
Commit 3bb14bedfee9c00dca32ee3e5f197bfe4986630f by Pau Espin Pedrol
sysmo/defaults.conf: Fix attribute name

According to schema, the name is cipher_list.
Same goes for "integrity".

Fixes: a81801558e7bb6ef0f0a32ab078d302c91e940a8
Change-Id: Ib7b48ce207b96ea5f5b59db08320563be40edba1
The file was modifiedsysmocom/defaults.conf
Commit 965ed62fd2086ba1d2cd0b4621b952702a63f142 by Pau Espin Pedrol
sysmocom/default.conf: Add missing default value for force_ul_amplitude

Change-Id: I04218dca21f27e32d7c85a74a3e9bbf63b499357
The file was modifiedsysmocom/defaults.conf
Commit b32ed9256f7930385257e29f0fe7656f4ea06ecc by Pau Espin Pedrol
contrib: open5gs: Install more binaries to have an EPC

Change-Id: I1ff143b4f876e28ad9a1bc6a4a4cad5dacef8e18
The file was modifiedcontrib/jenkins-build-open5gs.sh
Commit 0696c60812abbf6c6290b0fd2f4953d8f7ae8fdc by Pau Espin Pedrol
Initial Open5GS support

Change-Id: Iff8b88dc22d8f156572839abb48b0c1377c55e33
The file was addedsrc/osmo_gsm_tester/templates/open5gs-sgwcd.yaml.tmpl
The file was addedsrc/osmo_gsm_tester/templates/open5gs-upfd.yaml.tmpl
The file was modifieddoc/manuals/chapters/install.adoc
The file was addedsrc/osmo_gsm_tester/obj/sgwu_open5gs.py
The file was modifiedsysmocom/defaults.conf
The file was addedsrc/osmo_gsm_tester/templates/open5gs-hssd.yaml.tmpl
The file was addedsrc/osmo_gsm_tester/obj/mme_open5gs.py
The file was addedsrc/osmo_gsm_tester/templates/open5gs-sgwud.yaml.tmpl
The file was addedsysmocom/scenarios/cfg-epc-db@.conf
The file was addedsrc/osmo_gsm_tester/obj/epc_open5gs.py
The file was modifiedsrc/osmo_gsm_tester/obj/epc.py
The file was addedsrc/osmo_gsm_tester/obj/upf_open5gs.py
The file was modifiedcontrib/jenkins-build-common.sh
The file was addedsrc/osmo_gsm_tester/templates/open5gs-pcrfd.yaml.tmpl
The file was addedsrc/osmo_gsm_tester/obj/smf_open5gs.py
The file was addedsrc/osmo_gsm_tester/obj/pcrf_open5gs.py
The file was addedsrc/osmo_gsm_tester/obj/sgwc_open5gs.py
The file was addedsrc/osmo_gsm_tester/templates/open5gs-freediameter.conf.tmpl
The file was addedsrc/osmo_gsm_tester/templates/open5gs-smfd.yaml.tmpl
The file was addedsrc/osmo_gsm_tester/obj/hss_open5gs.py
The file was addedsrc/osmo_gsm_tester/templates/open5gs-mmed.yaml.tmpl
Commit d776059deb7768c2161d6c33ba97a3202ad0c8f0 by Pau Espin Pedrol
open5gs: Avoid use of non-standard ports

Despite open5gs allowing to change the GTP ports in the config file, in
reality changing those values to something else than the standard prot
will fail. Hence, we must use the standard port. As a result, we must
use different IP addresses in each process to avoid ip+port collisions.
Let's use some loopback addresses which shouldn't require extra
configuration on the host, and still only requiring 1 run_node as per
existing EPCs, with the limitation that only 1 open5gs EPC instance can
be run at one in a given run_node.

Related: https://github.com/open5gs/open5gs/issues/897
Change-Id: Id3062c6ad9d6de4c6066547e1e46edad5da285c1
The file was modifiedsrc/osmo_gsm_tester/templates/open5gs-upfd.yaml.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/open5gs-sgwud.yaml.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/open5gs-sgwcd.yaml.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/open5gs-mmed.yaml.tmpl
The file was modifiedsrc/osmo_gsm_tester/templates/open5gs-smfd.yaml.tmpl
The file was modifiedsrc/osmo_gsm_tester/obj/epc_open5gs.py