Commit Graph

117 Commits

Author SHA1 Message Date
Harald Welte c1694826e4 Use new split config file + tcpdump support of osmo-ttcn3-hacks
This uses osmo-ttcn3-hacks Change-Id
I3db452e24e5238aa05254d903739c64d202e61db, which introduces
some shared/common config file as well as per-testcase pcap file
generation.
2018-02-14 19:06:46 +00:00
Harald Welte b7e818d8ab Make sure tcpdump is in debian-stretch-titan
this will enable us to automatically take pcap traces of test runs
2018-02-14 18:04:34 +00:00
Harald Welte d0fa0b0c41 ttcn3-msc-test: Update MSC_Tests.cfg (moduleparm changes) 2018-02-14 10:08:01 +01:00
Harald Welte edcda6b2f3 ttcn3-msc-test: Update osmo-msc.cfg to recent master (removed vty commands) 2018-02-14 09:06:23 +00:00
Harald Welte 5a76f11320 ttcn3-bsc-test: Fix log file name (osmo-bsc.log, not osmo-msc.log) 2018-02-14 09:06:03 +00:00
Harald Welte 675c76cfd5 ttcn3-bsc-test: Update config with recent changes (VTY, moduleparm change) 2018-02-14 09:05:35 +00:00
Harald Welte d770629280 jenkins: Add shared jenkins-common.sh
the common script contains some copy+pasted parts between the different
jobs.
2018-02-06 20:20:49 +00:00
Harald Welte bcc29baf39 jenkins: prefix all container names with $BUILD_TAG
... to make them unique and to allow for multiple tests run in parallel
without any clashes.
2018-02-06 19:57:24 +00:00
Harald Welte 9efd75aa44 bsc-test: omldummy now has an argument for number of TRX 2018-02-06 20:30:08 +01:00
Harald Welte 6e61e5a319 bsc/msc test: Make sure we create text log files
as we don't capture stderr on all *but* the tester container, let's
make sure we write log files from the BSC/MSC/STP containers
2018-02-06 20:22:39 +01:00
Harald Welte 213f8bd3f6 Fix ggsn test after last commit
We need a proper osmo-ggsn.cfg file with non-default IP addresses
2018-02-06 18:23:48 +00:00
Harald Welte facbb6575e move every 'test network' to its own IP address space
Ideally we would want to launch a group of containers with their own
private network segment and use the same static IP addresses in those
isolated networks.

The stupidity of docker is requiring unique IPv4 addresses even on
isolated (!) networks.  This means we have to manually give each of our
test setups a different subnet, and then we can at least run one
instance that test in parallel to at most one instance of each other
test.

If this weird reestriction about unique IPv4 addresses didn't exist,
we could start any number of test runs in parallel.
2018-02-06 19:08:45 +01:00
Harald Welte afe1ec8dc1 Release.key of osmocom-nightly has expired; update it in all Dockerfiles 2018-02-04 17:20:04 +01:00
Harald Welte 8fc4202fae Add ttcn3-msc-test container with OsmoMSC test suite 2018-01-27 20:25:10 +01:00
Harald Welte f83fe4c7cb ttcn3-bsc-test: Add missing 'git fetch' 2018-01-27 20:25:10 +01:00
Harald Welte 9ef9aa13c8 Add osmo-msc-master Dockerfile 2018-01-22 10:52:26 +00:00
Harald Welte 1ab46eadc8 osmo-bsc-tests: Remove obsolete VTY config statements 2017-12-20 02:35:29 +00:00
Harald Welte 084967574e add ttcn3-bsc-test container with osmo-bsc test suite 2017-12-17 17:21:04 +01:00
Harald Welte 9b648fe261 Add osmo-bts-omldummy container
This container is used to bring up OML links of simulated BTSs
in the ttcn3-bsc-test
2017-12-17 14:01:31 +00:00
Harald Welte 58e97d1f0b ttcn3 tests: split 'make deps' in separate RUN command
This avoids re-downlaoding all dependency repositories each time
osmo-ttcn3-hacks has received a change
2017-12-17 12:20:05 +00:00
Harald Welte 18569e9d2c add osmo-bsc-master container 2017-12-17 11:02:57 +00:00
Harald Welte df5b63c5bc update debian-jessie-osmocom from nitb to post-nitb 2017-12-17 10:49:59 +00:00
Harald Welte e0e2d6e96a osmo-*: Ensure container is rebuilt if nightly repo is updated
Let's use the "ADD" trick that we use for git repositories also for
the osmocom:nightly debian package feed.  This way any change to the
package feed will result in a rebuild of the container.
2017-12-17 10:48:54 +00:00
Harald Welte 357ec806e1 Move to new TTCN-3 build system/Makefiles
A lof of what the Dockerfiles so far did in terms of cloning library
repositories and calling shell scripts has now been implemented as
part of the Makefiles inside osmo-ttcn3-hacks.git, so we can drop it
here and simply use those.
2017-12-13 10:19:28 +01:00
Neels Hofmeyr 0642e33a37 add debian-sid-build, osmo-dev-on-debian-sid
Aim: build Osmocom CellNet from source on debian-sid

