Commit Graph

738 Commits

Author SHA1 Message Date
Oliver Smith 8c04ad26ac Don't run "dpkg --add-architecture i386" on ARM
Building debian-stretch-jenkins on ARM currently results in a few
libraries getting installed for the i386 architecture. This results in
the following build failures for master-osmo-trx and master-osmo-pcu:

  checking for LIBGNUTLS... no
  configure: error: Package requirements (gnutls >= 2.12.0) were not met:

  No package 'gnutls' found

It is weird that we are only seeing this now, the dpkg-line has been in
debian-stretch-jenkins since the Dockerfile was added to osmo-ci four
years ago in Icb0406f96b0c18e77be51ad8317c2668fb23a45e. I'm also
wondering why it was added in the first place, and if we need it
anymore. In any case, running this on anything but x86_64 does not make
sense, so disable it there.

Change-Id: I8d890b7ebc7b99a4c79779709d1e56e0a5a6d4b9
2021-06-17 11:46:01 +02:00
Oliver Smith 4acbc1874e debian-stretch-jenkins: install libcdk5-dev
Build meas_vis from osmo-bsc.git in gerrit-verifications and
master-builds.

Related: OS#5173
Change-Id: I8c98542bf9902d6b4fbd2f8718006027b8520f19
2021-06-07 09:54:23 +02:00
Neels Hofmeyr 41745d5ca0 add ttcn3-bsc-test-vamos
The purpose is to run osmo-ttcn3-hacks/bsc/BSC_Tests_VAMOS.ttcn with
  osmo-bts-omldummy -f VAMOS
(send BTS_FEAT_VAMOS = true).

Change-Id: I2146388bf683cfba99cef5592b8b141c3a6eabb1
2021-06-05 20:33:22 +00:00
Vadim Yanitskiy 19d334a238 ttcn3-bts-test/BTS_Tests.cfg: execute VAMOS specific test cases
Change-Id: I421f6ce5b689cd221f000043fcc0f5985e266e95
Related: SYS#4895, OS#4941
2021-06-03 05:01:20 +02:00
Daniel Willmann 87c03a40c5 ttcn3-gbproxy-test*: Update gbproxy NS timers
Change-Id: I7d436327bb57a3f6c6b071c28308c8a74561d93c
Related: OS#4952
2021-05-28 18:48:55 +02:00
Oliver Smith 4ae6ba75b4 jenkins-common.sh: add image_suffix_is_latest
Make sure we run the latest-code paths for "latest-centos8" too.

Change-Id: Ibcc7dfb092b3766ef9b189ae990b43fdb746a022
2021-05-21 16:24:58 +02:00
Oliver Smith 9f9782a702 ttcn3-sgsn-test: fix config sed for latest
Change-Id: I17d0554188fad6f890f844bf978d622661290fce
2021-05-21 16:24:16 +02:00
Pau Espin 6947d06b6e ttcn3-sgsn: Update config to test RIM over GTPCv1
Related: SYS#5314
Depends: osmo-ttcn3-hacks.git I9dcf6ee2dc55bc6aba178eca30080233254f025e
Change-Id: I002da9afe5a7a3263fa4fda5d82fbc8d0faa0e18
2021-05-18 11:18:00 +02:00
Harald Welte c64b3155d8 ttcn3-stp-test: Add mp_stp_has_asp_quirk:=false for latest
Change-Id: Ib9a07a96f1adf871150e63eaf49a7e18c57d067e
2021-05-13 22:05:35 +02:00
Pau Espin 5882c8b6db osmo-gsm-tester: Update srsLTE references to srsRAN
Change-Id: I58d4c26337382ad9e66a569a482e77442137383a
2021-05-12 18:23:10 +02:00
Oliver Smith cdcce03966 jenkins-common.sh: support 2021q1 feed
Adjust docker_depends and docker_dir_from_image_name for 2021q1. Extend
README.md with examples.

Related: SYS#5370
Change-Id: Icf1e3f1928658ff3d82190c4176252cf3590a1f5
2021-05-04 12:20:05 +02:00
Oliver Smith 8e95373986 osmo-*-latest: use OSMOCOM_REPO_VERSION
Related: SYS#5370
Change-Id: I237a296ea8a1e08bc31f351c5f42a59fe7438815
2021-05-04 09:30:48 +02:00
Oliver Smith 6ad42884a5 centos8-obs-latest: use OSMOCOM_REPO_VERSION
Related: SYS#5370
Change-Id: I5eb0d9943ac5c3ffe800774f1a91897fdf0ca0c3
2021-05-04 09:30:48 +02:00
Oliver Smith dd9eafdb0c make: add OSMOCOM_REPO_TESTSUITE_MIRROR
Make it possible to set a different mirror for debian-stretch-titan than
for all other containers. 2021q1 doesn't have the eclipse-titan package
and it doesn't make sense to build it there.

