From 698209700faf51c227f9ba16626de5ed70fa97c8 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Thu, 14 Mar 2019 01:54:41 -0600 Subject: [PATCH] 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 --- lustre/tests/sanity-lfsck.sh | 2 ++ 1 file changed, 2 insertions(+) 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" -- 1.8.3.1