Project

General

Profile

Actions

Bug #21055

closed

`arvados-server install -type test` fails when trying to edit /etc/sysctl.conf

Added by Lucas Di Pentima 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
CI
Story points:
-
Release relationship:
Auto

Description

Initially seen in packer-build-jenkins-image-workbench2-tests: #20 and later confirmed by running make workbench2-build-image locally. This seems to be related to e8483bb206a from #18874.

...
250.4 Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
250.5 Processing triggers for systemd (241-7~deb10u10) ...
250.5 Processing triggers for libc-bin (2.28-10) ...
250.5 + add=fs.inotify.max_user_watches=524288
250.5 + grep -F -- fs.inotify.max_user_watches=524288 /etc/sysctl.conf
250.5 + echo fs.inotify.max_user_watches=524288
250.5 + tee -a /etc/sysctl.conf
250.5 fs.inotify.max_user_watches=524288
250.5 + sysctl -p
250.5 sysctl: setting key "fs.inotify.max_user_watches": Read-only file system
250.5 time="2023-10-10T14:05:25.413604863Z" level=info msg=exiting error="exit status 255" 
250.5 exit status 1
------
Dockerfile:29
--------------------
  28 |     # preseed arvados build dependencies
  29 | >>> RUN cd /usr/src/arvados && \
  30 | >>>     apt-get update && \
  31 | >>>     go mod download && \
  32 | >>>     go run ./cmd/arvados-server install -type test && cd .. && \
  33 | >>>     rm -rf arvados && \
  34 | >>>     apt-get clean
  35 |
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /usr/src/arvados &&     apt-get update &&     go mod download &&     go run ./cmd/arvados-server install -type test && cd .. &&     rm -rf arvados &&     apt-get clean" did not complete successfully: exit code: 1
make: *** [workbench2-build-image] Error 1

Found this while trying to rebuild the wb2 test pipeline image.


Subtasks 2 (0 open2 closed)

Task #21056: Review 21055-arvados-server-install-fixResolvedPeter Amstutz10/10/2023Actions
Task #21088: Review 21055-sysctl-in-dockerResolvedTom Clegg10/10/2023Actions
Actions

Also available in: Atom PDF