CI: Increase setup timeout to 20min, add timestamps

- Increase qemu-1-setup.sh timeout to 20min since it sometimes
  fails to complete after 15min.

- Timestamp all qemu-1-setup.sh lines to look for hangs.

- Add a 'watchdog' process to print out the top running process every
  30sec to help with debugging.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #17714
This commit is contained in:
Tony Hutter
2025-09-10 10:25:58 -07:00
parent 743334913e
commit 8dc656b873
2 changed files with 15 additions and 1 deletions
+5 -1
View File
@@ -88,7 +88,11 @@ jobs:
- name: Setup QEMU
timeout-minutes: 60
run: .github/workflows/scripts/qemu-1-setup.sh
run: |
# Add a timestamp to each line to debug timeouts
while IFS=$'\n' read -r line; do
echo "$(date +'%H:%M:%S') $line"
done < <(.github/workflows/scripts/qemu-1-setup.sh)
- name: Start build machine
timeout-minutes: 10