From: James Nunez Date: Mon, 6 Aug 2018 21:26:25 +0000 (-0600) Subject: LU-10686 tests: stop running sanity-pfl test 9 X-Git-Tag: 2.11.55~66 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F45%2F32945%2F2;p=fs%2Flustre-release.git LU-10686 tests: stop running sanity-pfl test 9 sanity-pfl test 9 consistently fails when run on a Lustre file system with a single MDS. We need to add test 9 to the ALWAYS_EXCCEPT list and, thus, stop running the test until a fix for the underlying problem can be found. Test-Parameters: trivial mdscount=1 mdtcount=1 testlist=sanity-pfl Test-Parameters: mdscount=2 mdtcount=2 testlist=sanity-pfl Signed-off-by: James Nunez Change-Id: Ife4b3c044e2777bb9b9010e0be7c00549a683fdc Reviewed-on: https://review.whamcloud.com/32945 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Wei Liu Reviewed-by: James Simmons Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-pfl.sh b/lustre/tests/sanity-pfl.sh index d72d00f..679a0dd 100644 --- a/lustre/tests/sanity-pfl.sh +++ b/lustre/tests/sanity-pfl.sh @@ -12,9 +12,6 @@ ONLY=${ONLY:-"$*"} ALWAYS_EXCEPT="$SANITY_PFL_EXCEPT" # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT! -[ "$ALWAYS_EXCEPT$EXCEPT" ] && - echo "Skipping tests: $ALWAYS_EXCEPT $EXCEPT" - TMP=${TMP:-/tmp} CHECKSTAT=${CHECKSTAT:-"checkstat -v"} @@ -30,6 +27,14 @@ if [[ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.9.51) ]]; then skip_env "Need MDS version at least 2.9.51" fi +if [ $MDSCOUNT -eq 1 ]; then + # Bug number: LU-10686 + ALWAYS_EXCEPT+=" 9" +fi + +[ "$ALWAYS_EXCEPT$EXCEPT" ] && + echo "Skipping tests: $ALWAYS_EXCEPT $EXCEPT" + build_test_filter [ $UID -eq 0 -a $RUNAS_ID -eq 0 ] &&