Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-5f4b468dff-8vfv5 BsbAJu5w section_start:1622224176:resolve_secrets Resolving secrets section_end:1622224176:resolve_secrets section_start:1622224176: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:1622224176:prepare_executor section_start:1622224176:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-bsbaju5w-project-5450-concurrent-0596q6 to be running, status is Pending Running on runner-bsbaju5w-project-5450-concurrent-0596q6 via dsop-shared-gitlab-runner-5f4b468dff-8vfv5... section_end:1622224179:prepare_script section_start:1622224179: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 89a1487e as development... Skipping Git submodules setup section_end:1622224180:get_sources section_start:1622224180:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (3657906)... Downloading artifacts from coordinator... ok  id=3657906 responseStatus=200 OK token=UExxzzYH Downloading artifacts for import-artifacts (3657908)... Downloading artifacts from coordinator... ok  id=3657908 responseStatus=200 OK token=ijAusj2B Downloading artifacts for load-scripts (3657903)... Downloading artifacts from coordinator... ok  id=3657903 responseStatus=200 OK token=92SYqBQa Downloading artifacts for wl-compare-lint (3657907)... Downloading artifacts from coordinator... ok  id=3657907 responseStatus=200 OK token=B4tACh1V section_end:1622224188:download_artifacts section_start:1622224188: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-05-28T17:49:48Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/poda7de393b-200a-4bb3-a1b4-42afea910de2/c888bc55f2cb71833350185034db609eeae34e92fd639cda82e34904653b6216: no such file or directory" Getting image source signatures Copying blob sha256:eaffd8f3cab70e71a97f5d4a4aad58abfe3c137dd657df40fc3846c681a11d4a Copying blob sha256:4371070eefc22da355a3c662df52cd82fc1221cb16040f0c55d29e2df8afd28c Copying blob sha256:7ac403108588c0cc4ca20fe8f653652e00931b8d14bfdf6811af54e56d49a3e4 Copying blob sha256:9a5d14f9f5503e55088666beef7e85a8d9625d4fa7418e2fe269e9c54bcb853c Copying blob sha256:5e51e24c6acb0b664f261fdbdbbb54785a212cfb815c5f61ab7d13670d04350b Copying blob sha256:9b437d941848d9077b027fe97481dbdaa04642a68b22fde919c7a16fdc797be5 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: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 --> 45dfe3890e6 Copying blob sha256:de286e802c42088cf569b9ddd376cc83e93710fe5665a34e780f0750ba2b0933 Copying blob sha256:75ffde7349f09a7c9dc929f8a6b3653b3839e7995bc140d356f7c3707f37656a STEP 2: FROM registry1.dso.mil/ironbank/opensource/nodejs/nodejs14:14.17.0 Copying blob sha256:9ab6f983ca943b1f35d6de2c69e5799030e27ae7b23cd68587584db8017f184f Copying config sha256:45dfe3890e6529e7f8c964285d324ada8dc079bead7df0bd80ce38290cfeae67 Writing manifest to image destination Storing signatures Getting image source signatures Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying blob sha256:744b1bdaca1a394a0c090871eaf7817b697004a9530d342d585f4d9e5c259de0 Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:214a251e9abcb47c68247dc0ecec09434bb5c0c9606b386fb3faac2b1fbe82c9 Copying config sha256:226e1188e2fc4af52e9717ad20310dd25bd8dda39884562b54b1a15a0f0efae4 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.51s 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:d2e2466cad6cb0fe1b4985f4fa540783019ad3dad4c07b09707620422159f75a Copying blob sha256:169095b22d3896506a007ce8b54a21016767f605c5b4b16b36fccad795e403ed Copying blob sha256:366ba85ce9e49cc42a3b0784513cc657784929d321078cf0fd7ccec75054952c Copying config sha256:db34c7273db3b99c880503a4cb24256c0a411193a07263545cc18ccb5585128c Writing manifest to image destination Storing signatures --> db34c7273db db34c7273db3b99c880503a4cb24256c0a411193a07263545cc18ccb5585128c + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2 registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:283275 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:283275 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:d2e2466cad6cb0fe1b4985f4fa540783019ad3dad4c07b09707620422159f75a Copying blob sha256:169095b22d3896506a007ce8b54a21016767f605c5b4b16b36fccad795e403ed Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:366ba85ce9e49cc42a3b0784513cc657784929d321078cf0fd7ccec75054952c Copying config sha256:db34c7273db3b99c880503a4cb24256c0a411193a07263545cc18ccb5585128c 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.7 + 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:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:366ba85ce9e49cc42a3b0784513cc657784929d321078cf0fd7ccec75054952c Copying blob sha256:169095b22d3896506a007ce8b54a21016767f605c5b4b16b36fccad795e403ed Copying blob sha256:d2e2466cad6cb0fe1b4985f4fa540783019ad3dad4c07b09707620422159f75a Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying config sha256:db34c7273db3b99c880503a4cb24256c0a411193a07263545cc18ccb5585128c 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:366ba85ce9e49cc42a3b0784513cc657784929d321078cf0fd7ccec75054952c Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:169095b22d3896506a007ce8b54a21016767f605c5b4b16b36fccad795e403ed Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:d2e2466cad6cb0fe1b4985f4fa540783019ad3dad4c07b09707620422159f75a Copying config sha256:db34c7273db3b99c880503a4cb24256c0a411193a07263545cc18ccb5585128c 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-28T17:55:16Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/poda7de393b-200a-4bb3-a1b4-42afea910de2/c888bc55f2cb71833350185034db609eeae34e92fd639cda82e34904653b6216: no such file or directory" + IMAGE_ID=sha256:db34c7273db3b99c880503a4cb24256c0a411193a07263545cc18ccb5585128c + echo IMAGE_ID=sha256:db34c7273db3b99c880503a4cb24256c0a411193a07263545cc18ccb5585128c + IMAGE_PODMAN_SHA=sha256:b0694bb8230b15d06f4904673287f769ae967b0adbce6fbaaa3069a7d4dbf5c4 + echo IMAGE_PODMAN_SHA=sha256:b0694bb8230b15d06f4904673287f769ae967b0adbce6fbaaa3069a7d4dbf5c4 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:283275 + echo IMAGE_NAME=mitre/saf/heimdall2 section_end:1622224516:step_script section_start:1622224516: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=3657910 responseStatus=201 Created token=sw6zUsXY Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=3657910 responseStatus=201 Created token=sw6zUsXY section_end:1622224517:upload_artifacts_on_success section_start:1622224517:cleanup_file_variables Cleaning up file based variables section_end:1622224517:cleanup_file_variables Job succeeded