Whamcloud - gitweb
LU-10612 tests: reply_single.sh,test_48: No space left 64/33764/3
authorElena Gryaznova <c17455@cray.com>
Tue, 6 Feb 2018 14:20:53 +0000 (17:20 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 16 Jan 2019 07:30:54 +0000 (07:30 +0000)
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 <gaurav.mahajan@seagate.com>

Signed-off-by: gaurav mahajan <gaurav.mahajan@seagate.com>
Signed-off-by: Elena Gryaznova <c17455@cray.com>
Test-Parameters: trivial testlist=replay-single envdefinitions="ONLY=48"
Cray-bug-id: LUS-4384
Seagate-bug-id: MRP-2616
Reviewed-by: Alexander Zarochentsev <c17826@cray.com>
Reviewed-by: Rahul Deshmukh <rahul.deshmukh@seagate.com>
Change-Id: I2b3cca70872b7c9f13c64b50e1b4373096fbc147
Reviewed-on: https://review.whamcloud.com/31182
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Patrick Farrell <paf@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
(cherry picked from commit ee9d75f41743874cc6aebcfd4daa3c3c71e003cf)
Reviewed-on: https://review.whamcloud.com/33764
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/replay-single.sh

index 483e893..f93dc81 100755 (executable)
@@ -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"