Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1625880002:resolve_secrets Resolving secrets section_end:1625880002:resolve_secrets section_start:1625880002:prepare_executor Preparing the "kubernetes" executor Using Kubernetes namespace: gitlab-runner-ironbank-dsop WARNING: Pulling GitLab Runner helper image from Docker Hub. Helper image is migrating to registry.gitlab.com, for more information see https://docs.gitlab.com/runner/configuration/advanced-configuration.html#migrating-helper-image-to-registrygitlabcom Using Kubernetes executor with image registry1.dso.mil/ironbank/ironbank-pipelines/rootless-podman:0.2 ... section_end:1625880002:prepare_executor section_start:1625880002:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-5253-concurrent-0rgrwm to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-5253-concurrent-0rgrwm 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]" Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-5253-concurrent-0rgrwm to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper istio-proxy]" ContainersNotReady: "containers with unready status: [build helper istio-proxy]" Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-5253-concurrent-0rgrwm to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper istio-proxy]" ContainersNotReady: "containers with unready status: [build helper istio-proxy]" Running on runner-e82g8rg-project-5253-concurrent-0rgrwm via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1625880015:prepare_script section_start:1625880015: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; Sidecar available Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/opensource/prometheus/postgres-exporter/.git/ Created fresh repository. Checking out 8d979624 as development... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1625880015:get_sources section_start:1625880015:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (4689818)... Downloading artifacts from coordinator... ok  id=4689818 responseStatus=200 OK token=Ti8-gC9j WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (4689820)... Downloading artifacts from coordinator... ok  id=4689820 responseStatus=200 OK token=p-AE4C9y WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (4689815)... Downloading artifacts from coordinator... ok  id=4689815 responseStatus=200 OK token=zPQGUnv1 WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (4689819)... Downloading artifacts from coordinator... ok  id=4689819 responseStatus=200 OK token=sVXXSD7K WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1625880017:download_artifacts section_start:1625880017: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 time="2021-07-10T01:20:17Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/poddfbf00fb-9210-4a9d-a4c7-a28bdb44573e/800d136cb55e75cb2878a843e6be33b180e15e9f74a3dae4ddbc1253ede480f9: no such file or directory" 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:ec6c5238bd211cf8fd67b4cfb11ba2306e8007ebbfb6e2ee2b6ec7180af2773c Writing manifest to image destination Storing signatures --> ec6c5238bd2 STEP 2: FROM registry1.dso.mil/ironbank/redhat/ubi/ubi8:8.4 Getting image source signatures Copying blob sha256:e57b6bb2f4fff5801467e47baa4002bac5df4d366ce0c67bee8ef7cf62a8ecd9 Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying config sha256:c32911ec7fb3bec003099b80f7ab20ef7b8d87766602db1687845b616002e619 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 241 kB/s | 2.4 MB 00:10 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:b1605fce523848c626b16072cb0b4fadd9ec055659152083419f9d3c87ecd5d0 Copying blob sha256:0b661b7544f79ffdc9ffd88c37aff97d5d2129b90d9f1edb807f7ccb0c54a322 Copying config sha256:d25578bf6d577c6542c92c7b8dc5ae2829d1abd91047a313bc4f637f98f1b330 Writing manifest to image destination Storing signatures --> d25578bf6d5 d25578bf6d577c6542c92c7b8dc5ae2829d1abd91047a313bc4f637f98f1b330 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:ibci-357962 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:ibci-357962 Getting image source signatures Copying blob sha256:b1605fce523848c626b16072cb0b4fadd9ec055659152083419f9d3c87ecd5d0 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:0b661b7544f79ffdc9ffd88c37aff97d5d2129b90d9f1edb807f7ccb0c54a322 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:d25578bf6d577c6542c92c7b8dc5ae2829d1abd91047a313bc4f637f98f1b330 Writing manifest to image destination Storing signatures Read the tags + echo '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:0b661b7544f79ffdc9ffd88c37aff97d5d2129b90d9f1edb807f7ccb0c54a322 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:b1605fce523848c626b16072cb0b4fadd9ec055659152083419f9d3c87ecd5d0 Copying config sha256:d25578bf6d577c6542c92c7b8dc5ae2829d1abd91047a313bc4f637f98f1b330 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:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:0b661b7544f79ffdc9ffd88c37aff97d5d2129b90d9f1edb807f7ccb0c54a322 Copying blob sha256:b1605fce523848c626b16072cb0b4fadd9ec055659152083419f9d3c87ecd5d0 Copying config sha256:d25578bf6d577c6542c92c7b8dc5ae2829d1abd91047a313bc4f637f98f1b330 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}}' time="2021-07-10T01:23:56Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/poddfbf00fb-9210-4a9d-a4c7-a28bdb44573e/800d136cb55e75cb2878a843e6be33b180e15e9f74a3dae4ddbc1253ede480f9: no such file or directory" + IMAGE_ID=sha256:d25578bf6d577c6542c92c7b8dc5ae2829d1abd91047a313bc4f637f98f1b330 + echo IMAGE_ID=sha256:d25578bf6d577c6542c92c7b8dc5ae2829d1abd91047a313bc4f637f98f1b330 A tarball of the built image can be retrieved from the documentation job artifacts. + IMAGE_PODMAN_SHA=sha256:5ece10834964169776e8b12ef881bbb1fb27f49eff57ce555b4c443393e13504 + echo IMAGE_PODMAN_SHA=sha256:5ece10834964169776e8b12ef881bbb1fb27f49eff57ce555b4c443393e13504 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:ibci-357962 + echo IMAGE_NAME=opensource/prometheus/postgres-exporter + branches=("master" "development") + [[ master development =~ development ]] + 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.' section_end:1625880236:step_script section_start:1625880236: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=4689822 responseStatus=201 Created token=yMncBfqF Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=4689822 responseStatus=201 Created token=yMncBfqF section_end:1625880238:upload_artifacts_on_success section_start:1625880239:cleanup_file_variables Cleaning up file based variables section_end:1625880239:cleanup_file_variables Job succeeded