Skip to content
Success

Changes

Summary

  1. jobs/ttcn3-testsuites-testenv: hlr: add -c osmo_hlr (details)
  2. jobs/osmocom-obs-sync: add Raspbian:13 (details)
  3. contrib/obs-mirror: add Raspbian_13 (details)
  4. scripts/reminder-extend-obs-key: fix typo (details)
  5. Update Release.key for Osmocom OBS (details)
  6. jobs/ttcn3-testsuites-testenv: mme: use -c all (details)
  7. OBS: let osmocom-keyring not depend on other pgks (details)
  8. jobs/osmocom-obs: build binary packages earlier (details)
  9. OBS: lib/srcpkg: format with ruff (details)
  10. OBS: gerrit_binpkgs: print verbose output (details)
  11. OBS: build_srcpkg: install rebar3 without apt (details)
  12. OBS: set default distro to debian 13 (details)
  13. OBS: support building pyhss (details)
  14. OBS: configure Osmocom pyhss fork (details)
  15. jobs/ttcn3: add ttcn3-hlr-test-pyhss (details)
  16. OBS: fix building pyosmocom for debian 12 (details)
  17. OBS: sync_obs_projects: fix for OSC 1.12.1 (details)
  18. jobs/ttcn3: add -ogs-latest jobs (details)
  19. jobs/ttcn3: add ttcn3-hss-test-pyhss (details)
  20. jobs/ttcn3: adjust to testenv config rename (details)
  21. jobs: libosmo-sigtran: add support for TCAP loadsharing (details)
  22. lint: run clang-format only on specific projects (details)
  23. scripts: Add libosmo-asn1-tcap to OSMO_RELEASE_REPOS (details)
  24. ansible: jenkins: mount tracefs via fstab (details)
  25. jobs/ttcn3-testsuites: set RUN_BPFTRACE=1 (details)
Commit 71fde4193c9edf30af3d69db3da3259c42c23edb by Oliver Smith
jobs/ttcn3-testsuites-testenv: hlr: add -c osmo_hlr

Now that it is also possible to run the HLR tests against PyHSS, add
"-c osmo_hlr" to run the existing ttcn3-hlr-test jobs against osmo-hlr.
I plan to add jobs for PyHSS later in a separate patch.

Related: OS#6862
Depends: osmo-ttcn3-hacks I7a7e709ec02a9bf44343fff4df2861dfe4e1a761
Change-Id: Ic7acd3ca654580aa8e5a52f162f5c9042fc7d09f
The file was modifiedjobs/ttcn3-testsuites-testenv.yml
Commit ba31ec48c0d2b0ac733135be1ce309ea580d0056 by Oliver Smith
jobs/osmocom-obs-sync: add Raspbian:13

Change-Id: Ib308d12cae2def42c3f1892f606e15c8aebfe140
The file was modifiedjobs/osmocom-obs-sync.yml
Commit 0c05cfc4b6049eef18542ef5b11f133aae02036e by Oliver Smith
contrib/obs-mirror: add Raspbian_13

Change-Id: I73e0dbb820935be2f2754a2e2b3e6b3bff409552
The file was modifiedcontrib/obs-mirror/obs-mirror-include.txt
Commit 1768de3271f8138f45bdeda2d04332de57a9abb5 by Oliver Smith
scripts/reminder-extend-obs-key: fix typo

One year is 365(.25) days, not 356. Fix that the alarm would have gone
off 9 days later than expected.

Change-Id: I8b46b6b18ce1dea01c5c6c0beb4f10e924f8e4bc
The file was modifiedscripts/reminder-extend-obs-key.sh
Commit 22bdf8cc9108e10cebbe3a98729d887d35fb29ed by Oliver Smith
Update Release.key for Osmocom OBS

Change-Id: Iaa333c148f01f518178990bc44c822a471dffbb8
The file was modifiedscripts/obs/data/Release.key
The file was modifiedqemu-kvm/ggsn-kernel-gtp/postinst/Release.key
The file was modifiedansible/roles/gsm-tester-bts/files/Release.key
Commit b93642c7c66e94ea5532720bc222393505b24f4e by Oliver Smith
jobs/ttcn3-testsuites-testenv: mme: use -c all

Adjust to MME tests now having two configurations in osmo-ttcn3-hacks:

[testenv] Found multiple testenv.cfg files, use one of:
[testenv]  -c emergency
[testenv]  -c generic
[testenv] You can also select all of them (-c all) or use the * character as wildcard.

Related: osmo-ttcn3-hacks I3d84486dd3826d0f60a3c06693118e36b01ecd2b
Change-Id: Id2296c7cfe1660cc443f08efea209f8bf61aa8b6
The file was modifiedjobs/ttcn3-testsuites-testenv.yml
Commit 46075b796ded3c014346fe5dcc18a6082a792f89 by Oliver Smith
OBS: let osmocom-keyring not depend on other pgks

