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:1631142848:resolve_secrets Resolving secrets section_end:1631142848:resolve_secrets section_start:1631142848: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:1631142848:prepare_executor section_start:1631142848:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-5253-concurrent-02fhrb to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-5253-concurrent-02fhrb 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-02fhrb via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1631142854:prepare_script section_start:1631142854: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:1631142859:get_sources section_start:1631142859:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (6329154)... Downloading artifacts from coordinator... ok  id=6329154 responseStatus=200 OK token=dAhzQBLd WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (6329156)... Downloading artifacts from coordinator... ok  id=6329156 responseStatus=200 OK token=iN8Q9ud7 WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6329151)... Downloading artifacts from coordinator... ok  id=6329151 responseStatus=200 OK token=EVqKmXz9 WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (6329155)... Downloading artifacts from coordinator... ok  id=6329155 responseStatus=200 OK token=DjYAyQPH WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1631142861:download_artifacts section_start:1631142861: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:8d42cad20cacf3df7898198075e3418f33cee8b0ea85c00ab4220fed62d66d6f Copying blob sha256:36b45d63da70799f32c6e82de9be2e75167099b010def8771cf847c0e4c9c975 Copying blob sha256:d2969ba507145f32c2c151e76cc8a40b0a0832f8a3945728662f33f197e06be7 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:bfa87e17e127482160a7de986ee5ded35c5335ba5bc9daf89442b9e65aca0d21 Writing manifest to image destination Storing signatures --> bfa87e17e12 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:2de9c288ff0cf59cd0269e1bb62a9351be3d200aafc1fd11d9e1ba08b0e6f345 Copying blob sha256:96476a77b28db43fcb170401c287700d91d95cdff9c06e5ea7b48289d40a8e57 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 244 kB/s | 2.4 MB 00:10 Red Hat Universal Base Image 8 (RPMs) - CodeRea 1.4 kB/s | 14 kB 00:10 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:2fc37df5e05728beb359bd43434d34f82b33a39ffa58fd95818e33801093c858 Copying config sha256:bd145239adcd1213709078ed757b795aef254b46e598ceb2c14de65ca4028faf Writing manifest to image destination Storing signatures --> bd145239adc Successfully tagged registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:latest bd145239adcd1213709078ed757b795aef254b46e598ceb2c14de65ca4028faf + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:ibci-466799 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:ibci-466799 Getting image source signatures Copying blob sha256:2fc37df5e05728beb359bd43434d34f82b33a39ffa58fd95818e33801093c858 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:4fac780b23d7cd645ee31b3da7f7a5b7da354b9f9cbc2a90a8fd8d4a2907c7cd Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:bd145239adcd1213709078ed757b795aef254b46e598ceb2c14de65ca4028faf 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:2fc37df5e05728beb359bd43434d34f82b33a39ffa58fd95818e33801093c858 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:4fac780b23d7cd645ee31b3da7f7a5b7da354b9f9cbc2a90a8fd8d4a2907c7cd Copying config sha256:bd145239adcd1213709078ed757b795aef254b46e598ceb2c14de65ca4028faf 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:4fac780b23d7cd645ee31b3da7f7a5b7da354b9f9cbc2a90a8fd8d4a2907c7cd Copying blob sha256:2fc37df5e05728beb359bd43434d34f82b33a39ffa58fd95818e33801093c858 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:bd145239adcd1213709078ed757b795aef254b46e598ceb2c14de65ca4028faf 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:bd145239adcd1213709078ed757b795aef254b46e598ceb2c14de65ca4028faf + echo IMAGE_ID=sha256:bd145239adcd1213709078ed757b795aef254b46e598ceb2c14de65ca4028faf + IMAGE_PODMAN_SHA=sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c + echo IMAGE_PODMAN_SHA=sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:ibci-466799 + 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:1631142964:step_script section_start:1631142964: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=6329158 responseStatus=201 Created token=SZQ62zXf Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=6329158 responseStatus=201 Created token=SZQ62zXf section_end:1631142966:upload_artifacts_on_success section_start:1631142966:cleanup_file_variables Cleaning up file based variables section_end:1631142966:cleanup_file_variables Job succeeded