Commit Graph

677 Commits

Author SHA1 Message Date
Alexander Couzens 9fa09ddc2f ttcn3-sgsn-tests: synchronize module parameters with ttcn3
The module parameters changes in ttcn3 I3448fe837eaa8efab65dccc32bacaaacd73a2f09

Change-Id: I64408b2095fb2aea24c0306673aa40279ea9f75f
2018-08-28 17:17:39 +00:00
Daniel Willmann 1ec249b51c BSC_sccplite: Different network names for BSC AoIP/sccplite tests
Change-Id: I9124340817888c02574735ab1b1c6c2df3e93212
2018-08-27 20:30:08 +02:00
Harald Welte 060d47f071 use non-overlapping IP networks for bsc-sccplite and SIP tests
The osmo-sip-connector test is already using 172.18.11.x, let's migrate
sccplite to 172.18.12.x to prevent any conflicts when running both tests
on the same build slave (docker instance).

Change-Id: I96beed1f5e01bdb8e77e20f77a459aa006de10fe
2018-08-24 08:32:59 +02:00
Harald Welte 37dd6497bd cgit: Fix group membership to allow read of git repos
Change-Id: I14372fbf63429a2dc7c78c60c7a1eda10791bd0c
2018-08-18 17:28:54 +02:00
Pau Espin 113d916dc9 Remove libosmo-legacy-mgcp-dev from all Dockerfile
Only openbsc.git related programs require it.

Change-Id: Ic641e71e45c5fbd174505116fa45a74e27dad81a
2018-08-17 18:01:57 +02:00
Alexander Couzens 5479348532 SGSN_Tests: fix module parameters
ttcn commit I9128f9ad5c372779c38799269393137ba52576cd moves the
modules parameters from NS_Emulation to SGSN_Tests.

Change-Id: I8d46c37b9c932582fe94e670d9347209bb599192
2018-08-13 17:48:29 +02:00
Vadim Yanitskiy 00ffd6a231 gr-gsm-master/Makefile: enable host USB access
Privileged USB access is required for direct communication
between the image's UHD driver and a host's USRP device.

Change-Id: I8170d2c31b4e28f6a406c50b10b7626f70f36d28
2018-08-09 18:53:05 +07:00
Vadim Yanitskiy b642b8688d Introduce Dockerfile for the GR-GSM project
This change introduces a new sub-project - 'gr-gsm-master'.
It was decided to use Arch Linux as the base image, because it
provides the recent version of both UHD and GNU Radio without
tons of dependencies, such as Xorg.

Note: as there in no libosmocore package in Arch Linux, it will
be built from the latest source code.

Change-Id: I115b59dc9eaec5d132f3f64c4ee321173459e9ed
2018-08-09 17:36:27 +07:00
Harald Welte c2b32af8bc hlr: Update config file with USSD related bits
HLR_Tests.ttcn now wants to test USSD, we have to add the matching
config.

Change-Id: I45047b505411a5f53a7ce5e2d203c526e27a9732
2018-08-08 09:28:26 +00:00
Vadim Yanitskiy 03c9e138d6 OsmocomBB: remove unused 'osmo-virtphy-master'
There is no need to keep an additional Docker image with the same
project, because virt_phy can be compiled as a part of the main
image ('osmocom-bb-host-master'). Moreover, virt_phy is not used
at the moment, so let's remove this.

Change-Id: Ifafb044e8350177e60b479b77c8aad78505eabbc
2018-08-08 05:13:53 +07:00
Vadim Yanitskiy fbb5366dee Rename 'osmocom-bb-trxcon' to 'osmocom-bb-host-master'
At the moment, this Docker image does contain not only trxcon,
but also FakeTRX, virt_phy, and other host applications, so
let's name it properly...

Change-Id: Ieba2411230efdedc13afcd62b8b3a2153fbaf0cb
2018-08-08 05:13:49 +07:00
Vadim Yanitskiy 2d713c2883 OsmocomBB/Dockerfile: drop unneeded dependencies
Change-Id: I6804b4f6ee3b81e470d9e1514c34931a271a42bc
2018-08-08 03:47:19 +07:00
Harald Welte f2f6664ff8 osmo-msc-master: Add dependency to libosmo-gsup-client-dev
Change-Id: I9e7e64993f1416bbee48d24f3c10e5eee56cede7
2018-08-06 19:39:08 +00:00
Harald Welte 58c0e0404f git-deamon: Make sure to create the git-daemon user
Recent debian packages moved creation of the git-daemon user from
the main "git" package into the "git-daemon-run" package.  We want
the user without the latter...

Change-Id: I42f68ba31d32574a01d1372d8cc5239c420e816f
2018-07-21 09:38:52 +02:00
Pau Espin 1694453aee ttcn3-nitb-sysinfo: Remove input logfiles after merging them
All other ttcn3 projects do it.

Change-Id: Iee0e96d3832d88f2ee5958158b372243441750b3
2018-07-06 16:10:16 +02:00
Pau Espin 618505f98f ttcn3-*: Merge logfiles no matter resolution of tests
Previous to this commit, log messages were not being merged if tests
were resolved as failed (test-suite.sh ending with exit code != 0),
which can happen if at least one test failed.

Change-Id: If293fc2d3182ef2a7b997faa8b41129a9dd89c45
2018-07-06 14:50:47 +02:00
Vadim Yanitskiy 307106783e osmocom-bb-trxcon/Dockerfile: drop unused dependencies
Change-Id: Ib2fd0c73e50d24f11d3dd3b19bbde4d3d3e496c2
2018-06-25 14:52:40 +07:00
Vadim Yanitskiy 3e1bd78423 osmo-bsc-master/Dockerfile: drop wrong configure option
Change-Id: I3fecd622df136a18a32a9095ede3e2629e2f7b4e
2018-06-25 14:43:51 +07:00
Harald Welte 57b8610ae1 ttcn3-bsc-test: Fix sccplite configuration
Change-Id: I79ac95df2fe973d016706be407ec21853abd7875
2018-06-03 22:54:41 +02:00
Harald Welte 4648003d0f Makefile: Fix default naming of images
This got broken in Change-Id If2e3cc7693ce5e7c1c95d2f81e302c72bb4230be

