Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-5f4b468dff-8vfv5 BsbAJu5w section_start:1622634024:resolve_secrets Resolving secrets section_end:1622634024:resolve_secrets section_start:1622634024: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:1622634024:prepare_executor section_start:1622634024:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-bsbaju5w-project-5450-concurrent-1x2h6w to be running, status is Pending Running on runner-bsbaju5w-project-5450-concurrent-1x2h6w via dsop-shared-gitlab-runner-5f4b468dff-8vfv5... section_end:1622634027:prepare_script section_start:1622634027: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 d1aecac0 as renovate4baseimage... Skipping Git submodules setup section_end:1622634028:get_sources section_start:1622634028:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (3764353)... Downloading artifacts from coordinator... ok  id=3764353 responseStatus=200 OK token=tyCaChbt Downloading artifacts for import-artifacts (3764355)... Downloading artifacts from coordinator... ok  id=3764355 responseStatus=200 OK token=nAXDKgun Downloading artifacts for load-scripts (3764350)... Downloading artifacts from coordinator... ok  id=3764350 responseStatus=200 OK token=PUx2JeVN Downloading artifacts for wl-compare-lint (3764354)... Downloading artifacts from coordinator... ok  id=3764354 responseStatus=200 OK token=fZMJptJU section_end:1622634036:download_artifacts section_start:1622634036: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.7.tar time="2021-06-02T11:40:36Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod6a56796c-fcd4-4f51-98d1-b1461b325d37/54cb8f355e61c29d050a40af97c0db29366e604c8df77b2dd7016afabddff976: no such file or directory" Getting image source signatures Copying blob sha256:eaffd8f3cab70e71a97f5d4a4aad58abfe3c137dd657df40fc3846c681a11d4a Copying blob sha256:4371070eefc22da355a3c662df52cd82fc1221cb16040f0c55d29e2df8afd28c Copying blob sha256:9a5d14f9f5503e55088666beef7e85a8d9625d4fa7418e2fe269e9c54bcb853c Copying blob sha256:7ac403108588c0cc4ca20fe8f653652e00931b8d14bfdf6811af54e56d49a3e4 Copying blob sha256:9b437d941848d9077b027fe97481dbdaa04642a68b22fde919c7a16fdc797be5 Copying blob sha256:5e51e24c6acb0b664f261fdbdbbb54785a212cfb815c5f61ab7d13670d04350b Copying blob sha256:d80059e6df431744a7eb275f6ef2729da4d0ee0a3fcbade94b7e7b2a39253a97 Copying blob sha256:6db7fba071d6ce6d304a9c6a42c32a78f3980f8d9cfb9844a8c179a2967c3c2f Copying blob sha256:b0e9b376b2c15e21f21b38c02d4f98ececff5941f4b1da1918edbba2b41b1305 Copying blob sha256:694c394c3a6b751299b9a14268e3c86f7b749c77df31448ed2a40e860aef13d0 Copying blob sha256:40aaf832c4e481dc1546edd73d40326d9597a56df1cc47a5221cafad81befa82 Copying blob sha256:ce2844c4e468f129f28d87ac363408731352332640afdca5bc4d8884b3247c09 Copying blob sha256:d6db4e59364d1fdbf6dee0914790c979b9a23bd31ba4c410507b86aa0c357569 Copying blob sha256:6faca3f01d9bfa24faeb680abb28ec9092083269b36f59d475de658ec3d70480 Copying blob sha256:e115e7bc456ad4103ff172f904d266e3fd6778922dd15347454b52320f3a4fab Copying blob sha256:f1580793b6ca748c224045a95957879aeed0e3056a13bc2e49b50a6f8e522383 Copying blob sha256:65bcae6deabedc93b2d4a0234365be7d128d0e42cd89915a9187805a5500fcfa Copying blob sha256:de286e802c42088cf569b9ddd376cc83e93710fe5665a34e780f0750ba2b0933 Copying blob sha256:75ffde7349f09a7c9dc929f8a6b3653b3839e7995bc140d356f7c3707f37656a Copying blob sha256:9ab6f983ca943b1f35d6de2c69e5799030e27ae7b23cd68587584db8017f184f Copying config sha256:b0893c39f8b43e94d53e1942e4a47843d6533d19af8a5c80ae25caa7c5d5919a Writing manifest to image destination Storing signatures Loaded image(s): localhost/mitre/heimdall2:version-2.4.7 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.7 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:eaffd8f3cab70e71a97f5d4a4aad58abfe3c137dd657df40fc3846c681a11d4a Copying blob sha256:d80059e6df431744a7eb275f6ef2729da4d0ee0a3fcbade94b7e7b2a39253a97 Copying blob sha256:6db7fba071d6ce6d304a9c6a42c32a78f3980f8d9cfb9844a8c179a2967c3c2f Copying blob sha256:b0e9b376b2c15e21f21b38c02d4f98ececff5941f4b1da1918edbba2b41b1305 Copying blob sha256:694c394c3a6b751299b9a14268e3c86f7b749c77df31448ed2a40e860aef13d0 Copying blob sha256:40aaf832c4e481dc1546edd73d40326d9597a56df1cc47a5221cafad81befa82 Copying blob sha256:ce2844c4e468f129f28d87ac363408731352332640afdca5bc4d8884b3247c09 Copying blob sha256:d6db4e59364d1fdbf6dee0914790c979b9a23bd31ba4c410507b86aa0c357569 Copying blob sha256:6faca3f01d9bfa24faeb680abb28ec9092083269b36f59d475de658ec3d70480 Copying blob sha256:e115e7bc456ad4103ff172f904d266e3fd6778922dd15347454b52320f3a4fab Copying blob sha256:65bcae6deabedc93b2d4a0234365be7d128d0e42cd89915a9187805a5500fcfa Copying blob sha256:f1580793b6ca748c224045a95957879aeed0e3056a13bc2e49b50a6f8e522383 Copying blob sha256:de286e802c42088cf569b9ddd376cc83e93710fe5665a34e780f0750ba2b0933 Copying blob sha256:75ffde7349f09a7c9dc929f8a6b3653b3839e7995bc140d356f7c3707f37656a Copying blob sha256:9ab6f983ca943b1f35d6de2c69e5799030e27ae7b23cd68587584db8017f184f Copying config sha256:2e126c437f3e125c71c1f1f229790e282a7c8b12e8285154e29bfabaa4a00705 Writing manifest to image destination Storing signatures --> 2e126c437f3 STEP 2: FROM registry1.dso.mil/ironbank/opensource/nodejs/nodejs14:14.17.0 Getting image source signatures Copying blob sha256:2b776179ae0b691d772021aed402005573cb9f075ca52ba8530696e7d9524371 Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:f771c21975febf4d4d495edfd0639df29c4abcbc02fa839c9bd9f6021dfdcb62 Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying config sha256:56cef7d20ea849d13625545f313c720e6daf26681df7cd6491dcd126263fbb2c 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.598s 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:1d74a26b177471a63867a61ba64babbb9301be5ad63a3758f119866750527bea Copying blob sha256:25689b6a63fc104b0a4f49be32fe4d2a68ba998aed4923318aae701ec12cceaa Copying blob sha256:797b75796213d4a5eba220a4312fccd3d9cb2aa0d94444f46e4744ebd9f348e9 Copying config sha256:3583f119bb62d8a879d293b7a5f2adee8167cac2970d8e857ae445d90f9313b2 Writing manifest to image destination Storing signatures --> 3583f119bb6 3583f119bb62d8a879d293b7a5f2adee8167cac2970d8e857ae445d90f9313b2 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2 registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:290521 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:290521 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:1d74a26b177471a63867a61ba64babbb9301be5ad63a3758f119866750527bea Copying blob sha256:25689b6a63fc104b0a4f49be32fe4d2a68ba998aed4923318aae701ec12cceaa Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:797b75796213d4a5eba220a4312fccd3d9cb2aa0d94444f46e4744ebd9f348e9 Copying config sha256:3583f119bb62d8a879d293b7a5f2adee8167cac2970d8e857ae445d90f9313b2 Writing manifest to image destination Storing signatures + 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.7 Read the tags + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:2.4.7 Getting image source signatures Copying blob sha256:25689b6a63fc104b0a4f49be32fe4d2a68ba998aed4923318aae701ec12cceaa Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:797b75796213d4a5eba220a4312fccd3d9cb2aa0d94444f46e4744ebd9f348e9 Copying blob sha256:1d74a26b177471a63867a61ba64babbb9301be5ad63a3758f119866750527bea Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:3583f119bb62d8a879d293b7a5f2adee8167cac2970d8e857ae445d90f9313b2 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:797b75796213d4a5eba220a4312fccd3d9cb2aa0d94444f46e4744ebd9f348e9 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:25689b6a63fc104b0a4f49be32fe4d2a68ba998aed4923318aae701ec12cceaa Copying blob sha256:1d74a26b177471a63867a61ba64babbb9301be5ad63a3758f119866750527bea Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:3583f119bb62d8a879d293b7a5f2adee8167cac2970d8e857ae445d90f9313b2 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-02T11:46:56Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod6a56796c-fcd4-4f51-98d1-b1461b325d37/54cb8f355e61c29d050a40af97c0db29366e604c8df77b2dd7016afabddff976: no such file or directory" + IMAGE_ID=sha256:3583f119bb62d8a879d293b7a5f2adee8167cac2970d8e857ae445d90f9313b2 + echo IMAGE_ID=sha256:3583f119bb62d8a879d293b7a5f2adee8167cac2970d8e857ae445d90f9313b2 + IMAGE_PODMAN_SHA=sha256:cdbbd7d986e2163845323c658c9d77c09cfa4981cee4406e9725cd216b19d62a + echo IMAGE_PODMAN_SHA=sha256:cdbbd7d986e2163845323c658c9d77c09cfa4981cee4406e9725cd216b19d62a + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:290521 + echo IMAGE_NAME=mitre/saf/heimdall2 section_end:1622634416:step_script section_start:1622634416: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=3764357 responseStatus=201 Created token=8x4LsiPE Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=3764357 responseStatus=201 Created token=8x4LsiPE section_end:1622634417:upload_artifacts_on_success section_start:1622634417:cleanup_file_variables Cleaning up file based variables section_end:1622634418:cleanup_file_variables Job succeeded