The osmocom-latest, osmocom-nightly etc. meta-packages depend on the
osmocom-keyring package. Fix that the osmocom-keyring package was also
depending on these meta packages.

This fixes that when uninstalling all osmocom:latest packages by
removing the osmocom-latest meta package, the osmocom-keyring package
would also get removed. This is undesirable for switching between latest
and nightly, as the osmocom-keyring package must remain installed to be
able to install new packages from the repository (as it has the repo
key).

Change-Id: If8fbbc40ee45e603de281003db2f61dcb7603e7b
The file was modifiedscripts/obs/lib/srcpkg.py
Commit ce3a6cb2b1ad650e19b9a6b38453c02128db5cf5 by Oliver Smith
jobs/osmocom-obs: build binary packages earlier

We have recently noticed that with current settings the nightly arm
packages have still not finished the next morning. Schedule nightly OBS
packages 2-3 hours earlier to avoid this.

Change-Id: Ief55cab9308503d582fcfe0c602c75bb48be7dae
The file was modifiedjobs/README.md
The file was modifiedjobs/osmocom-obs.yml
Commit 0c2bd71c2ac7a00a885346d7362a353f5ed6c36d by Oliver Smith
OBS: lib/srcpkg: format with ruff

Change-Id: I2cfb8fc5bd78449e62526758ddb9263cf3d8ced1
The file was modifiedscripts/obs/lib/srcpkg.py
The file was modified.ruff.toml
Commit 22349d63faf9ac702eab64a448e1cafdf4bd6ef6 by Oliver Smith
OBS: gerrit_binpkgs: print verbose output

Print all shell commands and their output executed by build_srcpkgs.py
and build_binpkgs.py, instead of only printing them on error. This is
useful to see the output of the scripts downloading dependencies when
building sourcepackages.

Change-Id: Ie1dbde603351b1d26b66f3834b645b1f1f5bbfc8
The file was modifiedscripts/obs/gerrit_binpkgs.sh
Commit 900ab58bb91bd8c3ac23062c94538c23f4fb5aae by Oliver Smith
OBS: build_srcpkg: install rebar3 without apt

Avoid pulling in 600 MB of GUI dependencies.

Related: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1083096
Change-Id: I9a51df03ac173118c35d501bd21c6d023a436844
The file was modifiedscripts/obs/data/build_srcpkg.Dockerfile
Commit 6ac535b81516b99941c1094218230dacb599091b by Oliver Smith
OBS: set default distro to debian 13

Change the distribution that is used to build the source packages to
debian 13 so we are on the latest one again.

Change-Id: I7c1dcca90e46645a497fd547ce1243b414c53201
The file was modifiedscripts/obs/lib/config.py
Commit 14b2f70e5c79f9ca0b70f498e1ef3518a776ae5b by Oliver Smith
OBS: support building pyhss

Build source packages for the python project pyhss similar to how we do
it for erlang projects: by downloading all dependencies ahead of time
and vendoring them in the source package.

Related: SYS#6819
Change-Id: I321090e811f7c5c142bf973c616d83cd5b2219ab
The file was modifiedscripts/obs/lib/srcpkg.py
The file was addedscripts/obs/data/pyhss_download_deps.sh
The file was modifiedscripts/obs/lib/__init__.py
The file was modifiedscripts/obs/data/build_srcpkg.Dockerfile
Commit 070d2c3bbfcb96a66dd6abdfb4af2e2d614e07d7 by Oliver Smith
OBS: configure Osmocom pyhss fork

Add the Osmocom fork of PyHSS to scripts/obs/lib/config.py, so the
Osmocom_OBS_* jobs build source packages for it and push them to our OBS
where binary packages get built. We need to use a fork for now, as the
official repository can't run outside of a git tree yet and doesn't have
debian packaging. These changes are being upstreamed, the goal is that
we don't need to use our fork in the long run.

Related: SYS#6819
Change-Id: I8fc7ef9dc242248770711da2893492fae8a84522
The file was modifiedscripts/obs/lib/config.py
Commit 5a269f8f3b10111c8925ca6372c299edaafe77a2 by Oliver Smith
jobs/ttcn3: add ttcn3-hlr-test-pyhss

Change-Id: I608f3d7ade5098e7a8f7808ae2b57955c1354c85
The file was modifiedjobs/ttcn3-testsuites-testenv.yml
Commit 31501d38ef9159322fdbe38fe1a35a9d08cf2ca5 by Oliver Smith
OBS: fix building pyosmocom for debian 12

Related: pyosmocom I8416234ea02f337fabd075cc345af964c1b71adf
Related: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files
Change-Id: Ia8ef3a0301aeaad4691c197ed780e86b497def4a
The file was modifiedscripts/obs/lib/srcpkg.py
Commit cc3b94e2bbea122bb546178366da4d2ced1765c1 by Oliver Smith
OBS: sync_obs_projects: fix for OSC 1.12.1

