Whamcloud - gitweb
EX-8590 lipe: Use only one client for the test
authorAlexandre Ioffe <aioffe@ddn.com>
Sun, 26 Nov 2023 19:42:14 +0000 (11:42 -0800)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 27 Nov 2023 18:36:53 +0000 (18:36 +0000)
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 <aioffe@ddn.com>
Change-Id: Icfa958474ec928faeec63029a2d5983cea650bb7
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/53240
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Vitaliy Kuznetsov <vkuznetsov@ddn.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/hot-pools.sh

index a6c5d8a..ef84187 100755 (executable)
@@ -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" \