Running with gitlab-runner 13.12.0 (7a6612da)  on dsop-shared-gitlab-runner-5fcd8977b8-m6qmr JrExJ6yx  feature flags: FF_USE_LEGACY_KUBERNETES_EXECUTION_STRATEGY:false section_start:1631096208:resolve_secrets Resolving secrets section_end:1631096208:resolve_secrets section_start:1631096208:prepare_executor Preparing the "kubernetes" executor Using Kubernetes namespace: gitlab-runner-ironbank-dsop Using Kubernetes executor with image registry1.dso.mil/ironbank/ironbank-pipelines/rootless-podman:0.2 ... Using attach strategy to execute scripts... section_end:1631096208:prepare_executor section_start:1631096208:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-5253-concurrent-067xx2 to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-5253-concurrent-067xx2 to be running, status is Pending ContainersNotInitialized: "containers with incomplete status: [istio-init]" ContainersNotReady: "containers with unready status: [build helper istio-proxy]" ContainersNotReady: "containers with unready status: [build helper istio-proxy]" Running on runner-jrexj6yx-project-5253-concurrent-067xx2 via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1631096214:prepare_script section_start:1631096214:get_sources Getting source from Git repository $ until [ $(curl --fail --silent --output /dev/stderr --write-out "%{http_code}" localhost:15020/healthz/ready) -eq 200 ]; do echo Waiting for Sidecar; sleep 3 ; done ; echo Sidecar available; Waiting for Sidecar Sidecar available Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/JrExJ6yx/0/dsop/opensource/prometheus/postgres-exporter/.git/ Created fresh repository. Checking out 8fd9d1be as master... Skipping Git submodules setup section_end:1631096218:get_sources section_start:1631096218:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (6313835)... Downloading artifacts from coordinator... ok  id=6313835 responseStatus=200 OK token=QoxFCAQr WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (6313837)... Downloading artifacts from coordinator... ok  id=6313837 responseStatus=200 OK token=yHtJdHRj WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6313832)... Downloading artifacts from coordinator... ok  id=6313832 responseStatus=200 OK token=P9o87ykx WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (6313836)... Downloading artifacts from coordinator... ok  id=6313836 responseStatus=200 OK token=3mx6f5Np WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1631096219:download_artifacts section_start:1631096219:step_script Executing "step_script" stage of the job script $ "${PIPELINE_REPO_DIR}/stages/build/build-run.sh" Determine source registry based on branch Load any images used in Dockerfile build loading image ci-artifacts/import-artifacts/images/quay.io-prometheuscommunity-postgres-exporter-v0.10.0.tar Getting image source signatures Copying blob sha256:d2969ba507145f32c2c151e76cc8a40b0a0832f8a3945728662f33f197e06be7 Copying blob sha256:36b45d63da70799f32c6e82de9be2e75167099b010def8771cf847c0e4c9c975 Copying blob sha256:8d42cad20cacf3df7898198075e3418f33cee8b0ea85c00ab4220fed62d66d6f Copying config sha256:fd636c7bea4cbcc0bd01fcca672c192370c382f78aa36864f46b99ab146002a9 Writing manifest to image destination Storing signatures Loaded image(s): quay.io/prometheuscommunity/postgres-exporter:v0.10.0 Load HTTP and S3 external resources Converting labels from hardening manifest into command line args Converting build args from hardening manifest into command line args Build the image STEP 1: FROM quay.io/prometheuscommunity/postgres-exporter:v0.10.0 AS base Getting image source signatures Copying blob sha256:36b45d63da70799f32c6e82de9be2e75167099b010def8771cf847c0e4c9c975 Copying blob sha256:8d42cad20cacf3df7898198075e3418f33cee8b0ea85c00ab4220fed62d66d6f Copying blob sha256:d2969ba507145f32c2c151e76cc8a40b0a0832f8a3945728662f33f197e06be7 Copying config sha256:e87978dc7783bb207e781eb1d030f675dfeb9d45b6368dc59bd5842badf6c8ff Writing manifest to image destination Storing signatures --> e87978dc778 STEP 2: FROM registry1.dso.mil/ironbank/redhat/ubi/ubi8:8.4 Trying to pull registry1.dso.mil/ironbank/redhat/ubi/ubi8:8.4... Getting image source signatures Copying blob sha256:db2f50b75fc09a20e8d9c497d96ad384fbeacf7e77df71e4c7b578d4c07fccce Copying blob sha256:96476a77b28db43fcb170401c287700d91d95cdff9c06e5ea7b48289d40a8e57 Copying blob sha256:2de9c288ff0cf59cd0269e1bb62a9351be3d200aafc1fd11d9e1ba08b0e6f345 Copying config sha256:abd78a7b9379f5c09a4b90b629aede4f8a42935d4ee267788900d3fcb4174f11 Writing manifest to image destination Storing signatures STEP 3: RUN dnf upgrade -y && dnf clean all && rm -rf /var/cache/dnf Red Hat Universal Base Image 8 (RPMs) - BaseOS 79 kB/s | 790 kB 00:10 Red Hat Universal Base Image 8 (RPMs) - AppStre 247 kB/s | 2.4 MB 00:09 Red Hat Universal Base Image 8 (RPMs) - CodeRea 1.5 kB/s | 14 kB 00:09 Dependencies resolved. Nothing to do. Complete! 25 files removed STEP 4: RUN mkdir /plugins STEP 5: COPY --from=base /bin/postgres_exporter /bin/postgres_exporter STEP 6: USER nobody STEP 7: EXPOSE 9187 STEP 8: HEALTHCHECK NONE STEP 9: ENTRYPOINT [ "/bin/postgres_exporter" ] STEP 10: COMMIT registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:4fac780b23d7cd645ee31b3da7f7a5b7da354b9f9cbc2a90a8fd8d4a2907c7cd Copying blob sha256:c3e8ec40fc64ee8a20ca4dc7986efb05633df6312fb02c00029917d61ba0e242 Copying config sha256:bf65a5a507411cb33b5f233183675f4c1d68e291b63be30970fcb26ce4107a33 Writing manifest to image destination Storing signatures --> bf65a5a5074 Successfully tagged registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:latest bf65a5a507411cb33b5f233183675f4c1d68e291b63be30970fcb26ce4107a33 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:ibci-465752 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:ibci-465752 Getting image source signatures Copying blob sha256:c3e8ec40fc64ee8a20ca4dc7986efb05633df6312fb02c00029917d61ba0e242 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:4fac780b23d7cd645ee31b3da7f7a5b7da354b9f9cbc2a90a8fd8d4a2907c7cd Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:bf65a5a507411cb33b5f233183675f4c1d68e291b63be30970fcb26ce4107a33 Writing manifest to image destination Storing signatures + echo 'Read the tags' Read the tags + tags_file=ci-artifacts/preflight/tags.txt + test -f ci-artifacts/preflight/tags.txt + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:v0.10.0 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:v0.10.0 Getting image source signatures Copying blob sha256:4fac780b23d7cd645ee31b3da7f7a5b7da354b9f9cbc2a90a8fd8d4a2907c7cd Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:c3e8ec40fc64ee8a20ca4dc7986efb05633df6312fb02c00029917d61ba0e242 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying config sha256:bf65a5a507411cb33b5f233183675f4c1d68e291b63be30970fcb26ce4107a33 Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:latest Getting image source signatures Copying blob sha256:c3e8ec40fc64ee8a20ca4dc7986efb05633df6312fb02c00029917d61ba0e242 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:4fac780b23d7cd645ee31b3da7f7a5b7da354b9f9cbc2a90a8fd8d4a2907c7cd Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:bf65a5a507411cb33b5f233183675f4c1d68e291b63be30970fcb26ce4107a33 Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter --format '{{.Id}}' + IMAGE_ID=sha256:bf65a5a507411cb33b5f233183675f4c1d68e291b63be30970fcb26ce4107a33 + echo IMAGE_ID=sha256:bf65a5a507411cb33b5f233183675f4c1d68e291b63be30970fcb26ce4107a33 + IMAGE_PODMAN_SHA=sha256:87ecf86f4b146af5d65d3d73276691662bbf5e59dfeb883115089e173bde0ada + echo IMAGE_PODMAN_SHA=sha256:87ecf86f4b146af5d65d3d73276691662bbf5e59dfeb883115089e173bde0ada + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:ibci-465752 + echo IMAGE_NAME=opensource/prometheus/postgres-exporter + branches=("master" "development") + [[ master development =~ master ]] + msg='A tarball of the built image can be retrieved from the documentation job artifacts.' + echo 'A tarball of the built image can be retrieved from the documentation job artifacts.' A tarball of the built image can be retrieved from the documentation job artifacts. section_end:1631096313:step_script section_start:1631096313:upload_artifacts_on_success Uploading artifacts for successful job Uploading artifacts... ci-artifacts/build/: found 2 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=6313839 responseStatus=201 Created token=j1Du1fdo Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=6313839 responseStatus=201 Created token=j1Du1fdo section_end:1631096314:upload_artifacts_on_success section_start:1631096314:cleanup_file_variables Cleaning up file based variables section_end:1631096315:cleanup_file_variables Job succeeded