From 388e8ed199b47337616beba573cb595343e71cca Mon Sep 17 00:00:00 2001 From: James Nunez Date: Mon, 25 Jan 2021 18:15:49 -0700 Subject: [PATCH 1/1] LU-13751 tests: remove read of changelog sanity 160j sanity test 160j tries to read the changelog after one of two client mounts is unmounted. In this case, we can fail to read the changelog and get a "Cannot send after transport endpoint shutdown" error. The intention of sanity test 160j is to check that there is no LBUG due to missed obd device. So, do not try to read from the changelog after file system unmount. Test-Parameters: trivial testlist=sanity env=ONLY=160j,ONLY_REPEAT=200 Signed-off-by: James Nunez Change-Id: I1746a422b25d546b9aae38ae8438d9c08bce8827 Reviewed-on: https://review.whamcloud.com/41317 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Mike Pershin Reviewed-by: John L. Hammond --- lustre/tests/sanity.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index c5995a4..d9e438e 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -15164,8 +15164,8 @@ test_160j() { umount $MOUNT stack_trap "mount_client $MOUNT" EXIT - # read changelog - cat <&4 >/dev/null || error "read changelog failed" + # read changelog, which may or may not fail, but should not crash + cat <&4 >/dev/null # clear changelog local cl_user="${CL_USERS[$SINGLEMDS]%% *}" @@ -15174,7 +15174,7 @@ test_160j() { printf 'clear:'$cl_user':0' >&3 } -run_test 160j "client can be umounted while its chanangelog is being used" +run_test 160j "client can be umounted while its chanangelog is being used" test_160k() { [ $PARALLEL == "yes" ] && skip "skip parallel run" -- 1.8.3.1