From a97b08eb9d05b6bb43143e9a4caeb57136d055e5 Mon Sep 17 00:00:00 2001 From: Gregory Giguashvili Date: Thu, 30 May 2024 16:17:38 +0300 Subject: [PATCH] Increase cncf result collection timeout to 10m --- test/scenarios-periodics/el92-src@cncf-conformance.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/scenarios-periodics/el92-src@cncf-conformance.sh b/test/scenarios-periodics/el92-src@cncf-conformance.sh index 690540fe5b..165ce5d34c 100644 --- a/test/scenarios-periodics/el92-src@cncf-conformance.sh +++ b/test/scenarios-periodics/el92-src@cncf-conformance.sh @@ -5,7 +5,7 @@ KUBECONFIG="${SCENARIO_INFO_DIR}/${SCENARIO}/kubeconfig" # Timeout in seconds TIMEOUT_TEST=7400 -TIMEOUT_RESULTS=300 +TIMEOUT_RESULTS=600 prepare_hosts() { local -r primary_host_ip=$(cat "${SCENARIO_INFO_DIR}/${SCENARIO}/vms/host1/public_ip") @@ -93,7 +93,7 @@ run_sonobuoy() { fi record_junit "run_sonobuoy" "wait_e2e_running" "OK" - # Use 1h timeout. A normal run on 2 CPUs takes 40-45min. + # Note that a normal run on 2 CPUs takes 40-45min. local -r stat_file="${SCENARIO_INFO_DIR}/${SCENARIO}/cncf_status.json" start=$(date +%s) while true ; do @@ -105,7 +105,7 @@ run_sonobuoy() { now=$(date +%s) if [ $(( now - start )) -ge ${TIMEOUT_TEST} ]; then rc=1 - echo "Tests running for 1h. Timing out" + echo "Tests running for ${TIMEOUT_TEST}s. Timing out" record_junit "run_sonobuoy" "wait_e2e_finished" "FAILED" break fi @@ -126,7 +126,7 @@ run_sonobuoy() { if [ $(( now - start )) -ge ${TIMEOUT_RESULTS} ]; then rc=1 results=false - echo "Waited for results for 5m. Timing out" + echo "Waited for results for ${TIMEOUT_RESULTS}s. Timing out" record_junit "run_sonobuoy" "wait_e2e_results" "FAILED" break fi