Commit Graph

1219 Commits

Author SHA1 Message Date
Pau Espin b172c066fb contrib: Workaround poky SDK bug building libosmo-netif
Similar fixes are applied in meta-telephony.git and
meta-sysmocom-bsp.git for recipes checking for existence of
This is basically a poky pyro bug, already fixed in upstream poky
master (b11fc7795cd1a6d74c9bb50b922d928f4a17722d).

Change-Id: I330866badba8f30f500f74ac31e2c4e20b11d53c
2022-09-08 11:56:33 +02:00
Pau Espin 93d3b9df9d contrib: osmo-bts now depends on libosmo-netif
Since osmo-bts.git a2dc808acc5b99122e97c9013cb1ec2ae0c4a2a1, osmo-bts
depends on libosmo-netif. Let's add the dependency when building.

Change-Id: I8e40b2de19ecfca084780f69808c7030817e43d7
2022-09-07 10:59:01 +02:00
Harald Welte 882b8aee01 update git URLs (git -> https; gitea/gerrit)
Change-Id: I5f51b260445624759e77a70c5065838b29ec8c01
2022-06-18 12:05:50 +02:00
Pau Espin 5a80d769ec contrib: Fix osmocom-bb-fimware no longer available in order prebuilt pkg repo
roox: "please use the Tumbleweed repo instead if you want something that is always available"

Change-Id: I88843e7ed35c42e9b16aaff00c9c6a3973d0d6ca
2022-03-29 17:59:09 +02:00
Daniel Willmann ae8aa17301 jenkins-build-osmo-hnbgw: Build osmo-mgw as dependency
Change-Id: Ic32160c8e1a00ae299344e029f3909a8e24c7291
2022-02-24 14:42:06 +01:00
Pau Espin b4cacca453 contrib: Convert trial osmo-iuh->osmo-hnbgw
The real target was not osmo-iuh itself but osmo-hnbgw. Since osmo-hnbgw
is inits own repository now, let's rename it.

Change-Id: I03c0988db5c5d72bcac71b4515e40a099600ce7c
2022-01-12 10:23:34 +01:00
Pau Espin 85968eef35 ttcn3: Use osmocom registry to pull ttcn3-bts-test
Since recently, the ttcn3-bts-test image is available in the osmocom
registry. Let's use that one instead of the sysmocom one.