Related: OS#2667
2017-12-06 01:45:42 +01:00
Harald Welte 205ece59c0 osmo-hnbgw-master: Add reaosnable default IP and point code configs
Let's use a config file that uses reasonable defaults, which will
also work with osmo-stp-master.
2017-11-20 16:14:24 +00:00
Harald Welte e097bf8f5f osmo-hnbgw-master: Fix "docker run" command (typo + config file) 2017-11-20 14:58:45 +00:00
Harald Welte 79a5203244 osmo-hnbgw-master: Switch to Debian 9 (stretch) 2017-11-20 14:54:20 +00:00
Harald Welte 922a403d57 add debian-stretch-build that can be used as base 2017-11-20 14:54:12 +00:00
Harald Welte 41b8dc7b0b add Dockerfile for osmo-hmbgw from upstream/master 2017-11-20 14:34:52 +00:00
Harald Welte 0f431fbf13 mgw-test: Don't assume that the 'mgw' subdirectory exists 2017-11-19 02:05:09 +01:00
Harald Welte 159316ee94 Add mgw-test docker container 2017-11-19 00:50:18 +00:00
Harald Welte e9abbeac2e add docker container with osmo-mgw 'master' 2017-11-19 00:17:45 +00:00
Harald Welte 0332d0f3a4 debian-stretch-titan: Include many more git repos
Ericsson has released a number of more protocol modules by now,
let's include them.
2017-11-19 00:17:45 +00:00
Harald Welte 33c9cf0bfd osmo-bts no longer needs openbsc.git 2017-11-19 00:17:45 +00:00
Harald Welte ef6dd5c500 *-build: Add libgnutls28-dev, as libosmocore requires this now 2017-11-17 10:11:30 +01:00
Harald Welte d95cdf5068 ggns-test/jenkins.sh: Remove need for 'helper' container
Instaed of using docker volumes, mount a /tmp directory into the
containers, which makes copying the resulting files *way* easier.
2017-10-15 17:09:27 +00:00
Harald Welte 1772bc022b osmo-ggsn-master: Enable ipv6 forwarding
We want to be able to reach the external PDN from the PDP contexts,
and hence need to enable IPV6 forwarding between the tun device
and the PDN device(s).  The latter are added using "docker network
connect"
2017-10-15 14:47:28 +00:00
Harald Welte 6bce1e644f Makefiles: Don't tag images with versions by default
Tagging each build with a version means we have to clean up lots of
images manually.  Let's change this to:
* "make build" aka "make docker-build" only builds as $name:latest
* "make docker-tag" will tag $name:latest as $name:$version

This is racey, but then we don't really need version tags for the images
so far anyway.
2017-10-15 14:45:03 +00:00
Harald Welte f81dfad75f Add Dockerfile for alpine Linux with lighttpd
plus some configuration to make it available at 127.20.0.10 and
fd10:5741:8e20:0000::10, where a sample index.html file can be
downloaded for testing.  Also, make container start in "pdn" network,
the external PDN behind the GGSN
2017-10-15 14:37:41 +00:00
Harald Welte a899ae3688 osmo-ggsn-master: Introduce 'branch' build-time-argumetn to Dockerfile
We can build non-master branches thsi way.
2017-10-14 14:25:26 +00:00
Harald Welte 6202d089c3 osmo-ggsn-master: fix syntax of "make run" arguments 2017-10-14 14:24:48 +00:00
Harald Welte c4281f8204 Add Dockerfile for alpine:3.6 based containers with libosmocore build deps 2017-10-09 11:15:57 +08:00
Harald Welte 70e5571ad3 Add an 'ubuntu-zesty-build' Dockerfile for testing on 17.04 2017-10-09 11:15:57 +08:00
Harald Welte 4ee4873269 add missing 'setup.sh' script to create the docker networks 2017-09-10 17:37:29 +08:00
Harald Welte 95ff0a4161 osmo-gerrit-libosmo: Example Dockerfile for gerrit container 2017-09-06 17:17:40 +02:00
Harald Welte baa18dd4ed debian-jessie-buildslave: Give 'build' user sudo rights
This is of course questionable, as we could simply install into some
PREFIX other than /usr/local.
2017-09-06 16:56:16 +02:00
Harald Welte 32497cf0a1 debian-jessie-buildslave: Add bumpversion + dahdi-source
both of which are used by osmo-* builds
2017-09-06 16:41:02 +02:00
Harald Welte 54d7362cc2 osmo-ggsn-mater: switch to osmo-ggsn.git
openggsn.git is deprecated now, use master branch of osmo-ggsn.git
2017-09-06 12:30:11 +02:00
Harald Welte 33149a7162 osmo-ggsn-master: Rename config file for openggsn -> osmo-ggsn change 2017-09-05 20:25:13 +02:00