Commit Graph

727 Commits

Author SHA1 Message Date
Harald Welte b25e1ea779 ttcn3-msc-test: remove unix domain socket dir from both containers 2018-02-18 12:24:33 +01:00
Harald Welte 797fca544c Rename osmo_sgsn.cfg to osmo-sgsn.cfg
Since October 2017 the default config name no longer has an underscore
but a dash in the filename.  See osmo-sgsn.git Change-Id
If804da17a7481e79e000fe40ae0d9c4be9722e61
2018-02-18 12:09:35 +01:00
Harald Welte 226090762a ttcn3-msc-test: Remove unix domain socket before copying logs
jenkins otherwise fails when collecting the build artefacts
2018-02-16 20:05:55 +01:00
Harald Welte a564cfbd54 osmo-bts-master: Fix IP address for ttcn3-nitb-sysinfo
In d770629280 we introduced different
IP addresses for ttcn3-nitb-sysinfo, but forgot to update the BTS side
Address.
2018-02-15 07:53:14 +00:00
Harald Welte a36a6019c7 ttcn3-msc-test: Remove unix domain socket before copying logs
jenkins otherwise fails when collecting the build artefacts
2018-02-15 06:51:22 +00:00
Harald Welte 35d2cf3c0f ttcn3-nitb-sysinfo: Fix docker network usage
In d770629280 we broke the
ttcn3-nitb-sysinfo builds when switching to jenkins-common.sh

This commit fixes it.
2018-02-14 21:08:53 +00:00
Harald Welte 10305f2f8f ttcn3: Add OSMO_TTCN3_BRANCH build-time argument to build non-master branches 2018-02-14 21:57:39 +01:00
Harald Welte f14d94d26b ggsn-test: Switch to new common/shared config file structure
This requires I491819c8bad8efa45cee161ea6f47c3f97941a17 in
osmo-ttcn3-hacks
2018-02-14 21:57:01 +01:00
Harald Welte ad4f342b7d bumped to version 0.1.0-df5f204 2018-02-14 19:43:04 +00:00
Harald Welte df5f204dfa mgw: Use master branch, not accidential different branch 2018-02-14 19:35:13 +00:00
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