Commit Graph

242 Commits (04933275dbb6dfddff151f63d5a406bef48f0556)

Author SHA1 Message Date
Harald Welte 2a1a78d011 osmo-hnbgw-master: use debian jessie, like all other osmo-*-master
Change-Id: I6328e3a9a56308cc395b463dcc40288aae421225
2018-05-23 20:00:24 +02:00
Harald Welte d5a1ed1a85 redmine: Change content-disposition of image attachments to 'inline'
Closes: OS#3264
Change-Id: Ib60a12fc4adc0ceebfed70ff14d5ae256868bb2b
2018-05-15 18:45:19 +00:00
Harald Welte cb3ccb149b redmine: add missing patch "redmine-issue-2047-svg-image-support.diff"
Change-Id: Ib357ed1c847c7c3d9395b1b45a7f9b4a88dd09f8
2018-05-15 18:37:39 +00:00
Harald Welte 51fe6da411 redmine: Add OpenID Digest::HMAC fix
From Holger:
Digest: This seems a bit of the magic of ruby but I vaguely remember having seen this before. I have
either patched or backported a fix. In newer Ruby versions "Digest" has been deprecated. The diff to
"stock" openid 2.3.0 is:

Change-Id: Idaca479140846481372ad0e1bff741bb09010847
Related: OS#3081
2018-05-14 12:18:46 +02:00
Harald Welte 196206b159 redmine: add patch for SVG support
Change-Id: I3bacdd4100c717ad702bc08851a8b32170610ca4
2018-05-14 12:12:31 +02:00
Harald Welte 934c181542 dockerfile for patchwork patch tracking software
Change-Id: I4095148d2c8a1b6ba9beafda053c38022b147819
2018-05-13 23:50:51 +02:00
Harald Welte aa1ccdabb7 Add Dockerfile for osmocom redmine:3.2 container
this container has mscgen + dot/graphviz, as we need it.

Change-Id: I8950f74da4d2ed10f15bcbe7596f6e9c13474e58
2018-05-13 21:21:50 +02:00
Harald Welte a421358ab8 Add osmo-*-latest Dockerfiles
Those containers are using the OBS-built "latest" packages on Debian 9

Change-Id: I6a564206dd81743deb1eb27eca7081bc333d7434
2018-05-04 18:12:37 +02:00
Neels Hofmeyr 5d2ffd0abf ttcn3-{mgw,ggsn}-test: use VOL_BASE_DIR from
Do not brush over VOL_BASE_DIR with a new temp dir, since has
already figured out where these should run.

Should fix jenkins job build failures for mgw and ggsn, after the merge of

