From a7c1481454f1bcb79dca010195648006e59fd2d3 Mon Sep 17 00:00:00 2001 From: Vladimir Saveliev Date: Thu, 14 Mar 2024 14:48:28 +0300 Subject: [PATCH] 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 --- lustre/tests/sanity.sh | 5 +++++ 1 file changed, 5 insertions(+) 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 || -- 1.8.3.1