From 851284067d8bb895b1cf7b02ba4bfa5875672640 Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Fri, 24 Jul 2026 16:19:58 -0300 Subject: [PATCH] fix(xcat-core): retry_install waits 20 min per provision attempt, not 30 wait_for_provision caps how long retry_install polls for a node to reach 'booted' after each rinstall. Measured healthy provisions in devel-cd #22 boot well inside this window (diskless ~6-8 min, diskfull ~8-16 min), so 30 min was mostly slack that only lengthened the give-up time on a genuinely failing node. Drop it to 20 min: still above the ~16-min diskfull install, while shrinking each failed attempt's cost (6 min fixed sleep + 20 poll = 26 min vs 36). Combined with the 3->2 attempt default, a fully-failing case's retry stack drops substantially. Trade-off noted: the margin over a slow-under-load diskfull install is now tighter. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> --- xCAT-test/autotest/testcase/commoncmd/retry_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-test/autotest/testcase/commoncmd/retry_install.sh b/xCAT-test/autotest/testcase/commoncmd/retry_install.sh index 61dcbc723..9f4c9e24e 100755 --- a/xCAT-test/autotest/testcase/commoncmd/retry_install.sh +++ b/xCAT-test/autotest/testcase/commoncmd/retry_install.sh @@ -7,7 +7,7 @@ node=$1 osimage=$2 vmhost=`lsdef $node -i vmhost -c | cut -d '=' -f 2` times=2 -wait_for_provision=30 #Min to wait for node to provision +wait_for_provision=20 #Min to wait for node to provision check_status=10 #Sec to keep checking status iterations=$wait_for_provision*60/$check_status #Iterations to check for "booted" status