Whamcloud - gitweb
LU-16632 tests: more margin of error for sanity/56xh
authorTimothy Day <timday@amazon.com>
Sat, 11 Mar 2023 22:55:09 +0000 (22:55 +0000)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 14 Nov 2023 22:37:17 +0000 (22:37 +0000)
Give sanity test_56xh more time to migrate files inside the
VMs before failing.

Also, fix a typo.

Lustre-change: https://review.whamcloud.com/50262
Lustre-commit: 36cbba150bce9e2890c8b462ec2ce4af2d6353a5

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-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53086
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
lustre/tests/sanity.sh

index d1f1437..20b5f6a 100755 (executable)
@@ -7795,8 +7795,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"