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:1631110586:resolve_secrets Resolving secrets section_end:1631110586:resolve_secrets section_start:1631110586: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:1631110586:prepare_executor section_start:1631110586:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-1226-concurrent-0c7wd7 to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-1226-concurrent-0c7wd7 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-jrexj6yx-project-1226-concurrent-0c7wd7 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-jrexj6yx-project-1226-concurrent-0c7wd7 via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1631110595:prepare_script section_start:1631110595: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/JrExJ6yx/0/dsop/opensource/goharbor/harbor-core/.git/ Created fresh repository. Checking out 9b894c14 as master... Skipping Git submodules setup section_end:1631110596:get_sources section_start:1631110596:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (6321662)... Downloading artifacts from coordinator... ok  id=6321662 responseStatus=200 OK token=YiARFiZV WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (6321664)... Downloading artifacts from coordinator... ok  id=6321664 responseStatus=200 OK token=inePiyAn WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6321659)... Downloading artifacts from coordinator... ok  id=6321659 responseStatus=200 OK token=bQbp2NgB WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (6321663)... Downloading artifacts from coordinator... ok  id=6321663 responseStatus=200 OK token=MdeBGMJy WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1631110599:download_artifacts section_start:1631110599: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-harbor-core-v2.3.2.tar Getting image source signatures Copying blob sha256:f22a7c57e296a5f57ef9fa375ecde63a804cdf345b670252aa938fc389efe069 Copying blob sha256:e0552b870e1240127766a6633260e56e4128794afee44de23905ebc7a132232c Copying blob sha256:c2660666d3b621cb41139dcbac24511805ac7dd1b65efaab022a942c0126f87d Copying blob sha256:3c2ef908bb961435f733340b46b62f0874678a5012120c178c038cdab5666852 Copying blob sha256:f64ad03ac62f957e187ec17b578f6b846ed12fbde262dabf29c2e7803caeca8a Copying blob sha256:f6e68d4c9b228398cd02847bc1475a8e23e316eb4adfa223ec3ff75177656504 Copying blob sha256:6788f0f8bfd70e2ebe1327973240ebf0d43fb6ca32bda8a1f490bbf142af174b Copying blob sha256:cb5eff88e3c0b06b723fc2f5d87d809fba3b7e4af01dec126fb371fd0496554e Copying blob sha256:9cf98131b83d5444af9cb6b0a77300d38e6a16b64918b22375040750a9ae4830 Copying blob sha256:9ffcc54d372687f0335887b3929d407347bc6ff287becc7e15a7fc689ed58f0c Copying config sha256:cf6ad69c2dd49968f4142565771683de43ea67c306e9cca0e8dd9a30b6baf17a Writing manifest to image destination Storing signatures Loaded image(s): localhost/goharbor/harbor-core:v2.3.2 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/harbor-core:v2.3.2 AS base Getting image source signatures Copying blob sha256:f6e68d4c9b228398cd02847bc1475a8e23e316eb4adfa223ec3ff75177656504 Copying blob sha256:c2660666d3b621cb41139dcbac24511805ac7dd1b65efaab022a942c0126f87d Copying blob sha256:f64ad03ac62f957e187ec17b578f6b846ed12fbde262dabf29c2e7803caeca8a Copying blob sha256:e0552b870e1240127766a6633260e56e4128794afee44de23905ebc7a132232c Copying blob sha256:3c2ef908bb961435f733340b46b62f0874678a5012120c178c038cdab5666852 Copying blob sha256:f22a7c57e296a5f57ef9fa375ecde63a804cdf345b670252aa938fc389efe069 Copying blob sha256:6788f0f8bfd70e2ebe1327973240ebf0d43fb6ca32bda8a1f490bbf142af174b Copying blob sha256:cb5eff88e3c0b06b723fc2f5d87d809fba3b7e4af01dec126fb371fd0496554e Copying blob sha256:9cf98131b83d5444af9cb6b0a77300d38e6a16b64918b22375040750a9ae4830 Copying blob sha256:9ffcc54d372687f0335887b3929d407347bc6ff287becc7e15a7fc689ed58f0c Copying config sha256:becb0b399a8628c0adff18ee37541a565d3f2a1f9133b8bbcb95e172e615c0c8 Writing manifest to image destination Storing signatures --> becb0b399a8 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 groupadd -g 1000 harbor && useradd -r -u 1000 -m -s /sbin/nologin -g harbor harbor && 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: COPY --from=base --chown=harbor:harbor /harbor /harbor STEP 5: WORKDIR /harbor STEP 6: USER harbor STEP 7: HEALTHCHECK CMD curl --fail -s http://127.0.0.1:8080/api/v2.0/ping || curl -k --fail -s https://127.0.0.1:8443/api/v2.0/ping || exit 1 STEP 8: ENTRYPOINT ["/harbor/harbor_core"] STEP 9: COMMIT registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-core Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:4fac780b23d7cd645ee31b3da7f7a5b7da354b9f9cbc2a90a8fd8d4a2907c7cd Copying blob sha256:98799201566210cacce4a608d256afc9f953ecdb58c9ec93fe95dc8bf1ce47d1 Copying config sha256:3e939e2d916729565460c02d7309f6d94cbe9e4aa5d7173952cd74713f82cd6f Writing manifest to image destination Storing signatures --> 3e939e2d916 Successfully tagged registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-core:latest 3e939e2d916729565460c02d7309f6d94cbe9e4aa5d7173952cd74713f82cd6f + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-core registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-core:ibci-466204 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-core:ibci-466204 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98799201566210cacce4a608d256afc9f953ecdb58c9ec93fe95dc8bf1ce47d1 Copying blob sha256:4fac780b23d7cd645ee31b3da7f7a5b7da354b9f9cbc2a90a8fd8d4a2907c7cd Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:3e939e2d916729565460c02d7309f6d94cbe9e4aa5d7173952cd74713f82cd6f 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/goharbor/harbor-core registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-core:v2.3.2 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-core:v2.3.2 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:4fac780b23d7cd645ee31b3da7f7a5b7da354b9f9cbc2a90a8fd8d4a2907c7cd Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:98799201566210cacce4a608d256afc9f953ecdb58c9ec93fe95dc8bf1ce47d1 Copying config sha256:3e939e2d916729565460c02d7309f6d94cbe9e4aa5d7173952cd74713f82cd6f Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-core registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-core:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-core:latest Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:4fac780b23d7cd645ee31b3da7f7a5b7da354b9f9cbc2a90a8fd8d4a2907c7cd Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:98799201566210cacce4a608d256afc9f953ecdb58c9ec93fe95dc8bf1ce47d1 Copying config sha256:3e939e2d916729565460c02d7309f6d94cbe9e4aa5d7173952cd74713f82cd6f Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-core --format '{{.Id}}' + IMAGE_ID=sha256:3e939e2d916729565460c02d7309f6d94cbe9e4aa5d7173952cd74713f82cd6f + echo IMAGE_ID=sha256:3e939e2d916729565460c02d7309f6d94cbe9e4aa5d7173952cd74713f82cd6f + IMAGE_PODMAN_SHA=sha256:3449a82a72bfd662cd54db4d8b1de1354f0588faa037d58e3a3d133cda7472f5 + echo IMAGE_PODMAN_SHA=sha256:3449a82a72bfd662cd54db4d8b1de1354f0588faa037d58e3a3d133cda7472f5 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-core:ibci-466204 + echo IMAGE_NAME=opensource/goharbor/harbor-core + 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:1631110692:step_script section_start:1631110692: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=6321666 responseStatus=201 Created token=gTTrRugu Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=6321666 responseStatus=201 Created token=gTTrRugu section_end:1631110694:upload_artifacts_on_success section_start:1631110694:cleanup_file_variables Cleaning up file based variables section_end:1631110695:cleanup_file_variables Job succeeded