Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ulimit issue introduced with Docker 25 in the test-runner image #1898

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

AlanGreene
Copy link
Member

Changes

Resolves issue seen in Dashboard integration tests using latest test-runner image. Would also affect any other docker-in-docker jobs using the latest image.

Docker in Docker enabled, initializing...
================================================================================
/etc/init.d/docker: 62: ulimit: error setting limit (Invalid argument)
Waiting for docker to be ready, sleeping for 1 seconds.
Waiting for docker to be ready, sleeping for 2 seconds.
Waiting for docker to be ready, sleeping for [3](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:3) seconds.
Waiting for docker to be ready, sleeping for [4](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:4) seconds.
Waiting for docker to be ready, sleeping for [5](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:5) seconds.
Waiting for docker to be ready, sleeping for [6](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:6) seconds.
Waiting for docker to be ready, sleeping for [7](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:7) seconds.
Waiting for docker to be ready, sleeping for [8](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:8) seconds.
Waiting for docker to be ready, sleeping for [9](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:9) seconds.
Waiting for docker to be ready, sleeping for [10](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:10) seconds.
Waiting for docker to be ready, sleeping for [11](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:11) seconds.
Waiting for docker to be ready, sleeping for [12](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:12) seconds.
Waiting for docker to be ready, sleeping for [13](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:13) seconds.
Waiting for docker to be ready, sleeping for [14](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:14) seconds.
Waiting for docker to be ready, sleeping for [15](https://prow.tekton.dev/spyglass/lens/buildlog/iframe?req=%7B%22artifacts%22%3A%5B%22build-log.txt%22%5D%2C%22index%22%3A1%2C%22src%22%3A%22gs%2Ftekton-prow%2Fpr-logs%2Fpull%2Ftektoncd_dashboard%2F3361%2Fpull-tekton-dashboard-integration-tests%2F1772406843407077376%22%7D&topURL=https%3A//prow.tekton.dev/view/gs/tekton-prow/pr-logs/pull/tektoncd_dashboard/3361/pull-tekton-dashboard-integration-tests/1772406843407077376&lensIndex=1#build-log.txt:15) seconds.
Reached maximum attempts, not waiting any longer...

Apply the same fix adopted by kubernetes/test-infra and others to revert the ulimit command in the docker init script to the previous version.

See for example https://github.com/kubernetes/test-infra/pull/31908/files

/kind misc

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide
for more details.

Apply the same fix adopted by kubernetes/test-infra and others to
revert the `ulimit` command in the docker init script to the previous
version.
@tekton-robot tekton-robot added the kind/misc Categorizes issue or PR as a miscellaneuous one. label Mar 26, 2024
@tekton-robot tekton-robot requested review from jerop and wlynch March 26, 2024 11:49
@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 26, 2024
@AlanGreene
Copy link
Member Author

/cc @vdemeester

Copy link
Member

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 26, 2024
@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 26, 2024
@tekton-robot tekton-robot merged commit 621cd95 into tektoncd:main Mar 26, 2024
4 of 5 checks passed
@AlanGreene AlanGreene deleted the ulimit_docker25 branch March 26, 2024 12:40
@AlanGreene AlanGreene mentioned this pull request Mar 26, 2024
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/misc Categorizes issue or PR as a miscellaneuous one. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants