Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1630015320:resolve_secrets Resolving secrets section_end:1630015320:resolve_secrets section_start:1630015320: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:1630015321:prepare_executor section_start:1630015321:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-440-concurrent-0qr67p to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-440-concurrent-0qr67p 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-440-concurrent-0qr67p via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1630015327:prepare_script section_start:1630015327: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; Waiting for Sidecar Sidecar available Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/opensource/mattermost/mattermost/.git/ Created fresh repository. Checking out b1a68db3 as development... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1630015330:get_sources section_start:1630015330:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (5973184)... Downloading artifacts from coordinator... ok  id=5973184 responseStatus=200 OK token=ybQTsByp WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (5973186)... Downloading artifacts from coordinator... ok  id=5973186 responseStatus=200 OK token=FFyPTBsf WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (5973181)... Downloading artifacts from coordinator... ok  id=5973181 responseStatus=200 OK token=byV4UvGu WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (5973185)... Downloading artifacts from coordinator... ok  id=5973185 responseStatus=200 OK token=xsagvQaD WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1630015337:download_artifacts section_start:1630015337: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/mattermost-mattermost-enterprise-edition-5.38.2.tar Getting image source signatures Copying blob sha256:bd3c7eb82008e999b7f6bba59463ef2c576b1d17c2da28270f9665089e51774e Copying blob sha256:ace0eda3e3be35a979cec764a3321b4c7d0b9e4bb3094d20d3ff6782961a8d54 Copying blob sha256:49da4076c307e1b8762cef671f90ef909b1a589e27df1f6bb58e708e9624374c Copying blob sha256:3cc1fb55e7d0c4adf32986650b7e2362ee8be62ed912c715412f207a3eb383f7 Copying config sha256:7dfe73815558bf3af2ba8658c478f4515b6dc9b8c567a94c0a8b7fc8930f0609 Writing manifest to image destination Storing signatures Loaded image(s): localhost/mattermost/mattermost-enterprise-edition:5.38.2 Load HTTP and S3 external resources 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 mattermost/mattermost-enterprise-edition:5.38.2 AS base Getting image source signatures Copying blob sha256:ace0eda3e3be35a979cec764a3321b4c7d0b9e4bb3094d20d3ff6782961a8d54 Copying blob sha256:3cc1fb55e7d0c4adf32986650b7e2362ee8be62ed912c715412f207a3eb383f7 Copying blob sha256:49da4076c307e1b8762cef671f90ef909b1a589e27df1f6bb58e708e9624374c Copying blob sha256:bd3c7eb82008e999b7f6bba59463ef2c576b1d17c2da28270f9665089e51774e Copying config sha256:08c8402446f0964a08caf056e506780a7d8ec71dbc83ee0830371dcdfdda0934 Writing manifest to image destination Storing signatures --> 08c8402446f Trying to pull registry1.dso.mil/ironbank/redhat/ubi/ubi8:8.4... STEP 2: FROM registry1.dso.mil/ironbank/redhat/ubi/ubi8:8.4 Getting image source signatures Copying blob sha256:96476a77b28db43fcb170401c287700d91d95cdff9c06e5ea7b48289d40a8e57 Copying blob sha256:2d6c05a340570120e42fec4b9354eb859f189cf196effe40ec96117e2d3bf5df Copying blob sha256:db2f50b75fc09a20e8d9c497d96ad384fbeacf7e77df71e4c7b578d4c07fccce Copying config sha256:1e25df8508b7726cb405ce71f8aa3946d64fef5ab87946089daeeb3f96b5dc5f Writing manifest to image destination Storing signatures STEP 3: ENV PATH="/mattermost/bin:${PATH}" STEP 4: RUN mkdir -p /mattermost/data /mattermost/plugins /mattermost/client/plugins && groupadd --system --gid=2000 mattermost && useradd --system --uid=2000 --gid=2000 mattermost && chown -R mattermost:mattermost /mattermost /mattermost/plugins /mattermost/client/plugins && dnf upgrade -y && dnf install -y mailcap nc xmlsec1 && dnf clean all && rm -rf /var/cache/dnf Red Hat Universal Base Image 8 (RPMs) - BaseOS 79 kB/s | 790 kB 00:10 Red Hat Universal Base Image 8 (RPMs) - AppStre 243 kB/s | 2.4 MB 00:10 Red Hat Universal Base Image 8 (RPMs) - CodeRea 1.4 kB/s | 14 kB 00:10 Dependencies resolved. Nothing to do. Complete! Last metadata expiration check: 0:00:01 ago on Thu Aug 26 22:03:24 2021. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: mailcap noarch 2.1.48-3.el8 ubi-8-baseos 39 k nmap-ncat x86_64 2:7.70-5.el8 ubi-8-appstream 237 k xmlsec1 x86_64 1.2.25-4.el8 ubi-8-appstream 191 k Installing dependencies: libtool-ltdl x86_64 2.4.6-25.el8 ubi-8-baseos 58 k libxslt x86_64 1.1.32-6.el8 ubi-8-baseos 250 k Transaction Summary ================================================================================ Install 5 Packages Total download size: 774 k Installed size: 1.9 M Downloading Packages: [MIRROR] mailcap-2.1.48-3.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/m/mailcap-2.1.48-3.el8.noarch.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] [MIRROR] libxslt-1.1.32-6.el8.x86_64.rpm: Curl error (28): Timeout was reached for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/Packages/l/libxslt-1.1.32-6.el8.x86_64.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] [MIRROR] libtool-ltdl-2.4.6-25.el8.x86_64.rpm: Curl error (28): Timeout was reached for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/Packages/l/libtool-ltdl-2.4.6-25.el8.x86_64.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] (1/5): mailcap-2.1.48-3.el8.noarch.rpm 7.7 kB/s | 39 kB 00:05 (2/5): libtool-ltdl-2.4.6-25.el8.x86_64.rpm 12 kB/s | 58 kB 00:05 (3/5): libxslt-1.1.32-6.el8.x86_64.rpm 50 kB/s | 250 kB 00:05 [MIRROR] xmlsec1-1.2.25-4.el8.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/x/xmlsec1-1.2.25-4.el8.x86_64.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] (4/5): xmlsec1-1.2.25-4.el8.x86_64.rpm 38 kB/s | 191 kB 00:05 [MIRROR] nmap-ncat-7.70-5.el8.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/n/nmap-ncat-7.70-5.el8.x86_64.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] (5/5): nmap-ncat-7.70-5.el8.x86_64.rpm 47 kB/s | 237 kB 00:05 -------------------------------------------------------------------------------- Total 77 kB/s | 774 kB 00:10 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : libtool-ltdl-2.4.6-25.el8.x86_64 1/5 Running scriptlet: libtool-ltdl-2.4.6-25.el8.x86_64 1/5 Installing : libxslt-1.1.32-6.el8.x86_64 2/5 Installing : xmlsec1-1.2.25-4.el8.x86_64 3/5 Installing : nmap-ncat-2:7.70-5.el8.x86_64 4/5 Running scriptlet: nmap-ncat-2:7.70-5.el8.x86_64 4/5 Installing : mailcap-2.1.48-3.el8.noarch 5/5 Running scriptlet: mailcap-2.1.48-3.el8.noarch 5/5 Verifying : mailcap-2.1.48-3.el8.noarch 1/5 Verifying : libxslt-1.1.32-6.el8.x86_64 2/5 Verifying : libtool-ltdl-2.4.6-25.el8.x86_64 3/5 Verifying : xmlsec1-1.2.25-4.el8.x86_64 4/5 Verifying : nmap-ncat-2:7.70-5.el8.x86_64 5/5 Installed products updated. Installed: libtool-ltdl-2.4.6-25.el8.x86_64 libxslt-1.1.32-6.el8.x86_64 mailcap-2.1.48-3.el8.noarch nmap-ncat-2:7.70-5.el8.x86_64 xmlsec1-1.2.25-4.el8.x86_64 Complete! 25 files removed STEP 5: COPY --from=base --chown=mattermost:mattermost /mattermost /mattermost STEP 6: RUN rm -rf /mattermost/prepackaged_plugins/mattermost-plugin-channel-export* STEP 7: COPY scripts/entrypoint.sh / STEP 8: RUN chmod -s /mattermost STEP 9: USER mattermost STEP 10: HEALTHCHECK --interval=30s --timeout=10s CMD curl -f http://localhost:8065/api/v4/system/ping || exit 1 STEP 11: ENTRYPOINT ["/entrypoint.sh"] STEP 12: WORKDIR /mattermost STEP 13: CMD ["mattermost"] STEP 14: EXPOSE 8065 8067 8074 8075 STEP 15: VOLUME ["/mattermost/data", "/mattermost/logs", "/mattermost/config", "/mattermost/plugins", "/mattermost/client/plugins"] STEP 16: COMMIT registry1.dso.mil/ironbank-staging/opensource/mattermost/mattermost Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:0587b5ddf8cbb1936061a1655715ef79188a4726116b25f3bd06569aa70bc850 Copying blob sha256:d2f1aaf1f2670dfcaf5807403b26de800fbd93a1b535981a4f5446fbb7068d8c Copying config sha256:c077bc5de8303cb7ba79b8eacf1b78d8390c5d3bee10efaafd2abac9be374f15 Writing manifest to image destination Storing signatures --> c077bc5de83 Successfully tagged registry1.dso.mil/ironbank-staging/opensource/mattermost/mattermost:latest c077bc5de8303cb7ba79b8eacf1b78d8390c5d3bee10efaafd2abac9be374f15 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/mattermost/mattermost registry1.dso.mil/ironbank-staging/opensource/mattermost/mattermost:ibci-444736 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/mattermost/mattermost:ibci-444736 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:0587b5ddf8cbb1936061a1655715ef79188a4726116b25f3bd06569aa70bc850 Copying blob sha256:d2f1aaf1f2670dfcaf5807403b26de800fbd93a1b535981a4f5446fbb7068d8c Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:c077bc5de8303cb7ba79b8eacf1b78d8390c5d3bee10efaafd2abac9be374f15 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/opensource/mattermost/mattermost registry1.dso.mil/ironbank-staging/opensource/mattermost/mattermost:5.38.2 Read the tags + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/mattermost/mattermost:5.38.2 Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:0587b5ddf8cbb1936061a1655715ef79188a4726116b25f3bd06569aa70bc850 Copying blob sha256:d2f1aaf1f2670dfcaf5807403b26de800fbd93a1b535981a4f5446fbb7068d8c Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying config sha256:c077bc5de8303cb7ba79b8eacf1b78d8390c5d3bee10efaafd2abac9be374f15 Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/mattermost/mattermost registry1.dso.mil/ironbank-staging/opensource/mattermost/mattermost:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/mattermost/mattermost:latest Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:0587b5ddf8cbb1936061a1655715ef79188a4726116b25f3bd06569aa70bc850 Copying blob sha256:d2f1aaf1f2670dfcaf5807403b26de800fbd93a1b535981a4f5446fbb7068d8c Copying config sha256:c077bc5de8303cb7ba79b8eacf1b78d8390c5d3bee10efaafd2abac9be374f15 Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/mattermost/mattermost --format '{{.Id}}' + IMAGE_ID=sha256:c077bc5de8303cb7ba79b8eacf1b78d8390c5d3bee10efaafd2abac9be374f15 + echo IMAGE_ID=sha256:c077bc5de8303cb7ba79b8eacf1b78d8390c5d3bee10efaafd2abac9be374f15 + IMAGE_PODMAN_SHA=sha256:29507672d014969a7ccbf4a981b48c35a3e22451119cc2183ef705737c9bf657 + echo IMAGE_PODMAN_SHA=sha256:29507672d014969a7ccbf4a981b48c35a3e22451119cc2183ef705737c9bf657 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/mattermost/mattermost:ibci-444736 + echo IMAGE_NAME=opensource/mattermost/mattermost A tarball of the built image can be retrieved from the documentation job artifacts. + 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:1630015466:step_script section_start:1630015466: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=5973188 responseStatus=201 Created token=25pm9-9s Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=5973188 responseStatus=201 Created token=25pm9-9s section_end:1630015468:upload_artifacts_on_success section_start:1630015468:cleanup_file_variables Cleaning up file based variables section_end:1630015468:cleanup_file_variables Job succeeded