Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-5f4b468dff-8vfv5 BsbAJu5w section_start:1622667792:resolve_secrets Resolving secrets section_end:1622667792:resolve_secrets section_start:1622667792: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:1622667792:prepare_executor section_start:1622667792:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-bsbaju5w-project-5450-concurrent-0ngzf9 to be running, status is Pending Running on runner-bsbaju5w-project-5450-concurrent-0ngzf9 via dsop-shared-gitlab-runner-5f4b468dff-8vfv5... section_end:1622667795:prepare_script section_start:1622667795: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 ea68ca5f as renovate4baseimage... Skipping Git submodules setup section_end:1622667796:get_sources section_start:1622667796:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (3772981)... Downloading artifacts from coordinator... ok  id=3772981 responseStatus=200 OK token=jT4BKHH8 Downloading artifacts for import-artifacts (3772983)... Downloading artifacts from coordinator... ok  id=3772983 responseStatus=200 OK token=Xy5Jx93H Downloading artifacts for load-scripts (3772978)... Downloading artifacts from coordinator... ok  id=3772978 responseStatus=200 OK token=NrsEaZVF Downloading artifacts for wl-compare-lint (3772982)... Downloading artifacts from coordinator... ok  id=3772982 responseStatus=200 OK token=zEMHJs8y section_end:1622667804:download_artifacts section_start:1622667804: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-02T21:03:25Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod938cff43-ab64-4f76-829a-0f136358e3ba/8ff081e31a5af7b1901eb15a0328504a89c8c8905ad0805bdb4da65abd65a4d3: no such file or directory" Getting image source signatures Copying blob sha256:eaffd8f3cab70e71a97f5d4a4aad58abfe3c137dd657df40fc3846c681a11d4a Copying blob sha256:4371070eefc22da355a3c662df52cd82fc1221cb16040f0c55d29e2df8afd28c Copying blob sha256:7ac403108588c0cc4ca20fe8f653652e00931b8d14bfdf6811af54e56d49a3e4 Copying blob sha256:9b437d941848d9077b027fe97481dbdaa04642a68b22fde919c7a16fdc797be5 Copying blob sha256:9a5d14f9f5503e55088666beef7e85a8d9625d4fa7418e2fe269e9c54bcb853c 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: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 Copying blob sha256:de286e802c42088cf569b9ddd376cc83e93710fe5665a34e780f0750ba2b0933 Copying blob sha256:75ffde7349f09a7c9dc929f8a6b3653b3839e7995bc140d356f7c3707f37656a Copying blob sha256:9ab6f983ca943b1f35d6de2c69e5799030e27ae7b23cd68587584db8017f184f Copying config sha256:1acbf1162de8abbd2ce36bf1d96939a45f73ea46333de8dcc4c369807e52ff4b Writing manifest to image destination Storing signatures --> 1acbf1162de STEP 2: FROM registry1.dso.mil/ironbank/opensource/nodejs/nodejs14:14.17.0 Getting image source signatures Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying blob sha256:d1f00c668867214921f68532fdf760383f8525bbab130580e573668a343e3b5b Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:395a02f1ae16ff6e89110e4d4f8fbd62302db9ed917f119325fda133c7d80138 Copying config sha256:de8d03b9996ce51ca832b2cd5bc2829a14730f77ed5efed595e8918895e9d452 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.547s 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:8f74d9ec50022d7800a41ea00b1421b5c9b671f62ae4472fad8c3f4dec005c9b Copying blob sha256:9b649093d2d193be4d3f4049650d815dc8c41a26e8106ad83e90cd10dc3ceee2 Copying blob sha256:9434400c1aedb54c1754f06a195dacaa36f46cb260bc474ca13a8f7b89c71e07 Copying config sha256:a434994786010974f6967f65d2d195c5720a6d8f86636a729828189f4edc93e6 Writing manifest to image destination Storing signatures --> a4349947860 a434994786010974f6967f65d2d195c5720a6d8f86636a729828189f4edc93e6 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2 registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:291254 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:291254 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:8f74d9ec50022d7800a41ea00b1421b5c9b671f62ae4472fad8c3f4dec005c9b Copying blob sha256:9b649093d2d193be4d3f4049650d815dc8c41a26e8106ad83e90cd10dc3ceee2 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:9434400c1aedb54c1754f06a195dacaa36f46cb260bc474ca13a8f7b89c71e07 Copying config sha256:a434994786010974f6967f65d2d195c5720a6d8f86636a729828189f4edc93e6 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:8f74d9ec50022d7800a41ea00b1421b5c9b671f62ae4472fad8c3f4dec005c9b Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:9434400c1aedb54c1754f06a195dacaa36f46cb260bc474ca13a8f7b89c71e07 Copying blob sha256:9b649093d2d193be4d3f4049650d815dc8c41a26e8106ad83e90cd10dc3ceee2 Copying config sha256:a434994786010974f6967f65d2d195c5720a6d8f86636a729828189f4edc93e6 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:9434400c1aedb54c1754f06a195dacaa36f46cb260bc474ca13a8f7b89c71e07 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:9b649093d2d193be4d3f4049650d815dc8c41a26e8106ad83e90cd10dc3ceee2 Copying blob sha256:8f74d9ec50022d7800a41ea00b1421b5c9b671f62ae4472fad8c3f4dec005c9b Copying config sha256:a434994786010974f6967f65d2d195c5720a6d8f86636a729828189f4edc93e6 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-02T21:09:04Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod938cff43-ab64-4f76-829a-0f136358e3ba/8ff081e31a5af7b1901eb15a0328504a89c8c8905ad0805bdb4da65abd65a4d3: no such file or directory" + IMAGE_ID=sha256:a434994786010974f6967f65d2d195c5720a6d8f86636a729828189f4edc93e6 + echo IMAGE_ID=sha256:a434994786010974f6967f65d2d195c5720a6d8f86636a729828189f4edc93e6 + IMAGE_PODMAN_SHA=sha256:2ee8ba419c0156f7f166efed086aa330f93955c54b499d738e144132982d3a29 + echo IMAGE_PODMAN_SHA=sha256:2ee8ba419c0156f7f166efed086aa330f93955c54b499d738e144132982d3a29 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/mitre/saf/heimdall2:291254 + echo IMAGE_NAME=mitre/saf/heimdall2 section_end:1622668144:step_script section_start:1622668144: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=3772985 responseStatus=201 Created token=zELThoqx Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=3772985 responseStatus=201 Created token=zELThoqx section_end:1622668145:upload_artifacts_on_success section_start:1622668145:cleanup_file_variables Cleaning up file based variables section_end:1622668145:cleanup_file_variables Job succeeded