Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1629938121:resolve_secrets Resolving secrets section_end:1629938121:resolve_secrets section_start:1629938121: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:1629938121:prepare_executor section_start:1629938121:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-1229-concurrent-0dhndn to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-1229-concurrent-0dhndn 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-1229-concurrent-0dhndn 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-1229-concurrent-0dhndn 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-1229-concurrent-0dhndn 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-1229-concurrent-0dhndn 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-1229-concurrent-0dhndn 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-1229-concurrent-0dhndn 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-1229-concurrent-0dhndn via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1629938146:prepare_script section_start:1629938146: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/dsop/opensource/goharbor/harbor-registryctl/.git/ Created fresh repository. Checking out 5759d968 as development... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1629938149:get_sources section_start:1629938149:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (5943509)... Downloading artifacts from coordinator... ok  id=5943509 responseStatus=200 OK token=H6c61NBJ WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (5943511)... Downloading artifacts from coordinator... ok  id=5943511 responseStatus=200 OK token=ACGLfh3A WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (5943506)... Downloading artifacts from coordinator... ok  id=5943506 responseStatus=200 OK token=uBhSS9sS WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (5943510)... Downloading artifacts from coordinator... ok  id=5943510 responseStatus=200 OK token=diSXn59y WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1629938154:download_artifacts section_start:1629938154: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-registryctl-v2.3.2.tar Getting image source signatures Copying blob sha256:9b458167a646d6f89623ee17034692967824c03d69b85e48e325cf73b43b0c6c Copying blob sha256:f85726ba84dcf1d3936aaa81b00b84d9c9a3a404e75995a09bfce2b7e780abc7 Copying blob sha256:f6e68d4c9b228398cd02847bc1475a8e23e316eb4adfa223ec3ff75177656504 Copying blob sha256:166cfc19ad5d6763d8a3e3ceb032bab34116d399d280464405df4e99ffec8919 Copying blob sha256:c90e384ee5a44c68186bee3dc96d8950d1bdf0d0e007fe4fba0293ff3dff52db Copying blob sha256:a056039f5f6df6e7cd859b32eb8ac002dca677cb7f03a2964c148000f2f8e834 Copying blob sha256:2a481503dae18e278a7b189a459a585e52ac6ecbe6210a624b7756878faa375b Copying config sha256:0e551984a22c7dcf703d87a4e8c3dc23b0a80a1e659605e634583c5dd6d33ec9 Writing manifest to image destination Storing signatures Loaded image(s): localhost/goharbor/harbor-registryctl: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-registryctl:v2.3.2 AS base Getting image source signatures Copying blob sha256:f6e68d4c9b228398cd02847bc1475a8e23e316eb4adfa223ec3ff75177656504 Copying blob sha256:f85726ba84dcf1d3936aaa81b00b84d9c9a3a404e75995a09bfce2b7e780abc7 Copying blob sha256:a056039f5f6df6e7cd859b32eb8ac002dca677cb7f03a2964c148000f2f8e834 Copying blob sha256:c90e384ee5a44c68186bee3dc96d8950d1bdf0d0e007fe4fba0293ff3dff52db Copying blob sha256:166cfc19ad5d6763d8a3e3ceb032bab34116d399d280464405df4e99ffec8919 Copying blob sha256:9b458167a646d6f89623ee17034692967824c03d69b85e48e325cf73b43b0c6c Copying blob sha256:2a481503dae18e278a7b189a459a585e52ac6ecbe6210a624b7756878faa375b Copying config sha256:068d37f8928fe825d7cf0496847647e59a81fd358bfcb1b129b88c363710dc44 Writing manifest to image destination Storing signatures Trying to pull registry1.dso.mil/ironbank/redhat/ubi/ubi8:8.4... --> 068d37f8928 STEP 2: FROM registry1.dso.mil/ironbank/redhat/ubi/ubi8:8.4 Getting image source signatures Copying blob sha256:4212b7340e3ff5bfb799c3bc3cb8a95354aeaad57d2f143fdd0d30763abdb5fe Copying blob sha256:db2f50b75fc09a20e8d9c497d96ad384fbeacf7e77df71e4c7b578d4c07fccce Copying blob sha256:96476a77b28db43fcb170401c287700d91d95cdff9c06e5ea7b48289d40a8e57 Copying config sha256:54eb93c4a78e29116a6c0b6948d811deebd935ebae4846b164a6917f8b825b95 Writing manifest to image destination Storing signatures STEP 3: RUN groupadd -g 10000 harbor && useradd -r -u 10000 -m -s /sbin/nologin -g harbor harbor && mkdir -p /etc/registry && dnf upgrade -y && dnf clean all && rm -rf /var/cache/dnf Red Hat Universal Base Image 8 (RPMs) - BaseOS 74 kB/s | 790 kB 00:10 Red Hat Universal Base Image 8 (RPMs) - AppStre 292 kB/s | 2.4 MB 00:08 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 /home/harbor/harbor_registryctl /home/harbor/harbor_registryctl STEP 5: COPY --from=base /usr/bin/registry_DO_NOT_USE_GC /usr/bin/registry_DO_NOT_USE_GC STEP 6: WORKDIR /home/harbor STEP 7: USER harbor STEP 8: VOLUME ["/var/lib/registry"] STEP 9: HEALTHCHECK CMD curl -fs http://localhost:8080/api/health || curl -fsk --key /etc/harbor/ssl/registryctl.key --cert /etc/harbor/ssl/registryctl.crt https://localhost:8443/api/health || exit 1 STEP 10: ENTRYPOINT ["/home/harbor/harbor_registryctl"] STEP 11: CMD ["-c", "/etc/registryctl/config.yml"] STEP 12: COMMIT registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:944f62d1ade6d7bb1196d9051cb87f95af1fd3386cbafe0c619c21fa19f64da5 Copying blob sha256:80ef4e7ee5f5d5d573055cccbcd7babb9564d768586bd4dbe5d4ea1e8e929896 Copying config sha256:4b8406794f2c504e207184cc10cdba635fe1344fd80af3fff25500a950c57963 Writing manifest to image destination Storing signatures --> 4b8406794f2 Successfully tagged registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl:latest 4b8406794f2c504e207184cc10cdba635fe1344fd80af3fff25500a950c57963 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl:ibci-442844 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl:ibci-442844 Getting image source signatures Copying blob sha256:80ef4e7ee5f5d5d573055cccbcd7babb9564d768586bd4dbe5d4ea1e8e929896 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:944f62d1ade6d7bb1196d9051cb87f95af1fd3386cbafe0c619c21fa19f64da5 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:4b8406794f2c504e207184cc10cdba635fe1344fd80af3fff25500a950c57963 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/goharbor/harbor-registryctl registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl:v2.3.2 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl:v2.3.2 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:944f62d1ade6d7bb1196d9051cb87f95af1fd3386cbafe0c619c21fa19f64da5 Copying blob sha256:80ef4e7ee5f5d5d573055cccbcd7babb9564d768586bd4dbe5d4ea1e8e929896 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:4b8406794f2c504e207184cc10cdba635fe1344fd80af3fff25500a950c57963 Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl:latest Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:80ef4e7ee5f5d5d573055cccbcd7babb9564d768586bd4dbe5d4ea1e8e929896 Copying blob sha256:944f62d1ade6d7bb1196d9051cb87f95af1fd3386cbafe0c619c21fa19f64da5 Copying config sha256:4b8406794f2c504e207184cc10cdba635fe1344fd80af3fff25500a950c57963 Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl --format '{{.Id}}' A tarball of the built image can be retrieved from the documentation job artifacts. + IMAGE_ID=sha256:4b8406794f2c504e207184cc10cdba635fe1344fd80af3fff25500a950c57963 + echo IMAGE_ID=sha256:4b8406794f2c504e207184cc10cdba635fe1344fd80af3fff25500a950c57963 + IMAGE_PODMAN_SHA=sha256:5b3446f400733a4799d8186a7ccf7d6001948a9e9bfa4f4af801151a553368f9 + echo IMAGE_PODMAN_SHA=sha256:5b3446f400733a4799d8186a7ccf7d6001948a9e9bfa4f4af801151a553368f9 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl:ibci-442844 + echo IMAGE_NAME=opensource/goharbor/harbor-registryctl + 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:1629938368:step_script section_start:1629938368: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=5943513 responseStatus=201 Created token=DSvDRo5v Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=5943513 responseStatus=201 Created token=DSvDRo5v section_end:1629938370:upload_artifacts_on_success section_start:1629938370:cleanup_file_variables Cleaning up file based variables section_end:1629938370:cleanup_file_variables Job succeeded