Whamcloud - gitweb
LU-10640 tests: ha.sh script improvements 29/31229/9
authorElena Gryaznova <elena.gryaznova@hpe.com>
Wed, 17 Nov 2021 10:13:26 +0000 (13:13 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 13 Dec 2021 03:52:38 +0000 (03:52 +0000)
commit02f4eb88c444c04421a8f178cdb573f9192f9608
treec934365d5d8e20c703988d44e7ab2c9bc6cedfc8
parent19172ed37851fdd5731b1319c12151f5cb1fe267
LU-10640 tests: ha.sh script improvements

In each load iteration check for all created directories
that ls' long format output does not contain question
marks ('?').
'?'s may be reported if
  stat(2)->getattr()->ll_glimpse_size()
fails, which is expected in case of failover. Then the test
is to wait until recovery is completed, repeat the check
and exit with error if '?' still exists after second check.

Test-Parameters: trivial
Signed-off-by: Elena Gryaznova <elena.gryaznova@hpe.com>
HPE-bug-id: LUS-4894
Reviewed-by: Vladimir Saveliev <vlaidimir.saveliev@hpe.com>
Reviewed-by: Sergey Cheremencev <sergey.cheremencev@hpe.com>
Change-Id: I88495511797aaad53c923c90f88f92f1412380ce
Reviewed-on: https://review.whamcloud.com/31229
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/ha.sh