I've thought about adding OSMOCOM_REPO_TESTSUITE_PATH and
OSMOCOM_REPO_TESTSUITE_VERSION too, but we don't have any use for these
right now. Let's add them later if we should need them.

Related: SYS#5370.
Change-Id: I7187473c2188a864b60b03789eff62e0a527404a
2021-05-04 09:30:48 +02:00
Oliver Smith 910dacf686 make: add OSMOCOM_REPO_PATH
Allow to change the path between OSMOCOM_REPO_MIRROR and
OSMOCOM_REPO_VERSION. While at it, tweak related comments (comment above
the variable as usually, replace "repo" wording with "feed" for the
latest/nightly variable as we usually refer to it as feed), and mention
OSMOCOM_REPO_* in README.md.

In order to be able to use a different mirror for testsuite and systems
under test, the testsuite related Dockerfiles (osmocom-bb-host-master,
debian-stretch-titan) are not using OSMOCOM_REPO_PATH. We could add a
OSMOCOM_REPO_TESTSUITE_PATH on demand, as mentioned in the next commit.

Related: SYS#5370
Change-Id: I8010a4d49d4620a5c47c2ff4f909a9aeeaad7b73
2021-05-04 09:30:48 +02:00
Oliver Smith 84255c7bb8 centos8: don't download .repo file
Generate the .repo file on the fly instead of downloading it from the
OBS repository. Ensure the gpgkey gets downloaded via HTTPS. I'm about
to use centos8-obs-latest with an alternative repository, which does not
have the .repo file. Adjust other containers for consistency.

Related: SYS#5370
Related: https://download.opensuse.org/repositories/network:/osmocom:/latest/CentOS_8/network:osmocom:latest.repo
Related: https://download.opensuse.org/repositories/network:/osmocom:/nightly/CentOS_8/network:osmocom:nightly.repo
Change-Id: Ic9ffa79cfe5a74bdc59d5ddd505a9af7be574bf9
2021-05-04 09:30:48 +02:00
Oliver Smith ce8da526b0 centos8-build: use nightly URL to invalidate cache
Fix copy paste mistake.

Change-Id: I1c5cfe782207af2a2e505fa30e77b9ea9fd143c5
2021-05-04 09:30:48 +02:00
Vadim Yanitskiy b9646a9ffc arm-none-eabi-gcc-4.8.2: install missing packages
These are needed for building osmocom-bb and its libosmocore.

Change-Id: I1cee58985225bd1c6600b0025d0417d66f441449
2021-05-03 02:15:20 +02:00
Oliver Smith e65d7e4efe debian10-obs-submit: new container
Add new container to be used by osmo-ci
Icc89e20950c2aaa67b209340d1d797b76fce32d2.

Related: SYS#5370
Change-Id: Ibb55ad18d2ccf4313f52fa3e3c10d4420c84dced
2021-04-29 13:09:05 +00:00
Oliver Smith d3359e2bce make: add UID as --build-arg
Allow to give the user running inside docker the same UID as the user
outside.

Change-Id: I4b3689a626c50c9ac38eca6b5449b8ec0344c3de
2021-04-29 13:09:05 +00:00
Harald Welte d883114318 osmo-mgw: Use DSCP value in valid range (<= 63)
DSCP is a 6-bit value, it cannot be 184.

Change-Id: I72133e6ac5674577595f9d98e3fc68f8d741819c
2021-04-28 19:28:36 +02:00
Harald Welte 967d903040 remove deprecated 'logging level all everything' from configs
it has been deprecated in libosmocore.git 2.5 years ago:

commit 7e0686c6b4b456ec4e6e15689694b1bcf96c301f
Author: Neels Hofmeyr <neels@hofmeyr.de>
Date:   Mon Sep 10 20:58:52 2018 +0200

Change-Id: Ia6946fae497319a894d4e664ac8642340620822e
2021-04-25 13:11:03 +02:00
Harald Welte 11591e496e Add ttcn3-pcap-client-test
This runs pcap-client IUT against the TTCN3 ATS for pcap-client

