Skip to content

Commit cf48fa8

Browse files
Marketenclaude
andcommitted
Fail stuck ISO E2E runs sooner
A hung installer used to burn up to 60 minutes, and a stuck first boot another 30, before failing. Cut the limits to a few times a healthy run (install 30 min, first-boot test 15 min, core services 10 min) and the job timeout from 180 to 90 minutes, which still covers the worst case of every phase plus the retried ISO build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 2edf006 commit cf48fa8

3 files changed

Lines changed: 8 additions & 5 deletions

File tree

‎.github/workflows/debian-iso-e2e.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
install:
1818
name: Install Debian unattended ISO via UEFI USB
1919
runs-on: ubuntu-latest
20-
timeout-minutes: 180
20+
timeout-minutes: 90
2121

2222
steps:
2323
- name: Checkout

‎.github/workflows/ubuntu-iso-e2e.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
install:
1818
name: Install Ubuntu unattended ISO via UEFI USB
1919
runs-on: ubuntu-latest
20-
timeout-minutes: 180
20+
timeout-minutes: 90
2121

2222
steps:
2323
- name: Checkout

‎test/e2e_iso_install.sh‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,13 @@ run_e2e_iso_install() {
4747
local vm_disk_size=${E2E_VM_DISK_SIZE:-32G}
4848
local vm_memory_mb=${E2E_VM_MEMORY_MB:-4096}
4949
local vm_cpus=${E2E_VM_CPUS:-2}
50-
local install_timeout_seconds=${E2E_INSTALL_TIMEOUT_SECONDS:-3600}
50+
# Healthy runs take 4-8 min to install, 1-3 min for the first-boot test and
51+
# well under a minute to start core services. A stuck installer waits on a
52+
# dialog forever, so keep the limits a few times the normal duration.
53+
local install_timeout_seconds=${E2E_INSTALL_TIMEOUT_SECONDS:-1800}
5154
local boot_timeout_seconds=${E2E_BOOT_TIMEOUT_SECONDS:-600}
52-
local first_boot_timeout_seconds=${E2E_FIRST_BOOT_TIMEOUT_SECONDS:-1800}
53-
local postinstall_timeout_seconds=${E2E_POSTINSTALL_TIMEOUT_SECONDS:-1200}
55+
local first_boot_timeout_seconds=${E2E_FIRST_BOOT_TIMEOUT_SECONDS:-900}
56+
local postinstall_timeout_seconds=${E2E_POSTINSTALL_TIMEOUT_SECONDS:-600}
5457
local ssh_port=${E2E_SSH_PORT:-2222}
5558
local ssh_password=${E2E_SSH_PASSWORD:-dappnode.s0}
5659
local tap_iface=${E2E_TAP_IFACE:-}

0 commit comments

Comments
 (0)