Commit Graph

675 Commits

Author SHA1 Message Date
Vadim Yanitskiy 3bd7fc452b osmo-bsc.cfg: drop deprecated '11bit_rach_support_for_egprs'
EGPRS Packet Channel Request cannot be enabled in 'GPRS only' mode
anyway. Moreover, this command was deprecated. Let's just remove it.

Change-Id: I03733490d9c4bf78a748d22874e550e015fbab78
2020-05-29 19:23:55 +07:00
Vadim Yanitskiy 28badfaf6e osmo-bsc.cfg: drop deprecated 'ip.access rtp-base' parameter
Change-Id: Ie5494fd08fc7d2277a087ccc9502b5076fa2565b
2020-05-29 14:34:31 +07:00
Vadim Yanitskiy d210c90a68 osmo-bsc.cfg: drop non-existing 'access-list-name bsc-list'
In the recent osmo-bsc master, this configuration parameter has
been removed, so it fails to start due to "unknown parameter".

Change-Id: I8f763a4b35f80f4db637bebdd8e802a835a9fd2d
2020-05-29 14:34:31 +07:00
Vadim Yanitskiy c5f1a673bd ttcn3-bts-test: enable 3 additional transceivers for BTS#0
This is needed for the forthcoming frequency hopping test cases.

Change-Id: Ib5ad31388ae25399ad09739aac3fdcb0b3a1f78b
Depends: I86afb55ecc6703ce7a229aaa626223f9331a4778
Related: OS#4546
2020-05-28 10:31:28 +00:00
Oliver Smith 9d7b8fd5f9 debian-repo-install-test: move scripts to osmo-ci
Related: OS#4563
Depends: I777098f19d75f7efbd68b837ccdcd83309429c39 (osmo-ci)
Change-Id: If93f37e8d46597a9abc67a4529be9addd65780f5
2020-05-27 11:41:47 +02:00
Oliver Smith f8d5ed55f1 centos-repo-install-test: new image
Prepare the repo-install-test to be extended to cover centos8 as well.
The scripts from docker-repo-install-test will be moved to osmo-ci.git
as shared code, and extended to work with centos8 too (using this new
image) in I399360ee6389591180859b52f0ef08883447b90b (osmo-ci).

Related: OS#4563
Change-Id: I50743c304728444ede8e0d40b8abef9d17c44d8d
2020-05-27 10:55:13 +02:00
Neels Hofmeyr acd141fa61 bsc: drop access-list-name from osmo-bsc.cfg
This configuration option is unused. Related: the IMSI filtering access list is
being dropped from osmo-bsc, which might cause test fallout.

Related: I89727af5387e8360362e995fdee959883c37d89a (osmo-bsc)
Change-Id: Ied8d766ba230b93cb1185fc8b1a77f5540dfdbc1
2020-05-18 17:52:31 +02:00
Oliver Smith 659a6cfb1a ttcn3-hlr-tests: enable DGSM tests
Change-Id: Ic4bcf5a5d76325edb104cd09620a22dbe371531d
2020-05-15 09:09:43 +02:00
Neels Hofmeyr 4449ccd8c4 bsc/osmo-bsc.cfg: remove legacy 'rtp-base' config
osmo-bsc does not use an rtp-base for years, ever since we're using an MGW.

Related: Id14fa3066ca5d472a817593074a6222f159168a8
Change-Id: I267840ecb816e9de6d89ebbacb3e296c59fad57c
2020-05-13 17:57:50 +02:00
Pau Espin eeaa003c5a osmo-gsm-tester: Fix typo in path in jenkins.sh
Change-Id: Icdbd94a9e3de81ae60ce18da86ad57ebf70fb04f
2020-05-12 16:42:51 +02:00
Pau Espin 16901f8053 osmo-gsm-tester: Point config parameter to file instead of its dirname
Since osmo-gsm-tester.git Change-Id Ieca65b71b543c44cfcec8e83efd0fe053c432e55,
the -c parameter holds the config file and not the directory where it is contained.

Change-Id: I5aa0507d0e82616ee3cca74573fea6bdb7459b53
2020-05-12 12:53:36 +00:00
Harald Welte efdcfde38f cgit: change URL for gerrit change-ids
Change-Id: Ifda98d8081b976194a9fafcfdcdb6f6340df6844
Related:OS#4529
2020-05-08 19:59:16 +02:00
Pau Espin cfad27be56 osmo-gsm-tester: Pass conf dir through -c cmd line arg instead of env var
As of osmo-gsm-tester.git Change-Id
I7eb69f870d0dcb5906d45ae067d6bed1aabf5862, the enviornment variable
OSMO_GSM_TESTER_CONF is deprecated in favour of already existing -c cmd
line argument. Let's use it while still providing the docker setup with
a way (using same env var name) to modify where the conf dir is to be
found inside the docker container (for instance, to provide an external
conf dir).

