Commit Graph

946 Commits

Author SHA1 Message Date
Neels Hofmeyr 4927c60905 ttcn3-bsc-test SLEEP_BEFORE_RESPAWN=1
Change-Id: Ifde37077d7de98229a55c9baa176a7683a69cd71
2022-07-19 12:12:51 +02:00
Neels Hofmeyr c1a1040303 Revert "tmp bts image hacking"
This reverts commit 86ad565edec62d419164fcc19b51df415fd4aa6f.
2022-07-19 12:12:51 +02:00
Neels Hofmeyr b52af747fd tmp bts image hacking
Change-Id: I69444db409bc24f16395cd83d40d551e526e5c3a
2022-07-19 12:12:51 +02:00
Neels Hofmeyr 4a72ba42ed ttcn3-bts-test/jenkins.sh no --privileged
Change-Id: I596f904717717338ee74ff62d477834d5b90e7f9
2022-07-19 12:12:51 +02:00
Neels Hofmeyr 1bc96ccc74 ttcn3-bsc-test/osmo-bsc.cfg logging
Change-Id: I4732db57c754862ef16d5634a0d392c4e3d42e84
2022-07-19 12:12:51 +02:00
Neels Hofmeyr 11c2762229 normal stp
Change-Id: I8132b2e84a48d8471ae56c042da80ab00cd57fe1
2022-07-19 12:12:51 +02:00
Neels Hofmeyr 42f14b7690 bsc: osmo-stp.cfg logging tweaks
Change-Id: Ida2be9411f263feabc1bd5ee456799368206d97c
2022-07-19 12:12:51 +02:00
Neels Hofmeyr b8ba52db3b manual stp
Change-Id: I08cd37f9b5c4ed66a0ce034ba870b372f891e0f8
2022-07-19 12:12:51 +02:00
Neels Hofmeyr 0cf6b73180 osmo-stp.cfg logging
Change-Id: Iae926212da3fc3c2da06d01b62a970c79c053203
2022-07-19 12:12:51 +02:00
Neels Hofmeyr adbdadf80e pcu hacking
Change-Id: Ia00362e8272f24f2e0f57f50e7cb3bcbec407266
2022-07-19 12:12:51 +02:00
Neels Hofmeyr 48b6d6dbd9 no bts-omldummy logs
Change-Id: I62724f3eaa0a2b59a716455556796e26ca435e33
2022-07-19 12:12:51 +02:00
Neels Hofmeyr 31bc02e750 not privileged
Change-Id: If072feae5e8e2555cde8320cc86c57a870107a44
2022-07-19 12:12:51 +02:00
Neels Hofmeyr 4d53f77172 add gdb to debian-stretch-build
Change-Id: Ib787441c485a3932307319b1bf1e7263dcdfb439
2022-07-19 12:12:50 +02:00
Neels Hofmeyr 856135d6e0 add 'ps' (procps) to debian-*-build
Change-Id: If803f708da59c044e15d06553928d98acd630a5a
2022-07-19 11:42:50 +02:00
Neels Hofmeyr 19286123e2 tweak ttcn3-msc-test logging
Change-Id: Idffdcd69cab56e3b6b1d4f05b6443b792fecf17b
2022-07-19 11:41:41 +02:00
Neels Hofmeyr 015e16df4c ttcn3-{bsc,msc}-test: tweak logging, log to stderr
stderr: useful for manual invocation of docker tests.

Change-Id: Ie6b6c4150db9f70e2e561eb4178de0840950ba5e
2022-07-19 11:41:41 +02:00
Neels Hofmeyr 92326423fe add meas_web
Change-Id: If01f8f0320ce300458779c8b5e5543a179fcd56f
2022-07-19 11:41:41 +02:00
Neels Hofmeyr b955101374 add openbsc-master
Change-Id: Ia226c5b7c4b2d5891c8c4d8d28348d156c6d8b3d
2022-07-19 11:41:41 +02:00
Neels Hofmeyr 547878c8b8 ttcn3-smlc-test: manual invocation
Change-Id: I4343a9fc041cc576f60f0c5247bec031134cb937
2022-07-19 11:41:41 +02:00
Neels Hofmeyr 3510105899 ttcn3-bsc-test-vamos/jenkins.sh manual running
Change-Id: Ia739fea9f0f65ff01ca7bef64291b71f2ea54eff
2022-07-19 11:41:41 +02:00
Neels Hofmeyr df2086a1a3 ttcn3 tests: make it convenient to invoke custom tests manually
In various ttcn3-*-test jenkins.sh / Dockerfile:

