Skip to content

Commit 9efddef

Browse files
committed
systemd: skip unit test test-firewall-util temporarily
The unit test test-firewall-util depends on various netfilter NAT modules being available. Skip the test for now until a new Elastic Build kernel has been deployed that brings those modules built-in. Signed-off-by: Markus Boehme <markus.boehme@chainguard.dev>
1 parent d6951a7 commit 9efddef

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

systemd.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ subpackages:
190190
# 2025/03/28 11:52:30 INFO Assertion 'mkdtemp_malloc("/tmp/test-rm-rf.XXXXXXX", &d) >= 0' failed at src/test/test-rm-rf.c:19, function test_rm_rf_chmod_inner(). Aborting.
191191
# 2025/03/28 11:52:30 INFO (setresuid) terminated by signal ABRT.
192192
# 2025/03/28 11:52:30 INFO Assertion 'r >= 0' failed at src/test/test-rm-rf.c:100, function test_rm_rf_chmod(). Aborting.
193+
# test-firewall-util - Assertion failed: "r = fw_nftables_add_masquerade(nfnl, true, AF_INET6, &u1, 128)" failed with unexpected error: -2/ENOENT
193194
/usr/lib/systemd/tests/run-unit-tests.py -u \
194195
-s test-sd-device \
195196
-s test-path-util \
@@ -205,7 +206,8 @@ subpackages:
205206
-s test-namespace \
206207
-s test-mount-util \
207208
-s test-bpf-foreign-programs \
208-
-s test-execute
209+
-s test-execute \
210+
-s test-firewall-util
209211
210212
- range: standalone-binaries
211213
name: ${{range.key}}-standalone
@@ -810,6 +812,11 @@ test:
810812
- systemd-dev
811813
- libsystemd
812814
pipeline:
815+
- runs: |
816+
if [ '${{package.version}}-r${{package.epoch}}' != '259-r0' ]; then
817+
echo 'Check if unit test test-firewall-util can be enabled now!'
818+
exit 1
819+
fi
813820
- uses: test/verify-service
814821
with:
815822
skip-files: syslog.socket # intentionally shipped without a corresponding service

0 commit comments

Comments
 (0)