Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-5f4b468dff-8vfv5 BsbAJu5w section_start:1622059745:resolve_secrets Resolving secrets section_end:1622059745:resolve_secrets section_start:1622059745: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:1622059745:prepare_executor section_start:1622059745:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-bsbaju5w-project-5450-concurrent-0lxnls to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-bsbaju5w-project-5450-concurrent-0lxnls to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper]" ContainersNotReady: "containers with unready status: [build helper]" Running on runner-bsbaju5w-project-5450-concurrent-0lxnls via dsop-shared-gitlab-runner-5f4b468dff-8vfv5... section_end:1622059751:prepare_script section_start:1622059751: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 1e94077f as development... Skipping Git submodules setup section_end:1622059752:get_sources section_start:1622059752:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (3610642)... Downloading artifacts from coordinator... ok  id=3610642 responseStatus=200 OK token=xDsMsYFz Downloading artifacts for import-artifacts (3610644)... Downloading artifacts from coordinator... ok  id=3610644 responseStatus=200 OK token=Px-Ateyc Downloading artifacts for load-scripts (3610639)... Downloading artifacts from coordinator... ok  id=3610639 responseStatus=200 OK token=FvBR9Zsd Downloading artifacts for wl-compare-lint (3610643)... Downloading artifacts from coordinator... ok  id=3610643 responseStatus=200 OK token=yMvNqhmW section_end:1622059759:download_artifacts section_start:1622059759: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-version-2.4.6.tar time="2021-05-26T20:09:20Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/podab1f8021-2e4b-442a-b94f-72be65eb0b4e/a85cbe394e568d56269e1a503830b01ac6f2bc1df9f8ddc5644086892e0dcd1b: no such file or directory" Getting image source signatures Copying blob sha256:14043f842cf0086812c16301d04eb312556955bf93d9b2d2163fb59d39757ef8 Copying blob sha256:4371070eefc22da355a3c662df52cd82fc1221cb16040f0c55d29e2df8afd28c Copying blob sha256:5e51e24c6acb0b664f261fdbdbbb54785a212cfb815c5f61ab7d13670d04350b Copying blob sha256:9a5d14f9f5503e55088666beef7e85a8d9625d4fa7418e2fe269e9c54bcb853c Copying blob sha256:7ac403108588c0cc4ca20fe8f653652e00931b8d14bfdf6811af54e56d49a3e4 Copying blob sha256:9b437d941848d9077b027fe97481dbdaa04642a68b22fde919c7a16fdc797be5 Copying blob sha256:dfbb654e0802bf9cf6773d4a72c7ac40c33116f77b4d4ce3023f957f2b4f8208 Copying blob sha256:d9e472e923b8e9de0966b7c6df9a5fc2991fd6517c1a34dbfc8c7c82166403f9 Copying blob sha256:52c9473de089af01bed9b70b0c8e68599c49917031c84389326d3ec0706921cb Copying blob sha256:35bb09e01669a60c3ba144f78241778b1348814214c80dade6b96ffff940626f Copying blob sha256:f393f66f8cca81e056aa13d3c99c9a0ad66e5f37636e9ac0b554a765d3aee4d7 Copying blob sha256:78cc6388f2da0ded665473fccb0235d2d977601a74067737b47e651e3deee577 Copying blob sha256:03e57757d77e23ead7c905c2fe970466ecd7ef570915e87854bbfee0efae0fa4 Copying blob sha256:e902d8201f139394ed7a0ff4a7b638f48e21c3a49bbcbe9abe2160dcc32b2b97 Copying blob sha256:f5028a67e52a725fb706a563671a0428b546671efbca0f47e5acc145eb28fe7b Copying blob sha256:0bec4efe6769c4c4352aa57406426d6e6a4547913d49331bd53422176d8140f9 Copying blob sha256:615e373a8d0ebfee403bca2afcb64174366b0eb89c87be173fa27b15f855afd5 Copying blob sha256:dd85c762d757ae238d9d23d1c7baf7cdd6493d2380ea8a2f2877f757dc059eef Copying blob sha256:8777026a4ca8ded9fc4c2c5594b5191f5db89c023500902ac56b66f32d715988 Copying blob sha256:200fcd5e232203172a2a4d607747331f69f2cbf95726c11ab496c4df07b0cd7a Copying config sha256:214611a9f3f424d445909b0e4bf0b6b58071b0ec729fa9c6e48e5d1a4fb8799d Writing manifest to image destination Storing signatures Loaded image(s): localhost/mitre/heimdall2:version-2.4.6 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:version-2.4.6 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:5e51e24c6acb0b664f261fdbdbbb54785a212cfb815c5f61ab7d13670d04350b Copying blob sha256:14043f842cf0086812c16301d04eb312556955bf93d9b2d2163fb59d39757ef8 Copying blob sha256:dfbb654e0802bf9cf6773d4a72c7ac40c33116f77b4d4ce3023f957f2b4f8208 Copying blob sha256:d9e472e923b8e9de0966b7c6df9a5fc2991fd6517c1a34dbfc8c7c82166403f9 Copying blob sha256:52c9473de089af01bed9b70b0c8e68599c49917031c84389326d3ec0706921cb Copying blob sha256:35bb09e01669a60c3ba144f78241778b1348814214c80dade6b96ffff940626f Copying blob sha256:f393f66f8cca81e056aa13d3c99c9a0ad66e5f37636e9ac0b554a765d3aee4d7 --> 7fc6c4324b3 Copying blob sha256:78cc6388f2da0ded665473fccb0235d2d977601a74067737b47e651e3deee577 STEP 2: FROM registry1.dso.mil/ironbank/opensource/nodejs/nodejs14:14.17.0 Copying blob sha256:03e57757d77e23ead7c905c2fe970466ecd7ef570915e87854bbfee0efae0fa4 Copying blob sha256:e902d8201f139394ed7a0ff4a7b638f48e21c3a49bbcbe9abe2160dcc32b2b97 Copying blob sha256:f5028a67e52a725fb706a563671a0428b546671efbca0f47e5acc145eb28fe7b Copying blob sha256:0bec4efe6769c4c4352aa57406426d6e6a4547913d49331bd53422176d8140f9 Copying blob sha256:615e373a8d0ebfee403bca2afcb64174366b0eb89c87be173fa27b15f855afd5 Copying blob sha256:dd85c762d757ae238d9d23d1c7baf7cdd6493d2380ea8a2f2877f757dc059eef Copying blob sha256:200fcd5e232203172a2a4d607747331f69f2cbf95726c11ab496c4df07b0cd7a Copying blob sha256:8777026a4ca8ded9fc4c2c5594b5191f5db89c023500902ac56b66f32d715988 Copying config sha256:7fc6c4324b36c93967406d7c96a6a81fe42d3db756ba5b1a31db277059333651 Writing manifest to image destination Storing signatures Getting image source signatures Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:1e0789b03ae052ec113dbe2ce7151e71ef13f2b14a2468aff67a231752eab522 Copying blob sha256:48711ea248deeca4f0ee9019a54492c282ea801ad314bf818345595c6c98bafc Copying config sha256:5ea5e63e0ad4ead628776135fa3452454ba0bc349af7068f5ee77b10623b222e Writing manifest to image destination Storing signatures STEP 3: COPY yarn.tar.gz / STEP 4: WORKDIR / STEP 5: USER root STEP 6: RUN 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.575s STEP 7: RUN groupadd -g 1002 heimdall && useradd -r -u 1002 -m -s /sbin/nologin -g heimdall heimdall && mkdir -p /heimdall/logs && mkdir -p /heimdall/file && mkdir -p /heimdall/config && chown -R heimdall:heimdall /heimdall STEP 8: WORKDIR /heimdall STEP 9: COPY --from=source /app . STEP 10: COPY scripts/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh STEP 11: USER heimdall 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:79d5cde09f8ca5492b622b9dea6aa1df9173f85f75e1591d846f5d4efae614c1 Copying blob sha256:c69e2b9c45d50df72551c8b61624b98e985b4d17004214d9e5d55b3c009d0931 Copying blob sha256:e29aa8d5c7c03cfbcb50325cab8530e7fa9e7644a3a6e1386949162a1f7e06fb Copying config sha256:0308fb17b166699f4ee9649f9692b28584459d5bf2fe69fea29fdb7c76d38dbc Writing manifest to image destination Storing signatures --> 0308fb17b16 0308fb17b166699f4ee9649f9692b28584459d5bf2fe69fea29fdb7c76d38dbc + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2 registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:279750 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:279750 Getting image source signatures Copying blob sha256:79d5cde09f8ca5492b622b9dea6aa1df9173f85f75e1591d846f5d4efae614c1 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:c69e2b9c45d50df72551c8b61624b98e985b4d17004214d9e5d55b3c009d0931 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:e29aa8d5c7c03cfbcb50325cab8530e7fa9e7644a3a6e1386949162a1f7e06fb Copying config sha256:0308fb17b166699f4ee9649f9692b28584459d5bf2fe69fea29fdb7c76d38dbc 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.6 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:2.4.6 Getting image source signatures Copying blob sha256:c69e2b9c45d50df72551c8b61624b98e985b4d17004214d9e5d55b3c009d0931 Copying blob sha256:79d5cde09f8ca5492b622b9dea6aa1df9173f85f75e1591d846f5d4efae614c1 Copying blob sha256:e29aa8d5c7c03cfbcb50325cab8530e7fa9e7644a3a6e1386949162a1f7e06fb Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying config sha256:0308fb17b166699f4ee9649f9692b28584459d5bf2fe69fea29fdb7c76d38dbc 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:79d5cde09f8ca5492b622b9dea6aa1df9173f85f75e1591d846f5d4efae614c1 Copying blob sha256:c69e2b9c45d50df72551c8b61624b98e985b4d17004214d9e5d55b3c009d0931 Copying blob sha256:e29aa8d5c7c03cfbcb50325cab8530e7fa9e7644a3a6e1386949162a1f7e06fb Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying config sha256:0308fb17b166699f4ee9649f9692b28584459d5bf2fe69fea29fdb7c76d38dbc 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-05-26T20:15:05Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/podab1f8021-2e4b-442a-b94f-72be65eb0b4e/a85cbe394e568d56269e1a503830b01ac6f2bc1df9f8ddc5644086892e0dcd1b: no such file or directory" + IMAGE_ID=sha256:0308fb17b166699f4ee9649f9692b28584459d5bf2fe69fea29fdb7c76d38dbc + echo IMAGE_ID=sha256:0308fb17b166699f4ee9649f9692b28584459d5bf2fe69fea29fdb7c76d38dbc + IMAGE_PODMAN_SHA=sha256:4bc693fe1a1babb89084ad3ba3d96828d8dad28e590778bad058eee6f4099bd2 + echo IMAGE_PODMAN_SHA=sha256:4bc693fe1a1babb89084ad3ba3d96828d8dad28e590778bad058eee6f4099bd2 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:279750 + echo IMAGE_NAME=mitre/saf/heimdall2 section_end:1622060105:step_script section_start:1622060105: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=3610646 responseStatus=201 Created token=bt4SSpSu Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=3610646 responseStatus=201 Created token=bt4SSpSu section_end:1622060106:upload_artifacts_on_success section_start:1622060106:cleanup_file_variables Cleaning up file based variables section_end:1622060106:cleanup_file_variables Job succeeded