[arvados-dev] updated: f31b52388c880ae04a321835887136d18396a001
git repository hosting
git at public.arvados.org
Tue Jan 16 20:34:06 UTC 2024
Summary of changes:
jenkins/packer-images/jenkins-image-arvados-tests.sh | 4 ++++
jenkins/packer-images/jenkins-image-with-docker.sh | 4 ++++
2 files changed, 8 insertions(+)
via f31b52388c880ae04a321835887136d18396a001 (commit)
from c4d2739a3a674768e828a1b8a87252a6fe10bb58 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit f31b52388c880ae04a321835887136d18396a001
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Tue Jan 16 15:33:17 2024 -0500
increase fs.inotify.max_user_watches to run wb2 tests
refs #21393
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/jenkins/packer-images/jenkins-image-arvados-tests.sh b/jenkins/packer-images/jenkins-image-arvados-tests.sh
index 5fadb5d..5736ed1 100755
--- a/jenkins/packer-images/jenkins-image-arvados-tests.sh
+++ b/jenkins/packer-images/jenkins-image-arvados-tests.sh
@@ -36,6 +36,10 @@ sudo go run ./cmd/arvados-server install -type test
# This is used in our test suite.
echo user_allow_other | sudo tee -a /etc/fuse.conf
+# React uses a lot of filesystem watchers (via inotify). Increase the default
+# so we have a higher limit at runtime.
+echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
+
# Our Jenkins jobs use this directory to store the temporary files for the tests
mkdir /home/jenkins/tmp
diff --git a/jenkins/packer-images/jenkins-image-with-docker.sh b/jenkins/packer-images/jenkins-image-with-docker.sh
index cb27956..a24c23d 100755
--- a/jenkins/packer-images/jenkins-image-with-docker.sh
+++ b/jenkins/packer-images/jenkins-image-with-docker.sh
@@ -20,3 +20,7 @@ sudo mv packer /usr/local/bin/
cd /usr/local
sudo git clone --depth 1 https://github.com/arvados/arvados-dev
sudo chown -R jenkins:jenkins /usr/local/arvados-dev/
+
+# React uses a lot of filesystem watchers (via inotify). Increase the default
+# so we have a higher limit at runtime.
+echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list