The imaqge is built and pushed to the registry regularly by osmocom
jenkins job registry-rebuild-upload-ttcn3-bts-tests (see

Related: SYS#5765
Change-Id: I6de9719830290aa7f3ca80a6080ed37f107bdc16
2021-12-20 11:41:46 +01:00
Alejandro Leal Conejos dcc0b5577c util: fix the functions "create_netns" and "setcap_netsys_admin".
This commit fixes 2 functions from
 - setcap_netsys_admin: removed "self" from the arguments.
 - create_netns: pass "run_dir" to Process and convert the arguments to
a list as the other methods in the file.

Change-Id: Ida4c6d6500be92b8d1f96e4e7a870e63bd329be9
2021-06-15 17:58:44 +02:00
Alejandro Leal Conejos e3f6a3b527 jenkins-build-common: adds support to the new variables for patchelf.
2 variables are added in order to increase the flexibility of the add_rpath function.
patchelf_rpath_extra_args: adds more arguments to the rpath patch. For example "--force-rpath"
patchelf_rpath_dir: path to the libraries. This path is appended to the default '$ORIGIN/../lib/'

This commit add the script, that builds the given repository filling the information for the 2 newly added variables.

Change-Id: I9f510112c63e7598add8c00f8573e34cac1b6064
2021-06-11 08:53:33 +02:00
AlaiaL 855e712bc0 srs-enb: adds support to the malloc interceptor.
Adds support to the malloc interceptor for the SRS eNodeB. This interceptor will generate a log file that lists the mallocs, reallocs and frees produced by the srsenb.

Change-Id: I0078020468f58bdd70b0b5de879eb58192f947a6
2021-06-11 08:26:58 +02:00
AlaiaL 18cd26f58d srs-enb: sets the remote directory to the given one.
Sets the remote directory for fapi to the given in the variable 'remote_dir' in the reource schema.

Change-Id: I77a56835a4054b86d1d3f7da823a013b3370f767
2021-06-11 08:26:58 +02:00
AlaiaL d1ca06d9ac srs-enb: adds fapi to the rf supported devices.
Added support to 'fapi' rf device for the SRS eNodeB.

Change-Id: I0ac2a7db7c0533dfbc90f2526a7b823110d355c0
2021-06-11 08:26:58 +02:00
AlaiaL f2e9e980ca srs-enb: runs the given list of scripts before and after launching the eNodeB.
Allows to run given scripts before and after the execution of the SRS
eNodeB. The scripts are retrieved as a list from the resource.conf file.

Change-Id: I5017caae933809b89b32ea132be8552d6554e20e
2021-06-11 08:26:58 +02:00
AlaiaL 2cedd82cad srs-ms: allows to run given scripts before the execution of the UE.
Executes the scripts given by the 'prerun_scripts' variable before launching the UE.

Change-Id: I718e686b5844f2f07eda820914678052f1008182
2021-06-11 08:26:58 +02:00
AlaiaL 5f9a763c56 4g-iperf3-bidir: modified the test to parameterize the number of ue in the test.
Parameterize the iperf3 bidirectional test for the 4g test suite to execute a
given number of UEs. By default, the number of ue is 1.

Change-Id: I34fb436d581eda12388819b5dee9a3bafd419a7f
2021-06-11 08:26:58 +02:00
AlaiaL 63d33de35f 4g-iperf3-dl: modified the test to parameterize the number of ue in the test.
Parameterize the iperf3 downlink test for the 4g test suite to execute a
given number of UEs. By default, the number of ue is 1.

Change-Id: Ifafea196289d1ce0d35ae66c6564266ba123b27a
2021-06-11 08:26:58 +02:00
AlaiaL 8ff29392e3 4g-iperf3-ul: modified the test to parameterize the number of ue in the test.
Parameterize the iperf3 uplink test for the 4g test suite to execute a
given number of UEs. By default, the number of ue is 1.

Change-Id: I4b006df04bd1af6c117bcb25e6a6b1609ac732fb
2021-06-11 08:26:58 +02:00
AlaiaL e9d7f5f9b6 iperf: adds the option to define the packet length for udp.
Added the feature to configure the packet length in udp iperf. Added a modifier to select the length value.
The default value is configured to 1460.

Change-Id: Ic886faa82b7cb25f2bce685eb80910623e4ff686
2021-06-11 08:26:58 +02:00
Pau Espin 24a405f3e2 open5gs: Fix GTP-U addr binding
Change-Id: I8c91a9c4a07f4229cb4ae9af61d94e720d81a961
2021-05-12 19:37:33 +02:00
Pau Espin be5156c5c1 open5gs: Pre-configure tun device for UPF
open5gs requires the tun device to be pre-created and pre-configured
before using it. A ticket was opened in order to allow upfd itself
configuring it in [1]


Change-Id: I3b1857f09017cacee1c86f41dae1463c11b50490
2021-05-12 19:36:18 +02:00
Pau Espin 3ccf09f5c0 sysmocom/defaults.conf: Fix recently changed node name
This node was changed recently but this file was not updated.

Change-Id: Id5df83a356579340259d9d02ebc621f298151599
2021-05-12 18:06:06 +02:00
Andre Puschmann 74588e9c35 open5gs_mme: set short network name
Change-Id: Ifd7a78e35fb47cc5a96452fe93d8ab305359d7bd
2021-05-10 21:51:31 +02:00
Andre Puschmann 5a2f05aaa4 srsenb: enable S1AP pcaps as well when PCAPs are configured
this stores the S1AP pcaps in an own file but uses
the same switch to enable them.

Change-Id: If24048d61d8dff0b9b31aff9ed6995342830ebf8
2021-05-10 21:51:31 +02:00
Andre Puschmann faa8e7c1d4 open5gs: lower default log level to info
Change-Id: I15aaac5838bdb9d271a850b959a3a8fb4a56a313
2021-05-10 21:51:31 +02:00
Andre Puschmann 0bedacdb56 open5gs: fix name
Change-Id: I7b0325718f9572b03e282d17ddf111a9493e2ee7
2021-05-10 21:51:31 +02:00
Andre Puschmann f093cb2c34 androidue: fix execute permissions for conn_chk and diag parser scripts
Change-Id: I755b65188a485a3c2f30488ab598f7a50cf80dc5
2021-05-10 21:51:31 +02:00
Andre Puschmann 9d75ccb9c8 open5gs: fix stopping of open5gs components after test finishes
use RemoteProcessSafeExit() for launching all open5gs components
to make sure they are stopped at the end as well.

Change-Id: Ia1439577d60f9694da70c4e42c621100c8ef295e
2021-05-10 16:56:31 +02:00
Andre Puschmann b9c9612fc1 epc_open5gs: remove _epc from name
there is no open5gs_enb so having the epc in the name is redundent, also
it safes typing and allows longer scenario configs without exceeding
filename limit.

Change-Id: Ib10bc6031ecc8de88a9c718b136d2641ce46e11d
2021-05-10 16:56:31 +02:00
Andre Puschmann e87a05624d srsue.conf.tmpl: tidy up config file
no functional changes, just remove whitespaces and newlines

Change-Id: Ib58d3591cc51c11c9e496f6510ebffb91ee71345
2021-05-10 16:56:31 +02:00
Andre Puschmann 7879143d34 amarisoftue: solve conflict of sample rate param in rf_driver
move sample_rate setting into rf_driver template that is shared
between enb and ue

Change-Id: Icc8042c3eec2a1e8bfc6823c06430c1cb18355b7
2021-05-05 20:06:48 +02:00
Andre Puschmann 8d37a9857d amarisoft_ltemme.cfg.tmpl: enable ENDC support in config template
patch also remove the UE forwarding option which isn't used anymore in the MME.

Change-Id: Ia1628e6674b124806e3cd59c5b190d27f6ba4403
2021-05-05 14:26:57 +02:00
Andre Puschmann 6c985372a1 ms_srs: add 5G NSA support
extend the MS to allow for NR carriers

Change-Id: I7de9f867e7e32d0ab4f74eb7661928175f6c1a16
2021-05-05 14:26:57 +02:00
Andre Puschmann 6e081aa1dc amarisoft_enb: add NR support
this patch adds the ability to configure NR cells with
Amarisoft eNB. It adds the new DRB-NR template and updates
the normal enb.cfg template to allow using it as LTE only
or with NR cells (5G NSA).

Change-Id: Ia27bbc6db5920ce14bacabe8043601aa2adaa5fe
2021-05-05 14:26:56 +02:00
Andre Puschmann 9b419f32ae srsenb.conf.tmpl: use LTE sample rates when Lime is found in rf args
the lime doesn't work well with the shorter sample rates the eNB
uses by default.

Change-Id: I2d3dbdf5ff62980854ef67b20469f072ce31612e
2021-05-03 13:50:11 +02:00
Andre Puschmann fcd9752c25 srsue.conf.tmpl: set srate param with the X310
Change-Id: Icb04ed51ace97d4467558639aeb3f556dbe8678a
2021-05-03 13:50:11 +02:00
Andre Puschmann 374a175c81 amarisoft_rf_driver.cfg.tmpl: only set trx offset for B210
all other RF devices do not required any offset

Change-Id: Id4c5f0bede5b09d59237cdd6a959a3663f1a1b37
2021-05-03 13:50:11 +02:00
Andre Puschmann 88b7fd2af6 ms_srs: add short_sn as config option for srsUE
this allows to change the announced support for PDCP
short sequence number lengths

Change-Id: Ibcf72dbb424ae3b6a87b60febb4dadf716407612
2021-05-03 13:50:11 +02:00
Andre Puschmann 5e08075fa3 enb_amarisoft: add "sdr" as rf_dev_type and rx_ant parameter
this allows to use the Amarisoft PCIe cards with OGT

Change-Id: Ia373a78f59538d6dfca390431f85a7af26c9d914
2021-05-03 13:50:11 +02:00
Andre Puschmann dbdc1c8443 srsue.conf.tmpl: update args for 21.04 changes to include NSA
this also removes the entire help text around arguments (that
were very outdated already) and only leaves the actual values with changes.

Change-Id: Icb9e8e7b1c68cf024db3a7273af791f017c32003
2021-05-03 13:43:44 +02:00
Andre Puschmann a4bdfbf1bf ms_srs: extend prach_sent counter with NR version
make LTE version more explicit and add another counter for NR

Change-Id: I8192dc3b4dae27417c93b68d33a686bca4783f4d
2021-05-03 13:43:44 +02:00
Andre Puschmann bde48c3767 ping: add a short delay after UE is attached before starting ping
this is mainly to avoid ping losses in 5G NSA during NR attach.
No impact on 4G though.

Change-Id: Ic507dc4a24e8576b0ec3b301ee8e340ed553b300
2021-05-03 13:43:44 +02:00
Andre Puschmann 4462067afc 4g: add overlay template path for all suites
this allows, without changing the test case, to use a custom
template, which is useful for development. By default, nothing changes
and the OGT template is used

Change-Id: Ifc43ac41b16813116f2559da5223a6fecc186125
2021-05-03 13:43:44 +02:00
Andre Puschmann a54ca0b514 enb: add rx_ant param
Change-Id: Iada98fce3608808914562d9f7e2af2c230e03cae
2021-05-03 13:43:44 +02:00
Andre Puschmann 02b4223854 srsenb_drb.conf.tmpl: decrease pollPDU for QCI9
due to internal PDU buffering between PDCP/RLC the poll frequency
needs to be increase to get quicker feedback.

Change-Id: I4114fb36e675b3f91c471558f716276ab24f1db5
2021-05-03 13:43:44 +02:00
Andre Puschmann e82f44cb49 rfemu_srsenb_stdin: catch exception in rfemu and log error
not handling the exception causes all following tests to

Change-Id: I496313ef8412c8cb18a3c2cb32c52a3b5a672853
2021-05-03 13:43:44 +02:00
AlaiaL 9e025a36a9 amarisoft_ltemme.cfg.tmpl: add gbr to the template
newer version of the amarisoft mme requires the GBR to be set

Change-Id: Ib0b046ea9fcc26b6bbe03461ca6308acc35175d1
2021-05-03 13:43:44 +02:00
AlaiaL 26ee595e14 jenkins-build-amarisoft: adjusting lib name to srsran and update versions
fix rename of srslte to srsran libs and also update Amarisoft

Change-Id: I2174aec3c7ded8c966877a87f4cc6a39ce1325c2
2021-05-03 13:43:44 +02:00
Andre Puschmann fd4c0ee267 schema: add 5G as UE feature
Change-Id: I851e95fb0b763f2a838b161be4938715770eaa83
2021-05-03 13:43:44 +02:00
Andre Puschmann 47f4f09592 add stricter pass/fail check
the ping test should only pass if not a single ping is lost

Change-Id: If089f77df1ffe991f26f1546558d51aac242df83
2021-05-03 13:43:44 +02:00
Andre Puschmann 31ecf59ffd ms_amarisoft: extend AmariUE to support custom frequency bands
this patch adds generic support for custom frequency bands to the ms class.
it then extends the config template for AmariUE to use them.
we set the default values for EARFCNs for DL/UL to the old values.

Change-Id: I7b2250e13fc1161be1a1d73a4348f07b31c0f724
2021-05-03 13:43:44 +02:00