Skip to content
Success

Changes

Summary

  1. repo-install-test: fix ca-certificates-java error (details)
  2. repo-install-test: ignore limesuite-images (details)
  3. tarballs: add osmo_dia2gsup (details)
  4. tarballs: git archive: put files in directory (details)
  5. tarballs: git archive: make proper tar.bz2 (details)
  6. obs-mirror: keep nightly builds for two years (details)
  7. obs-mirror: rsync over from remote server via rsync (details)
  8. obs-worker: support more recent opensuse versions (details)
  9. hosts: Add build4-obsworker (details)
  10. ttcn3-slave: Install sudo (details)
  11. ansible/jenkins-slave/osmo-ci: Install 'make' required for osmo-ci (details)
  12. ansible: add raspbian11build container on lx2 machine (details)
  13. scripts/docker-cleanup: buildkit cache too (details)
  14. scripts/obs: Add -M/--no-meta option to avoid depending on osmocom-* (details)
  15. repo-install-test: update package filtering logic (details)
  16. jobs: fix undefined parameter log warnings (details)
  17. jobs/osmocom-obs-sync: add newest Ubuntu, Raspbian (details)
  18. jobs/gerrit: osmo-upf: don't for build debian 10 (details)
  19. OBS: lib.osc.get_projects: print apiurl (details)
  20. OBS: add jenkins job to check for new distros (details)
  21. README: update and convert to markdown (details)
  22. README: document how to upgrade coverity (details)
  23. coverity: upgrade to 2023.6.2 (details)
  24. ansible: fix updating /opt/coverity/current (details)
  25. coverity: readlink /opt/coverity/current (details)
  26. coverity: add job to check for failed uploads (details)
  27. coverity: build osmo-hnbgw with '--enable-pfcp' (details)
  28. jobs/osmo-gsm-tester-virtual: kill old instances (details)
  29. OBS: srcpkg Dockerfile: add lsb-release, quilt (details)
  30. jobs/ttcn3: remove 2023q1 testsuites (details)
  31. jobs/update-osmo-ci: remove build3 (details)
  32. jobs/osmocom-obs-sync: remove Ubuntu 23.04, Debian Testing (details)
  33. jobs/gerrit-verifications: remove almalinux8 (details)
  34. jobs/repo-install-test: remove centos8 (details)
  35. jobs/ttcn3-testsuites: remove centos8 (details)
  36. jobs/registry-update-base…: remove almalinux8 (details)
  37. jobs/gerrit: don't build osmo-epdg for debian:11 (details)
  38. jobs/ttcn: Run ttcn3-epdg-test only under debian12 (details)
  39. lint: ignore LICENSE* and COPYING* (details)
  40. jobs/ttcn3: add testsuites with io_uring (details)
  41. ttcn3: add ttcn3-stp-test-io_uring (details)
  42. jobs/ttcn3: run io_uring tests on specific nodes (details)
  43. jobs/gerrit: build for debian 12: gapk, osmocom-bb (details)
  44. OBS: add gapk, osmocom-bb (details)
  45. jobs/ttcn3: rename io_uring node label (details)
  46. jobs/gerrit: libosmocore: run on io_uring nodes (details)
  47. jenkins: Add io_uring job for osmo-mgw (details)
  48. jobs: add osmocom-obs-ewild (details)
  49. jobs/master-builds: libosmocore: io_uring nodes (details)
  50. gerrit-verifications: execute 'distcheck' job for pysim (details)
  51. jobs/ttcn3: add ttcn3-ggsn-test-kernel-pablo-gtp (details)
  52. jobs: ttcn3-testsuites.yml: Add job ttcn3-asterisk-ims-ue-test (details)
  53. jobs/ttcn3: …-pablo-gtp: don't wipe workspace (details)
  54. ttcn3-ggsn-test-kernel-latest-net-next: update net-next branch (details)
  55. checkpatch: recognize json_array_foreach etc. (details)
  56. jobs/gerrit,master: osmo-hnbgw: add nftables var (details)
  57. jobs/osmocom-obs-sync: add Ubuntu 24.04 (details)
  58. jobs/osmocom-obs-sync: remove Ubuntu 20.04 (details)
  59. jobs/ttcn3: run io_uring testsuites on all nodes (details)
  60. jobs/ttcn3: io_uring: set memlock to unlimited (details)
  61. jobs/ttcn3: add ttcn3-sgsn-test-sns[-latest] (details)
  62. repo-install-test: centos8: fix almalinux keys (details)
  63. OBS: move gerrit-binpkgs logic to separate script (details)
  64. jobs/update-osmo-python: remove build3 (details)
  65. ttcn3-bsc-test-io_uring: limit jenkins nodes again (details)
  66. OBS: sync_obs_projects: remove AlmaLinux:8 (details)
  67. ansible/setup-jenkins: install rsync (details)
  68. jobs: gerrit: build osmo-pcap + dep for centos7 (details)
  69. OBS: gerrit_binpkgs: use --no-meta (details)
  70. OBS: gerrit_binpkgs: add hint where to find pkgs (details)
  71. jobs/ttcn3: run ttcn3-msc-test earlier (details)
  72. jobs/ttcn3-testsuites.yml: add ttcn3-bts-test-io_uring (details)
  73. jobs/ttcn3: update ttcn3-ggsn-test-kernel (details)
  74. OBS: add update_obs_eclipse_titan.sh (details)
  75. jobs/{gerrit,master}: osmo-epdg: build manuals too (details)
  76. scripts: osmo_git_clone_url: prefer using gerrit (details)
  77. scripts: osmo_git_clone_url: add osmo-epdg (details)
  78. jobs/update-osmo*: add lx2-raspbian11build-ansible (details)
  79. jobs/README: convert to markdown (details)
  80. jenkins-jobs-osmo: new file (details)
  81. jobs/{gerrit,master}: add osmo-s1gw (details)
  82. ansible/setup-jenkins: utils: order alphabetically (details)
  83. ansible/setup-jenkins: add more utils (details)
  84. ansible: jenkins: lx2: configure tmpfs (details)
  85. ansible/hosts: lx2-raspbian11build: update IP (details)
  86. OBS: fix python 3.12 compat (details)
  87. OBS: improve argparse help output (details)
  88. OBS: update_obs_project: add --exclude-package (details)
  89. OBS: add --configure-append (details)
  90. OBS: add --disable-manuals (details)
  91. OBS: fix using --conflict-pkgname (details)
  92. jobs: add osmocom-obs-nightly-asan (details)
  93. jobs/ttcn3-testsuites: add -asan (details)
  94. OBS: get_git_version: debian/changelog as fallback (details)
  95. jobs/coverity: adjust mount path to new home dir (details)
  96. jobs/coverity: fix clean up permission errors (details)
  97. jobs/ttcn3: add ttcn3-s1gw-test (details)
  98. publish-manuals-for-tags: fix osmo-epdg (details)
  99. publish-tarballs-for-tags.sh: publish osmo-epdg's versions (details)
  100. jenkins: add ttcn3-epdg-test-latest job (details)
  101. ttcn3: io_uring: use custom seccomp profile (details)
  102. obs: use specific mirror (details)
  103. CI: OBS: centos7: use vault.centos.org (details)
  104. obs/lib/srcpkg: also rstrip() the output of git-version-gen (details)
  105. obs: add package strongswan-epdg (details)
  106. gerrit-verifications-dahdi: set concurrent: false (details)
  107. jobs/various: clean workspace on success (details)
  108. jobs/gerrit-lint: wipe workspace (details)
  109. OBS: lib/debian: generate valid strongswan version (details)
  110. jobs/osmocom-build-tags…: fix workspace clean (details)
  111. jobs/update-osmo-…: only trigger container rebuild (details)
  112. OBS: osmocom:master: ignore missing commit_*.txt (details)
  113. osmo-depcheck: add new libosmocore libraries (details)
  114. osmo-depcheck: add osmo-e1d provided libraries (details)
  115. OBS: replace - with . in version for d/changelog (details)
  116. OBS: support epoch in strongswan-epdg version (details)
  117. OBS: fix up-to-date check for strongswan-epdg (details)
  118. OBS: fix changelog_add_entry_if_needed (details)
  119. OBS: latest: handle "version is None" (details)
  120. OBS: use r-strings for git_latest_tag_pattern_{default,other} (details)
  121. OBS: add tag_pattern(), make tag patterns stricter (details)
  122. OBS: add release tag pattern for gapk (details)
  123. ansible/hosts: remove build3 (details)
  124. ansible/setup-jenkins: add podman (details)
  125. registry-rebuild-upload-testenv: new job (details)
  126. jobs/ttcn3-testsuites-testenv: initial (details)
  127. jobs/osmocom-depcheck: update default project (details)
  128. jobs/osmocom-depcheck: disable mail notifications (details)
  129. jobs/osmocom-obs-sync: remove Ubuntu:23.10 (details)
  130. osmo-s1gw: build debian pkgs, publish source tarballs (details)
  131. Update Release.key for Osmocom OBS (details)
  132. Revert "checkpatch: recognize json_array_foreach etc." (details)
  133. ansible: podman: use fuse-overlayfs (details)
  134. jobs/ttcn3-testsuites-testenv: add s1gw (details)
  135. ansible: update rpi4-raspbian12build-ansible-1 (details)
  136. jobs/ttcn3-testsuites-testenv: Add job running ttcn3-pcrf-test-ogs (details)
  137. scripts/common: osmo_git_clone_url: add pyosmocom (details)
  138. jobs/{gerrit,master,update-osmo-ci}: add aarch64 case (details)
  139. jobs/{master,gerrit}: rpi4-raspbian11 -> raspbian (details)
  140. jobs/update-osmo-ci-on-slaves: update rpi4-1 name (details)
  141. jobs/{gerrit,master}: aarch64: use setarch linux32 (details)
  142. Stop building openbsc (details)
  143. scripts/manuals: ignore pyosmocom 0.0.1, 0.0.2 (details)
  144. scripts/build-old-tags: build libosmo-sccp-legacy (details)
  145. …gerrit/comment_generate: make error more helpful (details)
  146. jobs/osmo-gsm-tester-build: fix Missing parameter (details)
  147. libosmo-sccp -> libosmo-sigtran (details)
  148. OBS: add libosmo-sccp-legacy URL (details)
  149. ansible: update rpi4-2 and rpi4-3 (details)
  150. publish-tarballs: ignore some libosmo-sccp-legacy (details)
Commit 8ba48eb28a7b0631dd4f3539c815ffb7d80de122 by laforge
repo-install-test: fix ca-certificates-java error

The repo-install-test started to fail on debian 10 with the following
error. Apparently this happens when installing ca-certificates-java
after installing java. Add a workaround.

  Setting up ca-certificates-java (20190405) ...
  head: cannot open '/etc/ssl/certs/java/cacerts' for reading: No such file or directory
  Exception in thread "main" java.lang.InternalError: Error loading java.security file

Change-Id: I00b9c97d9d85fb37ba33a48caa732cd50de99683
The file was modifiedscripts/repo-install-test/run-inside.sh
Commit a9e9c366b1bcf93acc92cc56dff0dacae8307ed6 by laforge
repo-install-test: ignore limesuite-images

