From 1bcad8078e8c72324674353725872b673b801019 Mon Sep 17 00:00:00 2001 From: Alexandre Ioffe Date: Sun, 26 Nov 2023 11:42:14 -0800 Subject: [PATCH] EX-8590 lipe: Use only one client for the test Use only one client machine for hot-pools tests 75a, b, c. Test-Parameters: trivial testlist=hot-pools Test-Parameters: trivial testlist=hot-pools env=ONLY=75a Test-Parameters: trivial testlist=hot-pools env=ONLY=75b Test-Parameters: trivial testlist=hot-pools env=ONLY=75c Test-Parameters: trivial testlist=hot-pools env=ONLY=75a Test-Parameters: trivial testlist=hot-pools env=ONLY=75b Test-Parameters: trivial testlist=hot-pools env=ONLY=75c Signed-off-by: Alexandre Ioffe Change-Id: Icfa958474ec928faeec63029a2d5983cea650bb7 Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53240 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Vitaliy Kuznetsov Reviewed-by: Andreas Dilger --- lustre/tests/hot-pools.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lustre/tests/hot-pools.sh b/lustre/tests/hot-pools.sh index a6c5d8a..ef84187 100755 --- a/lustre/tests/hot-pools.sh +++ b/lustre/tests/hot-pools.sh @@ -2353,16 +2353,18 @@ test_74() { run_test 74 "ofd keepalive message" test_75a() { + local client=$HOSTNAME # The test is not valid if stats-interval is not supported # The test is going to use only client machine if lfs mirror extend | grep -q stats-interval ; then - skip "requires 'lfs mirror extend --stats-interval' support" + skip "Client $client requires 'lfs mirror extend --stats-interval' support" fi local tf=$DIR/$tfile init_hot_pools_env LAMIGO_AGT_NODES="" \ + LAMIGO_CLIENTS=$client \ LAMIGO_MIRROR_CMD="lfs mirror extend -N -W1M" \ start_lamigo_cfg check_lamigo_is_started || { @@ -2415,16 +2417,18 @@ test_75a() { run_test 75a "lamigo to parse mirroring progress" test_75b() { + local client=$HOSTNAME # The test is not valid if stats-interval is not supported. # The test is going to use only client machine. if lfs mirror extend | grep -q stats-interval ; then - skip "requires 'lfs mirror extend --stats-interval' support" + skip "Client $client requires 'lfs mirror extend --stats-interval' support" fi local tf=$DIR/$tfile init_hot_pools_env LAMIGO_AGT_NODES="" \ + LAMIGO_CLIENTS=$client \ LAMIGO_RESYNC_CMD="lfs mirror resync -W1M" start_lamigo_cfg check_lamigo_is_started || { local facet=${LAMIGO_MDT_FACET[0]} @@ -2486,10 +2490,11 @@ test_75b() { run_test 75b "lamigo to parse mirror resync progress" test_75c() { + local client=$HOSTNAME # The test not valid if stats-interval is not supported # The test is going to use only client machine. if lfs mirror extend | grep -q stats-interval ; then - skip "requires 'lfs mirror extend --stats-interval' support" + skip "Client $client requires 'lfs mirror extend --stats-interval' support" fi local tf=$DIR/$tfile @@ -2500,6 +2505,7 @@ test_75c() { # redirect stats to /dev/null # Use only client machine as a replicating agent LAMIGO_STATS_MISSING=1 \ + LAMIGO_CLIENTS=$client \ LAMIGO_AGT_NODES="" \ LAMIGO_AGE=$lamigo_age \ LAMIGO_MIRROR_CMD="lfs mirror extend -N -W1M >/dev/null" \ -- 1.8.3.1