Commit Graph

1234 Commits

Author SHA1 Message Date
Oliver Smith bcde1d0538 Update git URLs
git.osmocom.org has been deprecated, use gerrit or gitea urls instead.

Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Git_infrastructure
Related: OS#6251
Change-Id: I03a06d23e87a75257eb731a97facd7a67c40a2c6
2023-11-29 14:22:08 +01:00
Oliver Smith e8b16f4e90 contrib/jenkins-build: libosmocore: disable-uring
This should fix the many builds currently failing from the
osmo-gsm-tester_build jobs.

Related: OS#5751
Change-Id: Ibc9605933380351a5fd23b772868c0e698b39c37
2023-08-25 10:41:52 +02:00
Vadim Yanitskiy 398a2cad8a templates: osmo-mgw.cfg.tmpl: address deprecation warnings
This commit fixes the following deprecation warnings:

range must end at an odd port number, autocorrecting port (16000) to: 16001
% Deprecated 'sdp audio-payload number <0-255>' config no longer has any effect
% Deprecated 'sdp audio-payload name NAME' config no longer has any effect

Change-Id: I98549abf8dd726fcc67a1de6a5f8bee64558883d
2023-06-21 19:01:15 +07:00
Vadim Yanitskiy 54f1900ce3 templates: osmo-bsc.cfg.tmpl: migrate to separate 'mgw' node
This commit fixes the following deprecation warnings:

% MGCP commands outside of 'mgw' nodes are deprecated.
  You should consider reading the User Manual and migrating to 'mgw' node.

Change-Id: Ic2b3c8a6775b6a34bfc03e0643a34772ae789139
2023-06-21 18:57:21 +07:00
Vadim Yanitskiy 6bdbcc2446 templates: fix deprecated BTS type: s/sysmobts/osmo-bts/
This change fixes the following deprecation warning:

% BTS type 'sysmobts' is deprecated, use 'type osmo-bts' instead.

Change-Id: Iab1a0d14de5349438e73edfb57be4f7271afbfef
2023-06-21 18:48:58 +07:00
Vadim Yanitskiy f44f6f7a20 templates: osmo-bsc.cfg.tmpl: remove deprecated no-op params
This patch eliminates the following deprecation warnings:

% deprecated: 'ip.access rtp-base' has no effect, RTP is handled by the MGW
Please do not use legacy config 'mgw endpoint-range' (the range can no longer be defined by the MGCP client)

Change-Id: I64f6a26a3ae347083968c12855357de10baabc59
2023-06-21 18:42:49 +07:00
Vadim Yanitskiy a3de114364 templates: also fix asp config in osmo-{bsc,sgsn}.cfg.tmpl
In change [1] I attempted to fix osmo-gsm-tester_virtual, but I did
not notice that the same problem also was in osmo-bsc.cfg.tmpl.

Also add the missing params to osmo-sgsn.cfg.tmpl.

Change-Id: I7b3adfa131a9dbb867b9ae68615da27191b021e5
Related: [1] Ie29589b46c65707089ff2b22c3b139b7b435cc95
2023-06-21 18:28:26 +07:00
Vadim Yanitskiy 395322589d templates: fix osmo-msc.cfg.tmpl: add 'role asp', 'sctp-role client'
This commit fixes osmo-gsm-tester_virtual, which currently fails
because osmo-msc is unable to start:

DLSCCP NOTICE sccp_user.c:656 OsmoMSC-A-Iu: Requesting an SCCP
              simple client on ASP asp-clnt-OsmoMSC-A configured
              with 'sctp-role server'
DLSCCP ERROR sccp_user.c:661 OsmoMSC-A-Iu: Requesting an SCCP
             simple client on ASP asp-clnt-OsmoMSC-A configured
             with 'sctp-role server' but no matching xUA server
             was configured!

Change-Id: Ie29589b46c65707089ff2b22c3b139b7b435cc95
2023-06-19 16:33:56 +07:00
Vadim Yanitskiy ad984bf45d osmo_vty: re.escape() the VTY prompt in connect()
The VTY prompt may contain regular expression metacharacters in it,
so the self.re_prompt will not match as expected.  One example is
the modem app in osmocom-bb.git using promot 'OsmocomBB(modem)'.

Change-Id: Ibada798a214be97409b55556724f558b67da7365
Related: osmo-python-tests.git I47b1f1c1765acb1b935dcbcc54bbb5eb539db4f0
Related: OS#6001
2023-04-12 15:35:21 +00:00
Pau Espin eb0e007827 osmo-mobile.cfg.tmpl: Improve logging
Change-Id: I5fc07bd9332f6adac67b108f712fb99ee7cb3439
2023-04-12 17:10:56 +02:00
Pau Espin 34b26aa97b osmo_ms_driver: Store Mobile and VirtPhy content under test rundir
Change-Id: I89223e0d77bcb3e6921be683d705161009630a2c
2023-04-12 16:55:00 +02:00
Oliver Smith 30044cf635 doc/manuals: set OSMO_REPOSITORY
Fix uploading manuals to the wrong directory.

Related: OS#5902
Change-Id: Ia9935e176ee7633270ccd2926d60d7f8cea822f8
2023-03-07 16:48:24 +01:00
Oliver Smith d087b6ccc3 jenkins-build-common: use 'git submodule update'
Now that we use git submodules in osmo-trx, make sure to initialize and
update them before attempting to build.

Fix for:
  Makefile.am:32: error: required directory ./osmocom-bb/src/host/trxcon does not exist

Change-Id: Ic2b9207b942a8a9edff82737117b2ed9d6d3cfe3
2023-01-16 08:41:20 +00:00
Vadim Yanitskiy 8528ab6c85 fix contrib/jenkins-build-osmocom-bb.sh: build libosmo-gprs
Change-Id: I44797a047639ce816adba626be72fda07f7eb1f8
Related: osmocom-bb.git I8e0f826c9b2a886f94624176e34e7d197e93d25f
2023-01-04 03:53:36 +07:00
Oliver Smith bfc438bb2b templates: osmo-msc: modernize
Configure the mgw in the mgw node, and drop the obsolete commands
endpoint-range and bts-base.

Fix for:
| Error occurred during reading the below line:
|  mgw bts-base 8000
|
| % MGCP commands outside of 'mgw' nodes are deprecated. You should consider reading User Manual and migrating to 'mgw' node.

Change-Id: I077c4cd4c593da776a306117ad2a898a82d91064
2022-12-01 15:28:36 +01:00
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
netinet/sctp.h.
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
osmo-ci.git/jobs/registry-rebuild-upload-titan.yml).

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 util.py:
 - 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 jenkins-build-srslte-bbu.sh 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]

[1] https://github.com/open5gs/open5gs/issues/899

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