Don't attempt to install limesuite-images. It runs a post-install script
that downloads files from an external server and fails currently, as
there are no images for 23.10. While we have limesuite-images packages
in our OBS repository, this is just a side-effect of building limesuite.
What we are really interested in is liblimesuite for osmo-trx, as I
understand.

Add --no-install-recommends to the apt-get install line in
install_repo_packages_debian, because the main limesuite package has
limesuite-images in recommends and would pull it in otherwise.

Change-Id: I237408c805977c831f352a57a301ea45753d1ac1
The file was modifiedscripts/repo-install-test/blacklist_debian11.txt
The file was modifiedscripts/repo-install-test/blacklist_debian10.txt
The file was modifiedscripts/repo-install-test/blacklist_debian12.txt
The file was modifiedscripts/repo-install-test/run-inside.sh
Commit 88d62e3c6966189b1cccacfdf7033a7d13c261d0 by Oliver Smith
tarballs: add osmo_dia2gsup

Change-Id: I9cbd3d3ce27a4b4c9c8e19b2876386d170d4f0a6
The file was modifiedscripts/tarballs/publish-tarballs-for-tags.sh
The file was modifiedscripts/common.sh
Commit 0c79a15162b067822f561259e8b35fafbac286ac by Oliver Smith
tarballs: git archive: put files in directory

Make the releases created from the "git archive" code path more similar
to the autotools releases, by having all files in a subdirectory with
the project name and tag name instead of having them directly in the
root of the tarball.

  $ tree osmo_dia2gsup-0.1.1 | head
  osmo_dia2gsup-0.1.1
  ├── build_dep.tar.gz
  ├── contrib
  │   ├── generate_build_dep.sh
  │   ├── jenkins.sh
  │   └── systemd
  │       └── osmo_dia2gsup.service
  ├── debian
  │   ├── changelog
  │   ├── compat

Change-Id: If37dcdc04278de0d4479cf72e0ca33c90b7deea8
The file was modifiedscripts/tarballs/publish-tarballs-for-tags.sh
Commit 38707a473cea49f39c815ac8bab1864dc11cd9dc by Oliver Smith
tarballs: git archive: make proper tar.bz2

Compress the tarball from "git archive" with bzip2 to turn it into a
proper .tar.bz2. Previously the archive was named .tar.bz2, but it was
just a regular tarball as git archive didn't guess the type from the
filename (supposedly this works for .tar.gz and some others) and just
defaulted to tar.

Move the code that adds build_dep.tar.gz to the archive before the bzip2
call, because tar can't add files to the archive if it is compressed.

Change-Id: I5830f9123150540a6467c19c64461d2fa1972a52
The file was modifiedscripts/tarballs/publish-tarballs-for-tags.sh
Commit 0afdbcf8bd96e77bd233b31e2d089a175f89f7ab by laforge
obs-mirror: keep nightly builds for two years

As we're moving the archive to a machine with sufficient storage,
let's extend the time we keep an archive of nightly builds from
one month to two years.

Change-Id: Ic8529ee5679f15c4e4940a5f095374605c2e5c79
Related: OS#6257
The file was modifiedcontrib/obs-mirror/rm-old-nightly-archives.sh
Commit 26ae81f6bda752560d1093af7bcb166037df011f by laforge
obs-mirror: rsync over from remote server via rsync

We no longer run the archive on the same machine/lxc as the normal
downloads server

Change-Id: Id490690394db9eb773f945ad4d7e65fe7fd5e17a
Related: OS#6257
The file was modifiedcontrib/obs-mirror/obs-mirror.sh
Commit ced38b31bc6ec6d0883ee016c824c9789f7217f5 by laforge
obs-worker: support more recent opensuse versions

We don't want to install new builders with 15.3, and the playbook
should just detect the installed version rather than making assumptions

Change-Id: I96f9896c0eeab120633d5800198d8b93371f7a5a
The file was modifiedansible/roles/osmocom-obs-worker/tasks/obs.yml
Commit f61843c0e8f38a4c537490d41ef1fece7f7e296f by laforge
hosts: Add build4-obsworker

Change-Id: I0c663fa281042aa98822d27a67add8ba07dca172
The file was modifiedansible/hosts
The file was modifiedansible/util/known_hosts
Commit 506e58eb5be7a0a785bf7dd5b8ff2055e7424af5 by laforge
ttcn3-slave: Install sudo

The sudo tool is required by the ansible 'become_user' used later in ttcn3-slave.yml

TASK [osmocom-jenkins-slave : ensure jenkins folder exists] *******************************************
fatal: [lx2-raspbian11build-ansible]: FAILED! => {
    "changed": false,
    "rc": 127
}

MODULE_STDOUT:
/bin/sh: 1: sudo: not found

Related: OS#5873
Change-Id: I2d50ef2dee8e060ff4f84810f2bba62d4801d638
The file was modifiedansible/roles/osmocom-jenkins-slave/tasks/ttcn3-slave.yml
Commit a05542cf58b25c9a470c1ce02c57f91a768d3d9c by laforge
ansible/jenkins-slave/osmo-ci: Install 'make' required for osmo-ci

TASK [osmocom-jenkins-slave : rebuild osmocom docker images for jenkins build tests] ******************
fatal: [lx2-raspbian11build-ansible]: FAILED! => {
    "changed": true,
    "cmd": "./scripts/osmo-ci-docker-rebuild.sh",
    "delta": "0:00:04.129667",
    "end": "2023-11-18 14:09:52.142684",
    "rc": 1,
    "start": "2023-11-18 14:09:48.013017"
}

STDERR:

+ make -C ../debian-bookworm-build-arm BUILD_ARGS=--pull UPSTREAM_DISTRO=debian:bookworm DISTRO=debian-bookworm IMAGE=osmocom-build/debian-bookworm-build-arm OSMO_TTCN3_BRANCH=master
./scripts/osmo-ci-docker-rebuild.sh: 203: make: not found

Change-Id: I785e4224e729accec15beaa3aef8e01f12624d9d
The file was modifiedansible/roles/osmocom-jenkins-slave/tasks/osmo-ci.yml
Commit b301da1369c6c142f9548ef609d6f797be09bf4a by laforge
ansible: add raspbian11build container on lx2 machine

Change-Id: I739e40cf6ef8d77585dfeb067ed75e258d94bbb3
Related: OS#5873
The file was modifiedansible/util/known_hosts
The file was modifiedansible/hosts
Commit a13ce691d1c271c4e100fbee83e35af4b700d27e by laforge
scripts/docker-cleanup: buildkit cache too

In newer docker versions, a buildkit cache was introduced. It gets used
while building images. Clean it up as well.

Related: https://osmocom.org/projects/osmocom-servers/wiki/Docker_cache_clean_up
Change-Id: Icf5237def75d4bcef6b0065f3f1f1da2ff362322
The file was modifiedscripts/docker-cleanup.sh
Commit de1651b1bf86d359fb8c2ed39c26de0a95723235 by dwillmann
scripts/obs: Add -M/--no-meta option to avoid depending on osmocom-*

This is useful for testing one-off dev packages

Change-Id: Id18c75de559c9ba29efd38d8510f2db3206c4209
The file was modifiedscripts/obs/lib/__init__.py
The file was modifiedscripts/obs/lib/srcpkg.py
Commit 2031b3d747d8d1bb952a6d565aea104a6d1ae315 by Oliver Smith
repo-install-test: update package filtering logic

Instead of filtering with several blacklist_* files that must contain
the exact names of packages to be filtered, add a shell function that
uses fnmatch for filtering. Combine all lists into one.

This fixes the error we get with each limesuite release, without the
need to increase the version in the txt files every time. Currently the
repo-install-tests are failing for all debian versions because of this.

Change-Id: I6745b10804685119d68b089f129ec9b0cde8cdf5
The file was removedscripts/repo-install-test/blacklist_debian11.txt
The file was removedscripts/repo-install-test/blacklist_centos8.txt
The file was removedscripts/repo-install-test/blacklist_debian10.txt
The file was modifiedscripts/repo-install-test/run-inside.sh
The file was removedscripts/repo-install-test/blacklist_debian12.txt
Commit c4ee740d57d283ae76dd1f3ae9497c9e926642a0 by Oliver Smith
jobs: fix undefined parameter log warnings

Adjust all jobs in the gerrit verifications pipeline to use the same
parameters from a new include file, to prevent undefined parameter
warnings in the log.

Fixes: OS#6261
Change-Id: Iadc5cd8996eb4ed86634ceb35829a3e9239e598d
The file was modifiedjobs/gerrit-lint.yml
The file was modifiedjobs/gerrit-binpkgs.yml
The file was addedjobs/gerrit-verifications-parameters.yaml.inc
The file was modifiedjobs/gerrit-verifications-comment.yml
The file was modifiedjobs/gerrit-verifications.yml
Commit 046a284e83116722ab7549e53e9e0b25be2f76f3 by Oliver Smith
jobs/osmocom-obs-sync: add newest Ubuntu, Raspbian

Related: OS#6163
Change-Id: I459bd48b50d80fcd07837377e19e89df21d6c328
The file was modifiedjobs/osmocom-obs-sync.yml
Commit 5db0807a64f70e75af8c5e7d2e050930a1062e5e by Oliver Smith
jobs/gerrit: osmo-upf: don't for build debian 10

osmo-upf currently can't build against debian 10, as the required
libnftables-dev version there is too low and we don't provide a backport
for it. As discussed, disable it for debian 10.

Adjust CI to build against debian 11 instead (in addition to the usual
almalinux 8, debian 12).

Change-Id: I63798d451b66bf728b58b02414c1a44f6156b356
The file was modifiedjobs/gerrit-verifications.yml
Commit 6b136f74d18a243b79fe01cc9ce2f345aae99751 by Oliver Smith
OBS: lib.osc.get_projects: print apiurl

Print the apiurl, to make more obvious what is going on when running the
function twice in a row with two different apiurls (as done in the next
patch).

Change-Id: I789d12ce59ff14f526ab0334e78a6b22a063ec06
The file was modifiedscripts/obs/lib/osc.py
Commit 11f9724c3992a0a1c920c5b103cff0a5095c5303 by Oliver Smith
OBS: add jenkins job to check for new distros

Add a new jenkins job to notify us about new versions of Debian,
Raspbian and Ubuntu becoming available in the openSUSE OBS. This allows
us to consistently follow along and make the repositories available in
the Osmocom OBS. I've decided to check the openSUSE OBS instead of
checking somewhere upstream, because it takes time between a new
release of a distribution and the version becoming available in
openSUSE OBS, and we have another job that syncs the configuration with
that OBS instance.

Related: OS#6163
Change-Id: I0abc49a95197da55f7d83ed4fd1c4ebb6bd14b1e
The file was modifiedjobs/README.adoc
The file was addedscripts/obs/check_new_distros.py
The file was addedjobs/osmocom-obs-check-new-distros.yml
The file was modifiedscripts/obs/lib/config.py
Commit e4cb0649ef8f327a764e1f7032a6145f7eb6d128 by Oliver Smith
README: update and convert to markdown

* Describe all directories
* Update the text slightly
* Convert to markdown, so it shows up formatted at:
  https://gitea.osmocom.org/osmocom/osmo-ci

