From: Andreas Dilger Date: Wed, 15 Dec 2021 20:22:23 +0000 (-0700) Subject: LU-15259 tests: skip acl tests if no bin/daemon users X-Git-Tag: 2.14.57~10 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=da7f2848a2aae2ec4852b23e55d23d42a30205ce LU-15259 tests: skip acl tests if no bin/daemon users If the bin/daemon users are not configured on the test system, then sanity test_103a, test_125, test_154a will fail with: $ setfacl -m u:bin:rw f -- failed - ? setfacl: Option -m: Invalid argument near character 3 Skip these tests until they are fixed. Test-Parameters: trivial clientdistro=sles15sp3 Signed-off-by: Andreas Dilger Change-Id: I526f9318862577a6b73c3b63cfc95a3d793ebbe5 Reviewed-on: https://review.whamcloud.com/45868 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Minh Diep Reviewed-by: James Nunez Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 0f0e524..58f311e 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -75,6 +75,12 @@ if (( $LINUX_VERSION_CODE >= $(version_code 4.18.0) && ALWAYS_EXCEPT+=" 411" fi +#skip ACL tests on RHEL8 and SLES15 until tests changed to use other users +if (( $(egrep -cw "^bin|^daemon" /etc/passwd) < 2 )); then + # bug number: LU-15259 LU-15259 + ALWAYS_EXCEPT+=" 103a 125 154a" +fi + # 5 12 8 12 15 (min)" [ "$SLOW" = "no" ] && EXCEPT_SLOW="27m 60i 64b 68 71 115 135 136 230d 300o"