From: Richard Maw Date: Thu, 25 Apr 2024 11:18:57 +0000 (+0100) Subject: TEST-19-CGROUP: Skip on opensuse X-Git-Tag: v256-rc2~188^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60d064d3fdfc21d9209d81ed8b29fe0d90891ebf;p=thirdparty%2Fsystemd.git TEST-19-CGROUP: Skip on opensuse 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. --- diff --git a/test/units/testsuite-19.sh b/test/units/testsuite-19.sh index 9c2a033aa98..60c53cd80de 100755 --- a/test/units/testsuite-19.sh +++ b/test/units/testsuite-19.sh @@ -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