Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-5f4b468dff-8vfv5 BsbAJu5w section_start:1623260548:resolve_secrets Resolving secrets section_end:1623260548:resolve_secrets section_start:1623260548: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.1 ... section_end:1623260548:prepare_executor section_start:1623260548:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-bsbaju5w-project-5450-concurrent-0xr5j4 to be running, status is Pending Running on runner-bsbaju5w-project-5450-concurrent-0xr5j4 via dsop-shared-gitlab-runner-5f4b468dff-8vfv5... section_end:1623260551:prepare_script section_start:1623260551:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/mitre/saf/heimdall2/.git/ Created fresh repository. Checking out b805422c as development... Skipping Git submodules setup section_end:1623260552:get_sources section_start:1623260552:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (3972830)... Downloading artifacts from coordinator... ok  id=3972830 responseStatus=200 OK token=5XzZrwvd Downloading artifacts for import-artifacts (3972832)... Downloading artifacts from coordinator... ok  id=3972832 responseStatus=200 OK token=XkDMegF2 Downloading artifacts for load-scripts (3972827)... Downloading artifacts from coordinator... ok  id=3972827 responseStatus=200 OK token=t2yLjxVV Downloading artifacts for wl-compare-lint (3972831)... Downloading artifacts from coordinator... ok  id=3972831 responseStatus=200 OK token=MUBXtf7k section_end:1623260557:download_artifacts section_start:1623260557: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 time="2021-06-09T17:42:37Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod37ca74d9-0925-44f7-bea5-8f7fcda05e23/55ea252cc35b6702467034a185a8f1827b607df206ea2ff6a3d01b05a72c8894: no such file or directory" Getting image source signatures Copying blob sha256:d280bd83a34168ee115f2465819deaa0dd2ca1464561d9ac9998c6b76938ee29 Copying blob sha256:9a5d14f9f5503e55088666beef7e85a8d9625d4fa7418e2fe269e9c54bcb853c Copying blob sha256:9b437d941848d9077b027fe97481dbdaa04642a68b22fde919c7a16fdc797be5 Copying blob sha256:2a364b8ebb8127ad21055f30471964c7fd6a06a6d8f29dfe06acd699f373c5cc Copying blob sha256:4371070eefc22da355a3c662df52cd82fc1221cb16040f0c55d29e2df8afd28c Copying blob sha256:7ac403108588c0cc4ca20fe8f653652e00931b8d14bfdf6811af54e56d49a3e4 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:37a4fc30eadb5e2185c16ffcd2ffd246668f32a20d12775652b8dea0c4c5cad8 Copying blob sha256:bc84e766587b973b094c58db4508be2140c250158ce99256977aaba69fd329b6 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 --> fe8d8b505ba STEP 2: FROM registry1.dso.mil/ironbank/opensource/nodejs/nodejs14:14.17.0 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:fe8d8b505ba4017eee397b79f716575efa29588733a9dc4e20b22c79dcb21015 Writing manifest to image destination Storing signatures Getting image source signatures Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying blob sha256:2b58102fa6a6684d54b44c22e8a71e5138be0191ab5e405645024f696e8cd609 Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:7c7130e9bb1ed7f0aa07b909f272c940a444963083c2160752c1a12ceb1f84a3 Copying config sha256:464c87bf8c4af5d02c4885132dcb910139f422d8a7f8e45a4a0d45347a2ea65e 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.10 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.10 added 1 package in 0.505s 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:077b3fc3f093177124734b463e9007498629b5b8bcaa7ebdce0adba3a290d619 Copying blob sha256:12d6215e4466cdebe85f7015a38ffd5b803a93e2127cc009ffdddd965080a62a Copying blob sha256:81d27d291a5c79fb4dc1dcd0bee1a49de97bf91a08e71a100df48ffb191057b0 Copying config sha256:f60e1f1082268e889ecbd886d478fedf9e8339dfee6b0bacf9cbcd373e9cc539 Writing manifest to image destination Storing signatures --> f60e1f10822 f60e1f1082268e889ecbd886d478fedf9e8339dfee6b0bacf9cbcd373e9cc539 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2 registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:306491 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:306491 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:077b3fc3f093177124734b463e9007498629b5b8bcaa7ebdce0adba3a290d619 Copying blob sha256:12d6215e4466cdebe85f7015a38ffd5b803a93e2127cc009ffdddd965080a62a Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:81d27d291a5c79fb4dc1dcd0bee1a49de97bf91a08e71a100df48ffb191057b0 Copying config sha256:f60e1f1082268e889ecbd886d478fedf9e8339dfee6b0bacf9cbcd373e9cc539 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/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:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:077b3fc3f093177124734b463e9007498629b5b8bcaa7ebdce0adba3a290d619 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:12d6215e4466cdebe85f7015a38ffd5b803a93e2127cc009ffdddd965080a62a Copying blob sha256:81d27d291a5c79fb4dc1dcd0bee1a49de97bf91a08e71a100df48ffb191057b0 Copying config sha256:f60e1f1082268e889ecbd886d478fedf9e8339dfee6b0bacf9cbcd373e9cc539 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:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:81d27d291a5c79fb4dc1dcd0bee1a49de97bf91a08e71a100df48ffb191057b0 Copying blob sha256:12d6215e4466cdebe85f7015a38ffd5b803a93e2127cc009ffdddd965080a62a Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:077b3fc3f093177124734b463e9007498629b5b8bcaa7ebdce0adba3a290d619 Copying config sha256:f60e1f1082268e889ecbd886d478fedf9e8339dfee6b0bacf9cbcd373e9cc539 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}}' time="2021-06-09T17:46:14Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod37ca74d9-0925-44f7-bea5-8f7fcda05e23/55ea252cc35b6702467034a185a8f1827b607df206ea2ff6a3d01b05a72c8894: no such file or directory" + IMAGE_ID=sha256:f60e1f1082268e889ecbd886d478fedf9e8339dfee6b0bacf9cbcd373e9cc539 + echo IMAGE_ID=sha256:f60e1f1082268e889ecbd886d478fedf9e8339dfee6b0bacf9cbcd373e9cc539 A tarball of the built image can be retrieved from the documentation job artifacts. + IMAGE_PODMAN_SHA=sha256:ba0020db2d87a4a039bca524fe1e5f45302c0a90c30340bdc2b96295dcb87e8e + echo IMAGE_PODMAN_SHA=sha256:ba0020db2d87a4a039bca524fe1e5f45302c0a90c30340bdc2b96295dcb87e8e + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:306491 + echo IMAGE_NAME=mitre/saf/heimdall2 + 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:1623260774:step_script section_start:1623260774: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=3972834 responseStatus=201 Created token=vrmot5H- Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=3972834 responseStatus=201 Created token=vrmot5H- section_end:1623260775:upload_artifacts_on_success section_start:1623260775:cleanup_file_variables Cleaning up file based variables section_end:1623260775:cleanup_file_variables Job succeeded