Change-Id: I54ea9dc4d0bb205debf312f5a37053bc60cfcdb7
2020-05-07 18:49:11 +02:00
Oliver Smith f48c09d3bc ttcn3-*-test/jenkins*.sh: add $DOCKER_ARGS
Allow to pass options to each "docker run" line in the various
jenkins.sh scripts. I'm using this to run the testsuites and Osmocom
components in docker with the same configurations as jenkins, but with
Osmocom and testsuite binaries built outside and mounted into the
containers:

DOCKER_ARGS="-v /usr/local:/usr/local:ro -v $hacks:/osmo-ttcn3-hacks:ro"

This allows very short test cycles without a second set of configs. The
full script that makes use of this feature is in osmo-dev.git,
ttcn3/ttcn3.sh.

Change-Id: I8d1f78aee926f8f6ec0b704e16639bc83f525816
2020-05-06 06:22:12 +00:00
Oliver Smith 27ab2a5d52 osmo-hlr-master: run ldconfig
Fix error after DGSM-related patches were merged:

osmo-hlr: error while loading shared libraries: libosmo-gsup-client.so.0: cannot open shared object file: No such file or directory
Change-Id: I80554fdbfd2c518868485f84a46c56df985c671c
2020-05-05 13:58:52 +02:00
Harald Welte acf1d8f026 gerrit: Update to 2.16.18
Change-Id: I2979d892b38c6a7729fe2b39ad240e0a66323284
2020-05-04 11:34:00 +02:00
Pau Espin 0b68e53d23 ttcn3-pcu: Fix cfgn content after ttcn3 module renaming
Required after osmo-ttcn3-hacks.git:
Ie862a1525e9f4f9a3f2427ac3898810e3d044d2f
Iacaddb56e41012ba58ef6d1b9e79d2c012259bed

Change-Id: I0710f52ddab8da8638970d28dc88f6882cc5f637
2020-04-30 11:12:44 +00:00
Harald Welte c83c2b1616 open5gs: Add pgw.sh
This can serve as an entrypoint for running open5gs-pgw inside
the open5gs-master container.  It will run setup.sh to create the ogstun
device, followed by running open5gs-pgwd as 'osmocom' user.

Change-Id: I4527b5e328fb248552e69961b80b9f791ec74293
2020-04-27 11:19:36 +00:00
Harald Welte 793e9ff973 add open5gs-master docker container
Change-Id: I089c51caa1b1d8acf0063b7bc7fe61a805b5e800
2020-04-26 23:15:01 +02:00
Harald Welte da4f98181e add osmo-uecups-master container
Change-Id: Iafcf9639f7e44f19220a9d0f375444b168a6a392
2020-04-26 23:15:01 +02:00
Harald Welte 37ee8e0a57 debian-stretch-jenkins: Add osmo-uecups dependencies
The new osmo-uecups project requires libnl-3 + jansson

Change-Id: I592e8ae8677d5d0a90a6b6a5ed9a89789d7c9a5a
2020-04-17 13:23:18 +00:00
Vadim Yanitskiy bcfd877466 ttcn3-bts-test: enable time / date logging for fake_trx.py
Depends: Ie5d14a261e17af554f7132b03d58549a4831dcdb
Change-Id: I7f82e4f573db8f72256718c04bb1ace23788ba38
2020-04-14 18:00:16 +00:00
Pau Espin 42bb1385ee osmo-gsm-tester: Update path to sysmocom's specific setup
Since osmo-gsm-tester.git I364e0859c0851b9167907a4d948b659a0f6a19fb the
example/ directory has been renamed to sysmocom/

Change-Id: I8ca085e02330be51de12066da0555c1bc0c8b767
2020-04-10 21:02:43 +02:00
Vadim Yanitskiy b648126d15 ttcn3-bts-test/virtphy: remove deprecated 'ms-power-control dsp'
osmo-bts-virtual fails to start:

  Error occurred during reading the below line:
    ms-power-control dsp

  This BTS model has no DSP/HW MS Power Control support
  Failed to parse the config file: '/data/osmo-bts.cfg'

Change-Id: Ic85603db10c11de911d20313caf2f819e92d94d1
2020-04-05 20:14:40 +07:00
Vadim Yanitskiy 34152ebda6 osmo-bsc-{latest,master}/osmo-bsc.cfg: Remove 'nat' from logging
As of Change-Id Id965295dfe04f8bd5ce831db70c86f67b8dc290b the
bogus 'NAT' log category has been removed from osmo-bsc.

Change-Id: If02272c08ba2df37d1295d09c104d11f96abbe1e
2020-04-05 00:14:29 +07:00
Vadim Yanitskiy 716af8e633 ttcn3-bts-test/osmo-bsc.cfg: Remove 'nat' from logging
As of Change-Id Id965295dfe04f8bd5ce831db70c86f67b8dc290b the
bogus 'NAT' log category has been removed from osmo-bsc.

