Commit Graph

939 Commits

Author SHA1 Message Date
Pau Espin dfda07bcc4 osmo-bts-master: Depend on libosmo-netif
Since osmo-bts.git a2dc808acc5b99122e97c9013cb1ec2ae0c4a2a1, osmo-bts
depends on libosmo-netif. Let's add the dependency when building.

Change-Id: If033ed7f25bb69a66ecff56b2a1781d6339a6d7e
2022-09-07 11:37:37 +02:00
Harald Welte f95b7c8bad debian-bullseye-titan: Discontinue the use of git://
Change-Id: I188a04dd6ecae3c92186d5cbf6cd002ad518efc3
2022-08-31 13:07:46 +02:00
Harald Welte 1c2fc48991 debian-bullseye-titan: Use gitea, not obsolete cgit
When downloading the deps/Makefile, use gitea instead of the obsolete
and now defunct cgit deep-link

Change-Id: Ifbcb992e70a1faefc3829df28f8bf4dfaf2143e1
Related: OS#5670
2022-08-31 12:55:18 +02:00
Pau Espin bb6e5d1acb ttcn3-bsc: Enable OSMUX feature in osmo-bts-omldummy
This feature is used to indicate to the BSC that the BTS supports Osmux.

Requires: libosmocore 18c6a8183f92915e77368ecffb1cbf7f555453a3
Related: SYS#5987
Change-Id: Ia402b7514b636750442d0859d5ebc3fcad67dd9f
2022-08-30 16:00:09 +00:00
Vadim Yanitskiy d10cc6a598 osmo-msc-master: install libsqlite3-dev/sqlite-devel
Since recenly, osmo-msc is using libsqlite3 directly.

Change-Id: I4b0ecfcc9a25797eb8e12f07e039160dfc296d4c
2022-08-17 05:14:39 +07:00
Vadim Yanitskiy 08586306ba osmo-hlr-master: install libsqlite3-dev/sqlite-devel
osmo-hlr is using libsqlite3 directly, not via libdbd.

Change-Id: I99e43dff8f94fbef1a2dd9934caf6ba1fa7cc1f7
2022-08-17 05:14:33 +07:00
Oliver Smith 278ed47265 fix_perms: use debian:bullseye
Use debian:bullseye instead of debian-bullseye-build. Building the
latter requires a lot of time, it's definitively not needed for just
running chmod. Use debian:bullseye, since we use it as base for most
images and it's therefore very likely that it's already downloaded
(and if not, it would get downloaded here).

Change-Id: I88f513a0a8ee04628842a7aa1b663c390d2032cd
2022-08-04 12:45:29 +00:00
Pau Espin 7a2fb72782 ttcn3-cbc: Update osmo-cbc.cfg, CBC_Tests.cfg to latest ttcn3 testsuite
New changes in ttcn3 also test SBcAP and CBSP links as client mode in
osmo-cbc.

Related: OS#4945
Requires: osmo-ttcn3-hacks.git c832c10b28c70f244423143f133cf63aea937997
Change-Id: I14a50d3d2284ceffc0607880fecddbff2a048284
2022-08-04 11:37:24 +00:00
Oliver Smith 37b7b23de1 osmo-hnodeb-latest: new container
Change-Id: I4c8cba31b792810b7e73af37c1f63edb12e8b37d
2022-08-03 16:16:37 +02:00
Pau Espin ac04ee2fe6 ttcn3-cbc: Disable gsmtap_log debug for dasn1c category
This category prints incredibly large output of ASN1c encoder/decoder,
which clogs the logging subsystem while debugging general issues.
Since the encoder/decoder is somehow determenistic, let's disable
logging all the debugging; it can be enabled by the user when
specifically debugging any enc/dec related issue.

Change-Id: I53cc2fe717fa70a8f187788fc4d31d28e0d4e98a
2022-08-01 15:55:41 +02:00
Pau Espin 46f6ad797e ttcn3-cbc: Adapt ports in osmo-cbc.git to default ttcn3 ones
This is intended to ease adding new emulated MMEs and BSCs by using next
available port strting from the one defined in the TTCN3 test module
parameter.

Requires: osmo-ttcn3-hacks.git Ib443aba9396aebe0a56b1a79719bbcf66302a1aa
Change-Id: Ib1387284c8f361572057b6d036429366238382a6
2022-07-29 18:58:06 +02:00
Pau Espin b2f2e2fa62 ttcn3-cbc: Set mode server in osmo-cbc.cfg
TCP/SCTP client support was added recently in osmo-cbc. Since then, the
connection mode (client|server|disabled) needs to be specified in the
config. Let's update osmo-cbc.git to provide the correct info in here.