Since the Docker image used by sync_obs_projects was changed from Debian
12 to 13, several "osc" commands have in their output:

  fatal: not a git repository (or any of the parent directories): .git

Work around this by switching to the temp directory and initializing a
git repository there, with an "origin" remote that osc also expects to
exist.

Fixes: 6ac535b8 ("OBS: set default distro to debian 13")
Change-Id: I1236a065e2998fb46343df3968f7bb4dabeea55a
The file was modifiedscripts/obs/sync_obs_projects.py
Commit 85aa535f7aa0442d6a0355a8a060e00505663032 by Oliver Smith
jobs/ttcn3: add -ogs-latest jobs

Be consistent with the Osmocom jobs where we have -latest too.

Add no mail notifications to open5gs maintainers, because if tests start
failing for latest then it usually means a regression in our testsuite
code.

Change-Id: I28c3b7130661c177271d7341f759a05c94d9607f
The file was modifiedjobs/ttcn3-testsuites-testenv.yml
Commit 91556936f3b9f20178047f34d7f4f003a20ea682 by Oliver Smith
jobs/ttcn3: add ttcn3-hss-test-pyhss

Depends: I224eb4aa5fec3dc97f6fa956a4a86f206c8b12b7
Related: OS#6862
Change-Id: I517d36d890690e606050158221d2df9028745dae
The file was modifiedjobs/ttcn3-testsuites-testenv.yml
Commit 98b6e81b3e0e08d6e403b048056390edf1dc779b by Oliver Smith
jobs/ttcn3: adjust to testenv config rename

Replace "-c osmo_{hlr,ggsn}…" with "-c osmo".

Depends: osmo-ttcn3-hacks I7a64c946ece8ad5bfbf4f7d613634138af6db566
Change-Id: I3766d76a5a6fa8a8de00137fe33e0e747337c66e
The file was modifiedjobs/ttcn3-testsuites-testenv.yml
Commit c9c3af6b34ac3ee45bfc0ee5cfc05a8959c05eb8 by Oliver Smith
jobs: libosmo-sigtran: add support for TCAP loadsharing

TCAP loadsharing requires an additional library libosmo-asn1-tcap.
./contrib/jenkins.sh is using the env TCAP={0,1} to select this feature.

Unclear if we should also put it into our default build.

Change-Id: I47c193d8f5ce695fdc6c368eee94d21c5a4b2c6e
The file was modifiedcoverity/build_Osmocom.sh
The file was modifiedjobs/gerrit-verifications.yml
The file was modifiedcoverity/prepare_source_Osmocom.sh
The file was modifiedjobs/master-builds.yml
Commit 6e40c44983be020e4c66338b8dbeaa038e3517e7 by Oliver Smith
lint: run clang-format only on specific projects

For most C projects, running checkpatch works best with the coding style
we use. Run clang-format only in specific projects that seem to be fully
formatted with that tool.

Related: https://gerrit.osmocom.org/c/osmo-mgw/+/41529
Related: https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/39470
Related: https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/39471
Change-Id: I2c07b30f9254b54027b721b77ab6f35249b5e2de
The file was modifiedlint/lint_diff.sh
Commit 658a0aeaf71b99d073320436ea3e51dc0ecb3304 by Pau Espin Pedrol
scripts: Add libosmo-asn1-tcap to OSMO_RELEASE_REPOS

Change-Id: I76703ed5c648eb50574166f8459fd0bde1720902
The file was modifiedscripts/tarballs/publish-tarballs-for-tags.sh
The file was modifiedscripts/common.sh
Commit 8f99ae3566c74e43409de3f08b9a456e4fe5293e by Oliver Smith
ansible: jenkins: mount tracefs via fstab

Allow using bpftrace inside the jenkins lxc containers by making
/sys/kernel/tracing available through /etc/fstab.

Related: OS#6794
Change-Id: I568e3635fcc33040036fd19e9226b413db0d3ef3
The file was modifiedansible/roles/osmocom-jenkins-slave/tasks/main.yml
Commit bb15a95e3843864b853e6d1747b82b08556a1923 by Oliver Smith
jobs/ttcn3-testsuites: set RUN_BPFTRACE=1

Allow better analysis of instabilities with the ttcn3-bts-test jobs in
jenkins by running bpftrace scripts along with osmo-bts.

Only the ttcn3-bts-test scripts make use of the RUN_BPFTRACE environment
variable, so this does not affect how any other testsuite runs.

See the related docker-playground commit for details.

Related: OS#6794
Related: docker-playground I5c22cdbb08fe797be936ca174f65ade626fa4895
Change-Id: Iaa960772fb0b09722594747006890e5e43752d43
The file was modifiedjobs/ttcn3-testsuites.yml