- add -h (hack) option to jenkins.sh
  If calling jenkins.sh with the -h option, bind external osmo-ttcn3-hacks
  sources into the docker containers and start a shell instead of the tests:
    jenkins.sh -h ~/src/osmo-ttcn3-hacks [bind/this/path/to/src]
  An optional second argument is a path bound to /src in the docker image.

- move Dockerfile RUN commands to Makefile within docker img
  Add a Makefile to the image's root, move the RUN command there and call that
  'make' from the Dockerfile RUN command; allows easy manual invocation.

Change-Id: Id7d47f665828557838f541b4467b713a8605389b
2022-07-19 11:41:41 +02:00
Neels Hofmeyr ea4610ab23 debian-bullseye-build, osmo-msc-master: add gdb and vim for ttcn3 hacking inside docker
Change-Id: I9f9d5f1c1146c6da8c78c19fdf05bc8a8f7d1827
2022-07-19 11:41:36 +02:00
Neels Hofmeyr 91f1348f67 add NOBUILD alias to NO_DOCKER_IMAGE_BUILD
Change-Id: I008bd103ea14fc1dfbc7e718bce3eff59b6a6a30
2022-07-19 11:38:51 +02:00
Pau Espin 50344e4143 ttcn3-cbc: Enable gsmtap log
Change-Id: I15ecf18e062218efb4a4319e29f182ba4331a37b
2022-07-12 14:41:26 +00:00
Oliver Smith 8692c28103 debian-bullseye-jenkins: new container
Related: OS#6041
Change-Id: I849568826b1993fd9fb652779e631188af4a319e
2022-07-12 12:45:15 +02:00
Oliver Smith cf7b6f11d3 debian11-repo-install-test: add container
Change-Id: I7bb98b209481b25317301bdb69f48e644389745f
2022-07-08 15:00:45 +02:00
Oliver Smith 601df58a36 Remove several unused containers
* alpine-*: looks like they were never used
* debian-{jessie,stretch}-*: EOL
* debian9-repo-install-test: EOL
* gitolite: never used? / upstream container last updated 3 years ago
* osmo-gerrit-libosmo: unused example from 2017, based on jessie
* patchwork: looks like never used, ancient version
* public-inbox: added in 2018 for playing around, apparently unused
* tmp: unfinished and unused
* ubuntu-zesty-build: was added for testing ubuntu 17.04, unused

Related: OS#5601
Change-Id: Ic09046379ddff049629bb66850ead7ba479c4450
2022-07-06 13:55:32 +02:00
Oliver Smith 38f7fcb265 */.release: remove
These files are in .gitignore and get generated at the end of running
'make'. Remove them to have less cluttered 'git grep' output.

Change-Id: Ie5bf05220359ac0941f62cc86ed843363548784a
2022-07-06 12:36:26 +02:00
Oliver Smith bead8b0422 release-tarball-build-dist/Makefile: update
Adjust the Makefile as well after the docker container has been migrated
to debian 11 in Ib6039724a7200abce5252f95407047296b72cd51.

Change-Id: Ibebca7be7daccd17bbf1b382108d87eb5a93ecf1
2022-07-06 12:16:47 +02:00
Oliver Smith de110d422d release-tarball-build-dist: move osmo-ci code here
Add a jenkins.sh that does the same as the previous lengthy shell
command in the jenkins-job-builder file, and add
osmocom-release-tarballs.sh. This makes it easier to test the
script, and only patching one repository is needed from now on when
changing to a newer debian version.

Depends: osmo-ci I15f6c08b807f1462f91e95b624cdc1aad0592dd6
Change-Id: I4cf66097f508c029f688ec8af1cab2238d42f84f
2022-06-29 11:40:13 +02:00
Oliver Smith 259ecdae26 release-tarball-build-dist: upgrade from debian 9
Let it use debian bullseye and rename the directory once, so we don't
need to rename it in the future when switching the debian version
again.

