]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: Disable bpf-framework option for build and unit test jobs
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 17 Oct 2025 09:53:48 +0000 (11:53 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 17 Oct 2025 12:11:23 +0000 (21:11 +0900)
/usr/sbin/bpftool is completely broken inside containers on
Ubuntu which makes meson blow up so disable the bpf-framework
stuff to avoid the issue.

TODO: Drop when we move off Ubuntu Noble as this will be fixed
in the next Ubuntu LTS release.

.github/workflows/build-test.sh
.github/workflows/unit-tests.sh

index c683ca2de2f21ea69d9cfb3638f10517e430ebf4..f99d06d931c006689453b063ca775ffed21d7aaa 100755 (executable)
@@ -168,6 +168,7 @@ for args in "${ARGS[@]}"; do
          meson setup \
                -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true --werror \
                -Dnobody-group=nogroup -Ddebug=false \
+               -Dbpf-framework=disabled \
                $args build; then
 
         cat build/meson-logs/meson-log.txt
index 9d586cd8cc4fb941470f6929a07a0dd6ba8a5e30..d4d995c5cd680894f9b07d5f17891e695c523640 100755 (executable)
@@ -99,7 +99,7 @@ for phase in "${PHASES[@]}"; do
             fi
 
             MESON_ARGS+=(--fatal-meson-warnings)
-            run_meson -Dnobody-group=nogroup --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true "${MESON_ARGS[@]}" build
+            run_meson -Dnobody-group=nogroup --werror -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true -Dbpf-framework=disabled "${MESON_ARGS[@]}" build
             ninja -C build -v
             # Ensure setting a timezone (like the reproducible build tests do) does not break time/date unit tests
             TZ=GMT+12 meson test "${MESON_TEST_ARGS[@]}" -C build --print-errorlogs
@@ -122,7 +122,7 @@ for phase in "${PHASES[@]}"; do
                 fi
             fi
             MESON_ARGS+=(--fatal-meson-warnings)
-            run_meson -Dnobody-group=nogroup --werror -Dtests=unsafe -Db_sanitize=address,undefined "${MESON_ARGS[@]}" build
+            run_meson -Dnobody-group=nogroup --werror -Dtests=unsafe -Db_sanitize=address,undefined -Dbpf-framework=disabled "${MESON_ARGS[@]}" build
             ninja -C build -v
 
             export ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1