Requires: osmo-cbc.git Change-Id I3ec54b615b41b56f7a9c64298e3fcaac37f4b60e
Change-Id: I2e3a806a8371011cdb4c3b1f194e132d3896374e
2022-07-25 11:36:12 +02:00
Pau Espin ef475cf236 ttcn3-cbc: Adapt osmo-cbc 'peer' node to new format
Requires: osmo-cbc.git Change-Id I47756dddd8f9b8450ba14c914614fd2391d5486e
Change-Id: I3654acdf4b68886133af7f418726903f3fee57eb
2022-07-22 14:31:37 +02:00
Pau Espin 5a1e6f8067 ttcn3-cbc: Reorder osmo-cbc.cfg nodes
This is the new expected working order.

Related: osmo-cbc.git I7623ea5874552e57764327e94a9c3a4de7b71d67
Change-Id: Ia6f9cb6ac5935b8253521a6bfe11e6905e77523d
2022-07-21 18:51:27 +02:00
Pau Espin 34255f2f7d osmo-cbc-master: Fix missing ldconfig
osmo-cbc installs now libosmo-sbcap.so.0, so ldconfig must be run.

Related: OS#4945
Change-Id: Ia02323639af57ed76cf7106934ace1fa4a0c2c77
2022-07-20 15:00:19 +02:00
Pau Espin 5f3c781058 ttcn3-cbc: Update osmo-cbc.cfg to test SBc-AP
Requires: osmo-ttcn3-hacks.git Ia6743e0a3e7974a5f2dd3ecf74ec331f646f6bc2
Requires: osmo-cbc.git Iceea1a2281f8784d64b4227601d8757b7ae39176
Change-Id: Ie6fb464890c4b7b9816ef8602633df107e5e61ee
2022-07-18 10:59:34 +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
Oliver Smith 8542030008 common/Release.key: update
The current key is about to expire (2022-05-22). Update to the new one,
obtained from:
https://download.opensuse.org/repositories/network:/osmocom:/nightly/Debian_11/Release.key

Change-Id: I30d51435108c4763a92d57de223503d4ca4b0969
2022-05-19 17:04:14 +02:00
Oliver Smith c6094726ae */Dockerfile: drop MAINTAINER line
MAINTAINER is deprecated, drop the line in all Dockerfiles as suggested
by Vadim.

Related: https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
Change-Id: If1ef3032af2075d792c526ae744ec4c0c091da3a
2022-05-13 18:17:06 +02:00
Oliver Smith 0cc339320d osmocom-bb-host-master: modernize
Do not set up the Osmocom repository inside osmocom-bb-host-master, it
is done in debian-bullseye-build. Without this patch, we actually
installed the debian 9 version of libosmocore-dev in the debian 11
container.

This is part 1/2 of fixing TTCN3-centos-bts-test, which has been failing
since OSMOCOM_REPO_MIRROR was changed in osmo-ci.git. Part 2 is in
osmo-ci I8201f34a0f9747eea78c358a626cc3981d7407c4.

Change-Id: I78e0445a1b82e5cd72ecaa86e8fe25516b19f485
2022-05-13 11:11:40 +02:00
Oliver Smith 359f1e7b2b debian-bullseye-build: add libmnl-dev
As required by libosmocore, e.g. when building programs directly in this
container with osmo-dev.git/ttcn3/ttcn3.sh.

Change-Id: I4cd05ef2c164dfb765ee365ab38b8dfd4f955ac6
2022-05-04 09:10:49 +00:00
Oliver Smith cd97dbd78b ttcn3-bsc-test: set osmo-bts-omldummy features
Add arguments to osmo-bts-omldummy to properly report the features that
were previously assumed for osmo-bts even without reporting them, until
this was changed in osmo-bsc I7fca42a39a4bc98a6ea8b9cfab28c4bad3a6a0aa.

Related: SYS#5922, OS#5538
Change-Id: Ib22f25431330676d59900de7bfb3d89e7872baf1
2022-05-03 15:10:55 +02:00
Pau Espin 6e1a4e7df0 ttcn3-ggsn-test-ogs: set CAP_NET_RAW for open5gs-upfd
The SO_BINDTODEVICE feature (used for VRF) requires CAP_NET_RAW. Since
we run open5gs-upfd as user "osmocom", that seems to be causing some
permission problems under some systems (like jenkins). Let's make sure
we add the capabilitites to the binary before launching it as user
"osmocom".

Change-Id: I51ee6954a6c019a41cfcd50b2d99166316989d9b
2022-05-02 11:36:18 +02:00
Harald Welte 03d9974db8 debian-buster-jenkins: install libelf-dev
Add libelf-dev to be able to build kernel modules with
defconfig_x86_64.

This is an update to commit d6c5c7a034,
which should have not just modified the stretch but also the buster
Docker image

Change-Id: I4c442d86688278ff634a286b98637189eef88bfb
Related: OS#5407
2022-04-24 18:15:03 +02:00