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:1631095580:resolve_secrets Resolving secrets section_end:1631095580:resolve_secrets section_start:1631095580: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:1631095580:prepare_executor section_start:1631095580:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-5450-concurrent-0d6zmn to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-5450-concurrent-0d6zmn 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-5450-concurrent-0d6zmn 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-5450-concurrent-0d6zmn 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-5450-concurrent-0d6zmn via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1631095593:prepare_script section_start:1631095593: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/JrExJ6yx/0/dsop/mitre/saf/heimdall2/.git/ Created fresh repository. Checking out 78486070 as master... Skipping Git submodules setup section_end:1631095597:get_sources section_start:1631095597:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (6313513)... Downloading artifacts from coordinator... ok  id=6313513 responseStatus=200 OK token=kswhxkVX WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (6313515)... Downloading artifacts from coordinator... ok  id=6313515 responseStatus=200 OK token=YHtRf1ar WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6313510)... Downloading artifacts from coordinator... ok  id=6313510 responseStatus=200 OK token=YnzCboiW WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (6313514)... Downloading artifacts from coordinator... ok  id=6313514 responseStatus=200 OK token=j3PPFv6E WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1631095604:download_artifacts section_start:1631095604: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/mitre-heimdall2-2.4.8.tar Getting image source signatures Copying blob sha256:d280bd83a34168ee115f2465819deaa0dd2ca1464561d9ac9998c6b76938ee29 Copying blob sha256:9b437d941848d9077b027fe97481dbdaa04642a68b22fde919c7a16fdc797be5 Copying blob sha256:9a5d14f9f5503e55088666beef7e85a8d9625d4fa7418e2fe269e9c54bcb853c Copying blob sha256:2a364b8ebb8127ad21055f30471964c7fd6a06a6d8f29dfe06acd699f373c5cc Copying blob sha256:7ac403108588c0cc4ca20fe8f653652e00931b8d14bfdf6811af54e56d49a3e4 Copying blob sha256:4371070eefc22da355a3c662df52cd82fc1221cb16040f0c55d29e2df8afd28c Copying blob sha256:8718ca5702297b0e14d30991a092e321b83e2833b9c43646f519efaabeaeead6 Copying blob sha256:df718edbad5730e19be85dd8c9831019150306bf00ce247132f30e306c9add67 Copying blob sha256:9d864d797c7a693e95b084c85fa348a1ddc565ce59a144dd020fb8bc857e4803 Copying blob sha256:b4f0d67caa809baac1f33dee63a7d4fda73a16dc8a987faef8b63111659ed601 Copying blob sha256:5b7498dabd9c20344bf9851700ebaf14eb9cd773a339dbb45472454398b767fe Copying blob sha256:3c46eefb762e545fae4e183d53722eed125bd901828280873420809234a2d5e7 Copying blob sha256:d52a2519f1ff997ff688db02e4b4235f4d6b51a6503103966beac0c16da6011c Copying blob sha256:4b54ec7b271a3cb177af478fa48b883b9fb0da2a1e4d9e0965fec33d49e41351 Copying blob sha256:c9a6e4a8c69fef6eaae83c57925e40e817a9e7075e5aa7b68d013b6b2a3f4062 Copying blob sha256:0a97d6e79dfcb2e6237248dc1f504dbd44125b4bb807c37e5ca75a880c6bacb2 Copying blob sha256:76cd7c09569519b32b61c4b8dbd0b28c896f35a9be12b63fd537413503c30f1c Copying blob sha256:bc84e766587b973b094c58db4508be2140c250158ce99256977aaba69fd329b6 Copying blob sha256:37a4fc30eadb5e2185c16ffcd2ffd246668f32a20d12775652b8dea0c4c5cad8 Copying config sha256:f56bd6c26367ffbe59c1b36a4156b3658ffb923dc34cdb03c7568b6a1776ba90 Writing manifest to image destination Storing signatures Loaded image(s): localhost/mitre/heimdall2:2.4.8 Load HTTP and S3 external resources 'ci-artifacts/import-artifacts/external-resources/yarn.tar.gz' -> './yarn.tar.gz' 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 mitre/heimdall2:2.4.8 AS source Getting image source signatures Copying blob sha256:9a5d14f9f5503e55088666beef7e85a8d9625d4fa7418e2fe269e9c54bcb853c Copying blob sha256:4371070eefc22da355a3c662df52cd82fc1221cb16040f0c55d29e2df8afd28c Copying blob sha256:9b437d941848d9077b027fe97481dbdaa04642a68b22fde919c7a16fdc797be5 Copying blob sha256:7ac403108588c0cc4ca20fe8f653652e00931b8d14bfdf6811af54e56d49a3e4 Copying blob sha256:2a364b8ebb8127ad21055f30471964c7fd6a06a6d8f29dfe06acd699f373c5cc Copying blob sha256:d280bd83a34168ee115f2465819deaa0dd2ca1464561d9ac9998c6b76938ee29 Copying blob sha256:8718ca5702297b0e14d30991a092e321b83e2833b9c43646f519efaabeaeead6 Copying blob sha256:df718edbad5730e19be85dd8c9831019150306bf00ce247132f30e306c9add67 Copying blob sha256:9d864d797c7a693e95b084c85fa348a1ddc565ce59a144dd020fb8bc857e4803 Copying blob sha256:b4f0d67caa809baac1f33dee63a7d4fda73a16dc8a987faef8b63111659ed601 Copying blob sha256:5b7498dabd9c20344bf9851700ebaf14eb9cd773a339dbb45472454398b767fe Copying blob sha256:3c46eefb762e545fae4e183d53722eed125bd901828280873420809234a2d5e7 Copying blob sha256:d52a2519f1ff997ff688db02e4b4235f4d6b51a6503103966beac0c16da6011c Copying blob sha256:4b54ec7b271a3cb177af478fa48b883b9fb0da2a1e4d9e0965fec33d49e41351 Copying blob sha256:c9a6e4a8c69fef6eaae83c57925e40e817a9e7075e5aa7b68d013b6b2a3f4062 Copying blob sha256:0a97d6e79dfcb2e6237248dc1f504dbd44125b4bb807c37e5ca75a880c6bacb2 Copying blob sha256:76cd7c09569519b32b61c4b8dbd0b28c896f35a9be12b63fd537413503c30f1c Copying blob sha256:bc84e766587b973b094c58db4508be2140c250158ce99256977aaba69fd329b6 Copying blob sha256:37a4fc30eadb5e2185c16ffcd2ffd246668f32a20d12775652b8dea0c4c5cad8 Copying config sha256:8e098a6b234a817ba84d4b822f00e7ba650f77385765c0bfaa858e94e8a6b3b6 Writing manifest to image destination Storing signatures --> 8e098a6b234 STEP 2: FROM registry1.dso.mil/ironbank/opensource/nodejs/nodejs14:14.17.5 Trying to pull registry1.dso.mil/ironbank/opensource/nodejs/nodejs14:14.17.5... Getting image source signatures Copying blob sha256:612731bd4073ce3a4b81a4cba66d261924ba75b5ce327bb37f3e0e3f4aced605 Copying blob sha256:96476a77b28db43fcb170401c287700d91d95cdff9c06e5ea7b48289d40a8e57 Copying blob sha256:db2f50b75fc09a20e8d9c497d96ad384fbeacf7e77df71e4c7b578d4c07fccce Copying blob sha256:1260188ded82ec2103c974de07895df0aefd4b245f5bc86638850b28cfd2ebac Copying config sha256:21d9e6f77f2ffdb4664eba3776b54075ec686efd715cca2e2c3c4006f0806afb Writing manifest to image destination Storing signatures STEP 3: COPY yarn.tar.gz / STEP 4: WORKDIR / STEP 5: USER root STEP 6: RUN NO_UPDATE_NOTIFIER=true npm install -g yarn.tar.gz --force npm WARN using --force I sure hope you know what you are doing. > yarn@1.22.11 preinstall /usr/local/lib/node_modules/yarn > :; (node ./preinstall.js > /dev/null 2>&1 || true) /usr/local/bin/yarnpkg -> /usr/local/lib/node_modules/yarn/bin/yarn.js /usr/local/bin/yarn -> /usr/local/lib/node_modules/yarn/bin/yarn.js + yarn@1.22.11 added 1 package in 0.595s STEP 7: WORKDIR /heimdall STEP 8: COPY --from=source /app . STEP 9: COPY scripts/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh STEP 10: RUN rm -rf /heimdall/apps/backend/node_modules/webfinger/test STEP 11: USER node STEP 12: HEALTHCHECK --interval=5m --timeout=30s --start-period=1m --retries=3 CMD curl -f http://locahost:3000/server || exit 1 STEP 13: EXPOSE 3000 STEP 14: CMD ["docker-entrypoint.sh"] STEP 15: COMMIT registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2 Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:f221949c4d4c872ec15a3aece5a3367c1730ec2c25d8d3a1173c8d8f4f630adb Copying blob sha256:53ff78c94816aab0843d16dd1f683c5aaa723453268b4ff9e7bbc7c055e528e8 Copying blob sha256:94a69c80cfd92af02df67cd66664a3b497f69407cb9994172dfaf7db3bf932c4 Copying config sha256:fceba07133d6c8291321b7a5584e57661a395cb91fb2de45185e07e9ee264d91 Writing manifest to image destination Storing signatures --> fceba07133d Successfully tagged registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:latest fceba07133d6c8291321b7a5584e57661a395cb91fb2de45185e07e9ee264d91 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2 registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:ibci-465734 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:ibci-465734 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:f221949c4d4c872ec15a3aece5a3367c1730ec2c25d8d3a1173c8d8f4f630adb Copying blob sha256:53ff78c94816aab0843d16dd1f683c5aaa723453268b4ff9e7bbc7c055e528e8 Copying blob sha256:94a69c80cfd92af02df67cd66664a3b497f69407cb9994172dfaf7db3bf932c4 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:fceba07133d6c8291321b7a5584e57661a395cb91fb2de45185e07e9ee264d91 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/mitre/saf/heimdall2 registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:2.4.8 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:2.4.8 Getting image source signatures Copying blob sha256:f221949c4d4c872ec15a3aece5a3367c1730ec2c25d8d3a1173c8d8f4f630adb Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:53ff78c94816aab0843d16dd1f683c5aaa723453268b4ff9e7bbc7c055e528e8 Copying blob sha256:94a69c80cfd92af02df67cd66664a3b497f69407cb9994172dfaf7db3bf932c4 Copying config sha256:fceba07133d6c8291321b7a5584e57661a395cb91fb2de45185e07e9ee264d91 Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2 registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:latest Getting image source signatures Copying blob sha256:94a69c80cfd92af02df67cd66664a3b497f69407cb9994172dfaf7db3bf932c4 Copying blob sha256:53ff78c94816aab0843d16dd1f683c5aaa723453268b4ff9e7bbc7c055e528e8 Copying blob sha256:f221949c4d4c872ec15a3aece5a3367c1730ec2c25d8d3a1173c8d8f4f630adb Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying config sha256:fceba07133d6c8291321b7a5584e57661a395cb91fb2de45185e07e9ee264d91 Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2 --format '{{.Id}}' + IMAGE_ID=sha256:fceba07133d6c8291321b7a5584e57661a395cb91fb2de45185e07e9ee264d91 + echo IMAGE_ID=sha256:fceba07133d6c8291321b7a5584e57661a395cb91fb2de45185e07e9ee264d91 + IMAGE_PODMAN_SHA=sha256:aff0683f8e06979a00239ae48a0cb5062b6dd31a297ef34e7dcf9297cd742a19 + echo IMAGE_PODMAN_SHA=sha256:aff0683f8e06979a00239ae48a0cb5062b6dd31a297ef34e7dcf9297cd742a19 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:ibci-465734 + echo IMAGE_NAME=mitre/saf/heimdall2 + 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:1631095841:step_script section_start:1631095841: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=6313517 responseStatus=201 Created token=SkTAwrzH Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=6313517 responseStatus=201 Created token=SkTAwrzH section_end:1631095842:upload_artifacts_on_success section_start:1631095842:cleanup_file_variables Cleaning up file based variables section_end:1631095843:cleanup_file_variables Job succeeded