Change-Id: I266d6f6ed54d1457b1ca63b87fc1c29f6dd40caf
2020-04-05 00:07:50 +07:00
Harald Welte 33fe5f7d88 ttcn3-bsc-test: Remove 'nat' from logging
As of Change-Id Id965295dfe04f8bd5ce831db70c86f67b8dc290b the
bogus 'NAT' log category has been removed from osmo-bsc.

Change-Id: Ie2afacfc15589c26238214cddc00baaf80e993c1
2020-04-04 18:58:48 +02:00
Pau Espin f2373cc0ad osmo-gsm-tester/resources.conf: Add 2g,4g modem features attr
Since osmo-gsm-tester.git I38bcf6abf789f52c3ed0bee7911567fa872e2491
these features are included and used in the "4g" suite to allow
selecting 4G modems different than srsue.

Change-Id: Ie1942fd661b91218780bc52bb000d192259e2b69
2020-04-03 19:04:02 +02:00
Pau Espin 428858e642 osmo-gsm-tester: Require debian-stretch-jenkins as Dockerfile suggests
Some days ago the Dockerfile was changed to pull from
debian-stretch-jenkins instead of debian-stretch-build, since the first
one has extra runtime dependencies required by osmo-gsm-tester.
However, the jenkins script is still requiring the old dependency. Let's
update it accordingly.

Change-Id: If33aab60e04da7beb4cd0715d5cb3145c001823a
2020-03-31 19:31:59 +02:00
Harald Welte cf2e72b6e7 ttcn3-bsc-test: Enable CBSP tests
for some strange reason, the tests developed + merged in September 2019
are not yet automatically executed.  Let's fix that.

"latest" should work fine, the BSC side code was already present in 1.6.0

Change-Id: I4408265d1be900359256f5cab553893d03cc8362
2020-03-30 20:00:31 +02:00
Harald Welte 1bccbb8a66 update OBS Release.key; the old one expired today.
Change-Id: I0dd7d7f54a3eb93ca677f3bdc5e00f62694aaa9e
2020-03-30 18:06:58 +02:00
Pau Espin 52be9c2e40 osmo-gsm-tester: Print colored run output succes/failure
This way one can quickly see if osmo-gsm-tester run fine or an issue
ocurred and logs need to be checked.

Change-Id: I0b267889f403fc1505f9dd859568bc15a120dd81
2020-03-20 19:17:54 +01:00
Pau Espin 8e8f671711 osmo-gsm-tester: Allow changing host's trial directory
It's set to /tmp/trial by default for convenience, since it's a
temporary directory and easy to remember and to access. Still, let's
give the opportunity to change it (if user wants it to be stored in
persistent data or if has low amounts of non-persistent memory).

Change-Id: I2a7ea361c6156c97bd8d2d94cf1b6856344d4d9f
2020-03-20 19:17:35 +01:00
Pau Espin cafa320eba osmo-gsm-tester: Use non 'inst' name as target install dir, and remove it once archived
osmo-gsm-tester uses also the "inst/" directory, so using that name to
install from cmake is not a good idea here, since they will end up in
the same directory under /tmp/trial/inst.
Also, make sure the temporary install dst directory is removed after
creating the archive, since at that point is no longer needed.

Change-Id: Ib6610487140f0703d5817241bc4a63027696c1d4
2020-03-20 19:17:35 +01:00
Pau Espin 41230705dc osmo-gsm-tester: Build srsLTE inside the docker instance if inst not provided by host
osmo-gsm-tester.git/contrib/jenkins-build-srslte.sh cannot be used
because there's a need to split the fetch step from the build step.
That's because we want to fetch in the host (in order to use host's user
ssh key for potential private repos) while still building inside the
docker container, where we have all the dependencies (and where the
binaries are going to be run afterwards by osmo-gsm-tester).

During the changes above it was also noticed that /tmp/trial on the host
got its UID+GID changed (because we switch user inside the container to
downscale privileges). Fix it by chown'ing the directory back to the
host user's UID+GID.

Change-Id: Ia0db8fba840392a0b7883cfc15e45c2e80407a16
2020-03-19 20:13:58 +01:00
Pau Espin 853ddcd792 osmo-gsm-tester: Base docker image on debian-stretch-jenkins
That image contains extra runtime dependencies (such as libua5.3) which
may be required by software run by osmo-gsm-tester.

