Page MenuHomePhabricator

Toolforge build service (Rust) fails with "too many open files"
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

tools.ac2wd@tools-sgebastion-10:~/auth2wd$ ./build.sh && ./restart.sh
Waiting for the logs... if the build just started this might take a minute
[place-tools] 2024-04-03T12:29:08.953792760Z 2024/04/03 12:29:08 Copied /ko-app/entrypoint to /tekton/bin/entrypoint
[place-tools] failed to create fsnotify watcher: too many open files
[step-init] 2024-04-03T12:29:09.838199394Z 2024/04/03 12:29:09 Setup /step directories
[step-init] failed to create fsnotify watcher: too many open files
[place-scripts] 2024-04-03T12:29:11.039882051Z 2024/04/03 12:29:11 Decoded script /tekton/scripts/script-0-m8wkp
[place-scripts] 2024-04-03T12:29:11.069892152Z 2024/04/03 12:29:11 Decoded script /tekton/scripts/script-2-zghh7
[place-scripts] 2024-04-03T12:29:11.108702978Z 2024/04/03 12:29:11 Decoded script /tekton/scripts/script-3-gnmss
[place-scripts] 2024-04-03T12:29:11.131771726Z 2024/04/03 12:29:11 Decoded script /tekton/scripts/script-9-69pmw
[place-scripts] 2024-04-03T12:29:11.154879964Z 2024/04/03 12:29:11 Decoded script /tekton/scripts/script-10-dl8gh
[place-scripts] 2024-04-03T12:29:11.181902664Z 2024/04/03 12:29:11 Decoded script /tekton/scripts/script-11-59dx8
[place-scripts] 2024-04-03T12:29:11.217113909Z 2024/04/03 12:29:11 Decoded script /tekton/scripts/script-12-99vcv
[place-scripts] failed to create fsnotify watcher: too many open files
[step-clone] failed to create fsnotify watcher: too many open files
[step-copy-builder-to-tmp] 2024-04-03T12:29:12.360590703Z 2024/04/03 12:29:12 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-copy-builder-to-tmp] failed to create fsnotify watcher: too many open files
[step-prepare] failed to create fsnotify watcher: too many open files
[step-inject-buildpacks] failed to create fsnotify watcher: too many open files
[step-copy-stack-toml] 2024-04-03T12:29:13.196984211Z 2024/04/03 12:29:13 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-copy-stack-toml] failed to create fsnotify watcher: too many open files
[step-detect] failed to create fsnotify watcher: too many open files
[step-analyze] 2024-04-03T12:29:14.006809019Z 2024/04/03 12:29:14 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-analyze] failed to create fsnotify watcher: too many open files
[step-restore] 2024-04-03T12:29:14.446382403Z 2024/04/03 12:29:14 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-restore] failed to create fsnotify watcher: too many open files
[step-build] failed to create fsnotify watcher: too many open files
[step-fix-nested-procfile-launcher] failed to create fsnotify watcher: too many open files
[step-fix-permissions] failed to create fsnotify watcher: too many open files
[step-export] 2024-04-03T12:29:15.887995428Z 2024/04/03 12:29:15 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-export] failed to create fsnotify watcher: too many open files
[step-results] failed to create fsnotify watcher: too many open files

This happens sometimes now. Just re-running it can help.