The reason I'm doing this now is that building with debian 9 failed
due to obs.osmocom.org related changes. It would be trivial to fix that,
but I decided to rather upgrade to the latest debian version.

Change-Id: Ib6039724a7200abce5252f95407047296b72cd51
2022-06-29 11:39:49 +02:00
Oliver Smith 73a272ecd4 osmo-gsm-tester: use debian's soapysdr-module-lms7
After switching from build.opensuse.org to obs.osmocom.org's published
packages, the soapysdr0.7-module-lms7 binary package we had does not
exist anymore.

I'm not sure where it came from, from the name it looks like it was
built from version 0.7 sources, but we only have a soapysdr_0.5.4
package in OBS that was added for debian 8/ubuntu 16.04 compatibility 4
years ago, and builds have been disabled for all architectures:
https://build.opensuse.org/package/show/network:osmocom:nightly/soapysdr

Instead of relying on this leftover binary package, use the one provided
by debian instead. This osmo-gsm-tester docker container is based on
debian-buster, which has soapysdr 0.6 packaged. If we should really need
0.7, we could switch it to bullseye or build it from source while
building the container, or add it back to obs.osmocom.org.

I verified that the container builds with this change.

Fix for:
  E: Unable to locate package soapysdr0.7-module-lms7

Change-Id: Ie2408258eda407d9db6c2f0f5fbe475861756778
2022-06-29 10:20:01 +02:00
Oliver Smith fb6b14236f debian-stretch-jenkins: add apt-transport-https
Fix installing packages from https with debian-stretch-jenkins after we
switched the packages mirror to https://downloads.osmocom.org/packages.

Fix for:
  E: The method driver /usr/lib/apt/methods/https could not be found.

Related: SYS#5557
Change-Id: I9ece7ffb295d8b371a0000a91b9b6d0f7174535d
2022-06-28 17:26:47 +02:00
Oliver Smith 30b32e574a Use Osmocom OBS
Related: OS#5557
Change-Id: I880f8134e4f7e6ae4125237e6b3983c04cea9ec6
2022-06-27 16:47:56 +02:00
Oliver Smith f3c09b2a24 Install ca-certificates before Osmocom repo
Prepare for using https://downloads.osmocom.org/packages/ instead of
http://download.opensuse.org to download packages. Install
ca-certificates before attempting to use the repository, otherwise it
will print a warning and not use the repository and e.g. install
eclipse-titan from debian's repository instead of our repo.

Fix for:
W: https://downloads.osmocom.org/packages/osmocom:/latest/Debian_11/./InRelease: No system certificates available. Try installing ca-certificates.

Related: OS#5557
Change-Id: Icb6764601671b6e66591f33ede6d0f822811545a
2022-06-27 16:47:56 +02:00
Harald Welte 010d9f30ae cgit: Fix Atom feed scheme from http to https
before:
<link rel='alternate' title='Atom feed' href='http://cgit.osmocom.org/libosmocore/atom/?h=master' type='application/atom+xml'/>

after:
<link rel='alternate' title='Atom feed' href='https://cgit.osmocom.org/libosmocore/atom/?h=master' type='application/atom+xml'/>

Change-Id: I4000f32ee8e7c55a711f928a19379b3a80a8446f
2022-06-20 19:06:14 +00:00
Harald Welte 3093787dd9 cgit: fix Atom feed hostname from localhost to cgit.osmocom.org
Before:
$ curl -s https://cgit.osmocom.org/libosmocore/ | grep "Atom feed"
<link rel='alternate' title='Atom feed' href='http://localhost/libosmocore/atom/?h=master' type='application/atom+xml'/>

After:
$ curl -s https://cgit.osmocom.org/libosmocore/ | grep "Atom feed"
<link rel='alternate' title='Atom feed' href='http://cgit.osmocom.org/libosmocore/atom/?h=master' type='application/atom+xml'/>

Change-Id: Iaab14e254acc0356f0d3639924e3b6b528d57973
2022-06-20 19:06:14 +00:00
Neels Hofmeyr 9ccb78afeb add debian-sid-jenkins
Trying to get the gerrit build job for osmo-upf to work,
for patch Ic0d319eb4f98cd51a5999c804c4203ab0bdda650
which adds use of nftables.

Maybe a newer debian version for the docker image may help.

