From cc037f2b4851e1f143d71f25ed78c1cc6b70b9ad Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Mon, 17 Jul 2023 19:06:22 +0100 Subject: [PATCH] test: exit early from TEST-70-TPM2 on ppc64el There is an underlying issue that appears only on ppc64 and fails 95% of Ubuntu runs, so exit early until it is solved. Closes https://github.com/systemd/systemd/issues/27716 --- test/units/testsuite-70.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/units/testsuite-70.sh b/test/units/testsuite-70.sh index 16d6c901f71..f01642f71a0 100755 --- a/test/units/testsuite-70.sh +++ b/test/units/testsuite-70.sh @@ -250,6 +250,13 @@ systemd-run -p PrivateDevices=yes -p LoadCredentialEncrypted=testdata.encrypted: systemd-run -p PrivateDevices=yes -p SetCredentialEncrypted=testdata.encrypted:"$(cat /tmp/testdata.encrypted)" --pipe --wait systemd-creds cat testdata.encrypted | cmp - /tmp/testdata rm -f /tmp/testdata +# There is an external issue with libcryptsetup on ppc64 that hits 95% of Ubuntu ppc64 test runs, so skip it +machine="$(uname -m)" +if [ "${machine}" = "ppc64le" ]; then + touch /testok + exit 0 +fi + cryptenroll_wipe_and_check() {( set +o pipefail -- 2.47.3