From: Vladimir Saveliev Date: Thu, 14 Mar 2024 11:48:28 +0000 (+0300) Subject: LU-18105 tests: take care of "run LFSCK" message in dmesg X-Git-Tag: 2.15.90~47 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F32%2F55932%2F3;p=fs%2Flustre-release.git LU-18105 tests: take care of "run LFSCK" message in dmesg "logging isn't available, run LFSCKn" message may get hidden due to console rate limit feature which causes sanity.sh:test_818 to fail. Set console_ratelimit to 0 for the duration of sanity.sh:test_818 execution. HPE-bug-id: LUS-11913 Fixes: 44a359caae ("LU-15166 tests: restore osp-syn threads after test_818") Test-Parameters: testlist=sanity env=ONLY=818,ONLY_REPEAT=20 Signed-off-by: Vladimir Saveliev Change-Id: Ibe5c254bebe28f65d37f279802944fff5894f981 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55932 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger Reviewed-by: Elena Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 1e76285..3b2c54f 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -33307,6 +33307,11 @@ test_818() { # restore osp-syn threads stack_trap "fail $SINGLEMDS" + # disable console ratelimit + local rl=$(do_facet mds1 $LCTL get_param -n console_ratelimit) + do_facet mds1 $LCTL set_param console_ratelimit=0 + stack_trap "do_facet mds1 $LCTL set_param console_ratelimit=$rl" + #define OBD_FAIL_OSP_CANT_PROCESS_LLOG 0x2105 do_facet $SINGLEMDS lctl set_param fail_loc=0x80002105 start $SINGLEMDS $(mdsdevname ${SINGLEMDS//mds/}) $MDS_MOUNT_OPTS ||