From da7f2848a2aae2ec4852b23e55d23d42a30205ce Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Wed, 15 Dec 2021 13:22:23 -0700 Subject: [PATCH] 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 --- lustre/tests/sanity.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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" -- 1.8.3.1