Change-Id: I97f9eb3f203301ebc2315ff38216d5b4502eb3d2
2018-06-03 17:17:58 +00:00
Harald Welte cf81610bd4 remove deprecated "dest" config option from config files
Change-Id: I1073846c04a8466f2ccf501e27cf152df09042c5
2018-06-03 17:11:22 +00:00
Harald Welte 911fbafbf7 Makefile support for our production infrastructure containers
Change-Id: I901e340d2c5c1e002ecc7efa4570d58ccb7b9229
2018-06-03 16:11:26 +00:00
Harald Welte 28a4e8e589 redmine: add .release file
Change-Id: I229fab6fa12f68e590f3bae6d5542bc4a5517f0b
2018-06-03 15:54:34 +00:00
Harald Welte c400005f38 Makefile: get rid of entire git tagging logic
Change-Id: Idaa55b636031afd214853ccfcf6c9e3b097050b1
2018-06-03 15:54:34 +00:00
Harald Welte 9e631757be Makefile: Don't use "-dirty" logic when tagging docker images
Change-Id: Ie44144f25fd5f801ceeed904f6d19521b333ed0d
2018-06-03 15:54:34 +00:00
Harald Welte 9b94c793be Makefile: Only push a tag if there is a .release file
Change-Id: I73b2ed5794c75d09b166bc65ac79b9cbe3764ad4
2018-06-03 15:54:34 +00:00
Harald Welte a2e28ef91f Makefile: Allow override of REGISTRY/USERNAME/NAME/IMAGE
Change-Id: If2e3cc7693ce5e7c1c95d2f81e302c72bb4230be
2018-06-03 15:54:34 +00:00
Harald Welte 61145cf086 bsc: Enable LCLS tests from BSC_Tests_LCLS TTCN-3 module
Change-Id: I0439c61cc49e088efef3b91c1dbf293ee9a44939
2018-06-03 15:16:41 +00:00
Harald Welte 0f0fd8c41e redmine: Migrate from 3.2 to 3.4
Change-Id: I8bfd387c71477c4dfdea2eb8520415ce129a3b32
2018-05-30 14:28:25 +00:00
Harald Welte da04310dd9 ttcn3-bsc-test: Add SCCPlite configs + jenkins-sccplite.sh
The existing dest config + jenkins.sh test 3GPP AoIP operation,
while the new set of configs + jenkins-sccplite.sh are testing
IPA/SCCPlite operation of osmo-bsc.

Change-Id: Ief0799a8f7d378dc3831e7988c9175166c82eace
2018-05-30 14:28:25 +00:00
Harald Welte baaf308fcb osmo-bsc.cfg: remove obsolete "dest" command
Change-Id: I9c81af2e5ff1149a9fb0cb161e907eddf2270648
2018-05-30 14:28:25 +00:00
Stefan Sperling 4147adabb9 fix location area codes in BSC_Tests osmo-bsc.cfg for jenkins
The osmo-bsc configuration file used on Jenkins assigned wrong location
area codes to BTS 1 and 2. This fix should make TC_paging_imsi_nochan_lac
and TC_paging_imsi_nochan_lai pass on Jenkins.

Change-Id: Id35a85804c4a07f6c4136ef4570b4e21e250b9cd
2018-05-29 16:13:40 +02:00
Harald Welte 0434f34c36 osmo-*-master: add Dockerfile ARG for git repo branch to be built
This allows the user to build any non-master branches of the related
repositories, which is helpful for local testing before pushing changes
to git.

Change-Id: I0c3349e9a60015472c96bd24fbf29aad57501a00
2018-05-23 20:00:24 +02:00
Philipp Maier 354e8a8969 osmo-mgw-master: add Dockerfile ARG for git repo branch to be built
This allows the user to build any non-master branches of the related
repositories, which is helpful for local testing before pushing changes
to git.

Change-Id: I42054d585a5774452a13750ee1c3e6bb8013b26f
2018-05-23 20:00:24 +02:00
Philipp Maier db3fa19238 osmo-bts-master: add Dockerfile ARG for git repo branch to be built
This allows the user to build any non-master branches of the related
repositories, which is helpful for local testing before pushing changes
to git.

Change-Id: Ide8248cb508be27f2cff620d79df7eb50f309af1
2018-05-23 20:00:24 +02:00
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 jenkins-common.sh
Do not brush over VOL_BASE_DIR with a new temp dir, since jenkins-common.sh has
already figured out where these should run.

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

Change-Id: Iee034df93bf8e8b995262749cf4654886032af2b
2018-05-03 14:26:50 +02:00
Neels Hofmeyr 18392ee604 jenkins.sh: 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 https://bugs.chromium.org/p/gerrit/issues/detail?id=8828 so
that we can drop this hack in the future...

Change-Id: I713948fbb93355c2e33e3b92969e2389cb88c938
2018-04-24 16:19:49 +00:00
Neels Hofmeyr 2f61bf81e9 jenkins.sh: have one common function to collect logs
To remove code dup and prepare a change to where logs are written, add
collect_logs() to jenkins_common.sh and call that from each jenkins.sh 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 jenkins.sh: drop obsolete VOL_SUITE_DIR
Subdirs' jenkins.sh 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