Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1626965222:resolve_secrets Resolving secrets section_end:1626965222:resolve_secrets section_start:1626965222: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:1626965222:prepare_executor section_start:1626965222:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-172-concurrent-06jncs to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-172-concurrent-06jncs to be running, status is Pending ContainersNotInitialized: "containers with incomplete status: [istio-init]" ContainersNotReady: "containers with unready status: [build helper istio-proxy]" ContainersNotReady: "containers with unready status: [build helper istio-proxy]" Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-172-concurrent-06jncs to be running, status is Pending ContainersNotInitialized: "containers with incomplete status: [istio-init]" ContainersNotReady: "containers with unready status: [build helper istio-proxy]" ContainersNotReady: "containers with unready status: [build helper istio-proxy]" Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-172-concurrent-06jncs 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-172-concurrent-06jncs via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1626965234:prepare_script section_start:1626965234: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/elastic/elasticsearch/elasticsearch/.git/ Created fresh repository. Checking out 79d9c03d as master... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1626965235:get_sources section_start:1626965235:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (5022548)... Downloading artifacts from coordinator... ok  id=5022548 responseStatus=200 OK token=T91MVS7E WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (5022550)... Downloading artifacts from coordinator... ok  id=5022550 responseStatus=200 OK token=KA7QYi3X WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (5022545)... Downloading artifacts from coordinator... ok  id=5022545 responseStatus=200 OK token=2N9hsdBy WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (5022549)... Downloading artifacts from coordinator... ok  id=5022549 responseStatus=200 OK token=Co7e2PiL WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1626965249:download_artifacts section_start:1626965249: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/elasticsearch-7.13.3-linux-x86_64.tar.gz' -> './elasticsearch-7.13.3-linux-x86_64.tar.gz' 'ci-artifacts/import-artifacts/external-resources/tini' -> './tini' 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 AS builder Getting image source signatures Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:5f5b37608a4c089982921ecbe0733da1ffdf9792a6cfae06f5b040a5d916a66f Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying config sha256:0c392701c2c6f25c09b159523d7968a1cf0e1cb3a66153ba002e2e8c01a49288 Writing manifest to image destination Storing signatures STEP 2: COPY tini /bin/tini STEP 3: RUN chmod 0755 /bin/tini STEP 4: RUN mkdir /usr/share/elasticsearch STEP 5: WORKDIR /usr/share/elasticsearch STEP 6: COPY elasticsearch-7.13.3-linux-x86_64.tar.gz /opt/elasticsearch.tar.gz STEP 7: RUN tar -zxf /opt/elasticsearch.tar.gz --strip-components=1 STEP 8: COPY scripts/elasticsearch.yml config/ STEP 9: COPY scripts/log4j2.properties config/log4j2.docker.properties STEP 10: RUN sed -i -e 's/ES_DISTRIBUTION_TYPE=tar/ES_DISTRIBUTION_TYPE=docker/' bin/elasticsearch-env && mkdir -p config/jvm.options.d data logs plugins && chmod 0775 config config/jvm.options.d data logs plugins && mv config/log4j2.properties config/log4j2.file.properties && mv config/log4j2.docker.properties config/log4j2.properties && chmod 0660 config/elasticsearch.yml config/log4j2*.properties && find ./jdk -type d -exec chmod 0755 {} + && find . -xdev -perm -4000 -exec chmod ug-s {} + && find . -type f -exec chmod o+r {} + STEP 11: FROM registry1.dso.mil/ironbank/redhat/ubi/ubi8:8.4 STEP 12: RUN yum update --setopt=tsflags=nodocs -y && yum install --setopt=tsflags=nodocs -y nc shadow-utils zip findutils unzip procps-ng && yum 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 241 kB/s | 2.4 MB 00:10 Red Hat Universal Base Image 8 (RPMs) - CodeRea 1.5 kB/s | 14 kB 00:09 Dependencies resolved. Nothing to do. Complete! Package shadow-utils-2:4.6-12.el8.x86_64 is already installed. Package findutils-1:4.6.0-20.el8.x86_64 is already installed. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: nmap-ncat x86_64 2:7.70-5.el8 ubi-8-appstream 237 k procps-ng x86_64 3.3.15-6.el8 ubi-8-baseos 329 k unzip x86_64 6.0-45.el8_4 ubi-8-baseos 195 k zip x86_64 3.0-23.el8 ubi-8-baseos 270 k Transaction Summary ================================================================================ Install 4 Packages Total download size: 1.0 M Installed size: 2.6 M Downloading Packages: [MIRROR] procps-ng-3.3.15-6.el8.x86_64.rpm: Curl error (35): SSL connect error for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/Packages/p/procps-ng-3.3.15-6.el8.x86_64.rpm [OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to cdn-ubi.redhat.com:443 ] [MIRROR] zip-3.0-23.el8.x86_64.rpm: Curl error (35): SSL connect error for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/Packages/z/zip-3.0-23.el8.x86_64.rpm [OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to cdn-ubi.redhat.com:443 ] [MIRROR] unzip-6.0-45.el8_4.x86_64.rpm: Curl error (35): SSL connect error for https://cdn-ubi.redhat.com/content/public/ubi/dist/ubi8/8/x86_64/baseos/os/Packages/u/unzip-6.0-45.el8_4.x86_64.rpm [OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to cdn-ubi.redhat.com:443 ] (1/4): unzip-6.0-45.el8_4.x86_64.rpm 50 kB/s | 195 kB 00:03 (2/4): zip-3.0-23.el8.x86_64.rpm 69 kB/s | 270 kB 00:03 (3/4): procps-ng-3.3.15-6.el8.x86_64.rpm 83 kB/s | 329 kB 00:03 [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 5001 milliseconds with 0 out of 0 bytes received] [MIRROR] nmap-ncat-7.70-5.el8.x86_64.rpm: Status code: 503 for http://satellite/pulp/repos/org1/Library/custom/ubi_product/ubi-8-appstream/Packages/n/nmap-ncat-7.70-5.el8.x86_64.rpm (IP: [MASKED]) (4/4): nmap-ncat-7.70-5.el8.x86_64.rpm 47 kB/s | 237 kB 00:05 -------------------------------------------------------------------------------- Total 115 kB/s | 1.0 MB 00:08 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : unzip-6.0-45.el8_4.x86_64 1/4 Installing : zip-3.0-23.el8.x86_64 2/4 Installing : nmap-ncat-2:7.70-5.el8.x86_64 3/4 Running scriptlet: nmap-ncat-2:7.70-5.el8.x86_64 3/4 Installing : procps-ng-3.3.15-6.el8.x86_64 4/4 Running scriptlet: procps-ng-3.3.15-6.el8.x86_64 4/4 Verifying : procps-ng-3.3.15-6.el8.x86_64 1/4 Verifying : zip-3.0-23.el8.x86_64 2/4 Verifying : unzip-6.0-45.el8_4.x86_64 3/4 Verifying : nmap-ncat-2:7.70-5.el8.x86_64 4/4 Installed products updated. Installed: nmap-ncat-2:7.70-5.el8.x86_64 procps-ng-3.3.15-6.el8.x86_64 unzip-6.0-45.el8_4.x86_64 zip-3.0-23.el8.x86_64 Complete! 25 files removed STEP 13: RUN groupadd -g 1000 elasticsearch && adduser -u 1000 -g 1000 -G 0 -d /usr/share/elasticsearch elasticsearch && chmod 0775 /usr/share/elasticsearch && chown -R 1000:0 /usr/share/elasticsearch STEP 14: ENV ELASTIC_CONTAINER true STEP 15: WORKDIR /usr/share/elasticsearch STEP 16: COPY --from=builder --chown=1000:0 /usr/share/elasticsearch /usr/share/elasticsearch STEP 17: COPY --from=builder --chown=0:0 /bin/tini /bin/tini STEP 18: ENV PATH /usr/share/elasticsearch/bin:$PATH STEP 19: COPY scripts/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh STEP 20: RUN chmod g=u /etc/passwd && chmod 0775 /usr/local/bin/docker-entrypoint.sh && find / -xdev -perm -4000 -exec chmod ug-s {} + && ln -sf /etc/pki/ca-trust/extracted/java/cacerts /usr/share/elasticsearch/jdk/lib/security/cacerts STEP 21: EXPOSE 9200 9300 STEP 22: RUN mkdir /licenses && cp LICENSE.txt /licenses/LICENSE STEP 23: COPY LICENSE /licenses/LICENSE.addendum STEP 24: USER elasticsearch:root STEP 25: ENTRYPOINT ["/bin/tini", "--", "/usr/local/bin/docker-entrypoint.sh"] STEP 26: CMD ["eswrapper"] STEP 27: HEALTHCHECK --interval=10s --timeout=5s --start-period=1m --retries=5 CMD curl -I -f --max-time 5 http://localhost:9200 || exit 1 STEP 28: COMMIT registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:12f117abfe62e95b40a460c2e6eafe0107485f1b4032a7f0ca48fbc49acb0f4d Copying blob sha256:59324447cb3acc230e3199a50abf754a03cebabe8c48473a0e02157957a7c92b Copying config sha256:5bb8ee08a2eb99aa6cbe8dbda78080d1edf569d428c1717c5288357c669fae58 Writing manifest to image destination Storing signatures --> 5bb8ee08a2e 5bb8ee08a2eb99aa6cbe8dbda78080d1edf569d428c1717c5288357c669fae58 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch:ibci-381283 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch:ibci-381283 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:59324447cb3acc230e3199a50abf754a03cebabe8c48473a0e02157957a7c92b Copying blob sha256:12f117abfe62e95b40a460c2e6eafe0107485f1b4032a7f0ca48fbc49acb0f4d Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:5bb8ee08a2eb99aa6cbe8dbda78080d1edf569d428c1717c5288357c669fae58 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/elastic/elasticsearch/elasticsearch registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch:7.13.3 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch:7.13.3 Getting image source signatures Copying blob sha256:12f117abfe62e95b40a460c2e6eafe0107485f1b4032a7f0ca48fbc49acb0f4d Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:59324447cb3acc230e3199a50abf754a03cebabe8c48473a0e02157957a7c92b Copying config sha256:5bb8ee08a2eb99aa6cbe8dbda78080d1edf569d428c1717c5288357c669fae58 Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch:latest Getting image source signatures Copying blob sha256:59324447cb3acc230e3199a50abf754a03cebabe8c48473a0e02157957a7c92b Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:12f117abfe62e95b40a460c2e6eafe0107485f1b4032a7f0ca48fbc49acb0f4d Copying config sha256:5bb8ee08a2eb99aa6cbe8dbda78080d1edf569d428c1717c5288357c669fae58 Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch --format '{{.Id}}' time="2021-07-22T14:51:16Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod0afbd79e-607e-4987-a9ae-b420e5d0e884/d3d164c27c11f898650bfbe6bf4f79b85d52ab7647bf0985e6b89c14c58d39bc: no such file or directory" + IMAGE_ID=sha256:5bb8ee08a2eb99aa6cbe8dbda78080d1edf569d428c1717c5288357c669fae58 + echo IMAGE_ID=sha256:5bb8ee08a2eb99aa6cbe8dbda78080d1edf569d428c1717c5288357c669fae58 + IMAGE_PODMAN_SHA=sha256:2a32c8a5aba5da1602e3c25a1f10b8aae405b3dc51aa9fc0d95ea724a871f065 + echo IMAGE_PODMAN_SHA=sha256:2a32c8a5aba5da1602e3c25a1f10b8aae405b3dc51aa9fc0d95ea724a871f065 A tarball of the built image can be retrieved from the documentation job artifacts. + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch:ibci-381283 + echo IMAGE_NAME=elastic/elasticsearch/elasticsearch + branches=("master" "development") + [[ master development =~ master ]] + 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:1626965476:step_script section_start:1626965476: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=5022552 responseStatus=201 Created token=mHuEUcpG Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=5022552 responseStatus=201 Created token=mHuEUcpG section_end:1626965477:upload_artifacts_on_success section_start:1626965477:cleanup_file_variables Cleaning up file based variables section_end:1626965478:cleanup_file_variables Job succeeded