Commit Graph

20 Commits

Author SHA1 Message Date
Pau Espin 1f45fb08ff jenkins-common.sh: Add function to print docker network related parameters
Change-Id: Ie00561de7a4494065156a124565e2190151e6019
2020-08-27 12:49:43 +02:00
Pau Espin 8d4a97a3fc ttcn3-stp: Configure M3UA setup to use IPv6 together with IPv4
Depends: libosmo-sccp.git Change-Id I09226a5cecc37dd4676acd61c2051befe5234cb3
Depends: osmo-ttcn3-hacks.git Change-Id Ib1925ed1df5cea3fa66f28b5625532d454a2c338
Change-Id: Id6e197cc3ba71e36f29ceec44742b7452a47b36b
2020-08-27 10:47:28 +00:00
Harald Welte 306a51dd30 Enable IPv6 in docker networking
We previously only allocated IPv4 sub-nets to the network segments
created with 'docker network'.  Let's fix that by assigning both
IPv4 and IPv6 address ranges to each docker network.

Related: OS#4700
Change-Id: I8802208fddcce1ffa57e5626575d23d02b320d99
2020-08-13 15:01:58 +00:00
Neels Hofmeyr 04c20edefd collect core dumps: '--ulimit core=-1' and WORKDIR=/data everywhere
Change-Id: Ief73b53ed9da6f5af82975bc36d851277d5d3185
2020-06-21 20:58:22 +00:00
Oliver Smith 5505b95a15 ttcn3-*-test: remove implicit dependencies
Don't list debian-stretch-build and debian-stretch-titan as dependencies
anymore, now that docker_images_require finds them automatically.

Related: OS#4564
Change-Id: I3cb6b693f3dd9df84fb29c0217bb3dae454cc18f
2020-05-30 09:14:06 +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
Pau Espin 259fd3cedf ttcn3-stp: Set default OSMO_TTCN3_BRANCH to master
Change-Id: I6b19e50f65bca6fe556c748f3c2b633f65037dce
2020-01-16 14:26:35 +01:00
Pau Espin 091f0a940a ttcn3-stp: Fix recent commit breaking tests
Recent test aiming at dropping different cfg file for latest also
dropped the cp of the regular cfg file. Let's re-add it.

Fixes: 0f34d37491
Change-Id: Ia79e5b50978ed09ce4d0a5a286770e867657ad3e
2020-01-07 12:01:03 +01:00
Pau Espin 0f34d37491 ttcn3-stp: Drop unneeded different osmo-stp.cfg for latest
Latest tagged release of libosmo-sccp, version 1.2.0, already supports
the regular osmo-stp.cfg file.

Change-Id: Ifb3eb642fa5547d1ce2de81f51f181e226dceed7
2020-01-05 11:22:36 +00:00
Harald Welte 8e13dc1d7f ttcn3-stp-test: Support testing of 'latest'
Change-Id: I1ea9d3312a2775aee8c298370fc5cd84a4b62477
2019-12-10 21:31:27 +00:00
Pau Espin c3f157b939 Update ttcn3-*/jenkins.sh to log stdout+stderr of process to log file
This way we get VTY parsing failures as well as backtraces upon process
crash.

Related: OS#4212
Change-Id: I3d9f6de638dbc07391a32c6a0cbd469dc5adf2b5
2019-11-20 17:17:45 +01:00
Harald Welte 49544ac592 ttcn3-stp-tests: laforge/stp has been merged master; use master
Change-Id: I0ec887f40d00f7c24b67a4525b363abb869ad18b
2019-11-13 17:44:04 +01:00
Pau Espin 1569ceb9f4 ttcn3-stp/Makefile: Drop defaulting to branch laforge/stp
Once osmo-ttcn3-hacks.git branch laforge/stp has been merged (where
STP_Tests devel was done), we can use master like we do for other
suites.

Change-Id: I844ecf8a636ead55b7b406cb97424a4a35a6b674
2019-11-12 13:10:38 +01:00
Pau Espin a319eac111 ttcn3-stp: Update osmo-stp.cfg to match new TTCN3 tests expectancies
Change-Id: If3b3b7f1c05bcd2b0ea2b1ef6f432eb5f0013026
2019-11-07 18:39:22 +01:00
Pau Espin 8944147dbd ttcn3-stp/Makefile: Set branch to laforge/stp only if envvar not set
Change-Id: I1f4061f2b1d62e6a42af4629ce462269cfaf317f
2019-11-06 16:00:24 +01:00
Pau Espin 6135fcdafc ttcn3-stp: AS missing asp reference in osmo-stp.cfg
Change-Id: I3cac64217acf60720388f24713268a22e342e993
2019-11-05 19:32:38 +01:00
Pau Espin 1b8ddfc33e ttcn3-stp: Log osmo-stp output to file and gsmtap
Similar to what we do with other suites.

Change-Id: Ib12bc92c86e4a2ba15e1eec56f2ac0905281b21d
2019-11-05 17:16:20 +01:00
Harald Welte 436fe0c143 stp: don't only execute STP_Tests.control, but also M3UA and IPA
Change-Id: Icc7d168dc90d3551d27c1be27c50d66dd84f0a50
Related: OS4220
2019-10-30 12:01:14 +01:00
Harald Welte 1e45b4d966 osmo-stp-test: Ensure we build the laforge/stp branch
Change-Id: I2cf300eb37b327450da0f8b20ee209a6109bf8fe
Related: OS#4220
2019-10-30 11:55:25 +01:00
Pau Espin 5e70a29727 Introduce ttcn3-stp-test
Currently builds from osmo-ttcn3-hacks.git branch laforge/stp instead of
master, since it's only available in the former branch. Once it gets
merged, we can modify Dockerfile as explained in it.

OS#4220
Change-Id: I635c891f5da7b8c59527abbad14d7377465d1045
2019-10-24 16:46:02 +02:00