From c40c5f124d7049454b5853f551efa7c0a36e47e8 Mon Sep 17 00:00:00 2001 From: Timothy Stewart Date: Sun, 2 Aug 2026 03:48:53 -0500 Subject: [PATCH] fix(ci): harden calico apiserver wait and extend molecule job timeout - Bump calico system resources wait retries 30->60 and delay 7->10 so the slow-to-reconcile calico-apiserver deployment has enough time under nested-virt - Raise the molecule step timeout-minutes from 90 to 150 to accommodate contended 5-node scenarios (cilium, kube-vip) that were hitting the 90-min cap --- .github/workflows/test.yml | 2 +- roles/k3s_server_post/tasks/calico.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1f1932d..b418bd3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -88,7 +88,7 @@ jobs: trap stop_monitor EXIT /usr/bin/time -v -o "$timing_file" \ molecule test --scenario-name ${{ matrix.scenario }} - timeout-minutes: 90 + timeout-minutes: 150 env: ANSIBLE_K3S_LOG_DIR: ${{ runner.temp }}/logs/k3s-ansible/${{ matrix.scenario }} ANSIBLE_SSH_RETRIES: 4 diff --git a/roles/k3s_server_post/tasks/calico.yml b/roles/k3s_server_post/tasks/calico.yml index 5cc932e..c985d5a 100644 --- a/roles/k3s_server_post/tasks/calico.yml +++ b/roles/k3s_server_post/tasks/calico.yml @@ -104,8 +104,8 @@ register: cr_result changed_when: false until: cr_result is succeeded - retries: 30 - delay: 7 + retries: 60 + delay: 10 with_items: - { name: calico-typha, type: deployment, namespace: calico-system } - { name: calico-kube-controllers, type: deployment, namespace: calico-system }