Change-Id: I5c6239e1beb0cdc6d2b1477ddb60d66debe5d1aa
2020-03-12 15:51:08 +00:00
Pau Espin 9145a91594 osmo-gsm-tester: Allow passing osmo-gsm-tester params from jenkins.sh caller
After this patch, one can run osmo-gsm-tester with specific parameters
(debug level, suite and tests to run, etc.) by using
OSMO_GSM_TESTER_OPTS variable:
OSMO_GSM_TESTER_OPTS="-s 4g -t ping -l error" ./jenkins.sh

Change-Id: I2e8ff51a3152125148c6a117a987e8c11a576e1e
2020-03-12 15:49:48 +00:00
Pau Espin d61b741a61 osmo-gsm-tester: Allow setting rtprio inside the container
This fixes for instance srsLTE being unable to create a thread with
realtime priority.

Change-Id: If0d033c6e912795804e6d7322c22fdfc6602028b
2020-03-12 15:49:48 +00:00
Harald Welte dbd6d77a7e remsim: Enable "classic" client tests (client in separate container)
Change-Id: I0754a7c3c9f9caa65d33bb0a404b53f826cd0a75
2020-03-12 09:34:38 +00:00
Harald Welte 1c39da5d44 osmo-remism-latest: Actually use 'latest', not 'nightly' feed
Change-Id: I790a7c0777298c7e9786521858d3fd9b39831ad6
2020-03-11 10:02:20 +01:00
Pau Espin 0e0085d03b debian-stretch-jenkins: Install libulfius from osmocom OBS repos
We currently build libulfius 2.5. It doesn't say anywhere in osmo-remsim
that libulfius-3.6.4 is required anyway.

Change-Id: Ie6b07f676f8e06959eaac5e865c163de3f9c939d
2020-03-04 15:30:11 +01:00
Pau Espin 4b686a004e osmo-gsm-tester: Copy limits.d files to docker image
These are required to allow setting rt prio for jenkins user inside the
docker container, as well as for being allowed to create coredump files.

Change-Id: I8ed6193196d739c1416976d431d07b8a0c55ee2a
2020-03-02 18:04:24 +01:00
Pau Espin 2a9cf7a53a osmo-gsm-tester: Improvements anv fixes to run 4G network with latest ogt version
* Fix wrong KI.
* Add an extra IP address to slave so that ENB and EPC can be run on
  different IP addresses and their GTP ports don't collide.
* Add required rf parameters to resources.conf

Change-Id: I0198bc99f75e9567ee717aa79e434ec28705fac9
2020-03-02 17:28:39 +01:00
Pau Espin 79032097dc osmo-gsm-tester: Add missing srsLTE dependencies (soapy)
Currently srsLTE trials link against soapySDR library to have LimeSDR
support. We need to move installation of those new packages further
below in the Dockerfiler because that lib version is only available with
osmocom repositories (which were added at a later point in the file).

Change-Id: Ia0e506954ffebd94adb75fec6bf481e41f9ec436
2020-03-02 17:28:39 +01:00
Pau Espin 3e59758fd7 osmo-gsm-tester: new versions require python3-numpy
Change-Id: Ic1a9edbaf4151aabd157f859ec6fbec30d4f27b0
2020-03-02 16:39:53 +01:00
Pau Espin c9fa2a8808 Introduce osmo-gsm-tester docker setup
This set up allows running a typical osmo-gsm-tester set up with a main
unit (ogt-master) attached to one (or more) slaves where resources are
located and processes are run.

As an example, current config allows running an iperf3 test over an srsLTE
stack using the ZeroMQ backend.

Change-Id: Iac7c0b613048ce332642d3957c55cc7c53b56d42
2020-03-01 19:23:00 +00:00
Harald Welte dc6979956c remsim: Integrate pcscd+ifd-vpcd for bankd tests
This way we can actually tests TPDU transmission from a simulated
remsim client through the real bankd into a simulated SIM card.

Change-Id: I584e4c5e3d120bfbd26ade545fe41e541308f26a
2020-02-18 08:17:06 +00:00
Harald Welte d08e26ecb4 osmo-remsim-master: Add vpcd + pcscd to Docker image
This way we can run the container with osmo-remsim-bankd + ifd-vpcd,
i.e. with a simulated smart card reader behind the bank.

Change-Id: I463eca0f66197b409e00028e75e9501de620cc8b
2020-02-17 22:29:36 +01:00
Harald Welte 8e2329e2ec redmine: We no longer need the hmac diff
The upstream redmine container/image has meanwhile upgraded to a more
recent version of the ruby base modules which don't require to be
patched anymore.

Change-Id: I0fd7684bdab55eece889a7d9e524ec2a25b30a3b
2020-02-16 10:47:10 +01:00
Harald Welte 3f2d5cf89c update gerrit to 2.16.16
We want to stay on the 2.16.x branch so we cannot use 'lastest'

Change-Id: I20d81678a2d759bb3ac2a31945e684bf4065a8ff
2020-02-16 10:46:59 +01:00