]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
TEST-19-CGROUP: Skip on opensuse
authorRichard Maw <richard.maw@codethink.co.uk>
Thu, 25 Apr 2024 11:18:57 +0000 (12:18 +0100)
committerRichard Maw <richard.maw@codethink.co.uk>
Fri, 26 Apr 2024 16:23:53 +0000 (17:23 +0100)
OpenSUSE images seem to be unhappy with either how they are built
or what they are being asked to do.

The listed device-mapper failure is just one of the strange errors,
I have also seen it fail to propagate cgroup properties into new cgroups
that were previously guaranteed to exist.

test/units/testsuite-19.sh

index 9c2a033aa98d17ce1517bf42cf30c31c187ab0ea..60c53cd80de8ab3e914097807eb1d9c0631ed4eb 100755 (executable)
@@ -3,6 +3,14 @@
 set -eux
 set -o pipefail
 
+. /etc/os-release
+# FIXME: This test fails on opensuse with the following error and others:
+# Apr 25 10:24:04 H (cat)[910]: device-mapper: create ioctl on ... failed: Device or resource busy
+if [[ "$ID" =~ "opensuse" ]]; then
+    echo "Skipping due to known unexpected behaviour in OpenSUSE kernels" >>/skipped
+    exit 77
+fi
+
 # shellcheck source=test/units/test-control.sh
 . "$(dirname "$0")"/test-control.sh