Change-Id: Ie94106b1d1f348cd66f4b5304be6021dbaf732e1
2021-04-25 13:11:03 +02:00
Harald Welte f32df20e12 Add osmo-pcap-latest
Change-Id: I1da28383117d0f81d7857fa27ba837d77f0079e0
2021-04-25 13:11:03 +02:00
Harald Welte 0175e4c902 Add osmo-pcap-master
Change-Id: I8ff63d028310fecbd07328073d0f4bf15489ded4
2021-04-25 13:11:03 +02:00
Alexander Couzens 74e10366e1 ttcn3-pcu-sns: add vty parameter to allow ttcn3 to connect
Otherwise it will try to connect to 127.0.0.1.
Fixes jenkins ttcn3 test TC_sns_1c1u_unconfigured_nsvc.

Change-Id: I4b375a60c4f948c282337ca30643d14407f8239e
2021-04-14 12:42:18 +00:00
Oliver Smith 948e450794 osmo-gsm-tester: open5gs deps only for x86_64
mongo-db is only available for x86_64 from their third party
repository. Don't attempt to install it for another architecture. As
this is part of the open5gs dependencies, don't install any of them
either.

This should fix the currently failing "update-osmo-ci-on-slaves"
jenkins job. I've considered disabling the build of the osmo-gsm-tester
container for ARM altogether, but the osmo-gsm-tester manual explicitly
mentions ARM trails.

Change-Id: Ieed36b1adf4b9ae147c7ee7ade22d4855c3dbac8
2021-04-14 09:39:00 +02:00
Harald Welte 66a36a078d gbproxy: Switch to IP-SNS on the BSS side
When testing gbproxy with an IP BSS, we want to use IP-SNS as that
is the more relaistic use case in practice.

This un-breaks the dockerized tests since I90bd101096979b170c38fa2a80abb80d296c4d2e
was merged in osmo-ttcn3-hacks.git

Change-Id: Id1324e019b7f148f8d33977c0089e996089e1e59
2021-04-12 15:37:13 +02:00
Pau Espin 0e6108a007 ogt: Add support to build open5gs
meson from open5gs requires debian10's version. physicial sysmocom OGT
setup already migrated to debian10, do the same here.

Related: SYS#4805
Change-Id: Id329726f93251b617219beeb674046065c30a436
2021-04-12 14:00:19 +02:00
Harald Welte a8d0c95710 gbproxy: Add mp_gbproxy_ip to check BVC FSM state
In docker-playground.git I272e43b9be8ba53d8a815e8ab099c939f63413a7
we introduce FSM state introspection and we need to add the CTRL
hostname here.

Change-Id: Idcd77353a661cfc1685ded64b5993ff63637addc
2021-04-09 10:40:54 +02:00
Oliver Smith 7ff8bea9f5 docker_images_require: list installed Osmocom pkgs
Display an overview of installed Osmocom packages at the start of each
ttcn3-*/jenkins.sh script (and others making use of
docker_images_require).

Closes: OS#5091
Change-Id: I62670017d790fd67c6a0d8d464386c0f8e94c1a8
2021-04-07 18:39:18 +00:00
Vadim Yanitskiy 9d7a3b2aac Check in GCC 4.8.2 based cross compiler for ARM EABI target
I used this one for building old OsmocomBB branches, which do not
compile with modern arm-none-eabi-{gcc,binutils,newlib} toolchain.

Change-Id: Ide93843836f059a3750e92a973d0a6d9cf9a5638
2021-04-07 16:42:46 +00:00
Harald Welte 6f47979bdd Add ttcn3-ns-test-fr container
... which requires some modifications to osmo-ns-master
regarding pipework / docker-entrypoint.sh

Change-Id: I418f81eb1fbb2b15335ef64a3aa04d1c98a452c9
Related: SYS#5396
2021-03-31 10:17:14 +02:00
Harald Welte 90bf14ed06 Add ttcn3-ns-test-sns container
Change-Id: I8fc4f6453f04aa579762da9200900f25e78034c5
Related: OS#5396
2021-03-30 22:38:45 +02:00
Harald Welte 3862858434 Add ttcn3-ns-test container
Change-Id: I45d211f4edd39e5be8f63185f1b7bd100fb2644b
Related: OS#5396
2021-03-30 20:32:52 +02:00
Harald Welte 3fc5b8af4e add osmo-ns-master container with osmo-ns-dummy binary
Change-Id: I8372088722f5a487e0068418d543bd5cc707a5a1
Related: OS#5396
2021-03-30 20:11:50 +02:00
Pau Espin 51493aa388 ogt: Update base image to debian buster
The OGT build setup and the physicial setup use now debian buster. Let's
update this container too to buster to avoid different versions of libs
during build and runtime (such as libasan).

