pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/40411?usp=email )
Change subject: testenv: podman: Install newer libcurl from bookworm-backports ......................................................................
testenv: podman: Install newer libcurl from bookworm-backports
It was already spotted a few days ago that libcurl4 7.88.1-10+deb12u12, currently being shipped by debian12, contains some sort of bug where it doesn't properly format/read HTTP2 requests when used in open5gs. It was found out that installing a newer version of libcurl4 fixes the problem. This patch also fixes the problems spotted in the 5gc testsuite when running within podman (they didn't show up outside podman because I'm using Archlinux and hence using newer libcurl 8.13.0 too).
Change-Id: I799eeac73c49b9596502ad98acaa11dba3b88e97 --- M _testenv/data/podman/Dockerfile 1 file changed, 19 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/11/40411/1
diff --git a/_testenv/data/podman/Dockerfile b/_testenv/data/podman/Dockerfile index 097fdc4..dca8a75 100644 --- a/_testenv/data/podman/Dockerfile +++ b/_testenv/data/podman/Dockerfile @@ -93,6 +93,25 @@ && \ apt-get clean
+# Install newer libcurl4 from bookworm-backports, libcurl4 7.88.1-10+deb12u12 +# shipped with debian12 is buggy and generates wrong HTTP2 for open5gs. +ENV BACKPORTS_SOURCES_LIST="/etc/apt/sources.list.d/debian-backports.sources" +RUN set -x && \ + echo "Types: deb deb-src" >>"$BACKPORTS_SOURCES_LIST" && \ + echo "URIs: http://deb.debian.org/debian" >>"$BACKPORTS_SOURCES_LIST" && \ + echo "Suites: stable-backports" >>"$BACKPORTS_SOURCES_LIST" && \ + echo "Components: main" >>"$BACKPORTS_SOURCES_LIST" && \ + echo "Enabled: yes" >>"$BACKPORTS_SOURCES_LIST" && \ + echo "Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg" >>"$BACKPORTS_SOURCES_LIST" && \ + apt-get update && \ + apt-get -t bookworm-backports install \ + -y \ + --no-install-recommends \ + -o Dpkg::Options::="--force-confold" \ + libcurl4 \ + && \ + apt-get clean + # Install rebar3 as described in https://rebar3.org/docs/getting-started/ # instead of using the Debian package, as the latter pulls in ~600 MB of GUI # dependencies that we don't need: