For running our tests, FUSE must be configured with the
authorWard Vandewege <ward@curii.com>
Fri, 20 May 2022 19:40:43 +0000 (15:40 -0400)
committerWard Vandewege <ward@curii.com>
Fri, 20 May 2022 19:40:43 +0000 (15:40 -0400)
'user_allow_other' option enabled for Crunch to set up Keep mounts that
are readable by containers.

refs #15370

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward@curii.com>

jenkins/packer-images/jenkins-image-arvados-tests.sh

index 5a353b5877b3b22f3c460f40309567b2b29d5499..b673ecf0eef6510e833addc457dccf5bfd58b951 100755 (executable)
@@ -9,10 +9,14 @@ set -eo pipefail
 # Install the dependencies for arvados-server
 sudo su -c "DEBIAN_FRONTEND=noninteractive apt-get install -y libpam0g-dev wget build-essential"
 
-# Install the dependencies for the package building/testing jobs
+# Install docker (used in our tests and also for package building/testing)
 sudo su -c "DEBIAN_FRONTEND=noninteractive apt-get install -y docker.io make wget dpkg-dev createrepo unzip"
 sudo usermod -a -G docker jenkins
 
+# FUSE must be configured with the 'user_allow_other' option enabled for Crunch to set up Keep mounts that are readable by containers.
+# This is used in our test suite.
+echo user_allow_other | sudo tee -a /etc/fuse.conf
+
 # Check out a local copy of the arvados repo so we can use it to install the dependencies
 cd /usr/src
 sudo git clone arvados.git