Whamcloud - gitweb
LU-16632 tests: more margin of error for sanity/56xh 62/50262/4
authorTimothy Day <timday@amazon.com>
Sat, 11 Mar 2023 22:55:09 +0000 (22:55 +0000)
committerOleg Drokin <green@whamcloud.com>
Tue, 28 Mar 2023 22:18:37 +0000 (22:18 +0000)
Give sanity test_56xh more time to migrate files inside the
VMs before failing.

Also, fix a typo.

Test-Parameters: trivial testlist=sanity env=ONLY=56xh,ONLY_REPEAT=100
Fixes: 55968bfabe ("LU-13482 utils: bandwidth limit for lfs migrate")
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: If89c8c3ee113c8a14d4c0463c7bb79e353130c08
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/50262
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
lustre/tests/sanity.sh

index a1fb1d6..b536b4f 100755 (executable)
@@ -8177,8 +8177,8 @@ test_56xh() {
        (( elapsed <= size_mb * 120 / 100 )) ||
                error_not_in_vm "'lfs migrate -W' slow ($elapsed > 1.2 * $size_mb)"
 
-       (( elapsed <= size_mb * 150 / 100 )) ||
-               error "'lfs migrate -W' too slow in VM ($elapsed > 2 * $size_mb 2)"
+       (( elapsed <= size_mb * 350 / 100 )) ||
+               error "'lfs migrate -W' too slow in VM ($elapsed > 3.5 * $size_mb)"
 
        stripe=$($LFS getstripe -c $file1)
        (( $stripe == 1 )) || error "stripe of $file1 is $stripe != 1"