Change-Id: If5adfb3c52ec5ded2adaca984e7a8c05f5866d34
2021-03-22 12:24:12 +01:00
Pau Espin c1f302c2e7 Add debian-buster-jenkins docker setup
It will be used by osmo-gsm-tester docker image right now, and at some
point in the future jenkins nodes will also migrate to it.

Change-Id: Ibfdec6007357a90212dea7d39300f04ce8ffdf65
2021-03-19 07:16:12 +00:00
Vadim Yanitskiy b912c80cc2 ttcn3-bts-test: OML tests ivolve no GSMTAP Um logging
Change-Id: I50891130eaf7957efbf71839564a5dd9d58a1e3f
2021-03-18 02:35:21 +01:00
Vadim Yanitskiy b3aaf7a3cf ttcn3-bts-test: use 'gsmtap-sapi enable-all' parameter
Keep PDTCH/PTCCH disabled, it will blow up PCAPs otherwise.

Change-Id: I551a6da7858342279db3c5e8ebff250a7922a291
2021-03-18 02:35:03 +01:00
Vadim Yanitskiy 76e2529e42 ttcn3-bts-test: use 'gsmtap-remote-host' parameter
Command line argument '-i' has been deprecated.

Change-Id: Ib01069a55a27e79c67b76abe39763c1b645075e5
Related: I17676a21c4e0c9cbc88f2c5c53a39c6c6c473ca1
2021-03-18 02:34:11 +01:00
Harald Welte 43b1f4a901 fr: kill the frnet container before trying to 'rm' it
+ docker container rm jenkins-ttcn3-fr-test-109-frnet jenkins-ttcn3-fr-test-109-ttcn3-fr-test
jenkins-ttcn3-fr-test-109-ttcn3-fr-test
Error response from daemon: You cannot remove a running container 4f5ec7f412b2d37d00b2738b2bcddffada36efebfe7ce32ed196543ee436154e. Stop the container before attempting removal or force remove

Change-Id: I66ed0d073bdd6962f78da54232d6bc58adc09e2c
2021-03-16 16:23:51 +00:00
Pau Espin d909f50176 ogt: Drop old arfcn leftovers from resources.conf
Those arfcn objects were never really used smartly and new versions of
OGT don't support it.

Change-Id: I0cbcd0f3df92393f03f29c81013e1f4b6b9aa830
2021-03-16 15:52:59 +00:00
Vadim Yanitskiy a8d37628a0 ttcn3-docker-prepare.sh: fix handling of multiple PROJECTs
Change-Id: Ib921d7c5cb2c628f3eca8d5c886375f3288e1dd6
2021-03-16 16:06:04 +01:00
Vadim Yanitskiy c91f6c4df5 ttcn3-fr-test: store execution logs for both containers
Change-Id: I60e60bfdc9f6b8fde81189d35d0ca4e73e310cc7
2021-03-16 15:45:42 +01:00
Vadim Yanitskiy 241547a6ba ttcn3-fr-test: add missing TTCN3_PCAP_PATH for '-frnet' container
Change-Id: Ide1b10f342f1f9d2b3bf432291218ed057f51de8
2021-03-16 11:10:08 +01:00
Vadim Yanitskiy c553d187c2 ttcn3-sgsn-test/osmo-sgsn.cfg: drop deperecated log categories
Change-Id: I7e307eb2c504ff392edda5e6a25cdda5fcdc6442
2021-03-14 21:08:06 +01:00
Harald Welte b7d6f7d019 debian-stretch-build: add missing respawn.sh
In I3ec86c8610b3b43d39ea8e3da444861d317ced4e the container-individual
respawn.sh has been replaced with a common one - but unfortuantely
missing to update the debian-stretch-build, which made (at least)
ttcn3-bts-test builds fail for two nights now.

Change-Id: I15dcfe317d7ba81b9df0b5ceef142f4eae1ef3f3
2021-03-13 09:10:01 +00:00
Pau Espin f8d5d50029 ttcn3-pcu: Disable sending all DATA.ind on pcu -latest
Change-Id: I4365d54c64e750a708e04e36ea131ec7499560f1
Depends: osmo-ttcn3-hacks.git Change-Id Ib4f97a9bcfa68230945effeb6412218faa64ec78
Related: OS#5020
2021-03-12 11:51:35 +00:00
Vadim Yanitskiy ef0f49aa4b Share a single instance of Release.key between all images
This change employs the same approach as [1] for Release.key.

Change-Id: Ic51d6e6557ee0b56d21d8ff4feaf04bc02e41a2e
Related: [1] I3ec86c8610b3b43d39ea8e3da444861d317ced4e
2021-03-10 18:47:03 +01:00