Running with gitlab-runner 13.8.0 (775dd39d)  on global-shared-gitlab-runner-5896686f8-f7z96 71K9UkNo section_start:1621530817:resolve_secrets Resolving secrets section_end:1621530817:resolve_secrets section_start:1621530817:prepare_executor Preparing the "kubernetes" executor Using Kubernetes namespace: gitlab-runner-isolated 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.1 ... section_end:1621530817:prepare_executor section_start:1621530817:prepare_script Preparing environment Waiting for pod gitlab-runner-isolated/runner-71k9ukno-project-1232-concurrent-0sfxhv to be running, status is Pending Running on runner-71k9ukno-project-1232-concurrent-0sfxhv via global-shared-gitlab-runner-5896686f8-f7z96... section_end:1621530820:prepare_script section_start:1621530820:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/opensource/goharbor/clair-adapter/.git/ Created fresh repository. Checking out d7e21569 as development... Skipping Git submodules setup section_end:1621530821:get_sources section_start:1621530821:download_artifacts Downloading artifacts Downloading artifacts for hardening_manifest (3465155)... Downloading artifacts from coordinator... ok  id=3465155 responseStatus=200 OK token=d5Maiwz4 Downloading artifacts for import artifacts (3465157)... Downloading artifacts from coordinator... ok  id=3465157 responseStatus=200 OK token=Zvw4fXSz Downloading artifacts for load scripts (3465152)... Downloading artifacts from coordinator... ok  id=3465152 responseStatus=200 OK token=Y53sxSBh Downloading artifacts for wl compare lint (3465156)... Downloading artifacts from coordinator... ok  id=3465156 responseStatus=200 OK token=zj5A_p1j section_end:1621530822:download_artifacts section_start:1621530822: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/goharbor-clair-adapter-photon-v2.1.5.tar time="2021-05-20T17:13:43Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/poda82fb0c0-c272-41bf-84c3-171b01f4e6d7/7d90a284b2f54d3ffa3537cf01f084035ad3ef7b7298e23f9545ec81459c601c: no such file or directory" Getting image source signatures Copying blob sha256:9ee776755f7bc301169bf4e469ac5a3cd88595247daba3c311f944a514afadce Copying blob sha256:896654739df1cd894efea59a1ac7e541098f3a5e394ca02924d6f5101815d1e1 Copying blob sha256:93638553cae70436da31da979dff1ae14886b2b2eb9b3ab8bc756731bb7cdf3c Copying blob sha256:31f6d8701f223c66809f3200bfde93a22fddfbb5fd38dd4d39891f3823d79bdf Copying blob sha256:38999bdc2093e7c00b230b0f377e7b9f5af3ef1750da39ade8a4d8302a6941b5 Copying blob sha256:44abe085e43ac9a84c87afde1e783d2ec61eb0adc1c2ae46b82d9b8af848ff2d Copying config sha256:80d3610e7f1d998ae8b15edc962206a1946373ebc5f52c02a97888d1f9b545b3 Writing manifest to image destination Storing signatures Loaded image(s): localhost/goharbor/clair-adapter-photon:v2.1.5 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 goharbor/clair-adapter-photon:v2.1.5 AS base Getting image source signatures Copying blob sha256:9ee776755f7bc301169bf4e469ac5a3cd88595247daba3c311f944a514afadce Copying blob sha256:896654739df1cd894efea59a1ac7e541098f3a5e394ca02924d6f5101815d1e1 Copying blob sha256:93638553cae70436da31da979dff1ae14886b2b2eb9b3ab8bc756731bb7cdf3c Copying blob sha256:44abe085e43ac9a84c87afde1e783d2ec61eb0adc1c2ae46b82d9b8af848ff2d Copying blob sha256:31f6d8701f223c66809f3200bfde93a22fddfbb5fd38dd4d39891f3823d79bdf Copying blob sha256:38999bdc2093e7c00b230b0f377e7b9f5af3ef1750da39ade8a4d8302a6941b5 Copying config sha256:9bedfc0819b1a5a6afea80183944f26547f3bf6f98ef020da9fd1e500464070c Writing manifest to image destination Storing signatures --> 9bedfc0819b STEP 2: FROM registry1.dso.mil/ironbank/redhat/ubi/ubi8:8.4 Getting image source signatures Copying blob sha256:4180f0dad1f40915a0ddef5d0a11793415f66d4127abd74b2d5992175bae6c1c Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying config sha256:8570292c579c886c134fe4a5007275e79e8e204d5834e7feb03106c854d2ec2a Writing manifest to image destination Storing signatures STEP 3: RUN groupadd -g 1000 clair && useradd -r -u 1000 -m -s /sbin/nologin -g clair clair && dnf upgrade -y && dnf clean all && rm -rf /var/cache/dnf Red Hat Universal Base Image 8 (RPMs) - BaseOS 79 kB/s | 789 kB 00:10 Red Hat Universal Base Image 8 (RPMs) - AppStre 719 kB/s | 7.0 MB 00:10 Red Hat Universal Base Image 8 (RPMs) - CodeRea 1.4 kB/s | 14 kB 00:10 Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Upgrading: iptables x86_64 1.8.4-17.el8 ubi-8-baseos 586 k iptables-libs x86_64 1.8.4-17.el8 ubi-8-baseos 107 k Transaction Summary ================================================================================ Upgrade 2 Packages Total download size: 692 k Downloading Packages: [MIRROR] iptables-1.8.4-17.el8.x86_64.rpm: Curl error (28): Timeout was reached for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/Packages/i/iptables-1.8.4-17.el8.x86_64.rpm [Connection timed out after 5000 milliseconds] [MIRROR] iptables-libs-1.8.4-17.el8.x86_64.rpm: Curl error (28): Timeout was reached for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/Packages/i/iptables-libs-1.8.4-17.el8.x86_64.rpm [Connection timed out after 5000 milliseconds] (1/2): iptables-libs-1.8.4-17.el8.x86_64.rpm 21 kB/s | 107 kB 00:05 (2/2): iptables-1.8.4-17.el8.x86_64.rpm 117 kB/s | 586 kB 00:05 -------------------------------------------------------------------------------- Total 138 kB/s | 692 kB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : iptables-libs-1.8.4-17.el8.x86_64 1/4 Running scriptlet: iptables-1.8.4-17.el8.x86_64 2/4 Upgrading : iptables-1.8.4-17.el8.x86_64 2/4 Running scriptlet: iptables-1.8.4-17.el8.x86_64 2/4 Cleanup : iptables-1.8.4-15.el8_3.3.x86_64 3/4 Running scriptlet: iptables-1.8.4-15.el8_3.3.x86_64 3/4 Cleanup : iptables-libs-1.8.4-15.el8_3.3.x86_64 4/4 Running scriptlet: iptables-libs-1.8.4-15.el8_3.3.x86_64 4/4 Verifying : iptables-1.8.4-17.el8.x86_64 1/4 Verifying : iptables-1.8.4-15.el8_3.3.x86_64 2/4 Verifying : iptables-libs-1.8.4-17.el8.x86_64 3/4 Verifying : iptables-libs-1.8.4-15.el8_3.3.x86_64 4/4 Installed products updated. Upgraded: iptables-1.8.4-17.el8.x86_64 iptables-libs-1.8.4-17.el8.x86_64 Complete! 25 files removed STEP 4: COPY --from=base --chown=root:root /clair-adapter/clair-adapter /usr/local/bin/clair-adapter STEP 5: USER clair STEP 6: EXPOSE 8080 STEP 7: HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD curl -sS http://127.0.0.1:8080/probe/healthy || curl -k -sS https://127.0.0.1:8443/probe/healthy || exit 1 STEP 8: ENTRYPOINT ["clair-adapter"] STEP 9: COMMIT registry1.dso.mil/ironbank-staging/opensource/goharbor/clair-adapter Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:174533b1e78e61328fca009d29ea578c430dc7c6ff0f78a12c1c8f858333f7c9 Copying blob sha256:2902393535456ee2d5912eba0f41573a15100e871685ba5ad7687bb8072e3eb4 Copying config sha256:0249fd3e518a98746b46eec59cc7ebf9893c587d4122cdc08323199d1b8649f9 Writing manifest to image destination Storing signatures --> 0249fd3e518 0249fd3e518a98746b46eec59cc7ebf9893c587d4122cdc08323199d1b8649f9 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/goharbor/clair-adapter registry1.dso.mil/ironbank-staging/opensource/goharbor/clair-adapter:269591 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/goharbor/clair-adapter:269591 Getting image source signatures Copying blob sha256:2902393535456ee2d5912eba0f41573a15100e871685ba5ad7687bb8072e3eb4 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:174533b1e78e61328fca009d29ea578c430dc7c6ff0f78a12c1c8f858333f7c9 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:0249fd3e518a98746b46eec59cc7ebf9893c587d4122cdc08323199d1b8649f9 Writing manifest to image destination Storing signatures + 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/goharbor/clair-adapter registry1.dso.mil/ironbank-staging/opensource/goharbor/clair-adapter:v2.1.5 Read the tags + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/goharbor/clair-adapter:v2.1.5 Getting image source signatures Copying blob sha256:2902393535456ee2d5912eba0f41573a15100e871685ba5ad7687bb8072e3eb4 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:174533b1e78e61328fca009d29ea578c430dc7c6ff0f78a12c1c8f858333f7c9 Copying config sha256:0249fd3e518a98746b46eec59cc7ebf9893c587d4122cdc08323199d1b8649f9 Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/goharbor/clair-adapter registry1.dso.mil/ironbank-staging/opensource/goharbor/clair-adapter:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/goharbor/clair-adapter:latest Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:174533b1e78e61328fca009d29ea578c430dc7c6ff0f78a12c1c8f858333f7c9 Copying blob sha256:2902393535456ee2d5912eba0f41573a15100e871685ba5ad7687bb8072e3eb4 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:0249fd3e518a98746b46eec59cc7ebf9893c587d4122cdc08323199d1b8649f9 Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/goharbor/clair-adapter --format '{{.Id}}' time="2021-05-20T17:15:05Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/poda82fb0c0-c272-41bf-84c3-171b01f4e6d7/7d90a284b2f54d3ffa3537cf01f084035ad3ef7b7298e23f9545ec81459c601c: no such file or directory" + IMAGE_ID=sha256:0249fd3e518a98746b46eec59cc7ebf9893c587d4122cdc08323199d1b8649f9 + echo IMAGE_ID=sha256:0249fd3e518a98746b46eec59cc7ebf9893c587d4122cdc08323199d1b8649f9 + IMAGE_PODMAN_SHA=sha256:0d742873d7cfff729593f0ea85fbd4183515c2dd5e30862ca62afd51f157dcdf + echo IMAGE_PODMAN_SHA=sha256:0d742873d7cfff729593f0ea85fbd4183515c2dd5e30862ca62afd51f157dcdf + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/goharbor/clair-adapter:269591 + echo IMAGE_NAME=opensource/goharbor/clair-adapter section_end:1621530905:step_script section_start:1621530905: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=3465159 responseStatus=201 Created token=36MczyfZ Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=3465159 responseStatus=201 Created token=36MczyfZ section_end:1621530906:upload_artifacts_on_success section_start:1621530906:cleanup_file_variables Cleaning up file based variables section_end:1621530906:cleanup_file_variables Job succeeded