From: Elena Gryaznova Date: Tue, 6 Feb 2018 14:20:53 +0000 (+0300) Subject: LU-10612 tests: reply_single.sh,test_48: No space left X-Git-Tag: 2.10.7-RC1~71 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a4e21d3502cab18d3ecd2a93e6432805c80ae1a1;p=fs%2Flustre-release.git LU-10612 tests: reply_single.sh,test_48: No space left MDS need to have time to discover the OST state, attempt to recover, fail and recover again. Backport from b2_11 branch to b2_10: Lustre-change: https://review.whamcloud.com/#/c/31182/ Lustre-commit: ee9d75f41743874cc6aebcfd4daa3c3c71e003cf Author: gaurav mahajan Signed-off-by: gaurav mahajan Signed-off-by: Elena Gryaznova Test-Parameters: trivial testlist=replay-single envdefinitions="ONLY=48" Cray-bug-id: LUS-4384 Seagate-bug-id: MRP-2616 Reviewed-by: Alexander Zarochentsev Reviewed-by: Rahul Deshmukh Change-Id: I2b3cca70872b7c9f13c64b50e1b4373096fbc147 Reviewed-on: https://review.whamcloud.com/31182 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Patrick Farrell Reviewed-by: Oleg Drokin (cherry picked from commit ee9d75f41743874cc6aebcfd4daa3c3c71e003cf) Reviewed-on: https://review.whamcloud.com/33764 Tested-by: Maloo Reviewed-by: Wei Liu Reviewed-by: Andreas Dilger --- diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 483e893..f93dc81 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -1138,6 +1138,10 @@ test_48() { do_facet ost1 "lctl set_param fail_loc=0x80000216" client_up || error "client_up failed" + # let the MDS discover the OST failure, attempt to recover, fail + # and recover again. + sleep $((3 * TIMEOUT)) + createmany -o $DIR/$tfile 20 20 || error "createmany recraete $DIR/$tfile failed" unlinkmany $DIR/$tfile 40 || error "unlinkmany $DIR/$tfile failed"