Change-Id: I9735eb30cf7260d211d5ea4da83ad09d31c93593
The file was removedREADME.adoc
The file was addedREADME.md
Commit 6c75241d15dd534566e5b690acda5821d1ddb63d by Oliver Smith
README: document how to upgrade coverity

Change-Id: I551df9f36112f34cf76d0247f1ebc1e58ae0a896
The file was modifiedREADME.md
Commit 39dd96b39074d42153616522015958b8dcccd188 by Oliver Smith
coverity: upgrade to 2023.6.2

Change-Id: I91f087fa3b39e1e0bc48739f92c4c23b3c0aa34f
The file was modifiedansible/roles/install-coverity/defaults/main.yml
Commit 1fc751429621810c78122c418dd8e2fc7db295d7 by Oliver Smith
ansible: fix updating /opt/coverity/current

Remove the previous /opt/coverity/current symlink, before creating the
new one. Otherwise the new symlink would be created inside "current"
pointing at the old version, instead of replacing "current" with the
new symlink.

  # ln -svf /opt/coverity/2023.6.2/* /opt/coverity/current
  '/opt/coverity/current/cov-analysis-linux64-2023.6.2' -> '/opt/coverity/2023.6.2/cov-analysis-linux64-2023.6.2'
  # readlink /opt/covervity/current
  /opt/coverity/2022.06/cov-analysis-linux64-2022.6.0

Add the verbosity flag to the command while at it.

(The glob is unrelated, why it is needed is described in
I2b96d1e47f2697706a042937b2852f0fc5032a7b)

Related: SYS#6685
Change-Id: I4ecb4997829b3cc61c839d089bda44f821ca8b85
The file was modifiedansible/roles/install-coverity/tasks/main.yml
Commit 0bdf874252f8b1067053fe4bbf43485db59156e1 by Oliver Smith
coverity: readlink /opt/coverity/current

Show where the symlink points at the start of the job, so we can see
which coverity version is currently installed.

Related: SYS#6685
Change-Id: If4a7c71759a6eb436eb47024565f169c6134e2e2
The file was modifiedcoverity/jenkins.sh
Commit 4cf490967c3e3e7c8f7fe3dee8f3fc970b007c4d by Oliver Smith
coverity: add job to check for failed uploads

Related: SYS#6685
Change-Id: Ideabcb30f9f8f365acff2de7751eb74a2762a7a6
The file was addedjobs/coverity-status.yml
The file was addedcoverity/badge_status.sh
The file was modifiedjobs/README.adoc
Commit 0e2604dae0f5cf13c3697784279dee5d624c7b84 by Vadim Yanitskiy
coverity: build osmo-hnbgw with '--enable-pfcp'

This should improve the analysis depth for osmo-hnbgw.

Change-Id: I33b44a1c2ffde80b000b41b78569ff2f55bc98ed
The file was modifiedcoverity/build_Osmocom.sh
Commit a9c93850c35e3bac01b6d58e6c00df0e83806617 by Oliver Smith
jobs/osmo-gsm-tester-virtual: kill old instances

Make sure osmo-gsm-tester gets killed eventually, even if a bug causes
it to run forever or if aborted manually.

* add a name to the docker container
* kill the docker container if it runs longer than 24h with
  docker-cleanup.sh
* rename fix_permissions_trap to clean_up_trap and kill it there, when
  it is still running before the job starts and after it is done
  (in my testing this did not kill it after pressing abort, but it would
  be killed either at the start of the next job running on the same
  jenkins node, or after 24h by docker-cleanup.sh)

Related: OS#6304
Change-Id: I6fc874d319d74aabdc33c10910cbcca2978d5bbb
The file was modifiedjobs/osmo-gsm-tester-runner.yml
The file was modifiedscripts/docker-cleanup.sh
Commit 33ddf03dfefd3844328b803cbe96bad513b7bc37 by Oliver Smith
OBS: srcpkg Dockerfile: add lsb-release, quilt

Wireshark with Osmocom patches on top of wireshark.git master failed to
build. I've reworked the packaging to use the "debian" dir from upstream
instead of having our own (now outdated) copy:
https://gitea.osmocom.org/osmocom/wireshark/commits/branch/osmith/deb-packaging

Add the additional dependencies that are now required to build the
wireshark source package to the Dockerfile.

Related: OS#2537
Change-Id: I82f64de70b9d099ac404530ca74c771d66b306d8
The file was modifiedscripts/obs/data/build_srcpkg.Dockerfile
Commit 235508927ff9711022336316997ceb13648b90d3 by Oliver Smith
jobs/ttcn3: remove 2023q1 testsuites

Related: SYS#6759
Change-Id: I97fd1b98b1515c320a297aac429007cc500e7e29
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 92b50a5a6bdf1d42f94715d1ad329453a4fa76b8 by Oliver Smith
jobs/update-osmo-ci: remove build3

Related: OS#6186
Change-Id: I63bbac0a767c30f8d3e4552024172bd689122d61
The file was modifiedjobs/update-osmo-ci-on-slaves.yml
Commit de102c44c3579e1333ea17fd2fcf4d9774fc42ef by Oliver Smith
jobs/osmocom-obs-sync: remove Ubuntu 23.04, Debian Testing

Related: OS#6163
Change-Id: Ief01182755688b2a16fc3ef272601e93d4a25ba1
The file was modifiedjobs/osmocom-obs-sync.yml
Commit b997fa98b22b4ee6a6defeb737bc56444c910d13 by Oliver Smith
jobs/gerrit-verifications: remove almalinux8

Related: https://osmocom.org/news/246
Related: SYS#6759
Change-Id: Ia180ac87251c39d9715276cf23a2663fb917f50a
The file was modifiedjobs/gerrit-verifications.yml
Commit da996062364f0e2b1a065a5014ef18651a7b4327 by Oliver Smith
jobs/repo-install-test: remove centos8

Related: https://osmocom.org/news/246
Related: SYS#6759
Change-Id: I311ccfe61b86e467996022107294ad560eee8bdf
The file was modifiedjobs/repo-install-test.yml
Commit cfaf536f5e6349753e18b2e64acfd611b063d4e2 by Oliver Smith
jobs/ttcn3-testsuites: remove centos8

Related: https://osmocom.org/news/246
Related: SYS#6759
Change-Id: I4142c5ababb85b74a890a0cbfc302bd15d44268e
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 5d1216f76ac8d980946823847cc4715c4586f112 by Oliver Smith
jobs/registry-update-base…: remove almalinux8

Related: https://osmocom.org/news/246
Related: SYS#6759
Change-Id: If921a5844ce602a7bda84b9e4d1507796c10948f
The file was modifiedjobs/registry-update-base-images.yml
Commit e2f71fdcf3e27943ce1a67972d10d96cc9278bb8 by Oliver Smith
jobs/gerrit: don't build osmo-epdg for debian:11

After switching to a newer gtplib, a newer OTP is required that isn't in
debian 11. Disable it, as Pau suggested.

Related: https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/36052/3#message-d76c9c565d6feea88ef2e596fc5554ddd2e52cc1
Change-Id: I6a9147aef85612f3fb00920edea8c6706954b007
The file was modifiedjobs/gerrit-verifications.yml
Commit 61723f812cdfc6cea3d22bc0ef448f9b07dab6ae by Pau Espin Pedrol
jobs/ttcn: Run ttcn3-epdg-test only under debian12

Test EPDG_Tests.TC_mt_ipv4_echo_req fails when running under debian11
(node build2-deb11build-ansible), most probably due to some kernel bug
fixed later on.
Since anyway osmo-epdg requires OTP from debian12, it makes no sense to
attempt to support older kernel version from debian11, so simply avoid
picking debian11 to run the tests.

Change-Id: I247853cbefa0864f54bad5e5b6597556c46a51e3
The file was modifiedjobs/ttcn3-testsuites.yml
Commit a0b7b49813288e11829af0f3261caee2ebc35ae4 by Oliver Smith
lint: ignore LICENSE* and COPYING*

Fixes: OS#6397
Change-Id: I859e9d7fdff5eeb86c24947031522a8123830f0c
The file was modifiedlint/checkpatch/checkpatch_osmo.sh
Commit bae98f4f35ae1068483228ab4416960578f01f4f by Oliver Smith
jobs/ttcn3: add testsuites with io_uring

Set LIBOSMO_IO_BACKEND=IO_URING via the DOCKER_ARGS variable, which all
SUTs already use in docker-playground.git (see ttcn3-*/jenkins.sh).

The list of testsuites to test for is takend from:
https://osmocom.org/issues/6357#note-9

Closes: OS#6357
Change-Id: I8eb3f4fdfe54268d3b623d88c8746f5395ba509d
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 4d06b21410a2d711774b4596b39ca7ab4e39d0cb by Oliver Smith
ttcn3: add ttcn3-stp-test-io_uring

Related: OS#6357
Change-Id: I996dee2f9ce27fcdd8771fa22379aa606192824d
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 467a96c28115352b0af9500f46b58658f6767ad5 by Oliver Smith
jobs/ttcn3: run io_uring tests on specific nodes

io_uring_queue_init fails on some of the jenkins nodes running the TTCN3
testsuites with io_uring. It seems that the kernel is too old on these
nodes. Run the testsuites only on jenkins nodes with the new
ttcn3-io_uring label, which have a recent kernel.

Related: OS#6357
Change-Id: If917806f9056fdf99863f4132f44659b2bfd44c3
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 65005ed338b3be61bfcac2ffde9667c83c6ef0e2 by Oliver Smith
jobs/gerrit: build for debian 12: gapk, osmocom-bb

Related: OS#6409
Change-Id: Ib48d90af734e627aa4760af6423481970626d501
The file was modifiedjobs/gerrit-verifications.yml
Commit f0cff7161be574308410e33c788ca80a0ebe91ee by Oliver Smith
OBS: add gapk, osmocom-bb

Related: OS#6409
Depends: osmocom-bb I3713201233e13fca5ea4e0b8c4df913c787965f5
Depends: gapk I8e9d42fc332c5d426b9074c6bc58bc6efe037fea
Change-Id: Ifd84479f97fe17de35a5f409c8fabadd3bf5c272
The file was modifiedscripts/obs/lib/config.py
Commit 642635a3af41058e47a261c684845325eaca095d by Oliver Smith
jobs/ttcn3: rename io_uring node label

Rename it from ttcn3-io_uring to io_uring, as it will be used for
non-ttcn3 jobs too in the next patch.

Related: OS#6405
Change-Id: Icd23a4497771c939f6b988ea244c9dcabfd30e3f
The file was modifiedjobs/ttcn3-testsuites.yml
Commit cd0de5983124a23bb8c8f85651a8a1bfba317a6b by Oliver Smith
jobs/gerrit: libosmocore: run on io_uring nodes

We have at least one node where the io_uring backend does not work.
Allow running the osmo_io tests with the io_uring backend in CI by
limiting the jenkins nodes used to the ones where we know that io_uring
works.

Related: libosmocore I82db9a15bc483a5447d86352512afaafa2bcfbb6
Related: OS#6405
Change-Id: I9289e2f84edbff95d81bb4a92863865b9563fc6a
The file was modifiedjobs/gerrit-verifications.yml
Commit 3cf8a0e792c1266ebf5ba8c1221c2127ae100993 by Oliver Smith
jenkins: Add io_uring job for osmo-mgw

