Skip to content
Success

Changes

Summary

  1. testenv: install curl backport only for bookworm (details)
  2. Cosmetic: testenv: make builddir_env more readable (details)
  3. msc: also execute evil USSD tests for -latest (details)
  4. testenv: use separate cache dirs per distro (details)
  5. testenv: init podman: add --distro arg (details)
  6. testenv: debian 13: fix installing libgcc (details)
  7. testenv: debian 13: fix installing eclipse-titan (details)
  8. testenv: check for --distro without --podman (details)
  9. testenv: check value of --distro early (details)
  10. testenv: add debian:trixie (details)
  11. testenv: enable_binary_repo: configure apt pin (details)
  12. testenv: set default distro to debian:trixie (details)
  13. testenv: qemu: ignore builtin modules (details)
Commit 932a1032a061baebb71376eff2d3b8eafd96eb22 by Oliver Smith
testenv: install curl backport only for bookworm

Change-Id: Ifeeea010fb13bfd65e1d3659a3c43fc4acf07795
The file was modified_testenv/data/podman/Dockerfile
Commit add56670a8918f0393ff6eef415c9717ce4ed711 by Oliver Smith
Cosmetic: testenv: make builddir_env more readable

Change-Id: I7bbd14bd91c97bc37a163018217b104ace0e1a53
The file was modified_testenv/testenv/testsuite.py
Commit 9951c0a9949896b4f7b4a76d0a1ce27755d5d0d5 by laforge
msc: also execute evil USSD tests for -latest

osmo-msc v1.14.0 is out, so we can safely execute these tests.

Change-Id: Ia603bcf434a4092c5fc347300b755be92820ed3e
The file was modifiedmsc/MSC_Tests.ttcn
Commit 2152d5127e0a21e29fb4caab4e8f49c78d6a75b0 by Oliver Smith
testenv: use separate cache dirs per distro

Change-Id: I0f1c05bb4d8cfababc24477976abf8a0baa3daba
The file was modified_testenv/testenv/podman.py
The file was modified_testenv/testenv/cmd.py
The file was modified_testenv/testenv/testsuite.py
Commit 48331bb5c5dc7e6f273d87bcfcdef92a520ec386 by Oliver Smith
testenv: init podman: add --distro arg

Allow building the podman image for another distribution. This was
mostly implemented already, but due to the missing --distro argument for
"./testenv.py init podman" it could not be used yet.

Change-Id: Iff59b5d403e88046a3f98438394e1e02a36e7c0a
The file was modified_testenv/testenv/__init__.py
Commit fbef26faf0650c966fd020cbf74bb4dfff711679 by Oliver Smith
testenv: debian 13: fix installing libgcc

Use a wildcard to install the proper libgcc-*-dev package (libgcc-11-dev
for debian bookworm, libgcc-13-dev for trixie).

Change-Id: I9992d8cf8cd68a9e3ec9178909e0766dbd5d12ad
The file was modified_testenv/data/podman/Dockerfile
Commit 7943e83f8f21f223399907371d02c52155c475fe by Oliver Smith
testenv: debian 13: fix installing eclipse-titan

Use the current debian version instead of hardcoding Debian_12.

Change-Id: I56be4e3e72a1ad4590e904f9a48d90aa635c9980
The file was modified_testenv/data/podman/Dockerfile
Commit 8d21add62379e894791370c6699aec73283776da by Oliver Smith
testenv: check for --distro without --podman

The --distro option only makes sense with --podman, complain if it is
used without --podman.

Change-Id: I1b7b26320c65d498a1e812f85f0b98eda95be783
The file was modified_testenv/testenv/__init__.py
Commit a54861145eb74451afbdcda39546e8aa09f7b1ca by Oliver Smith
testenv: check value of --distro early

Make sure that the value for --distro is supported early on, instead of
only checking it if --binary-repo is set while trying to add the binary
repository.

Change-Id: I37493f26d71e70a19f4a19b3bbda972c03c84905
The file was modified_testenv/testenv/__init__.py
The file was modified_testenv/testenv/podman.py
Commit 6f5bca2e53d3740afabb96c350523d9dd770b046 by Oliver Smith
testenv: add debian:trixie

Change-Id: Ib62851960724c17f9adddf54a2fc39adef911d32
The file was modified_testenv/testenv/__init__.py
Commit f92398a3b38501adc330565566bca97e46bacd24 by Oliver Smith
testenv: enable_binary_repo: configure apt pin

Add an apt-pin to ensure packages from the Osmocom repositories get
preferred over Debian's packages. I just ran into this with osmo-mgw,
where we have 1.4.0 in osmocom:latest and Debian 13 has 1.14.0+dfsg1-2,
which counts as higher version. This results in the wrong package being
selected, and also in an error later on when trying to install related
debug packages from our repository:

  The following packages have unmet dependencies:
   osmo-mgw-dbgsym : Depends: osmo-mgw (= 1.14.0) but 1.14.0+dfsg1-2 is to be installed

Change-Id: I3a45de277bbd5299c8b840680b56b52a8731caa4
The file was modified_testenv/testenv/podman.py
Commit 99a5f8cc1e18ae95b7567120fd8979e05300ae59 by Oliver Smith
testenv: set default distro to debian:trixie

Related: OS#6826
Change-Id: Ib9c5dafaa7b17e435f61fbedfd92393c0a767f34
The file was modified_testenv/testenv/__init__.py
Commit 8b1842e63aef48d3efacfa2c8d75f7db099fdfd1 by Oliver Smith
testenv: qemu: ignore builtin modules

In debian 13, the virtio_pci kernel module is now builtin. Adjust the
code paths that add kernel modules to the initramfs and load them to
ignore builtin modules.

This fixes the ttcn3-ggsn-test-kernel-latest job job, which currently
fails with:

  + modprobe -a --dry-run --show-depends --set-version=6.12.41+deb13-amd64 virtio_net virtio_pci
  + sort -u
  + cut -d   -f 2
  + local files=virtio_pci
  /lib/modules/6.12.41+deb13-amd64/kernel/drivers/net/net_failover.ko.xz
  /lib/modules/6.12.41+deb13-amd64/kernel/drivers/net/virtio_net.ko.xz
  /lib/modules/6.12.41+deb13-amd64/kernel/net/core/failover.ko.xz
  + qemu_initrd_add_file virtio_pci /lib/modules/6.12.41+deb13-amd64/kernel/drivers/net/net_failover.ko.xz /lib/modules/6.12.41+deb13-amd64/kernel/drivers/net/virtio_net.ko.xz /lib/modules/6.12.41+deb13-amd64/kernel/net/core/failover.ko.xz /usr/lib/modules/6.12.41+deb13-amd64/modules.alias
  + local i
  + local cp=cp --no-dereference --recursive --parents
  + cp --no-dereference --recursive --parents virtio_pci <https://jenkins.osmocom.org/jenkins/job/ttcn3-ggsn-test-kernel-latest/1665/artifact/logs/osmo_ggsn_v4_only/ggsn/_initrd>
  cp: cannot stat 'virtio_pci': No such file or directory

Change-Id: Ied8acf18d0a1f47fac805619d15896918a365ff2
The file was modified_testenv/data/scripts/qemu/qemu_functions.sh
The file was modified_testenv/data/scripts/qemu/qemu_init.sh