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:1630984620:resolve_secrets Resolving secrets section_end:1630984620:resolve_secrets section_start:1630984620: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:1630984620:prepare_executor section_start:1630984620:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-1235-concurrent-0j7lgs to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-1235-concurrent-0j7lgs to be running, status is Pending ContainersNotInitialized: "containers with incomplete status: [init-logs 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-jrexj6yx-project-1235-concurrent-0j7lgs to be running, status is Pending ContainersNotInitialized: "containers with incomplete status: [init-logs 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-jrexj6yx-project-1235-concurrent-0j7lgs to be running, status is Pending ContainersNotInitialized: "containers with incomplete status: [init-logs 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-jrexj6yx-project-1235-concurrent-0j7lgs 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-jrexj6yx-project-1235-concurrent-0j7lgs 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-1235-concurrent-0j7lgs 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-1235-concurrent-0j7lgs via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1630984642:prepare_script section_start:1630984642: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/notary-signer/.git/ Created fresh repository. Checking out e5e20884 as master... Skipping Git submodules setup section_end:1630984643:get_sources section_start:1630984643:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (6286957)... Downloading artifacts from coordinator... ok  id=6286957 responseStatus=200 OK token=wj4N-5Vc WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (6286959)... Downloading artifacts from coordinator... ok  id=6286959 responseStatus=200 OK token=rdHvHqdu WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6286954)... Downloading artifacts from coordinator... ok  id=6286954 responseStatus=200 OK token=tkhtLPYW WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (6286958)... Downloading artifacts from coordinator... ok  id=6286958 responseStatus=200 OK token=N5yz-eHX WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1630984647:download_artifacts section_start:1630984647: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-notary-signer-photon-v2.3.2.tar Getting image source signatures Copying blob sha256:7a2ef1cebf212bc8c07ad95e45d6356162a41c05253675f1f5e980cec69dfecf Copying blob sha256:a832248f5584c998bc928d85e172befe971b1eed9be03f9c9b3b80a674abe892 Copying blob sha256:f6e68d4c9b228398cd02847bc1475a8e23e316eb4adfa223ec3ff75177656504 Copying blob sha256:671f3386d963788a115d53e948705c5ab39818843e5ec6f265fabc680de51425 Copying blob sha256:7e6d06a2bb53095e71249ce3c9a278e58f0ad7261e08fd42e7936c939b708a5e Copying blob sha256:51aa675bbc9d416346ea6f70c2389a2e2af2178ffee45f9fa227ca40b9eaee8b Copying blob sha256:799b207a8043212544565bba8a35af8e1a05d8cc85c9316330eaae1e5d7620ff Copying config sha256:6051589deaf913600031163a8791e043760ae4b867cc45392ee577900df50809 Writing manifest to image destination Storing signatures Loaded image(s): localhost/goharbor/notary-signer-photon: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/notary-signer-photon:v2.3.2 AS base Getting image source signatures Copying blob sha256:f6e68d4c9b228398cd02847bc1475a8e23e316eb4adfa223ec3ff75177656504 Copying blob sha256:671f3386d963788a115d53e948705c5ab39818843e5ec6f265fabc680de51425 Copying blob sha256:a832248f5584c998bc928d85e172befe971b1eed9be03f9c9b3b80a674abe892 Copying blob sha256:7a2ef1cebf212bc8c07ad95e45d6356162a41c05253675f1f5e980cec69dfecf Copying blob sha256:51aa675bbc9d416346ea6f70c2389a2e2af2178ffee45f9fa227ca40b9eaee8b Copying blob sha256:7e6d06a2bb53095e71249ce3c9a278e58f0ad7261e08fd42e7936c939b708a5e Copying blob sha256:799b207a8043212544565bba8a35af8e1a05d8cc85c9316330eaae1e5d7620ff Copying config sha256:881a1c41a03ee8a605da9e0ff974e9ea9a8727a69dde41c1f64149b5014f12c9 Writing manifest to image destination Storing signatures --> 881a1c41a03 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:9f0e58d20a101ca4f9a522c85daee9264868d5be592441923f009fd244f64046 Copying config sha256:0653fdd2960e9903e15065a96f8d76655c20db0d1882ac58ec5e098db5814ae2 Writing manifest to image destination Storing signatures STEP 3: ENV SERVICE_NAME=notary_signer STEP 4: RUN groupadd -g 1000 notary && useradd -r -u 1000 -m -s /sbin/nologin -g notary notary && dnf upgrade -y && dnf clean all && rm -rf /var/cache/dnf Red Hat Universal Base Image 8 (RPMs) - BaseOS 53 kB/s | 790 kB 00:15 Red Hat Universal Base Image 8 (RPMs) - AppStre 240 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 5: COPY --from=base /bin/migrate /bin/migrate STEP 6: COPY --from=base /bin/migrate-patch /bin/migrate-patch STEP 7: COPY --from=base /bin/notary-signer /bin/notary-signer STEP 8: COPY scripts /migrations STEP 9: USER notary STEP 10: HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD curl -k -sS https://127.0.0.1:7899 || exit 1 STEP 11: CMD migrate-patch -database=${DB_URL} && /migrations/migrate.sh && /bin/notary-signer -config=/etc/notary/signer-config.postgres.json -logf=logfmt STEP 12: COMMIT registry1.dso.mil/ironbank-staging/opensource/goharbor/notary-signer Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:b9e1d509321b2230ee35fbfd2a387f278a4dc4038098ec6b3d2e76cd72fac5fb Copying blob sha256:e8a4898dc498ce9853b1b2a0e713aada1913df69e81bd3d84d2f27e105623f37 Copying config sha256:1f89318f416679a2ee023802393d2535e3a99d7d1a3240cdfda4400c56f86bcd Writing manifest to image destination Storing signatures --> 1f89318f416 Successfully tagged registry1.dso.mil/ironbank-staging/opensource/goharbor/notary-signer:latest 1f89318f416679a2ee023802393d2535e3a99d7d1a3240cdfda4400c56f86bcd + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/goharbor/notary-signer registry1.dso.mil/ironbank-staging/opensource/goharbor/notary-signer:ibci-463979 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/goharbor/notary-signer:ibci-463979 Getting image source signatures Copying blob sha256:e8a4898dc498ce9853b1b2a0e713aada1913df69e81bd3d84d2f27e105623f37 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:b9e1d509321b2230ee35fbfd2a387f278a4dc4038098ec6b3d2e76cd72fac5fb Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:1f89318f416679a2ee023802393d2535e3a99d7d1a3240cdfda4400c56f86bcd 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/notary-signer registry1.dso.mil/ironbank-staging/opensource/goharbor/notary-signer:v2.3.2 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/goharbor/notary-signer:v2.3.2 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:e8a4898dc498ce9853b1b2a0e713aada1913df69e81bd3d84d2f27e105623f37 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:b9e1d509321b2230ee35fbfd2a387f278a4dc4038098ec6b3d2e76cd72fac5fb Copying config sha256:1f89318f416679a2ee023802393d2535e3a99d7d1a3240cdfda4400c56f86bcd Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/goharbor/notary-signer registry1.dso.mil/ironbank-staging/opensource/goharbor/notary-signer:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/goharbor/notary-signer:latest Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:b9e1d509321b2230ee35fbfd2a387f278a4dc4038098ec6b3d2e76cd72fac5fb Copying blob sha256:e8a4898dc498ce9853b1b2a0e713aada1913df69e81bd3d84d2f27e105623f37 Copying config sha256:1f89318f416679a2ee023802393d2535e3a99d7d1a3240cdfda4400c56f86bcd Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/goharbor/notary-signer --format '{{.Id}}' + IMAGE_ID=sha256:1f89318f416679a2ee023802393d2535e3a99d7d1a3240cdfda4400c56f86bcd + echo IMAGE_ID=sha256:1f89318f416679a2ee023802393d2535e3a99d7d1a3240cdfda4400c56f86bcd + IMAGE_PODMAN_SHA=sha256:54f71156782f0c9fbe549a56a7b73a5112a5080c57428294922074a5ca9747a6 + echo IMAGE_PODMAN_SHA=sha256:54f71156782f0c9fbe549a56a7b73a5112a5080c57428294922074a5ca9747a6 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/goharbor/notary-signer:ibci-463979 + echo IMAGE_NAME=opensource/goharbor/notary-signer + 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:1630984831:step_script section_start:1630984831: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=6286961 responseStatus=201 Created token=z25psh8N Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=6286961 responseStatus=201 Created token=z25psh8N section_end:1630984833:upload_artifacts_on_success section_start:1630984833:cleanup_file_variables Cleaning up file based variables section_end:1630984833:cleanup_file_variables Job succeeded