From: Andreas Dilger Date: Thu, 14 Mar 2019 07:54:41 +0000 (-0600) Subject: LU-12068 tests: add debug for sanity-lfsck test_6b X-Git-Tag: 2.12.53~93 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=698209700faf51c227f9ba16626de5ed70fa97c8;ds=inline LU-12068 tests: add debug for sanity-lfsck test_6b Dump the lfsck_namespace stats file on error to see if it provides any more information about why the test is failing. Test-Parameters: trivial testgroup=review-dne-zfs-part-2 testlist=sanity-lfsck Signed-off-by: Andreas Dilger Change-Id: If93202101f33f013b9f5ef56022f76c86b3ebbe5 Reviewed-on: https://review.whamcloud.com/34417 Tested-by: Jenkins Reviewed-by: Patrick Farrell Reviewed-by: James Nunez Tested-by: Maloo --- diff --git a/lustre/tests/sanity-lfsck.sh b/lustre/tests/sanity-lfsck.sh index 168c1b4..66eba95 100644 --- a/lustre/tests/sanity-lfsck.sh +++ b/lustre/tests/sanity-lfsck.sh @@ -784,6 +784,8 @@ test_6b() { local D_POS1=$($SHOW_NAMESPACE | awk '/^latest_start_position/ { print $4 }') + echo "Additional debug for 6b" + $SHOW_NAMESPACE if [ "$D_POS0" == "N/A" -o "$D_POS1" == "N/A" ]; then [[ $O_POS0 -lt $O_POS1 ]] || error "(7.1) $O_POS1 is not larger than $O_POS0"