Commit Graph

616 Commits (8f60d951da9a265062856e679b9b87c7c2297a2d)

Author SHA1 Message Date
Oliver Smith 8f60d951da Cosmetic: debian-stretch-jenkins, osmo-gsm-tester: fix indent
Change-Id: Ia6b12b2c35f69eb0434797b29ee0ef676b032250
2021-01-13 15:56:06 +01:00
Oliver Smith f92edcc32f debian-stretch-jenkins,fpga-build: add gsm-manuals
Prepare to remove ' osmo-gsm-manuals' calls from all

Related: OS#4912
Change-Id: Id402e0ea372b5ca8a6c8f6f5beb190544c888207
2021-01-13 15:55:52 +01:00
Oliver Smith b68cfd7fa9 fpga-build: add osmo-ci
Clone osmo-ci.git, and install all files from scripts/* to

Related: OS#4911
Change-Id: I3625d6f10e566101fb25963757da6827670ca41b
2021-01-13 15:54:23 +01:00
Alexander Couzens 26003afcbc make osmo-gbproxy.cfg in ttcn3-gbproxy and ttcn3-gbproxy-fr to look similiar
Reduces human error when changing the configruation for both

Change-Id: I807589cc04f23d483695467320d34d79eaf5d290
2021-01-12 12:20:24 +01:00
Alexander Couzens 460e3070d3 ttcn3-gbproxy-test-fr: fix SNS ip address
Change-Id: Iba5aee47fb237884d4b0238b9cef4e2370e7ce09
2021-01-12 12:20:15 +01:00
Oliver Smith 8f2210f528 debian-stretch-jenkins, osmo-gsm-tester: add osmo-ci
Clone osmo-ci.git, and install all files from scripts/* to
/usr/local/bin. Together with osmo-ci
I45bd7ea56849dab839a98cfd52806f7cd288094e, this will make overwriting
PATH obsolete.

Related: OS#4911
Change-Id: I0820f13cd740f7d4a8999d279cef6ae293a67d81
2021-01-12 08:26:25 +00:00
Alexander Couzens 663c77203b gbproxy-fr: Enable IP-SNS towards SGSN
Change-Id: Id59cc404c355a3f494ad60be8d3a499b217084ec
2021-01-11 22:50:59 +01:00
Daniel Willmann 6ef07ae1b9 gbproxy: Enable IP-SNS towards SGSN
Change-Id: Iebbad7131d73c15ef7ded5eadce882c653b8bf2c
2021-01-11 01:51:24 +01:00
Daniel Willmann 096f6a0030 ttcn3-gbproxy-test: Fix pcap capture with dumpcap
In commit 2279aac6 dumpcap is used to capture pcaps, but dumpcap fails
if the directory isn't writable for everyone.
Commit 62ac27779 only fixed this issue for frame relay, this simply
mirrors the change for ttcn3-gbproxy-test

Change-Id: I11dcf9efd0b06544a82e31dec03fe76e182fd0d3
Related: OS#4518 SYS#5115
2021-01-08 16:51:37 +01:00
Daniel Willmann da8c47ecb5 ttcn3-gbproxy-test: Fix osmo-gbproxy config
Change-Id: If6fd41d0cecb807f002d87e18d4b0d80f41977ef
2021-01-05 18:48:46 +01:00
Harald Welte a6fc3bf44c osmo-gbproxy: Change config file to comply with change in upstream
In osmo-sgsn Change-Id Id67592aa7712e5e04e7264b2fb8f26d57eb7e69e we
have changed the config file syntax and must adjust here accordingly.

Change-Id: I8770baac2298ee9a71d7428ea30600751783b4f9
Depends: osmo-sgsn Id67592aa7712e5e04e7264b2fb8f26d57eb7e69e
2020-12-30 00:15:25 +01:00
Pau Espin d3bd2c2ba9 Introduce osmo-ran docker image set up
See osmo-ran/ in this commit for a description.

Related: SYS#4889
Change-Id: If5d22e9fa818310cbb4adc34bd7aceb4416ec969
2020-12-18 11:45:33 +00:00
Harald Welte 10c2ba7ea4 fpga-build: install missing toosls required for 'publish' and manuals
Change-Id: I7b416117e80133fcf4c07ee540d15783f4576fbd
2020-12-17 17:14:25 +01:00
Harald Welte 43ec5b7eab fpga-build: Make sure PATH is also set for non-root users
Change-Id: I16bf9c8cafbad85a6ec77f17b034c73f530565b9
2020-12-17 16:31:37 +01:00
Harald Welte bd4e9c2d9d fpga-build: Create 'build' user like in 'debian-stretch-jenkins'
Change-Id: Id99167568751b19f3454831e69eacdbadaf8aee4
2020-12-17 15:37:15 +01:00
Harald Welte 7500aebce7 fpga-build: Add packages required for rendering manuals
Change-Id: Ic9bec0689b3571db9cafa8a1671aa3bc68c3f4e5
2020-12-17 15:37:15 +01:00
Vadim Yanitskiy c52dbbe7f0 ttcn3-bts-test: fix: sleep 1 second before respawning the IUT
There has been a lot of changes merged to both osmo-{bsc,bts}, so
now the later seems to be respawning faster then before.  Because
of that, osmo-bts-trx is now reaching the limit of 500 runs on
Jenkins right in the middle of ttcn3-bts-test execution: exiting after 500 runs

causing the remaining test cases to fail due to:

  "BTS_Tests.ttcn:253 : Timeout waiting for RSL bring up"

Most likely, the IUT respawns several times in the windows between
the test cases, i.e. after TITAN finishes one test case and before
it starts another.  Let's instruct to sleep 1 second
before starting the process again.

Change-Id: I09e5a8e7c4d28424cd0d004a8bae3cf0ade2d838
2020-12-16 14:07:12 +00:00
Harald Welte e05b032db9 fpga-build: Make riscv + fpga toolchain version configurable
Change-Id: I8969e383975c673c29169ff5b60229c4a75a499c
2020-12-16 10:54:37 +01:00
Harald Welte 37f3d4594b centos8-build: Make 'make' work again
Change-Id: I695ff7d6db7026a3b91771d4964f23d3151ef0aa
2020-12-16 10:54:37 +01:00
Harald Welte de52a89d0d migrate from CentOS_8_Stream to CentOS_8
Change-Id: I72c8fdae14816ec0a243f3fca4b4c2a49b562845
Related: SYS#5250
2020-12-16 10:54:37 +01:00
Harald Welte 62ac277796 gbproxy-test-fr: Avoid dumpcap failing to write to /data
Change-Id: I73dbdb4d85342e5fccd5ea4d9927f3244293d718
2020-12-11 18:11:52 +01:00
Harald Welte 5bffa66272 debian-stretch-titan: Add wireshark-common for dumpcap
We need dumpcap by

Change-Id: I0879710ff200bde7f77584dfb69cfb14f02f5d69
2020-12-11 15:26:14 +00:00
Harald Welte 2279aac61c ttcn3-gbproxy-test: Use dumpcap instead of tcpdump
This is required for creating proper pcap files with both ethernet
and framerelay/hdlc traffic.

Change-Id: Id237c25b12e70a89f12bd6d745b09c3abf9b7a7a
2020-12-11 15:44:46 +01:00
Harald Welte a10c26d6f7 ttcn3-gbproxy-test-fr: depend also on osmo-sgsn-master
osmo-gbproxy-master is derived from osmo-sgsn-mater, and the former
needs to be re-built to catch up with osmo-sgsn.git changes (Where
the osmo-gbproxy source code is located)

Change-Id: I8abc9f89d19d657403569b7705cd923342ff300b
2020-12-11 12:16:07 +01:00
Vadim Yanitskiy e1e8d3c592 debian-stretch-titan: use dpkg to install libfftranscode
For some magic reason, apt segfaults while installing the DEBs:

  $ apt install ./libfftranscode0_0.3_${DPKG_ARCH}.deb \
  WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
  Reading package lists...
  Segmentation fault (core dumped)

so it kind of confirms the warning about its stability ;)

Change-Id: I7f3288161577b055145afe89de7dff50853760f5
2020-12-10 15:19:22 +00:00
Harald Welte 233d37ee88 ttcn3-gbproxy-test-fr: Fix hdlcnet device names
In Change-Id I80de01c96185c60fe2de7a8ffa9daed2669658e1 we introduced
the wrong hdlcnetX device names.  We must use each devoce only once,
rather than trying to use hdlcnet1..4 twice.

Change-Id: I56f75995fe94b46b0210de2a4f83e384b4e4ca4f
2020-12-09 19:28:51 +01:00
Pau Espin Pedrol ffd76f2060 centos8-build: Use arg OSMOCOM_REPO_MIRROR
Change-Id: If2aefff04792fe4d215fcc52377bec64d9a1db2d
2020-12-09 16:36:17 +00:00
Harald Welte 120f786a54 centos8-repo-install-test: Upstream requires 'powertools' not 'PowerTools'
I just confirmed: With a centos:centos8 base image of a few weeks ago,
"PowerTools" works. With the current docker base image for
centos:centos8, only lowercase "powertools" works, uppercase is no
longer accepted.

Change-Id: I0db6c82576c5aae94531b7ec2fd98429cab702de
Closes: SYS#5244
2020-12-09 17:09:32 +01:00
Harald Welte d3dacd4ad4 gbproxy-test-fr: Fix syntax error in config file
It's mp_enable_bss_load_sharing, not mp_enable_load_sharing

Change-Id: I0d2241e0d9e376f27d04721034b1e197901aa662
2020-12-09 12:02:39 +01:00
Harald Welte ec62979d51 centos8-build: Upstream requires 'powertools' not 'PowerTools'
I just confirmed: With a centos:centos8 base image of a few weeks ago,
"PowerTools" works. With the current docker base image for
centos:centos8, only lowercase "powertools" works, uppercase is no
longer accepted.

Change-Id: I518d5523688a7439f76684ee38bf743a4e78c9fd
Closes: SYS#5244
2020-12-09 11:05:27 +01:00
Harald Welte 5e299ecfea gbproxy: Enable test of load-sharing when running over FR
Change-Id: I2ce1f67dc8f45f7a62a923e45fb479c4c482eec9
Depends: osmo-ttcn3-hacks.git I96e8b6a1a69148f770476e87c920dc256c1d7379
Related: OS#4520
2020-12-08 08:37:53 +01:00
Harald Welte 01eb160c53 gbproxy: update ttcn3 configuration to reflect osmo-gbproxy.cfg
In Change-Id I80de01c96185c60fe2de7a8ffa9daed2669658e1 we updated
only the osmo-gbproxy.cfg, but noth the GBProxy_Tests.cfg for the
test suite, which of course won't work.

Change-Id: I35603dc76926d76e57993f7eab1354eea8d25dad
Related: SYS#5226
2020-12-08 08:37:53 +01:00
Pau Espin Pedrol a14d7912e2 Rename centos-repo-install-test/Dockerfile to centos8
We are using centos8 as distro name instead of centos everywher else
and are expecting that.

Related: OS#4888
Change-Id: I05b012abced5b812e74315ccf64365896412e876
2020-12-07 13:28:00 +00:00
Daniel Willmann 2689304aa5 ttcn3-gbproxy-test-fr: Catch up with config changes
Change-Id: I80de01c96185c60fe2de7a8ffa9daed2669658e1
Related: SYS#5226
Depends: I698a932b3dc78c776e9350283109463bcdc40e6b (osmo-ttcn3-hacks)
2020-12-04 20:09:04 +01:00
Pau Espin 7d7a06b749 common: Introduce OSMOCOM_REPO_MIRROR param
This allows easily changing to another osmocom repo base URL if the
default one is down.

Related: OS#4862
Change-Id: I8010b08f3dabacfb3c13a44eece6c7a490e0742e
2020-12-02 14:27:02 +01:00
Pau Espin 78ae9377a7 common: Automatize UPSTREAM_DISTRO name based on image name
Similar to what is already done with DISTRO, which points to given image
of ours based on name. This time we do the same with upstream images,
such as debian:stretch or centos:centos8.

This way, for instance calling docker_images_require
"osmo-bsc-latest-centos8" would try to build the
osmo-bsc-latest/Dockerfile file starting from a centos8 image.

Change-Id: I33cb21aa024396974559fd98f9f3c64e2c351eda
2020-12-01 11:46:20 +00:00
Harald Welte b83c28fc34 Add ttcn3-gbproxy-test-fr for FR related testing
Testing FR support in osmo-gbproxy is a bit more complicated
as it involves the "hdlc" net-devices privded by the hdlc_fr.ko
kernel module.

So we need to
* run on a host with actual hdlc net-devices (e.g. dahdi_dyamic_loc)
* move those net-devices into the containers after starting them
* wait for the net-devices to appear in the containers before starting
  either gbproxy or the test suite

Change-Id: Id4b52877db53cb6e59f6d0d3f754aaae633949e8
2020-11-30 15:50:31 +01:00
Harald Welte 29f454f2f2 osmo-gbproxy-master (derived from osmo-sgsn-master)
Using a separate container will allow us to do gbproxy specific things
like waiting for physical net-devices to show up in the docker netns
before actually starting the osmo-gbproxy executable

Change-Id: I5e6351055ac9430f13e43291cf2a9d52683fe6bf
2020-11-30 15:50:01 +01:00
Harald Welte 8368c2b973 debian-stretch-titan: Use correct architecture of libfftranscode
We cannot blindly assume that we're running on amd64.

Change-Id: I937d7b02a194244a62b79dbe6b78c27f7baabeb6
Related: OS#4727
2020-11-14 22:54:09 +01:00
Harald Welte ddf61d2453 debian-stretch-titan: use libfftranscode 0.3 (latest version)
Change-Id: Id7e285b170a2f36067a29985c577c3d44d7c7204
Related: OS#4727
2020-11-14 22:47:34 +01:00
Harald Welte 70fcc1124b NS_Configuration: Adjust config regarding support for NS-VCG
In osmo-ttcn3-hacks.git Change-Id If1220852785853f8a5d8de183d5053ddd6ccb958
we introduce support for multiple NS-VC inside a NS-VCG.  This modifies
the configuration structures, and we need to adjust all config files

Change-Id: I6ac250555c3ac2aa8feb70bd3a052aafec5d4210
2020-11-13 09:23:11 +01:00
Pau Espin 1210086f95 ogt: Install dependency python3-watchdog
Change-Id: I9136cef6b5a7be085c840dd798bc21493f0a47a6
2020-11-10 17:26:44 +01:00
Harald Welte 027826fdba introduce 'REGISTRY' argument to all Dockerfiles
This is initialized to, keeping the default behaviour
if not specified.  However, it allows us to specify a private
registry later on.

Related: OS#4839
Change-Id: I32d4ee6256033c809108c1b86cb6b6c58d880f49
2020-11-02 17:02:26 +01:00
Harald Welte a90660bef8 osmo-mgw-master: Add missing libosmo-abis dependency on CentOS
Change-Id: I2f2368aa1dba52937164ade319722f1e85635f15
2020-10-25 10:47:03 +00:00
Pau Espin d5bd67d602 ogt: Create grbroker target directory
This is needed on the target remote hosts, where osmo-gsm-tester will
install a copy of the script to run remotely at runtime.

Change-Id: I59151dfe7091628707cd016db42171d22729a60c
2020-10-21 12:34:05 +00:00
Pau Espin e89c0d2ede ttcn3-bts: Enable gsmtap sapi for tch in osmo-bts.cfg
Change-Id: Idbd30800538200970de7a7fba6cd051cdf7ff252
2020-10-21 11:55:19 +00:00
Neels Hofmeyr 6c61185db4 fix ttcn3-smlc-test/Dockerfile
Change-Id: I6a53b3f398d807233a53cad61ae61b5f0c89b971
2020-10-21 00:46:10 +02:00
Daniel Willmann d047266211 gbproxy: Fix docker config for SGSN NS port
Related: SYS#5002
Change-Id: Idcd594714b3a525d496c471f16b62addf7d25ea9
2020-10-19 14:57:35 +00:00
Pau Espin 2ac3deec0b osmo-gsm-tester: Install gnuradio dependency
The python bindings of gnuradio are used to control a zmq connection
broker between srsENB and srsUE to emulate attenuations.

Change-Id: Ic4e8c4d6a5d1e20dd336ff15868c7c3f51dea323
2020-10-16 16:13:15 +02:00
Neels Hofmeyr 738ec9d51f bsc: add missing 'smlc / enable' for LCS tests
This part is missing from the already merged
which enabled LCS tests for osmo-bsc.

Change-Id: I873d6e46e00ee0e91b15d719829baff2bf9f115a
2020-10-16 15:49:04 +02:00