Skip to content

Commit 2143bff

Browse files
committed
CI: Change timeout values
The 'Setup QEMU' CI step updates and installs all packages necessary to startup QEMU. Typically the step takes a little over a minute, but we've seen cases where it can take legitimately take more than 45min minutes. Change the timeout to 60 minutes. In addition, change the 'Install dependencies' timeout to 60min since we've also seen timeouts there. Lastly, remove all timeouts from the zfs-qemu-packages workflow. We do this so that we can always build packages from a branch, even if the time it takes to do a CI step changes over time. It's ok to eliminate the timeouts from the zfs-qemu-packages completely since that workflow is only run manually. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Tony Hutter <[email protected]> Closes #18056
1 parent 4241132 commit 2143bff

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/zfs-qemu-packages.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,20 +60,16 @@ jobs:
6060
ref: ${{ github.event.pull_request.head.sha }}
6161

6262
- name: Setup QEMU
63-
timeout-minutes: 10
6463
run: .github/workflows/scripts/qemu-1-setup.sh
6564

6665
- name: Start build machine
67-
timeout-minutes: 10
6866
run: .github/workflows/scripts/qemu-2-start.sh ${{ matrix.os }}
6967

7068
- name: Install dependencies
71-
timeout-minutes: 20
7269
run: |
7370
.github/workflows/scripts/qemu-3-deps.sh ${{ matrix.os }}
7471
7572
- name: Build modules or Test repo
76-
timeout-minutes: 60
7773
run: |
7874
set -e
7975
if [ "${{ github.event.inputs.test_type }}" == "Test repo" ] ; then
@@ -94,7 +90,6 @@ jobs:
9490
9591
- name: Prepare artifacts
9692
if: always()
97-
timeout-minutes: 10
9893
run: |
9994
rsync -a zfs@vm0:/tmp/repo /tmp || true
10095
.github/workflows/scripts/replace-dupes-with-symlinks.sh /tmp/repo

.github/workflows/zfs-qemu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,15 @@ jobs:
8787
ref: ${{ github.event.pull_request.head.sha }}
8888

8989
- name: Setup QEMU
90-
timeout-minutes: 10
90+
timeout-minutes: 60
9191
run: .github/workflows/scripts/qemu-1-setup.sh
9292

9393
- name: Start build machine
9494
timeout-minutes: 10
9595
run: .github/workflows/scripts/qemu-2-start.sh ${{ matrix.os }}
9696

9797
- name: Install dependencies
98-
timeout-minutes: 20
98+
timeout-minutes: 60
9999
run: .github/workflows/scripts/qemu-3-deps.sh ${{ matrix.os }} ${{ github.event.inputs.fedora_kernel_ver }}
100100

101101
- name: Build modules

0 commit comments

Comments
 (0)