Skip to content

Commit c489755

Browse files
divyansh42Copilot
authored andcommitted
ci(e2e): raise inotify limits for ubuntu-26.04 runners
The ubuntu-latest runner image rolled over to ubuntu-26.04, where /etc/sysctl.conf is no longer applied at boot (actions/runner-images#15108). This drops fs.inotify.max_user_instances from the image's intended 1280 to the kernel default of 128. inotify limits are not namespaced, so the 3-node kind cluster used by the e2e tests exhausts them and Tekton entrypoint pods fail with "failed to create fsnotify watcher: too many open files", making the pipelinerun/taskrun log assertions fail. Restore the intended limits on the runner host before creating the kind cluster. Assisted-by: Claude Opus 4.8 (via GitHub Copilot CLI) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: divyansh42 <diagrawa@redhat.com>
1 parent 5670f27 commit c489755

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/e2e-matrix.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,18 @@ jobs:
5151
5252
echo "${GOPATH}/bin" >> "$GITHUB_PATH"
5353
54+
- name: Increase inotify limits
55+
run: |
56+
# Workaround for actions/runner-images#15108: on the ubuntu-26.04
57+
# runner image /etc/sysctl.conf is no longer applied at boot, so
58+
# fs.inotify.max_user_instances falls back to the kernel default of
59+
# 128 (instead of the image's intended 1280). inotify limits are not
60+
# namespaced, so the 3-node kind cluster exhausts them and Tekton
61+
# entrypoint pods fail with
62+
# "failed to create fsnotify watcher: too many open files".
63+
sudo sysctl -w fs.inotify.max_user_instances=1280
64+
sudo sysctl -w fs.inotify.max_user_watches=655360
65+
5466
- name: Run tests
5567
run: |
5668
./hack/setup-kind.sh \

0 commit comments

Comments
 (0)