A change introducing osmo_io for RTP/RTCP of omo-mgw
is currently in review at  https://gerrit.osmocom.org/c/osmo-mgw/+/36363

Let's make sure we have a related io_uring test job.

Change-Id: I672c72c855bebc1f895be51f3fa3cf0e368005ff
Related: OS#6387, SYS#5094
The file was modifiedjobs/ttcn3-testsuites.yml
Commit c1fe54aaf884549a3831b83848fb3cf8c5d24bbf by Oliver Smith
jobs: add osmocom-obs-ewild

Similar to osmocom-obs-nhofmeyr, add a jenkins job that automatically
picks up changes in Hoernchen/mssdr branches in the Osmocom projects,
and builds binary packages in home:ewild:mssdr.

Related: OS#6409
Change-Id: I9a8aaf00e3fae84a61ff3cab64750926f8a9e2e1
The file was addedjobs/osmocom-obs-ewild.yml
Commit 36cd8c53a6c750503b6c50a67df995e1ada11f7c by laforge
jobs/master-builds: libosmocore: io_uring nodes

Like the gerrit-verification jobs for libosmocore, run the master-builds
jobs on nodes with the io_uring label.

Related: OS#6405
Change-Id: Iea6791b3fbb5c445a539c2b4636a643d6c8d517b
The file was modifiedjobs/master-builds.yml
Commit 31fd5cf020baae3c33adb3cc23632ccd59c4456e by laforge
gerrit-verifications: execute 'distcheck' job for pysim

Change-Id: I9d4d9e9de2b16a4b745791f3c9c93507f43bfa6d
Related: pysim.git Ic72d58494e8fd0cab8d66ce60f7b70593b770872
The file was modifiedjobs/gerrit-verifications.yml
Commit b5a1b009b7f71fd6829c3270c6c9d1a1dc822a88 by Oliver Smith
jobs/ttcn3: add ttcn3-ggsn-test-kernel-pablo-gtp

Add a temporary job to run against the IPv6 patches, until they are
upstreamed.

Related: OS#1952
Change-Id: Idf0e3fd5ba81565ce1626dfdf186c88280232550
The file was modifiedjobs/ttcn3-testsuites.yml
Commit a59c9257b431a22e6320f55a1faa4504c869e46e by Pau Espin Pedrol
jobs: ttcn3-testsuites.yml: Add job ttcn3-asterisk-ims-ue-test

Related: SYS#6782
Change-Id: I06de12224399bbddc27649b7d52a6194faec07c4
The file was modifiedjobs/ttcn3-testsuites.yml
Commit ebf4df3242b99fdbb8a3796b8cbdfa1d13ee4d69 by Oliver Smith
jobs/ttcn3: …-pablo-gtp: don't wipe workspace

The ttcn3-ggsn-test-kernel-* jobs should not wipe their workspace, so we
can avoid shallow-cloning the kernel if the commit did not change.

The way the scripts in docker-playground.git are written, this also
caused a permission error.

Change-Id: I4ac1b2c3f5ba63c131dd1d6a4888f32a27264eba
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 29a41d387eb6f078a70c463b0ae80db38ffa8db5 by Oliver Smith
ttcn3-ggsn-test-kernel-latest-net-next: update net-next branch

The branch of net-next is now called main. By using the old name, the
jenkins job was checking out a 6.3 kernel, we are now at 6.9 rcs.

Related: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/
Change-Id: Ieee448c514bc0ff457b9d17c8b12ee00953995d2
The file was modifiedjobs/ttcn3-testsuites.yml
Commit afd9d56e0568a61d0b2de010f710baffb71bff25 by Oliver Smith
checkpatch: recognize json_array_foreach etc.

Treat json_array_foreach, json_object_foreach, json_object_foreach_safe
etc. the same as if, while, for, switch, and require exactly one space
after using it:

json_array_foreach (nftables, i, item) {

}

Related: osmo-hnbgw Id4e7fa017c31945388a010d8581715d71482116b
Change-Id: I0b58c6d70a961c7d0ba93a2f0d6a5a4afa321fa9
The file was modifiedlint/checkpatch/checkpatch.pl
Commit a307c7df718af05d978a65cd96a51138fb1b4d31 by Oliver Smith
jobs/gerrit,master: osmo-hnbgw: add nftables var

Build with and without nftables.

Related: OS#6425
Change-Id: I9828b70708dbe466c37df6ffb87b04362f14c71c
The file was modifiedjobs/master-builds.yml
The file was modifiedjobs/gerrit-verifications.yml
Commit 6a83362344b71c910600cb5a2d22f38b59896573 by Oliver Smith
jobs/osmocom-obs-sync: add Ubuntu 24.04

Change-Id: I79a6fe1fb65a7245ab38674764953468fab91d6b
The file was modifiedjobs/osmocom-obs-sync.yml
Commit 2194146d94600aff8dc165b9161f14346d00f878 by Oliver Smith
jobs/osmocom-obs-sync: remove Ubuntu 20.04

We build binary packages for the last 2 LTS versions of Ubuntu, so
remove 20.04.

Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Linux_Distributions
Change-Id: Ia93b272447032eb5224d8e14a75801dda8a596a8
The file was modifiedjobs/osmocom-obs-sync.yml
Commit 2e95fe4f681fe41ba6523456aa29375aa38ac9c9 by Oliver Smith
jobs/ttcn3: run io_uring testsuites on all nodes

After most recent patches from Pau were merged, the io_uring testsuites
run on all jenkins nodes with the ttcn3 label again!

host2-deb11build-ansible has an older host kernel and needs ulimit
memlock increased to 1 GB. I've tried out e.g. 500 MB and it isn't
enough.

Closes: OS#6405
Change-Id: I59b9a7c3928281a0557c17629029adcbc5ae7410
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 0cc68159f632e4320054290df3baeee517cda71a by Oliver Smith
jobs/ttcn3: io_uring: set memlock to unlimited

io_uring in the kernel memlocks a big amount of space with older
kernels, such as the kernel on host2-deb11build-ansible. It seemed to be
enough to increase it to 1 GiB. However now we see it failing again
with:

  failure during io_uring_queue_init(): Cannot allocate memory
  Aborted (core dumped)

Set it to unlimited to ensure that a low limit is not the reason we see
it failing. If it still happens after this, we probably need to make
sure that we don't run too many SUTs with io_uring in parallel on
jenkins nodes with older kernels.

Related: OS#6405
Change-Id: I39aaa2ed7d0310a12d0c4493a79ff46b2e7e2864
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 0c3634e7f9cb9f68a9c9ccdea866b5b9810edc56 by Vadim Yanitskiy
jobs/ttcn3: add ttcn3-sgsn-test-sns[-latest]

Change-Id: Iefd81a081fa29af35fc7d575ea23e464c165dbc7
Depends: docker-playground.git I767ec223585002d6420eda27ed338722f764c902
The file was modifiedjobs/ttcn3-testsuites.yml
Commit ec9efbf6494a1bad8a16f0c5b33f878a62822500 by Oliver Smith
repo-install-test: centos8: fix almalinux keys

