Commit Graph

852 Commits (8e3b3ff43c721326451e357cc4fbb685138df79f)

Author SHA1 Message Date
Oliver Smith 476e38e4ef ttcn3-stp-test: rename mp_stp_has_asp_quirk
Rename the option to mp_osmo_stp_newer_than_1_4_0, because I'm going to
use the variable in an upcoming osmo-ttcn3-hacks.git patch for something
unrelated to the asp quirk so we can avoid introducing another variable.

Related: osmo-ttcn3-hacks I43b1aa2c029c88c88320d40f60df46a5eb6c4c24
Related: OS#4239
Change-Id: I6a32398242b53c827a94cf65e4a35900a7c4171a
2021-08-16 09:34:20 +00:00
Philipp Maier a102bfef54 osmo-mgw: add missing statsd configuration
The recently added test TC_dlcx_wildcarded depends on statsd information
from osmo-mgw but in the osmo-mgw configuration no statsd is configured.

Change-Id: Ic4f0c57f56fe400bdb9a1948917f0eeb1d7e7427
Related: SYS#5535
2021-08-12 15:44:02 +00:00
Oliver Smith 21a42f2007 ttcn3-pcu-test: add mp_osmo_pcu_newer_than_0_9_0
Related: SYS#4878
Change-Id: Iabd0cf658f2b8e2913824b899c5bd012c587c21d
2021-08-10 10:37:27 +00:00
Oliver Smith e2ba582225 ttcn3-pcap-client-test: set vty port to 4227
After moving the default VTY port for osmo-pcap-client from 4237 to
4227, it is different in nightly and latest. Configure the SUT and
testsuite to use 4227 for both nightly and latest.

Related: OS#5203
Change-Id: I6d45340429925fe5e98cc4e597a01ef51e8322ae
2021-08-09 08:59:23 +02:00
Philipp Maier 5c3ad38f83 MGCP_Test: set STATSVTY.CTRL_HOSTNAME
The the following patch I61e23e264bc85eb36d07431c7839fb445c110947
introduces the stats interface on the MGCP_Test testsuite. This means
that STATSVTY.CTRL_HOSTNAME must be set up correctly, otherwise all
testcases will fail.

Change-Id: I693cc17dbf6836e7a74b34111671b6e589744a63
Related: SYS#5535
2021-08-06 14:11:23 +00:00
Harald Welte d2014603a7 debian-stretch-titan: Wait for interface to be _up_ not just its existance
I've seen at least one instance where -EIFDOWN was returned when the
test suite was coming up.  This is a race condition, as we first
have to move the netdev into the namespace and only then can configure
it.  "pipework wait" only waits for its existence, not until it is up.

We cannot revert the order, as the netdev looses its state when it
is moved to a different netns.

Change-Id: I1bfb6eb925bca4e4e1901e06eed831152cddbbe2
2021-07-28 11:46:12 +02:00
Pau Espin ac920b7716 ttcn3-bsc: Drop mp_enable_osmux_test
This module parameter is never set to false anymore, since latest
already supports the feature for a while.
The module parameter will be removed soon in osmo-ttcn3-hacks, so let's
drop using it here too.

Change-Id: Idf459365e9aa42f7efd2a418cadea63ec49bdd7a
2021-07-20 17:02:40 +02:00
Pau Espin 14b12829fc ttcn3-bsc: Disable dyn TS SDCCH8 tests for latest
With this we'll avoid running the test in latest. This way we'll not
fail after changing the TS for the test and hence other tests won't be

Related: SYS#5309

Change-Id: If941c110501cd5f9c1d5084cc4d054e1eafb14f4
2021-07-20 16:58:07 +02:00
Vadim Yanitskiy 9710e7ae01 ttcn3-bts-test: set bind address for the RTP Emulation
Otherwise the loopback address is used, what causes test cases
employing the RTP Emulation component to fail:

  Connection refused (unexpected)

Change-Id: Ia20ccd9e6db61d7a105523648c678db90ad345eb
2021-07-17 22:37:24 +06:00
Oliver Smith 9c6eda65cc add NO_LIST_OSMO_PACKAGES
Allow to optionally skip listing the installed packages. This is useful
to speed up tests when running locally.

Related: osmo-dev I3d9976d07f088e2d106d23259889a4bffe1abbcb
Change-Id: Iaafb81e9ee94850ae3b6318574ad5370d74a2838
2021-07-12 08:04:39 +00:00
Oliver Smith 688cda1158 Revert "ttcn3-bsc-test: enable A5/4 support in osmo-bsc.cfg"
The test that needs A5/4 enables it dynamically, and a new test requires
a defined value to reset to.
This reverts commit 8005014b55.

Related: OS#4975
Depends: osmo-ttcn3-hacks I3cf36c6ef86a0db050507f3737f4b0c10dcd52ed
Change-Id: I55135ca00ef51de5cf6eaec75cfc20c21beef665
2021-07-09 15:10:51 +02:00
Vadim Yanitskiy 8005014b55 ttcn3-bsc-test: enable A5/4 support in osmo-bsc.cfg
Conditionally exclude it for non-master versions of the IUT.

Change-Id: I59f81c2dd72ddc2d292f8f34281fa79289d49c6d
Related: SYS#5324
2021-06-29 13:14:27 +02:00
Vadim Yanitskiy 0e9d8d75a2 add image_suffix_is_master()
Since recently, we also have a new IMAGE_SUFFIX '2021q1-centos8'.
We cannot rely on image_suffix_is_latest() anymore, because this
prefix does not qualify as 'latest'.  If one needs to enable a
feature that is only available in master, then here is a way:

  if ! image_suffix_is_master; then
      # Patch the configuration files

Change-Id: I65df66cd2e14934bed8114618d6ffad7831d1025
2021-06-29 13:13:47 +02:00
Pau Espin 12c37168ed bts-oml: Set mp_pcu_socket
Since recently (osmo-ttcn3-hacks.git
I78880098a55d1cb456011746efa0a47832a86ca8), BTS_Tests_OML use
mp_pcu_socket to set up PCUIF, which is used in some tests (like
validating forwarding of PCUIF messages PCU<->BSC).

Related: SYS#5303
Change-Id: Iac4aac8d98e2f45021858ddaa5e20ca4c6effb31
2021-06-28 14:25:43 +02:00
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

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 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 support 2021q1 feed
Adjust docker_depends and docker_dir_from_image_name for 2021q1. Extend 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

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
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

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

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 <>
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
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

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-*/ script (and others making use of

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 /

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