build problem
This trivial merge request is failing: arbetsformedlingen/job-ads/historical-search-frontend@f5d96e05
All it does is changing the base image from one version to another.
The builds work fine locally
The error message in aardvark shows that there are problem merging docker layers during the build.
This should not happen, and is worrisome, so we should figure out whats wrong and fix it.
- is there an issue with docker image storage in the build cluster?
- is there a bug in the version of openshift pipelines(tekton) that we are using?
We would like to try the build in a cluster with pipelines 1.9, and we dont want to upgrade the 1.8 version in the build cluster until we know its safe.
So we can try the "castle" cluster, install aardvark there, and try out the build. if it works there, is should be sage to upgrade the build cluster.
STEP-BUILD-AND-PUSH
STEP 1/3: FROM docker.io/bitnami/nginx:1.20.2
Trying to pull docker.io/bitnami/nginx:1.20.2...
Getting image source signatures
Copying blob sha256:b4d6988a79419ce7401fae74d3f87670057c1a55c0c591942810fe1b696b53ea
Copying blob sha256:f31604a93bbcb6e8f402b0bb32e71973ff969be210e16a8fd23b293e2fc6f9de
Copying blob sha256:2e5608780a88e2b6fd954fa71ec176a548d17b54cdb2ac2af722c8f126ee97f9
Copying blob sha256:ccb329cb4d602e9d7a8f09723f5dcae5cef4278f7680a931d839b19c54cc02e0
Copying blob sha256:6bc8940bd60476406d927521fa6d3cae8f121e6a3668adb21064b81dc9eb26ca
Copying blob sha256:3c18ebac087c94bba1856d9645f6a975b77584105daa248195bb57e0691f3e07
Copying blob sha256:f31604a93bbcb6e8f402b0bb32e71973ff969be210e16a8fd23b293e2fc6f9de
Copying blob sha256:2e5608780a88e2b6fd954fa71ec176a548d17b54cdb2ac2af722c8f126ee97f9
Copying blob sha256:ccb329cb4d602e9d7a8f09723f5dcae5cef4278f7680a931d839b19c54cc02e0
Copying blob sha256:b4d6988a79419ce7401fae74d3f87670057c1a55c0c591942810fe1b696b53ea
Copying blob sha256:3c18ebac087c94bba1856d9645f6a975b77584105daa248195bb57e0691f3e07
Copying blob sha256:6bc8940bd60476406d927521fa6d3cae8f121e6a3668adb21064b81dc9eb26ca
Copying blob sha256:34762cf1d0e9f4cf8a93c147e2688d47e488a70b1a95cb003031c29336391d60
Copying blob sha256:def41386c6713cb38550634e7846267bd86b25be81adb6f6fa6e72d3ab343eb5
Copying blob sha256:d160849a686045798aae7f577ea3d318e2ca690e05406e01dc2e7e51c722f30e
Copying blob sha256:45ac02f2c5f41d9ee751d20281194ce861b85a986f6618bcfc39dfc9358b102b
Copying blob sha256:a8abb43ab4d2cc10ecb7c95c5ff586af340d3c6388e9fdd095c25e9447ceb010
Copying blob sha256:def41386c6713cb38550634e7846267bd86b25be81adb6f6fa6e72d3ab343eb5
Copying blob sha256:87c64e1c07b0222b21a1a3be3797a93ab48c2ba5d62f222e0cb2b99fc351da2c
Copying blob sha256:45ac02f2c5f41d9ee751d20281194ce861b85a986f6618bcfc39dfc9358b102b
Copying blob sha256:34762cf1d0e9f4cf8a93c147e2688d47e488a70b1a95cb003031c29336391d60
Copying blob sha256:d160849a686045798aae7f577ea3d318e2ca690e05406e01dc2e7e51c722f30e
Copying blob sha256:a8abb43ab4d2cc10ecb7c95c5ff586af340d3c6388e9fdd095c25e9447ceb010
time="2023-01-30T11:03:53Z" level=error msg="While applying layer: ApplyLayer exit status 1 stdout: stderr: operation not permitted"
Copying blob sha256:87c64e1c07b0222b21a1a3be3797a93ab48c2ba5d62f222e0cb2b99fc351da2c
error creating build container: writing blob: adding layer with blob "sha256:3c18ebac087c94bba1856d9645f6a975b77584105daa248195bb57e0691f3e07": ApplyLayer exit status 1 stdout: stderr: operation not permitted
time="2023-01-30T11:03:53Z" level=error msg="exit status 125"
problem in socp4 cluster
Phistorical-search-frontend-3b96982045375643bf4d69ed2ca2bcd5-podNamespaceNSaardvark
Jan 30, 2023, 12:59 PM
Generated from kubelet on socp4-zgg5f-worker-b2bmx
11 times in the last 6 minutes
Error: container has runAsNonRoot and image will run as root (pod: "historical-search-frontend-3b96982045375643bf4d69ed2ca2bcd5-pod_aardvark(68abaaa0-3e6f-42c2-8223-6f84a2d127e7)", container: place-scripts)
maybe add privs to the aardvark namespace?
check we are using https://gitlab.com/arbetsformedlingen/devops/aardvark/-/tree/feature/openshift4.11 in socp4 clustret