Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1626383952:resolve_secrets Resolving secrets section_end:1626383952:resolve_secrets section_start:1626383952: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.2 ... section_end:1626383952:prepare_executor section_start:1626383952:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-4786-concurrent-0dqg4n to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-4786-concurrent-0dqg4n to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper istio-proxy]" ContainersNotReady: "containers with unready status: [build helper istio-proxy]" Running on runner-e82g8rg-project-4786-concurrent-0dqg4n via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1626383959:prepare_script section_start:1626383959:get_sources Getting source from Git repository $ until [ $(curl --fail --silent --output /dev/stderr --write-out "%{http_code}" localhost:15020/healthz/ready) -eq 200 ]; do echo Waiting for Sidecar; sleep 3 ; done ; echo Sidecar available; Sidecar available Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/coder-enterprise/coder-enterprise/dashboard/.git/ Created fresh repository. Checking out 22c6c29c as development... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1626383959:get_sources section_start:1626383959:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (4843487)... Downloading artifacts from coordinator... ok  id=4843487 responseStatus=200 OK token=21wHuwg1 WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (4843489)... Downloading artifacts from coordinator... ok  id=4843489 responseStatus=200 OK token=-1gxRPhh WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (4843484)... Downloading artifacts from coordinator... ok  id=4843484 responseStatus=200 OK token=JFZzoT6m WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (4843488)... Downloading artifacts from coordinator... ok  id=4843488 responseStatus=200 OK token=KXn6symd WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1626383962:download_artifacts section_start:1626383962: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 Load HTTP and S3 external resources 'ci-artifacts/import-artifacts/external-resources/dashboard.tar.gz' -> './dashboard.tar.gz' 'ci-artifacts/import-artifacts/external-resources/nodejs12.rpm' -> './nodejs12.rpm' 'ci-artifacts/import-artifacts/external-resources/nodesource.gpg' -> './nodesource.gpg' 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 registry1.dso.mil/ironbank/redhat/ubi/ubi8:8.4 Getting image source signatures Copying blob sha256:7bffd4976fb7e35a0cc08e0645c46384db069719066125d679b0eeca086bc537 Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying config sha256:c1d714dd6ba4c1c94bae10ace4f541c3dbbe5e2f431136380023cc76a23c4aa2 Writing manifest to image destination Storing signatures STEP 2: SHELL ["/bin/bash", "-c"] STEP 3: ENV LANG=en_US.UTF-8 STEP 4: RUN dnf update -y && dnf install -y bash ca-certificates coreutils-single curl && dnf clean all Red Hat Universal Base Image 8 (RPMs) - BaseOS 79 kB/s | 790 kB 00:10 Red Hat Universal Base Image 8 (RPMs) - AppStre 245 kB/s | 2.4 MB 00:09 Red Hat Universal Base Image 8 (RPMs) - CodeRea 1.5 kB/s | 14 kB 00:09 Dependencies resolved. Nothing to do. Complete! Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:00:01 ago on Thu Jul 15 21:20:13 2021. Package bash-4.4.20-1.el8_4.x86_64 is already installed. Package ca-certificates-2020.2.41-80.0.el8_2.noarch is already installed. Package coreutils-single-8.30-8.el8.x86_64 is already installed. Package curl-7.61.1-18.el8.x86_64 is already installed. Failed to set locale, defaulting to C.UTF-8 Dependencies resolved. Nothing to do. Complete! 25 files removed Failed to set locale, defaulting to C.UTF-8 STEP 5: ARG NODESOURCE_KEY=nodesource.gpg STEP 6: COPY $NODESOURCE_KEY /tmp/nodesource.gpg STEP 7: ARG NODEJS_RPM=nodejs12.rpm STEP 8: COPY $NODEJS_RPM /tmp/nodejs12.rpm STEP 9: RUN rpm --import /tmp/nodesource.gpg && dnf update -y && dnf install -y python3-pip python3-setuptools python36 /tmp/nodejs12.rpm Red Hat Universal Base Image 8 (RPMs) - BaseOS 79 kB/s | 790 kB 00:10 Red Hat Universal Base Image 8 (RPMs) - AppStre 245 kB/s | 2.4 MB 00:09 Red Hat Universal Base Image 8 (RPMs) - CodeRea 1.5 kB/s | 14 kB 00:09 Dependencies resolved. Nothing to do. Complete! Failed to set locale, defaulting to C.UTF-8 Dependencies resolved. ========================================================================================== Package Arch Version Repository Size ========================================================================================== Installing: nodejs x86_64 2:12.22.1-1nodesource @commandline 22 M python3-pip noarch 9.0.3-19.el8 ubi-8-appstream 20 k python3-setuptools noarch 39.2.0-6.el8 ubi-8-baseos 163 k python36 x86_64 3.6.8-2.module+el8.1.0+3334+5cb623d7 ubi-8-appstream 19 k Installing dependencies: platform-python-pip noarch 9.0.3-19.el8 ubi-8-baseos 1.7 M Enabling module streams: python36 3.6 Transaction Summary ========================================================================================== Install 5 Packages Total size: 24 M Total download size: 1.9 M Installed size: 75 M Downloading Packages: [MIRROR] python3-setuptools-39.2.0-6.el8.noarch.rpm: Curl error (28): Timeout was reached for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/Packages/p/python3-setuptools-39.2.0-6.el8.noarch.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] [MIRROR] platform-python-pip-9.0.3-19.el8.noarch.rpm: Curl error (28): Timeout was reached for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/Packages/p/platform-python-pip-9.0.3-19.el8.noarch.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] [MIRROR] python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64.rpm: Curl error (28): Timeout was reached for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/appstream/os/Packages/p/python36-3.6.8-2.module%2bel8.1.0%2b3334%2b5cb623d7.x86_64.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] (1/4): python36-3.6.8-2.module+el8.1.0+3334+5cb 3.8 kB/s | 19 kB 00:05 (2/4): python3-setuptools-39.2.0-6.el8.noarch.r 32 kB/s | 163 kB 00:05 (3/4): python3-pip-9.0.3-19.el8.noarch.rpm 6.5 MB/s | 20 kB 00:00 (4/4): platform-python-pip-9.0.3-19.el8.noarch. 346 kB/s | 1.7 MB 00:05 -------------------------------------------------------------------------------- Total 386 kB/s | 1.9 MB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : platform-python-pip-9.0.3-19.el8.noarch 1/5 Installing : python3-setuptools-39.2.0-6.el8.noarch 2/5 Installing : python3-pip-9.0.3-19.el8.noarch 3/5 Installing : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 4/5 Running scriptlet: python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 4/5 Running scriptlet: nodejs-2:12.22.1-1nodesource.x86_64 5/5 Installing : nodejs-2:12.22.1-1nodesource.x86_64 5/5 Running scriptlet: nodejs-2:12.22.1-1nodesource.x86_64 5/5 Verifying : python3-setuptools-39.2.0-6.el8.noarch 1/5 Verifying : platform-python-pip-9.0.3-19.el8.noarch 2/5 Verifying : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 3/5 Verifying : python3-pip-9.0.3-19.el8.noarch 4/5 Verifying : nodejs-2:12.22.1-1nodesource.x86_64 5/5 Installed products updated. Installed: nodejs-2:12.22.1-1nodesource.x86_64 platform-python-pip-9.0.3-19.el8.noarch python3-pip-9.0.3-19.el8.noarch python3-setuptools-39.2.0-6.el8.noarch python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 Complete! Failed to set locale, defaulting to C.UTF-8 STEP 10: RUN useradd coder --create-home --uid=1000 && chmod 0755 /home/coder STEP 11: USER coder STEP 12: ARG DASHBOARD=dashboard.tar.gz STEP 13: COPY $DASHBOARD /home/coder STEP 14: RUN mkdir /home/coder/dashboard && tar --extract --gzip --file=/home/coder/$DASHBOARD --directory=/home/coder/dashboard STEP 15: WORKDIR /home/coder/dashboard STEP 16: RUN rm -rf /home/coder/dashboard/node_modules/parse-asn1/test /home/coder/dashboard/node_modules/public-encrypt/test STEP 17: ENTRYPOINT [ "npx", "next", "start" ] STEP 18: COMMIT registry1.dso.mil/ironbank-staging/coder/coder-enterprise/dashboard Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:b137b847e45790dd4571a561626248447311c16dd33e11be1d4df976295ccdff Copying blob sha256:64b21c9849ab52b6b663769b6be66eb128f4b8617568c57016abad66a9476246 Copying config sha256:c93e2ff211f94d26d332bfb29556263983556e87bd1436a323fe9cdd56335eb8 Writing manifest to image destination Storing signatures --> c93e2ff211f c93e2ff211f94d26d332bfb29556263983556e87bd1436a323fe9cdd56335eb8 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/coder/coder-enterprise/dashboard registry1.dso.mil/ironbank-staging/coder/coder-enterprise/dashboard:ibci-368774 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/coder/coder-enterprise/dashboard:ibci-368774 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:b137b847e45790dd4571a561626248447311c16dd33e11be1d4df976295ccdff Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:64b21c9849ab52b6b663769b6be66eb128f4b8617568c57016abad66a9476246 Copying config sha256:c93e2ff211f94d26d332bfb29556263983556e87bd1436a323fe9cdd56335eb8 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 Read the tags + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/coder/coder-enterprise/dashboard registry1.dso.mil/ironbank-staging/coder/coder-enterprise/dashboard:1.19.0 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/coder/coder-enterprise/dashboard:1.19.0 Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:b137b847e45790dd4571a561626248447311c16dd33e11be1d4df976295ccdff Copying blob sha256:64b21c9849ab52b6b663769b6be66eb128f4b8617568c57016abad66a9476246 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying config sha256:c93e2ff211f94d26d332bfb29556263983556e87bd1436a323fe9cdd56335eb8 Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/coder/coder-enterprise/dashboard registry1.dso.mil/ironbank-staging/coder/coder-enterprise/dashboard:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/coder/coder-enterprise/dashboard:latest Getting image source signatures Copying blob sha256:b137b847e45790dd4571a561626248447311c16dd33e11be1d4df976295ccdff Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:64b21c9849ab52b6b663769b6be66eb128f4b8617568c57016abad66a9476246 Copying config sha256:c93e2ff211f94d26d332bfb29556263983556e87bd1436a323fe9cdd56335eb8 Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/coder/coder-enterprise/dashboard --format '{{.Id}}' time="2021-07-15T21:22:51Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/podda48b64b-b6da-4b24-97df-97783d44e2fa/ea5faf7dd476d2edb692ea8c0b5d091c4627e98ba143355d462c2d9707dd5777: no such file or directory" + IMAGE_ID=sha256:c93e2ff211f94d26d332bfb29556263983556e87bd1436a323fe9cdd56335eb8 + echo IMAGE_ID=sha256:c93e2ff211f94d26d332bfb29556263983556e87bd1436a323fe9cdd56335eb8 A tarball of the built image can be retrieved from the documentation job artifacts. + IMAGE_PODMAN_SHA=sha256:680beef59d077e8902db8e754e5ba018b502a9142a680316b1b551b894dd6a3e + echo IMAGE_PODMAN_SHA=sha256:680beef59d077e8902db8e754e5ba018b502a9142a680316b1b551b894dd6a3e + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/coder/coder-enterprise/dashboard:ibci-368774 + echo IMAGE_NAME=coder/coder-enterprise/dashboard + 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:1626384171:step_script section_start:1626384171: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=4843491 responseStatus=201 Created token=sDJeLv5o Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=4843491 responseStatus=201 Created token=sDJeLv5o section_end:1626384172:upload_artifacts_on_success section_start:1626384172:cleanup_file_variables Cleaning up file based variables section_end:1626384172:cleanup_file_variables Job succeeded