Change-Id: Ieb4fb1ddee80315b547ea7e3405a56fcc41daaad
2022-06-19 14:16:50 +00:00
Pau Espin ec15d465bd make: Allow passing OSMO_CBC_BRANCH to docker
Change-Id: I0ff3e8f298bd0d743b91d41620623d14911fef63
2022-06-16 16:26:42 +02:00
Pau Espin b969ffaa9d debian-bullseye-titan: Update libfftranscode 0.3->0.5
New version is needed for SBcAP support.

Related: OS#4945
Change-Id: Ifcbd01e8ff4d00dbf1413e4d80a60e3e038d1661
2022-06-15 17:09:35 +02:00
Harald Welte a4d04deea7 cgit: more verbose logging format in access.log
Change-Id: Iee684c8732410971719044b281a4e810fe0f7945
2022-06-10 05:58:26 +02:00
Harald Welte 5ed22876a9 gerrit: update to 3.4.5
Change-Id: I767a5e13d8f73b95aee7997f9f4b0a4f64c19483
2022-06-10 05:56:47 +02:00
Vadim Yanitskiy 6b5d3ce269 ttcn3-bsc-test/jenkins-sccplite.sh: fix missing osmo-bts-omldummy logs
Change-Id: I823c34a754701dc71cd52df0ca660bd8fe3c02ab
2022-06-08 23:37:51 +06:00
Vadim Yanitskiy b41fcf8b4c ttcn3-bsc-test/jenkins-sccplite.sh: configure 4 TRX for BTS2
This is another fixup for [1].  I didn't notice that the sccplite
variant of ttcn3-bsc-test has its own copy of jenkins.sh.

Change-Id: I21219724adbeda4166963b4940b08aad281a62cb
Fixes: [1] Iba4fbd5c9ed59783df4ac64e68b2beef73a812ff
Related: SYS#5460
2022-06-08 23:35:52 +06:00
Pau Espin e7a5379e29 open5gs: Enable libmetrics prometheus implementation
metrics support using Prometheus has been recently added to open5gs
(28e40a0f1b9048768958344e213c69994be671f5). However, it is still not
enabled by default. Let's enable it and update open5gs config files to
make use of it.

Change-Id: I6ec827d66241e20d631f3a851457921718c168a0
2022-06-08 13:49:43 +02:00
Vadim Yanitskiy 029594f3b2 ttcn3-bsc-test-sccplite/osmo-bsc.cfg: configure 3 additional TRX instances for BTS2
This should have been done as part of [1] in order to avoid
regressions in ttcn3-bsc-test-sccplite.

Change-Id: I2d0045533814a2bacc384c06287066f2209a5f38
Fixes: [1] Iba4fbd5c9ed59783df4ac64e68b2beef73a812ff
Related: SYS#5460
2022-06-07 16:10:04 +06:00
Vadim Yanitskiy 98183d64d7 ttcn3-bsc-test/osmo-bsc.cfg: configure 3 additional TRX instances for BTS2
Change-Id: Iba4fbd5c9ed59783df4ac64e68b2beef73a812ff
Related: Ie1241c54abac9a56906c525155cbf7482bca738e
Related: SYS#5460
2022-06-02 17:13:24 +06:00
Oliver Smith 62ac21133a jenkins-common: docker_depends: add open5gs
Change-Id: Ibcca8cf399abb4a4778318d1743985da8afde185
2022-05-30 13:35:46 +02:00
Oliver Smith 8200ebe0af common/Release.key: update
Looks like the key already expired again. This key is now valid until
2024-08-02 according to

$ gpg --import Release.key
$ gpp --list-keys

Key added again from:
https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11/Release.key

Change-Id: I56a8708ae55cc4cc5928cd80bb57d63f32e22423
2022-05-30 11:26:35 +00:00
Vadim Yanitskiy b5ecf1c3ef osmo-bsc.cfg: change logging level nm info -> notice
Stop spamming logs with tons of DNM messages (state changes, events).
GSMTAP emits all these messages (including 'debug' ones) anyway.

Related: I9e60ea0968a44aa29753226626864ac9f4c1f8ab (osmo-ttcn3-hacks.git)
Change-Id: I49352b3caf9f6bbdd594cfcdea54038fc0eaa874
2022-05-29 20:25:56 +06:00