Change-Id: Iee034df93bf8e8b995262749cf4654886032af2b
2018-05-03 14:26:50 +02:00
Neels Hofmeyr 18392ee604 stay in the jenkins workspace, not in /tmp
On jenkins, place all logs and manage docker volumes in the workspace instead
of a /tmp/* dir. Use $WORKSPACE/logs as docker volume base to begin with, thus
there needs to be no copy from /tmp to $WORKSPACE/logs.

On non-jenkins runs, place all in a /tmp/* dir still, but also skip copying of
the logs: just have a /tmp/logs symlink to the last tmpdir.

Change-Id: I8cf6014725ae8ba602be5f3ec31dfb8e49ff993e
2018-05-02 09:36:57 +00:00
Harald Welte aff7d1b4d8 ttcn3-ggsn-test: Add VTY IP to config file
In Change-Id: I1dc299407c61b1c865035add44067b8ab89001b3
a VTY interface was added to osmo-ttcn3-hacks.git, but
it was missed to update the config file here for the dockerized
execution, rendering us with broken test builds ever since.

Change-Id: I9539f7a28cf9214bd73ac9f80d22c71041c47adb
Related: OS#2519
2018-04-26 07:02:31 +00:00
Holger Hans Peter Freyther b210f3aa6e Add Dockerfile for gerrit and monkey patch
The openid support doesn't allow to add custom providers but we like the
convenience of a single click. Take the official docker image and patch
the HTML template. It seems to have changed little over the time, and it
might continue like that...

I have filed so
that we can drop this hack in the future...

Change-Id: I713948fbb93355c2e33e3b92969e2389cb88c938
2018-04-24 16:19:49 +00:00
Neels Hofmeyr 2f61bf81e9 have one common function to collect logs
To remove code dup and prepare a change to where logs are written, add
collect_logs() to and call that from each after
the tests are done.

The 'rm -rf' is already done before a test starts. No need to do that again
after each test.

Change-Id: I5d8472ec36b07c828685b1bd7718e31392d168a3
2018-04-24 13:46:05 +00:00
Neels Hofmeyr 9f5131ab9d drop obsolete VOL_SUITE_DIR
Subdirs' scripts create their own subdirs without exception.

Change-Id: Iaf428cde0f4d3efbdb31d7af434aa82425c1bc5f
2018-04-24 13:46:03 +00:00
Harald Welte 588da83011 bsc + msc: Add missing BSSAP_Configuration.transport field
After merging Change-Id: Ie844c4de62e0ef5d5c4c366185968211a7f6d676
in osmo-ttcn3-hacks, the module parameters for BSSAP configuration
require one extra argument.

Change-Id: I2a0011bc6f7bdf013005d1ea36da591673344eed
Related: OS#2544
2018-04-18 15:40:33 +02:00
Harald Welte 67c306a8df ttcn3-*-test: Remove cherry-pick of CCM related HACK
This is no longer needed as the fix for
has been merged to master of osmo-ttcn3-hacks

Change-Id: Ia0c1c134405fdbce1c65059d705827f1a643e774
Related: OS#2718
2018-04-17 21:58:08 +02:00
Harald Welte 8e337f0bca ttcn3-msc-test: Add SMPP config bits
Change-Id: I595a1ca2d47667e654f8a0a69bfe98c91ac58d39
2018-04-14 19:40:12 +00:00
Alexander Couzens 5910de0394 Makefile: use $USER/image when depending on a generated image
Te make scripts will generate docker images like
"$username/foobar-test". When depending on an previous image,
the $username must match or the build will about with image not found.

Change-Id: Ied42c3e1de9a2ffaca22ba4cd02e6a398e48e97d
2018-04-12 09:20:34 +00:00
Alexander Couzens a80e410fc5 add .gitreview
Allows `git review` to automatic setup gerrit

Change-Id: I179c02d38496bf3d408020db7f0baf79ee064705
2018-04-12 09:20:24 +00:00
Neels Hofmeyr 2d734900d8 ttcn3-bsc-test: bsc cfg: fix ARFCN-BSIC collisions
All three BTS are configured for ARFCN 871 and BSIC 63, which causes trouble
for handover tests. Set BSICs to 10, 11 and 12 (not 0,1,2 to mark the
distinction from the cell_identity).

It wasn't a problem so far since we cheated by passing the BTS target number
from VTY. But as soon as we will start identifying handover target cells by
ARFCN+BSIC exclusively, TC_ho_int would fall on its face without this patch.

See also: osmo-ttcn3-hacks I2ea8889ea40953f5a23eab40db52585556a410bc
Change-Id: I29a117aa54aa06ca49646f25a08af8521832fd8d
2018-04-11 01:24:05 +02:00
Vadim Yanitskiy 9d3b695d46 ttcn3-bts-test/ fix path
Change-Id: Ie9931651d477dc95c561a5ed554d5360b465d4da
2018-04-10 18:08:10 +07:00
Vadim Yanitskiy 54f75b6c8d trxcon/Dockerfile: use 'master' branch
The 'laforge/trx' branch of OsmocomBB was used to make basic
TTCN3 tests, such as the 'max_ta', work ASAP. Now all required
changes and some bug fixes have been merged to the 'master'.

Change-Id: I4c3012c4ad24dfebea61e14038bea86d4f56832d
2018-04-08 01:14:09 +07:00
Harald Welte 7bbf1c8f7c ttcn3-bts-test: Configure BTS to have dynamic PDCH
This is required by later versions of the osmo-ttcn3-hacks BTS
test suite after Change-Id I2a42531dc5555ab4772d538fda462343605b8feb

Change-Id: I229000ce7609845fdf24cafe1f5ec2bfa3f507e8
2018-04-06 13:47:34 +02:00
Neels Hofmeyr 6239abbd9c root Makefile: fix ttcn3-msc-test rule, drop an extra .PHONY
Change-Id: I098d9d84d9ce89b1dab204b90d2cd7ee7b3f19c9
2018-04-05 13:52:19 +02:00
Neels Hofmeyr 2f1b669e2f fix 'make -C subdir': use $(CURDIR) instead of $PWD
$(PWD) reflects the dir of 'make' invocation, $(CURDIR) the dir stepped into.
So obtain the current dir from $(CURDIR) instead of $(PWD).

So far, when doing 'make -C osmo-foo-maser', the image's name would be derived
from the root dir's basename and all images were tagged as 'docker-playground'.
With this fix, 'make -C' from anywhere still tags with the proper name.

Change-Id: I1dd0fd1ad89fdee18fdbea851ccc831ad60aeccf
2018-04-05 03:15:23 +02:00
Neels Hofmeyr 1b51ff89c5 osmo-bsc.cfg: drop legacy config: timeout-ping, timeout-pong
Change-Id: I70bffa7ed96da099993ba0cedc50178ca9e00db4
2018-04-05 00:54:18 +02:00
Neels Hofmeyr 024458ce91 ttcn3-bts-test: properly configure CTRL interface
osmo-ttcn3-hacks adds configuration of the CTRL interface in
I502b4891e6720ae2fb251c03542f707880a6f728. We need proper IP addresses here for
the f_ipa_ctrl_start() to work.

WARNING: This commit has to be merged "at the same time" as
I502b4891e6720ae2fb251c03542f707880a6f728 or the jenkins ttcn3-bts-tests will

a) if we want to set a modulepar mp_ctrl_ip here, it needs to be added to

b) if we have the f_ipa_ctrl_start() in osmo-ttcn3-hacks, we need to configure
the proper IP and bind interface here, or all tests will fail because
f_ipa_ctrl_start() cannot connect.

Change-Id: I1ec86b157ebd46bf622a0ca51eba225f15c99fbb
2018-04-03 19:29:45 +02:00
Philipp Maier a13c475215 MSC_Tests: Fix routing key in ttcn3-msc-test
the routink key for virt-bsc0-0 and virt-bsc1-0 is the same
(0), virt-bsc0-0 and virt-bsc1-0 should use different routing

- Keep the routing key of virt-bsc1-0 and assign routing key 1
  to virt-bsc1-0

Change-Id: I1380ba389dc777cdac84677588b85759cad4bc14
2018-03-29 17:19:35 +02:00
Harald Welte b369792722 ttcn3-bsc-test: Fix config file syntax
In osmo-ttcn3-hacks Change-Id I52a4c8118828c1605cf672889982f987568ad17d
we introduced changes to the BSSAP_Adapter, but the config file for
the BSC hasn't been updated accordingly here.

Change-Id: I7cfc6414c1a783bab54f0d82589de82af4764daa
2018-03-29 14:35:35 +00:00
Harald Welte f4857ed00c msc: Fix osmo-stp.cfg
In Change-Id: Ie7780750f7032453951f6849ecee6ab7cc34e8c2 we not only
introduced a MSC_Tests.default with syntax errors, but also a
osmo-stp.cfg with syntax errors :((

Change-Id: If7a7ff3d7ddb255654d14fe17033390214fe5341
2018-03-29 13:56:23 +02:00
Philipp Maier 92344af824 ttcn3-msc-test: update configuration
The MSC_Tests.ttcn testsuite is now able to present multiple BSC
to the MSC (IUT). This change requires the configuration files
of osmo-stp and of the testsuite to be changed.

- update MSC_Tests.cfg to present up to two BSCs to the MSC
- update osmo-stp.cfg to support the additional connection
  from the testsuite

Change-Id: Ie7780750f7032453951f6849ecee6ab7cc34e8c2
Depends: osmo-ttcn3-hacks I52a4c8118828c1605cf672889982f987568ad17d
Related: OS#1609
2018-03-28 17:44:43 +00:00
Harald Welte c3835fc65e Add git-daemon docker container
Change-Id: I1d3632c43a9ec551164401beecbaf94a49e2a470
2018-03-28 17:43:33 +00:00
Harald Welte d8f0860056 Add gitolite Docker container
Change-Id: I1cd4aecd6ca6794c72e5eaabc3678500ed8a8d72
2018-03-28 17:43:33 +00:00
Neels Hofmeyr b0a6dce4fe Makefile: add dependency tree to rebuild specific test suites' images
Change-Id: I1b3b750b0bf51c93c3b237acfd09d30262544045
2018-03-28 17:37:55 +00:00
Harald Welte b317348065 Add osmocom-extended cgit container
This uses the debian-nginx container "ankitrgadiya/cgit:debian-nginx"
and adds pygments for syntax highlighting, as well as the osmocom
commit filter for linking to gerrit change-ids as well as
redmine issues

Change-Id: Iec75769a972950ed9df95d5b36aa930daad1565a
2018-03-28 13:45:48 +02:00
Harald Welte ca0a2752c6 rename ggsn-test to ttcn3-ggsn-test to align with other naming
Change-Id: Ib2278d582048adb4d8bd3b25578372b3e1abfd77
2018-03-28 10:37:48 +00:00
Harald Welte 9ce4ef3b4b rename mgw-test to ttcn3-mgw-test to align with other containers
Change-Id: If38e95cf40829038c078eb6ecd3df840b2a7b178
2018-03-28 12:27:12 +02:00
Harald Welte 845d397c19 mgw_test: Use entire "control" section of testsuite
Change-Id: Id4121bd6974b58faaa8c471597708085ce14a192
2018-03-28 12:21:36 +02:00
Philipp Maier 41962f7bf5 ttcn3-bscc-test/osmo-bsc.cfg: Add TCH/H channels
The configuration of osmo-bsc currently only supports halfrate
traffic channels. In order to test assignments which contain
half rate codecs we also have to have halfrate channels available.

Change-Id: Ibcce03ab0c98545a1f316d88e1f3dd75e2ff65e1
Related: OS#3100
Related: OS#3095
2018-03-27 13:35:29 +02:00
Harald Welte 284a8816f2 add ttcn3-sip-test container
Change-Id: Ibfe2a2b47c266788d51e98d64bca7017caf19e29
2018-03-27 09:21:20 +02:00
Harald Welte b0bc0c237e add 'osmo-sip-master' Dockerfile
Change-Id: Ie9623df1b3181ddcfd868c14f0b05614853447b0
2018-03-27 08:24:48 +02:00
Harald Welte 6f786a7383 ttcn3-bsc-test: Enable all codecs on all BTSs
We now have TC_assignment_codec_ tests which assume that those
codecs are available.

Change-Id: I0ff19a4bc9bba5ff2de3b5d4c399b483e8ca097b
2018-03-22 18:30:08 +01:00
Neels Hofmeyr 116e442b2a fix ttcn3-bsc-test: BSC_Tests.cfg: set mp_test_ip
Allow the osmo-bsc-main docker container to reach the virtual MGW set up by the

The module parameter mp_test_ip sets the IP address at which the virtual
services are set up to listen for connections -- currently actually only the
virtual MGW. Set this to instead of using the default

This fixes the second half of the disconnect between BSC and virtual MGW in
this docker setup. The first half is Ib53f000ec7e717b14a3e5df6e803d3d0950b937f

Change-Id: I3038481ed0bba1084b63dc6a6d2ff6e970100890
2018-03-20 16:58:06 +01:00
Neels Hofmeyr 2f5a5b689c fix ttcn3-bsc-test: osmo-bsc.cfg: add mgw IP
The osmo-bsc-main docker container is run in a separate docker container and
cannot reach the virtual MGW set up by the ttcn3-bsc-tests.

From ttcn3-bsc-tests/ it is clear that the tests are run at IP Add this as the 'mgw remote-ip' setting in

This fixes the first half of the disconnect between BSC and virtual MGW in this
docker setup. The second half is I3038481ed0bba1084b63dc6a6d2ff6e970100890.

Change-Id: Ib53f000ec7e717b14a3e5df6e803d3d0950b937f
2018-03-20 00:42:45 +01:00
Neels Hofmeyr a966cdfe4c debian-stretch-titan: add vim
When developing in the actual docker containers, vim is inexpendible.

Change-Id: I964e29c82ab9a1fb2a39845bc45a0d2cead56880
2018-03-19 14:12:43 +01:00
Harald Welte 32f13b23af ttcn3-bsc-test: Fix location of script 2018-03-19 07:47:10 +00:00
Harald Welte c90d07003c ttcn3-msc-test: Disable MM INFO
In the past, MM INFO transmission was broken, so the tests were
written without expecting it.  Now, the bug in osmo-msc has been

With the config file enabling it, and the tests not expecting MM INFO,
a lot of them failed. Let's disable MM INFO for now until the tests
can deal with it
2018-03-18 21:38:43 +00:00
Harald Welte 3c34820699 ttcn3-msc-test: fix MNC/MCC to match MSC_Tests.ttcn
We recently introduced verification of the MCC/MNC, and the osmo-msc.cfg
MCC/MNC settings mis-matched those of MSC_Tests.ttcn resulting in lots
of test failures.
2018-03-18 17:06:39 +01:00
Harald Welte 2f5541b134 ttcn*test: use to generate per-testcase merged logs 2018-03-18 13:33:39 +00:00
Harald Welte c99a78fc9e remove osmo-bts-omldummy container, it's now part of osmo-bts-master 2018-03-17 15:41:43 +00:00