From cd27d21e1365e32ebda96eca89e21a5cd11de19e Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Tue, 10 Nov 2026 07:24:57 -0300 Subject: [PATCH] fix(xcat-core): the Genesis bats sandbox stops a slow run after 20 s run_genesis stops the Genesis script after 20 s. On a riscv64 host, tests 2 and 3 of genesis_secondary_dhcp6_order.bats take about 34 s each, so they fail with exit 124 although the script is correct. The cap is now 120 s, and GENESIS_SANDBOX_TIMEOUT overrides it. With GENESIS_SANDBOX_TIMEOUT=10 on x86_64, tests 2 and 3 fail with exit 124, which is the failure seen on riscv64. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> --- xCAT-test/bats/helpers/genesis_sandbox.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-test/bats/helpers/genesis_sandbox.bash b/xCAT-test/bats/helpers/genesis_sandbox.bash index e29bd68787..e2e7769700 100644 --- a/xCAT-test/bats/helpers/genesis_sandbox.bash +++ b/xCAT-test/bats/helpers/genesis_sandbox.bash @@ -53,7 +53,8 @@ run_genesis() if [ "$expected_status" -gt 128 ]; then alternate_status=$((expected_status - 128)) fi - run "${sandbox[@]}" "$@" timeout 20 /bin/bash /run/script &2