Run "dnf upgrade almalinux-release" inside centos8/almalinux8 to upgrade
the gpg keys first, in order to prevent gpg key errors while installing
packages. We are not running repo-install-test for centos8 in CI anymore
(SYS#6759), but I'm currently using this configuration to manually test
that fixing permissions during upgrade and running systemd services as
users works as expected on an rpm-based system.

Related: OS#4107
Related: https://almalinux.org/blog/2023-12-20-almalinux-8-key-update/
Change-Id: Ia06d24ce7ce48651f5a41489e78b5b55dc2d3921
The file was modifiedscripts/repo-install-test.sh
Commit b2e128511d5aeae1eb27a7465197012fac643da2 by Oliver Smith
OBS: move gerrit-binpkgs logic to separate script

As I'm preparing slides for a OsmoDevCon talk, I'm realizing that it is
quite cumbersome for users to build debian packages from Osmocom git
repositories (the same way gerrit does it, to reproduce errors locally).

Move the logic from the gerrit-binpkgs job to a separate script that can
be run from an Osmocom git repository, will figure out the repository
name from there and only needs the target distribution as argument.

Usage example:
  $ git clone https://gitea.osmocom.org/osmocom/osmo-ci
  $ cd libosmocore
  $ ../osmo-ci/scripts/obs/gerrit_binpkgs.sh debian:12  # or debian:11, debian:10, almalinux:8

Change-Id: I100d8dfc0c58bdafe7efb0fa4108031ce10398a5
The file was modifiedscripts/obs/README
The file was addedscripts/obs/gerrit_binpkgs.sh
The file was modifiedjobs/gerrit-binpkgs.yml
Commit 7224e5b28566329770526a20a464c6354179580d by Oliver Smith
jobs/update-osmo-python: remove build3

build3 does not exist anymore, but it was still referenced here, leading
to the job waiting forever until build3 comes online.

Related: OS#6186
Change-Id: Idba77a3b9595c234ee21dfd1d0e267021a17bb03
The file was modifiedjobs/update-osmo-python-on-slaves.yml
Commit ef2d95d0a298da20043e3ec37f343c6661eedb01 by Oliver Smith
ttcn3-bsc-test-io_uring: limit jenkins nodes again

Run this job only on jenkins nodes with a linux kernel of 6.1.x or
higher. The io_uring implementation consumes a lot more memory on e.g.
the 5.10.x kernel of host2, which causes osmo-bsc to run out of memory
in other places:

<0002> system_information.c:1641 bts 0: Error while generating SI4: Cannot allocate memory (-12)
<0002> bts_trx.c:505 Cannot generate SI4 for BTS 0: error <Cannot allocate memory>, most likely a problem with neighbor cell list generation

Related: OS#6405
Change-Id: Iddf2d47a641998860fd1ef615de976104667c5ab
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 618140a22e41cba21ac2cfac51a84c7514041657 by Oliver Smith
OBS: sync_obs_projects: remove AlmaLinux:8

Related: OS#6446
Change-Id: I19fc021a950790eab8b8074ea1c0cdd34232f4f8
The file was modifiedjobs/osmocom-obs-sync.yml
Commit 0aa60b04a5193fc3d79ce64c9ce94ebed42a96bb by Oliver Smith
ansible/setup-jenkins: install rsync

After recent refactoring of the gerrit-binpkgs job, rsync is now
requried on the jenkins nodes. It was installed on the ones where I
tested, but not on all of them.

Fixes: b2e12851 ("OBS: move gerrit-binpkgs logic to separate script")
Change-Id: Ic8ffd61fc2c89574085e9c3abbceb554f3c5da6a
The file was modifiedansible/setup-jenkins-slave.yml
Commit 91a79bd8aa8e7901a7d687b6222df360db1bcdc5 by Oliver Smith
jobs: gerrit: build osmo-pcap + dep for centos7

We are about to remove the rpm spec files for almost all Osmocom git
repositories. The only two git repositories where we still need them,
because we have a customer using them on centos 7, are libosmocore and
osmo-pcap (SYS#6760). Add CI to ensure that these still build fine, and
that we don't remove these by mistake.

Related: OS#6446
Change-Id: I4d4a67c053ed29811c504158d1ef49430880ad4f
The file was modifiedjobs/gerrit-verifications.yml
The file was modifiedscripts/obs/data/build_rpm.sh
The file was modifiedscripts/obs/data/build_binpkg.Dockerfile
The file was modifiedscripts/obs/lib/config.py
The file was modifiedscripts/obs/build_binpkg.py
Commit 902fb23413dbb3795dce7a39d86e854f4144d31f by Oliver Smith
OBS: gerrit_binpkgs: use --no-meta

Don't let packages built with gerrit_binpkgs.sh depend on an
osmocom-master meta package. This makes it easier to install and test
the built packages locally.

Change-Id: Ie225ed9d0a3b822752d902eaf1e74f54fb5f5d63
The file was modifiedscripts/obs/gerrit_binpkgs.sh
Commit cf3cbf38857cbabf6d242599a347fae90f90a7ae by Oliver Smith
OBS: gerrit_binpkgs: add hint where to find pkgs

Change-Id: If58081b17f96283620cd945f3521cf0edb4f7913
The file was modifiedscripts/obs/gerrit_binpkgs.sh
Commit d974243ef9bf4d2f7374dd98d4c9c525cad12cda by Oliver Smith
jobs/ttcn3: run ttcn3-msc-test earlier

It seems like various tests are failing from time to time due to the
builder having a too high load. As several ttcn3 testsuites run around 4
am already, move ttcn3-msc-test to 1 hour earlier where we don't have
anything currently.

Change-Id: I8eaf058f13f4175a458e9abe544bfb21ace481b7
The file was modifiedjobs/README.adoc
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 072c4df738a43f554321d768f3dce9653139434c by Vadim Yanitskiy
jobs/ttcn3-testsuites.yml: add ttcn3-bts-test-io_uring

osmo-bts in theory can also benefit from io_uring, at least because
it can maintain multiple RTP connections for voice calls.  Let's
execute the respective testsuite with io_uring too.

Change-Id: I3af791103d863290a53c9ce2d1a8d1d9e42e91c7
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 3bd97cc86a24f4ad34864fd38c21c6f8e6ba58f8 by Oliver Smith
jobs/ttcn3: update ttcn3-ggsn-test-kernel

Remove ttcn3-ggsn-test-kernel-pablo-gtp, as the IPv6 GTP patches have
been merged. Add ttcn3-ggsn-test-kernel-net-next and
ttcn3-ggsn-test-kernel-torvalds instead, which run the master/nightly
version of osmo-ggsn against HEAD of the kernel trees in
netdev/net-next and torvalds/linux.

Change-Id: I3d2f26ca87f79365f4a407376b5c3c0145f729a6
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 3b10b6c6d295801aca78ee2a3c05ffb10c8891c4 by Oliver Smith
OBS: add update_obs_eclipse_titan.sh

Add a script to easily update the eclipse-titan package from a git
repository. This replaces the previous workflow of downloading the
previous source package, modifying it, and re-uploading it. With the git
repository, it is easier to see which patches are included, and it is
easier to modify the packaging (e.g. add new patches to fix build with
latest gcc), and easier to upgrade the eclipse-titan version.

I've done this change because it failed to build with the most recent
GCC in Debian Unstable. Backporting Vadim's patch from upstream fixes
it.

Related: https://gitlab.eclipse.org/eclipse/titan/titan.core/-/commit/b5d3d5bf4f0e2c27cda60555351b2feb93561d6b
Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Upgrading_eclipse-titan_in_the_Osmocom_OBS
Change-Id: Ieb1945d5cf4abf8ae2201f49ea7dce8eb343167e
The file was addedscripts/obs/update_obs_eclipse_titan.sh
Commit ad9c3eebbebc146b6b449662c24129a37bcec0c6 by Oliver Smith
jobs/{gerrit,master}: osmo-epdg: build manuals too

Related: OS#6332
Change-Id: I540c7cff982f6b0242b4b40985a80d0426c903d6
The file was modifiedjobs/master-builds.yml
The file was modifiedjobs/gerrit-verifications.yml
Commit ca736794674d751ada1cff1d266298c5cbe3ac75 by Oliver Smith
scripts: osmo_git_clone_url: prefer using gerrit

Use gerrit as clone URL for libgtpnl, libasn1c, libsmpp34 and libusrp,
as the gitea URL for these is just a (very delayed!) mirror.

Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Git_infrastructure
Change-Id: I6c643d31e1451d97566691b83a4167d42f3f5e41
The file was modifiedscripts/common.sh
Commit 8e7e546807cfc6231a7d52511cd026c33e23e08b by Oliver Smith
scripts: osmo_git_clone_url: add osmo-epdg

Fix for currently failing Osmocom-release-manuals job:

  :: (osmo-epdg) Getting git tags
  fatal: unable to access 'https://gerrit.osmocom.org/osmo-epdg/': The requested URL returned error: 403

Change-Id: I419b2d097a1a11975e3f90b3f129d02f63bfcf9d
The file was modifiedscripts/common.sh
Commit 43065994368af4b55b586dad41561f0450708ca1 by Oliver Smith
jobs/update-osmo*: add lx2-raspbian11build-ansible

Related: OS#5873
Change-Id: I358d040c82915878762b7586e98c32e0d828d9dd
The file was modifiedjobs/update-osmo-python-on-slaves.yml
The file was modifiedjobs/update-osmo-ci-on-slaves.yml
Commit 08da5b52c9c042a935ac11d8c394251c5ce3accf by laforge
jobs/README: convert to markdown

Convert to markdown, so it gets rendered in gitea.

Change-Id: I0b687b651b44c798d5d224b0a3ea734b1bc41dff
The file was removedjobs/README.adoc
The file was modifiedREADME.md
The file was addedjobs/README.md
Commit e6d4b42cea8c54b5b20637262a16ed8abf06102f by laforge
jenkins-jobs-osmo: new file

Do not recommend to the user anymore to put the Osmocom jenkins server
in their global jenkins-job-builder config, as this may lead to jobs
from other repositories being deployed to the Osmocom jenkins by
accident.

Instead of that, let the user put the config in this path:
~/.config/jenkins_jobs/jenkins_jobs_osmo-ci.ini

Add a wrapper script that users this path, and makes sure that no global
config is present.

Related: SYS#6957
Change-Id: I1d7c50b2fef56e343cfe377b51f5f4304219cd22
The file was modifiedjobs/README.md
The file was addedjenkins-jobs-osmo.sh
Commit 41d9cc18b041020eca0384981446a60a26b017f2 by Oliver Smith
jobs/{gerrit,master}: add osmo-s1gw

Related: SYS#6772
Change-Id: I6d17c920f12a5bb60bd026ca539b6b275bd8848f
The file was modifiedjobs/gerrit-verifications.yml
The file was modifiedjobs/master-builds.yml
Commit c2047a3bd20cf0705e3e160bc666b0e27680b21e by Oliver Smith
ansible/setup-jenkins: utils: order alphabetically

Change-Id: I41736671d865c9ac6d0b5ba81d0ebf09f5755eab
The file was modifiedansible/setup-jenkins-slave.yml
Commit 0674a258c1c5726d7cd05e1e38990487800859ea by Oliver Smith
ansible/setup-jenkins: add more utils

* etckeeper: to automatically have /etc changes versioned in git; we
  already use it in various other places
* ncdu: to figure out what consumes space
* tree: list directory trees, useful to quickly check if e.g. ccache
  and jenkins workspace dirs are populated properly

Change-Id: I4b0e5a21f77d0ffb60f1f3aaf91aecd08cb2fe90
The file was modifiedansible/setup-jenkins-slave.yml
Commit 55f55e35af5d846c42e76042c9db1915882869c9 by Oliver Smith
ansible: jenkins: lx2: configure tmpfs

Add ansible rules to put jenkins workspace and ccache dirs into a tmpfs.

Related: OS#5873
Change-Id: I81e03f8d2013dda93395d0017b45f757a15c4ec2
The file was modifiedansible/roles/osmocom-jenkins-slave/tasks/main.yml
The file was modifiedansible/roles/osmocom-jenkins-slave/README.md
The file was modifiedansible/hosts
The file was modifiedansible/roles/osmocom-jenkins-slave/defaults/main.yml
Commit 4e49cb8aab7832b22b79ebf4ddbb0f7891654236 by Oliver Smith
ansible/hosts: lx2-raspbian11build: update IP

Change-Id: Ic1451c5ddb44df30ecc6be88d7cc4ceb2c2f50de
The file was modifiedansible/hosts
The file was modifiedansible/util/known_hosts
Commit b8c6a5024658f0a1ad628b1ab319a483d7c55ef5 by Oliver Smith
OBS: fix python 3.12 compat

Fix for:

  File "/home/user/code/osmo-dev/src/osmo-ci/scripts/obs/lib/__init__.py", line 112, in check_required_programs
    if not importlib.find_loader(module):
           ^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'importlib' has no attribute 'find_loader

Change-Id: I6430c2c4f75c8408d00305e1a1f0a64600eb086c
The file was modifiedscripts/obs/lib/__init__.py
Commit 566b0a50d26bfcff45c541bb548766d4426f2164 by Oliver Smith
OBS: improve argparse help output

Prepare to add more arguments, by first categorizing the existing
arguments into groups. Tweak the descriptions while at it.

Change-Id: I09a8caa885b72b9d806fbfb4c8d72fe9667feec5
The file was modifiedscripts/obs/update_obs_project.py
The file was modifiedscripts/obs/build_srcpkg.py
The file was modifiedscripts/obs/lib/__init__.py
Commit 1b1d19d197eaec1db3f52732bdd0e6270630b8cd by Oliver Smith
OBS: update_obs_project: add --exclude-package

Prepare for building the asan repository. We don't need to build e.g.
the erlang projects for that.

Related: OS#5301
Change-Id: If02fd38da05113e28ee401d592edfc7528388308
The file was modifiedscripts/obs/update_obs_project.py
Commit 34c176b2c3acf0506148820340f9e44d1ec0e6cf by Oliver Smith
OBS: add --configure-append

Add a parameter for appending arguments to the ./configure line as it
gets called in the debian package. This will be used for asan packages.

Related: OS#5301
Change-Id: I5ae396cc190559eb9c6a1671db374a91f03924e7
The file was modifiedscripts/obs/lib/srcpkg.py
The file was modifiedscripts/obs/lib/debian.py
The file was modifiedscripts/obs/lib/__init__.py
Commit 2b2dda2ac62c9a500689a8077bbeca15b4607cab by Oliver Smith
OBS: add --disable-manuals

Allow building binary packages faster by disabling the manuals. We don't
need those for the asan repository.

Related: OS#5301
Change-Id: I3ff84f26ee6aa53cbcbe2275bedc6b724a461adc
The file was modifiedscripts/obs/lib/debian.py
The file was modifiedscripts/obs/lib/__init__.py
The file was modifiedscripts/obs/lib/srcpkg.py
Commit a0daea25b05a787657df81921b1eddb9b3ceede1 by Oliver Smith
OBS: fix using --conflict-pkgname

Use --conflict-pkgname as package name, instead of hardcoding
osmocom-$FEED.

Fix for:
  FileNotFoundError: [Errno 2] No such file or directory: '/obs/_cache/osmocom-nightly-asan'

Change-Id: I4ddb2e9adc25e7e8e8c9d17236b76d9f2e9c2a9c
The file was modifiedscripts/obs/update_obs_project.py
The file was modifiedscripts/obs/lib/metapkg.py
Commit 67a5fc886a176ae9485400e3e957ab728a9007d3 by Oliver Smith
jobs: add osmocom-obs-nightly-asan

Add a new job that builds source packages for osmocom:nightly:asan, and
uploads them there.

It was considered whether we should instead of building a binary
repository with asan packages in OBS, just build all packages and
libraries from source at the jenkins builders. We decided against it,
see the related discussion.

Related: https://gerrit.osmocom.org/c/docker-playground/+/28902/1#message-30650d8450d2d129b6ef3f447f65e4b866d2f801
Related: OS#5301
Change-Id: I8fb6664702f85ee057377cb374394c8f24202474
The file was addedjobs/osmocom-obs-nightly-asan.yml
The file was modifiedscripts/obs/lib/config.py
Commit d67f47e82e6b16757b3435d4ccded28a90a140a5 by Oliver Smith
jobs/ttcn3-testsuites: add -asan

Related: OS#5301
Change-Id: I08964335efd9276a147d58bf960ffdf535e3b51c
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 3b20d2a281430c44e2f2bb95109708aa85eeff99 by Oliver Smith
OBS: get_git_version: debian/changelog as fallback

Fix osmocom-bb getting 0.1.0 as version:

  osmocom-bb: has no git tags, using 0.0.0 as version
  osmocom-bb: building source package 0.0.0.3621-d70e
  osmocom-bb: WARNING: version from changelog (0.1.0) is higher than version based on git tag (0.0.0.3621-d70e), using version from changelog (git tag not pushed yet?)

With this patch:

  osmocom-bb: has no git tags
  osmocom-bb: getting version from debian/changelog
  osmocom-bb: building source package 0.1.0.3621-d70e
  osmocom-bb: adding debian/changelog entry (0.1.0 => 0.1.0.3621-d70e)

Change-Id: I3a284b50ca62a2faff16702b7108ca391229caf1
The file was modifiedscripts/obs/lib/srcpkg.py
Commit 6a2451a0ad3dd2f5e3179d64446d9d553a37016d by Oliver Smith
jobs/coverity: adjust mount path to new home dir

With the related docker-playground patch, the home dir for the build
user has actually been changed from /home/build to /build. This doesn't
matter for all other jobs it seems, but the coverity job here fails
because it tries to access $HOME/osmo-ci/coverity.

Adjust the mount path, so it works again as expected.

Fix for:
  ./jenkins.sh: line 37: /build/osmo-ci/coverity/get_token.sh: No such file or directory

Related: docker-playground Ief8837bd9f89f51e66857a453f7fc4645620159f
Change-Id: If0286e10d1644464e9408db1bbf18c24f4b8d5a6
The file was modifiedjobs/coverity.yml
Commit afae3d79b5656fa24a4eeb6208e8f2ca379967b4 by Oliver Smith
jobs/coverity: fix clean up permission errors

Don't mount the host's osmo-ci/coverity dir in /build/osmo-ci/coverity.
The current working dir is mounted as /build, and because docker creates
the /build/osmo-ci directory structure as root, we end up with having
subdirectories created by root in our current working dir. These then
cause an error on the next run when jenkins tries to clean them up.

Fixes: 6a2451a0 ("jobs/coverity: adjust mount path to new home dir")
Change-Id: Ie0aa02d3821df6d0505748a7dd70ff67e4cf1405
The file was modifiedcoverity/jenkins.sh
The file was modifiedjobs/coverity.yml
Commit dfd2ab96715191ee00316641e58c1a8bbd75ad60 by Vadim Yanitskiy
jobs/ttcn3: add ttcn3-s1gw-test

Change-Id: I659b5c4144900260622a8c878a1567d275c0ba04
Depends: docker-playground.git I95000d7a9d778df1da830cd5059e5b6899391fbe
Related: SYS#6772
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 2033d8d08ed22f6113c33a5e0d87305906067305 by Oliver Smith
publish-manuals-for-tags: fix osmo-epdg

Adjust the script for osmo-epdg, which doesn't use autotools.

Fix for:
  + su build -c autoreconf -fi
  autoreconf: error: 'configure.ac' is required
  :: (osmo-epdg, 0.1.0) Building manuals failed!

Change-Id: I9b144974113dfbcee6b2aeb768d13e47a99557ae
The file was modifiedscripts/manuals/publish-manuals-for-tags.sh
Commit a6d34f48c7bef733fec350e65a35691af1f0ff71 by laforge
publish-tarballs-for-tags.sh: publish osmo-epdg's versions

To have explicit different tags for strongswan and not to clash
against the upstream tag, use prefix osmo-epdg for tags.
0.1.0 -> osmo-epdg-0.1.0.

osmo-epdg tags will follow the common version pattern (0.1.0).

Change-Id: I3445e76f6fd6ebb49ada5dc4320c6b9fa717f00c
The file was modifiedscripts/tarballs/publish-tarballs-for-tags.sh
The file was modifiedscripts/common.sh
The file was modifiedscripts/tarballs/prefer-configure.sh
Commit 852a3a87654c5faa52f2f27a9cab19696ea8948d by lynxis
jenkins: add ttcn3-epdg-test-latest job

Change-Id: I2bb18feb697a8128745222eb3f35365cf9a99285
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 3e7fd631f6001635acb13cd2feb1fd936e9f16a6 by Oliver Smith
ttcn3: io_uring: use custom seccomp profile

Use the custom seccomp profile that allows io_uring syscalls for the
ttcn3 testsuites running with io_uring.

Related: OS#6405
Depends: docker-playground I27567c2a5d9543c3509c316226c082ab950c5ebc
Change-Id: Iaeb84627fc1404014e5a8a2e88a02ee66cfb880d
The file was modifiedjobs/ttcn3-testsuites.yml
Commit 643175a0f0babbb7b5ac7b54668c663f4a36e7e4 by Oliver Smith
obs: use specific mirror

Use debian.inf.tu-dresden.de (which has a proper TLS certificate)
instead of the generic ftp.de.debian.org.

Closes: OS#6499
Change-Id: Iee06b6c6cc418a1b2f4eba094704c6e5e156799c
The file was modifiedscripts/obs/sync_obs_projects.py
Commit 637e5c1a89beb6353b7a6aff6b409037d73ad2c6 by Oliver Smith
CI: OBS: centos7: use vault.centos.org

The centos7 images try to use mirrorlist.centos.org to determine the
fastest mirror, and then download binary packages from there. But
mirrorlist.centos.org isn't online anymore. Use the vault instead.

Without this patch, the mirrors that can't be reached are ignored, and
later on it fails to properly install packages because of missing
dependencies.

Related: docker-playground I0a8f93bb16dd9245760b8a1ad53f0642d446b4cf
Change-Id: I2489fe1d6edf969e55e154bca4b6d961da2a9d94
The file was modifiedscripts/obs/data/build_binpkg.Dockerfile
Commit d25c03956153d78b7da3a1f8799bd381b7259d8d by laforge
obs/lib/srcpkg: also rstrip() the output of git-version-gen

Ensures there is no trailing newline or space at the end of the version.

Change-Id: Ieab16b9f497a264ee025e4da362005630e83c1bb
The file was modifiedscripts/obs/lib/srcpkg.py
Commit 2796277836eee256dbcd7119477f5787b143ebce by lynxis
obs: add package strongswan-epdg

Change-Id: I3c8ec3e04010c419e5be1bd0ac35b74888eb3cc6
The file was modifiedscripts/obs/lib/config.py
Commit 0014a5c1c18e057b037a479cb19df90cf22581ad by Oliver Smith
gerrit-verifications-dahdi: set concurrent: false

Each of the gerrit-dahdi-linux-* jobs has a 3-4 GiB workspace directory
with a full linux tree. We keep them on disk so we don't need to clone
the linux tree with each build.

This makes sense, but set concurrent to false to not create more of
these than necessary. These directories stood out when investigating
why build4 was running out of space.

Change-Id: I4fd4e85f0930b15b6c67e70fb2c140392c910bf5
The file was modifiedjobs/gerrit-verifications-dahdi.yml
Commit b20e8e8bccefc5d4be0cee2ac4d8c3c2d6fcfe22 by Oliver Smith
jobs/various: clean workspace on success

When investigating why space run out on build4, I found that some of the
jenkins workspaces take up a lot of space after everything is built.

If the build was successful, we don't need to keep the workspaces around
so remove them.

Examples:
* ~3 GiB: gerrit-osmo-ttcn3-hacks-build
* ~1 GiB: Osmocom_OBS_nightly
* ~1 GiB: Osmocom-build-tags-against-master
* ~1 GiB: master-osmo-bts

Change-Id: Ibedef518782ea9f68c6386f1ce7fba216e1886bc
The file was modifiedjobs/osmocom-obs.yml
The file was modifiedjobs/osmocom-build-tags-against-master.yml
The file was modifiedjobs/gerrit-verifications.yml
The file was modifiedjobs/master-builds.yml
The file was modifiedjobs/osmocom-obs-nightly-asan.yml
Commit eaa0ccb43f0a5a45c5eb630f96b624c11f14488a by Oliver Smith
jobs/gerrit-lint: wipe workspace

On build4 the gerrit-lint workspace has grown to 6 GiB. Use fresh clones
of the git repositories instead of storing all of them combined in .git.

Change-Id: Ifc1a3a5d5037b373014654e75d1d3b968bcfe141
The file was modifiedjobs/gerrit-lint.yml
Commit 2fc7454df26484215ee6c89d7bd8f852d2602d19 by Oliver Smith
OBS: lib/debian: generate valid strongswan version

Ensure debian versions start with a number. For strongswan versions that
look like "osmo-epdg-0.1.1", adjust them to be like "0.1.1-osmo-epdg".

Fix for:
  dpkg-buildpackage: error: version number does not start with digit

Related: OS#6488
Change-Id: If535af23bca3a31f71daeade4d8b52403f7f7e17
The file was modifiedscripts/obs/lib/debian.py
Commit dc413b56dfebcd9acd66761103783ee9c82b0158 by Oliver Smith
jobs/osmocom-build-tags…: fix workspace clean

As this job tries to archive the build logs after running, don't remove
the entire workspace. Instead remove the paths that take up the most
space, which are the one with the git clones and build artifacts (_deps)
as well as the one with the temporary installation dirs (_temp/_inst*).

Fixes: b20e8e8b ("jobs/various: clean workspace on success")
Change-Id: Ied86ba80b38a9b10a7a96631e6dedee9f3762c3b
The file was modifiedjobs/osmocom-build-tags-against-master.yml
Commit 3633d1f62e9615549a7fd32056f6b544825019dd by Oliver Smith
jobs/update-osmo-…: only trigger container rebuild

Installing osmo-python-tests to the jenkins nodes should not be needed
anymore, as builds of almost all jenkins jobs are done in docker where
we install osmo-python-tests inside the containers where it is needed.
We already removed the initial deployment to jenkins nodes via ansible
in I7c87bd516d1bcdbcc21f65909dabbd3ccc38eede ("ansible:
osmocom_build_deps: remove"), let's adjust the job that updates
osmo-python-tests too. Instead of deploying it directly, only trigger
a rebuild of containers.

I'm doing this now because the jenkins job started failing after
I42ba71e2fd0ceb8466758ea46e9ae33e3d4fcb91 ("contrib/jenkins.sh: use
virtualenv and pip") on some nodes where virtualenv is not available.
The contrib/jenkins.sh script was used for both CI verification and to
actually deploy this python package to the jenkins nodes, which was
not really obvious and also as noted above isn't needed anymore.

Change-Id: I3b06a2fc2c7182d0b0a4d13b82f67a9db1be2fd0
The file was addedjobs/update-containers-osmo-python-tests.yml
The file was removedjobs/update-osmo-python-on-slaves.yml
Commit d854bf573923aebafb3125bc021cb8914c2f6237 by Oliver Smith
OBS: osmocom:master: ignore missing commit_*.txt

Do not abort if the commit_*.txt file has been deleted from a package in
osmocom:master. Instead, assume the package is outdated, create a new
source package (with commit_*.txt) and replace the existing source
package.

This is useful to force rebuilding a package, e.g. if the previous
source package was built when the git tag was not pushed yet, and
therefore the version in the package and for libraries, in the
pkg-config data, don't have the proper version yet.

Change-Id: Ia6129f533394b94d5d8525eb0513a38a6e1eb7b6
The file was modifiedscripts/obs/lib/osc.py
Commit f7290d44f85f46c4a7cc23ca2746d489b37816fb by Oliver Smith
osmo-depcheck: add new libosmocore libraries

Change-Id: I40b8338f9e1e3ff38b7468133e30300b3f2236fb
The file was modifiedscripts/osmo-depcheck/config.py
Commit f46d50e590d0ecd0ee9dc919ff800591c2a532f0 by Oliver Smith
osmo-depcheck: add osmo-e1d provided libraries

Change-Id: I3350049d4a944f03fd14594578cd437c474aec4d
The file was modifiedscripts/osmo-depcheck/config.py
Commit 85359ba81d4f39fa6367659552a506a9a9f411dd by Oliver Smith
OBS: replace - with . in version for d/changelog

Fix for:
  dpkg-buildpackage: info: source version 2:0.1.2-osmo-epdg
  ...
  dpkg-source: error: can't build with source format '3.0 (native)': native package version may not have a revision

Change-Id: If00469689b107efdf91a5cee4ebe6a3ccc183cec
The file was modifiedscripts/obs/lib/debian.py
Commit 9e28aa64703814f773cd820616bc381cffadaa20 by Oliver Smith
OBS: support epoch in strongswan-epdg version

In the related commit, an epoch has been added to the strongswan-epdg
version. Adjust the code that replaces the version to suppor this.

Related: https://gitea.osmocom.org/ims-volte-vowifi/strongswan-epdg/commit/872be0a935a1ed5e4b926a7640da8bacac036e4a
Change-Id: I7abcf82a78fd4c4f6d29d2717dad5c70bc50e683
The file was modifiedscripts/obs/lib/debian.py
Commit 9b36d2a8163d7b880c5d0f7ab888d91d6c4ac06b by Oliver Smith
OBS: fix up-to-date check for strongswan-epdg

Move the code to transform the version from the git tag to the version
that we can use in debian/changelog to a separate function. Use it not
only when generating the version for debian/changelog, but also when
checking if the current git tag is up-to-date.

Without this patch, it always considers strongswan-epdg outdated:
  strongswan-epdg: building source package (outdated: osmo-epdg-0.1.2 <=> 0.1.2.osmo.epdg in OBS)

Change-Id: I515695d52f5d37b256ef163875417745897e5900
The file was modifiedscripts/obs/update_obs_project.py
The file was modifiedscripts/obs/lib/debian.py
Commit c090d6cc65aa213dcea162183ac631d82b4facd7 by Oliver Smith
OBS: fix changelog_add_entry_if_needed

Fix a copy paste error, the variable is named version here, not
latest_version.

Fixes: 9b36d2a8 ("OBS: fix up-to-date check for strongswan-epdg")
Change-Id: Idff3733d902be6f84bd62813f6e704267538a07b
The file was modifiedscripts/obs/lib/debian.py
Commit 0441e6d88b48bfd0d025044b2f154ee4e0cc57ba by Oliver Smith
OBS: latest: handle "version is None"

Fix the Osmocom_OBS_latest job, which currently fails on git
repositories where no tagged release can be found with:

    File "/obs/lib/debian.py", line 96, in transform_version
      if "osmo-epdg-" in version:
         ^^^^^^^^^^^^^^^^^^^^^^^
  TypeError: argument of type 'NoneType' is not iterable

Fixes: 9b36d2a8 ("OBS: fix up-to-date check for strongswan-epdg")
Change-Id: I69cb884d499d1f6a8cae4b4585d31b5bc095fd6e
The file was modifiedscripts/obs/lib/debian.py
Commit 55349d8dfc5936aff431f3815a57319e153f1cad by Vadim Yanitskiy
OBS: use r-strings for git_latest_tag_pattern_{default,other}

This way we don't need to escape characters like '\',
that is itself an escape character in regular expressions.

Change-Id: I86c6d2180e1934563ace08a20ed6a8b3435585ca
The file was modifiedscripts/obs/lib/config.py
Commit 9f2b10968915cca7b7e44b1834321908b18a58b3 by Vadim Yanitskiy
OBS: add tag_pattern(), make tag patterns stricter

* add a convenience helper to avoid regexp body duplication
* r'[0-9]*' is not strict enough, we want one or more digits
* replace r'[0-9]' with r'\d' to make statements a bit shorter

Change-Id: I6724af203e9ab8783515a6cf34f7263b9903bebe
The file was modifiedscripts/obs/lib/config.py
Commit 04be103c2525dbca6a8f2dee3cbcdc61984aec1b by Vadim Yanitskiy
OBS: add release tag pattern for gapk

Change-Id: Ibe67831149e402aa75c8451da713d852ea62fafc
Related: OS#6521
The file was modifiedscripts/obs/lib/config.py
Commit 6321fe7f8423e0fd2f47a7e647d85d7b8ef4d659 by Oliver Smith
ansible/hosts: remove build3

It doesn't exist anymore, so remove build3.

Related: OS#6186
Change-Id: Ieb530238604cd49d63e9f676f71511d5be6968ec
The file was modifiedansible/hosts
Commit b9472464df1e6c009208cf61ecb25962e3e95fd8 by Oliver Smith
ansible/setup-jenkins: add podman

Install podman on jenkins nodes, to be used with the testenv for
running ttcn3 testsuites in rootless containers.

Related: OS#6494
Change-Id: Icefc8c507689f668bac2d1fe3fb0c44ac7ad8b6f
The file was modifiedansible/setup-jenkins-slave.yml
Commit 8dd8e811961771bcf81066c5baba1fe36b856b32 by Oliver Smith
registry-rebuild-upload-testenv: new job

Add a job that updates the one podman image used by ttcn3 testsuites
with testenv to the registry. The new testsuite jobs will not build
their own images anymore, just pull this one at the start.

Related: OS#6494
Change-Id: I4f069efcb1de01b8efda095d649721f41ab8ac35
The file was modifiedjobs/registry-rebuild-upload-titan.yml
Commit 3700f45f4d49903a12820761c7e47d06489df118 by Oliver Smith
jobs/ttcn3-testsuites-testenv: initial

Move the first testsuites over from the old docker-playground based
architecture of running testsuites to testenv. I'm doing this
iteratively to avoid regressions.

Depends: osmo-ttcn3-hacks If9f8b79dd6e5b4f06be4e5ff73db97759c3acfb2
Change-Id: I6c7f88bb268a9f339b3af1d31d665e4376b34e48
The file was addedjobs/ttcn3-testsuites-testenv.yml
The file was modifiedjobs/ttcn3-testsuites.yml
Commit ff43a67bee07569295019929b3743503a9aee2fa by Oliver Smith
jobs/osmocom-depcheck: update default project

Use osmo-hlr:master as default instead of a random specific version
osmo-hlr:2.0.1.

Change-Id: I47d56f599e1b404412998334ab54c474cebe8b04
The file was modifiedjobs/osmocom-depcheck.yml
Commit 5b75d6be44107b02b9ea7057239f1a3aee0361ce by Oliver Smith
jobs/osmocom-depcheck: disable mail notifications

This is a manually triggered job that users may use if they want to
verify minimal versions of dependencies mentioned in configure.ac
result in a successful build. Don't notify the mailing list about it.

Change-Id: I49392e7b08200945b050108d63aa96e9bb4edb3d
The file was modifiedjobs/osmocom-depcheck.yml
Commit 7fc35d16d3311bdc745cbf1b5e880de3a0fbef46 by Oliver Smith
jobs/osmocom-obs-sync: remove Ubuntu:23.10

This release is EOL, remove it.

Related: https://osmocom.org/projects/cellular-infrastructure/wiki/Linux_Distributions
Change-Id: I2a145e2459cc1052e7a532f7e252907f5f6e7835
The file was modifiedjobs/osmocom-obs-sync.yml
Commit 0c96435932f9723f61da4b395ccb9282a75f3365 by Vadim Yanitskiy
osmo-s1gw: build debian pkgs, publish source tarballs

Change-Id: Ia51a4815feb99fa3bf067090fec6f2ccd20ffdae
Depends: osmo-s1gw.git I5446c70c1c1f232a2a45de60be7068cfd683a99c
Related: SYS#7040
The file was modifiedscripts/common.sh
The file was modifiedscripts/tarballs/publish-tarballs-for-tags.sh
The file was modifiedscripts/obs/lib/config.py
The file was modifiedjobs/gerrit-verifications.yml
The file was modifiedjobs/osmocom-obs-nightly-asan.yml
Commit c6ab7a2f7ac0e1ddf5e080495080324c63d3df9c by Oliver Smith
Update Release.key for Osmocom OBS

The current key was about to expire at the end of the month, so I've
regenerated it. The new key is valid until 2026-10-16.

Source: https://obs.osmocom.org/projects/osmocom/public_key
Change-Id: Ia34a72425707b29f76a6eacad56eb210ecf764cd
The file was modifiedqemu-kvm/ggsn-kernel-gtp/postinst/Release.key
The file was modifiedscripts/obs/data/Release.key
The file was modifiedansible/roles/gsm-tester-bts/files/Release.key
Commit 329bb4ae4281296dbe5e82df72d15bc3c4dd3247 by Oliver Smith
Revert "checkpatch: recognize json_array_foreach etc."

Turns out we don't want to treat loop macros the same as real for/while
etc. regarding spaces.

Harald wrote:
> Those macros are used without space before the open parenthesis, for
> decades in the kernel and also in osmocom

This reverts commit afd9d56e0568a61d0b2de010f710baffb71bff25.

Related: https://gerrit.osmocom.org/c/osmo-sgsn/+/37864/comment/7eada1b7_0e584088/
Change-Id: I59d4a89cca516df8346fc090f532d42fc9d6acac
The file was modifiedlint/checkpatch/checkpatch.pl
Commit 8fe1efa6d4441e655d477e8e5837592e0d6d910c by Oliver Smith
ansible: podman: use fuse-overlayfs

The default driver "vfs" leads to container crashes on heavy i/o load
on our jenkins machines. Use "fuse-overlayfs" instead, which does not
have these problems.

Add a systemd service that creates /dev/fuse when the LXC container
starts and configure the driver via ~/.config/containers/storage.conf.

Note: when changing the storage driver, the previous storage database
needs to be removed (~/.local/share/containers/storage/). I've done
this manually before rolling out this change.

Fixes: OS#6524
Change-Id: Ib67d5cbc7d567efed673e2e646ae5b903c49e928
The file was addedansible/roles/podman/files/mknod-fuse.service
The file was addedansible/roles/podman/files/storage.conf
The file was modifiedansible/roles/podman/tasks/main.yml
Commit c98cd9bcee9677db08817d74fffca01be1c3c641 by Oliver Smith
jobs/ttcn3-testsuites-testenv: add s1gw

Remove the docker-playground based job and add a new testenv based job
instead. Add one for -latest too as we recently tagged the first
releases.

Do not limit the job to a specific node, looks like this was pasted
from the above job by mistake. I've successfully ran this on another
node build2-deb11build-ansible.

Related: OS#6494
Depends: osmo-ttcn3-hacks Ib66c3f23355c117302b48fc9ef05cde1920d8739
Change-Id: Iac626d0c7c87c49ee6ba540ae1894abdb2336642
The file was modifiedjobs/ttcn3-testsuites.yml
The file was modifiedjobs/ttcn3-testsuites-testenv.yml
Commit c6a935ec0ebd5e049aa9ce3783d23eb135c185ca by Oliver Smith
ansible: update rpi4-raspbian12build-ansible-1

Update the SSH key and name of this jenkins node, after it was
reinstalled.

Related: OS#6549
Change-Id: I36cc7d1e832be790a20192a9e619ef1736886097
The file was modifiedansible/util/known_hosts
The file was modifiedansible/hosts
Commit a3a2764c351365b61b6948f1fd18d1a9f63ba8a1 by Pau Espin Pedrol
jobs/ttcn3-testsuites-testenv: Add job running ttcn3-pcrf-test-ogs

Depends: osmo-ttcn3-hacks.git Change-Id I381577111ccadaefe42f6abe3cd9bb30cc8ceb56
Change-Id: Ibf7bc4f0b2ca5dcb300a8a8c1d157fc594ef1944
The file was modifiedjobs/ttcn3-testsuites-testenv.yml
Commit 854d7dbefb494ca94f950b15714cf0733297b4a6 by Oliver Smith
scripts/common: osmo_git_clone_url: add pyosmocom

Add the location of pyosmocom. Fix for the currently failing
Osmocom-release-manuals job:

  :: (pyosmocom) Getting git tags
  fatal: unable to access 'https://gerrit.osmocom.org/pyosmocom/': The requested URL returned error: 403

Change-Id: I63a23a831b6091967e4944af4ad8643ec0fe1f63
The file was modifiedscripts/common.sh
Commit cabaaa9e7a4455cb9763eba303f9ec3680f28a35 by laforge
jobs/{gerrit,master,update-osmo-ci}: add aarch64 case

The newly set up rpi4-raspbian11build-ansible-1 returns aarch64 for
arch (it has an aarch64 OS instead of 32-bit arm like the others
currently have). Add "aarch64" to the cases next to arm*, so these work
as expected again.

Related: OS#6549
Change-Id: Iaf987d05870d842cd297f5f14c8542bf75835414
The file was modifiedscripts/osmo-ci-docker-rebuild.sh
The file was modifiedjobs/master-builds.yml
The file was modifiedjobs/gerrit-verifications.yml
Commit 914b58cb79f85a3956b7c38fc51b143864a331e6 by laforge
jobs/{master,gerrit}: rpi4-raspbian11 -> raspbian

Rename the jenkins label rpi4-raspbian11 to raspbian so the name is not
misleading with how we currently use it. One raspberry pi has been
reinstalled with raspbian12 (OS#6549) and we also use it for LX2 with a
raspbian container (OS#5873, therefore remove rpi4 from the name).

The OS running directly on the rpi / in the LXC is not that important
anyway since we run the actual jobs in docker with the latest debian
version (currently 12).

Change-Id: I02dcf3098ffd3fa247c4f43c290d6e3fd809ad45
The file was modifiedjobs/master-builds.yml
The file was modifiedjobs/gerrit-verifications.yml
Commit 72a2420630645de426adbb2f331cd9319ccf9810 by laforge
jobs/update-osmo-ci-on-slaves: update rpi4-1 name

As it runs raspbian 12 now, adjust the name.

Change-Id: I863bf95d06f91a2cb377070b6aefef30d9e30d51
The file was modifiedjobs/update-osmo-ci-on-slaves.yml
Commit c0fd46590420d57636a381c8b113a1fb8d1ecd40 by laforge
jobs/{gerrit,master}: aarch64: use setarch linux32

Pretend to be a 32 bit arm machine when running the arm jobs, so in
combination with the related commit we can build test for 32 bit arm
on rpi4s with a 64 bit raspberry pi OS.

Related: docker-playground I93986569a9f492237da28fbc534ac5ccd176f120
Change-Id: Ib082daac0c896787440a58e1aa21f3bb775e4975
The file was modifiedjobs/gerrit-verifications.yml
The file was modifiedjobs/master-builds.yml
Commit 3a26fd299b052858a64d6243492a95c76e940a97 by laforge
Stop building openbsc

With recent changes in libosmo-sccp, openbsc does not build anymore.
The openbsc.git repo has been unmaintained/unsupported for 7 years, so
let's finally remove related build jobs instead of fixing this.

Related: libosmo-sccp I299a32a2f8f61477cf49c8126567fef2092d5407
Change-Id: Ie58f54c3f2a224fb1e3a0c95bd3ed85e7859fdc9
The file was modifiedjobs/osmo-gsm-tester-builder.yml
The file was modifiedjobs/gerrit-verifications.yml
The file was modifiedjobs/master-builds.yml
The file was modifiedscripts/osmocom-build-old-tags-against-master.sh
Commit 22a2c5fdf9c0cbbc0756d463548d280696820c43 by Oliver Smith
scripts/manuals: ignore pyosmocom 0.0.1, 0.0.2

These tags don't have scripts to generate and publish manuals yet.

Change-Id: I1dc9eec3fff836c507686e61657ca1b69d43c845
The file was modifiedscripts/manuals/publish-manuals-for-tags.sh
Commit 0b8f91d008d695a3f9fe397b9046de00154e26f0 by Oliver Smith
scripts/build-old-tags: build libosmo-sccp-legacy

Fix building old osmo-msc versions, after libosmo-sccp has been
deprecated.

Related: OS#6239
Change-Id: I2601d747b4258146b485cdc65aa1fc7ecc58e268
The file was modifiedscripts/common.sh
The file was modifiedscripts/osmocom-build-old-tags-against-master.sh
Commit 8ec14e14a689731946383f2d937fe3114f9e2980 by Oliver Smith
…gerrit/comment_generate: make error more helpful

The start of a stage may also not be found if the related -build job was
not deployed. This was not obvious before, add a hint to the error
message.

Change-Id: Iec5f4cde53b763bb6c814934abcc83e39518566f
The file was modifiedscripts/jenkins-gerrit/comment_generate.py
Commit b2e064a44ebf59bdacf4bc5d8ac890625ce6cb4f by Oliver Smith
jobs/osmo-gsm-tester-build: fix Missing parameter

Use OSMO_GSM_TESTER_BRANCH as shell variable ('$...'), not as jenkins
job builder parameter (${...}). This is how we do it in other jobs as
well, e.g. jobs/osmocom-obs.yml.

Apparently the workaround in the file happened to work earlier, but it
does not work anymore with Jenkins Job Builder version 6.3.0. Remove it.

Fix for:
  osmo-gsm-tester-builder.yml:119:15: While formatting string '${OSMO_GSM_TESTER_BRANCH}': Missing parameter: 'OSMO_GSM_TESTER_BRANCH'
                - ${OSMO_GSM_TESTER_BRANCH}
                  ^

Change-Id: I3b6b16964a4d8a51fd3ecc0d670805182a8c6586
The file was modifiedjobs/osmo-gsm-tester-builder.yml
Commit 2410e86b2a832f1345445f700df1a665f9394397 by Oliver Smith
libosmo-sccp -> libosmo-sigtran

Adjust to:
* libosmo-sccp.git has been renamed to libosmo-sigtran.git
* libosmo-sccp static libraries have been split into
  libosmo-sccp-legacy.git

build-old-tags-against-master: libosmo-sccp is intentionally kept in
  REPOS_TAGS, so old libosmo-sccp versions are built against current
  master of Osmocom libraries.

Related: OS#6239
Change-Id: I509b1cc2a5260c82ef32e9543513110949311188
The file was modifiedjobs/osmo-gsm-tester-builder.yml
The file was modifiedscripts/manuals/publish-manuals-for-tags.sh
The file was modifiedscripts/obs/lib/config.py
The file was modifiedscripts/common.sh
The file was modifiedcoverity/build_Osmocom.sh
The file was modifiedscripts/osmocom-build-old-tags-against-master.sh
The file was modifiedscripts/osmo-depcheck/config.py
The file was modifiedscripts/osmocom-api-doxygen.sh
The file was modifiedjobs/master-builds.yml
The file was modifiedcoverity/prepare_source_Osmocom.sh
The file was modifiedscripts/tarballs/publish-tarballs-for-tags.sh
The file was modifiedjobs/gerrit-verifications.yml
Commit 1349db4bad28b9a5c6f0681aff450f18ca302470 by Oliver Smith
OBS: add libosmo-sccp-legacy URL

Change-Id: Ibacb7e39525f679914ad6add8aa21fce59ca3e5d
The file was modifiedscripts/obs/lib/config.py
Commit af1b259723805723146c6ac5c9f89a20b3b955c0 by roh
ansible: update rpi4-2 and rpi4-3

Adjust SSH key and hostname after both have been reinstalled with 64bit
raspbian 12.

Related: OS#6549
Change-Id: I959a564bb597f433012a14ce56da4865d3392170
The file was modifiedansible/hosts
The file was modifiedansible/util/known_hosts
The file was modifiedjobs/update-osmo-ci-on-slaves.yml
Commit 7e5ac3e19ad558522a6f0951d85770dc473db62a by Oliver Smith
publish-tarballs: ignore some libosmo-sccp-legacy

"make dist-bzip2" doesn't work in these versions, so don't attempt to
build a tarball for them. It was fixed in 2.0.3.

Related: https://gitea.osmocom.org/osmocom/libosmo-sccp-legacy/commit/27d2423b15463a0c2b59bf9a73c57b21df989d46
Change-Id: Id894d49c579998c02f32aa45f5585234fb11746b
The file was modifiedscripts/tarballs/publish-tarballs-for-tags.sh