Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1628224978:resolve_secrets Resolving secrets section_end:1628224978:resolve_secrets section_start:1628224978: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:1628224978:prepare_executor section_start:1628224978:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-172-concurrent-0ckhzz to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-172-concurrent-0ckhzz 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-0ckhzz 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-0ckhzz via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1628224987:prepare_script section_start:1628224987: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 9464a1fe as master... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1628224988:get_sources section_start:1628224988:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (5421392)... Downloading artifacts from coordinator... ok  id=5421392 responseStatus=200 OK token=YqxgXVc5 WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (5421394)... Downloading artifacts from coordinator... ok  id=5421394 responseStatus=200 OK token=byasXmPD WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (5421389)... Downloading artifacts from coordinator... ok  id=5421389 responseStatus=200 OK token=3_DJjXUs WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (5421393)... Downloading artifacts from coordinator... ok  id=5421393 responseStatus=200 OK token=j-W9X7jP WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1628225001:download_artifacts section_start:1628225001: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.4-linux-x86_64.tar.gz' -> './elasticsearch-7.13.4-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:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:12db700c3dbca27ed889da6e871f4d37d4ec5c6ef26487ee99de9a3146f418cb Copying config sha256:ffaa0ee7d4cb0a47fe1e9cce38f282925fb14949d72aa23e0cc2f12a5ef1ce0f 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.4-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 245 kB/s | 2.4 MB 00:09 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 Fri Aug 6 04:45:03 2021. 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 (28): Timeout was reached 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 [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] [MIRROR] zip-3.0-23.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/z/zip-3.0-23.el8.x86_64.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] [MIRROR] unzip-6.0-45.el8_4.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/u/unzip-6.0-45.el8_4.x86_64.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] (1/4): unzip-6.0-45.el8_4.x86_64.rpm 39 kB/s | 195 kB 00:05 (2/4): procps-ng-3.3.15-6.el8.x86_64.rpm 66 kB/s | 329 kB 00:05 (3/4): zip-3.0-23.el8.x86_64.rpm 54 kB/s | 270 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] (4/4): nmap-ncat-7.70-5.el8.x86_64.rpm 47 kB/s | 237 kB 00:05 -------------------------------------------------------------------------------- Total 103 kB/s | 1.0 MB 00:10 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:bddca03e8250de627a63330243e94d72423debd6c1047c0d83b55bc8ec5738c4 Copying blob sha256:02038940009f6917ffd9c084b701cf8fc2ecb85112103ae75ff4c882712eaf5f Copying config sha256:28eec83186f6fc82bfee1daca04a61c9ba975f1803f598c36464ab7dc079ebc0 Writing manifest to image destination Storing signatures --> 28eec83186f 28eec83186f6fc82bfee1daca04a61c9ba975f1803f598c36464ab7dc079ebc0 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch:ibci-409030 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch:ibci-409030 Getting image source signatures Copying blob sha256:02038940009f6917ffd9c084b701cf8fc2ecb85112103ae75ff4c882712eaf5f Copying blob sha256:bddca03e8250de627a63330243e94d72423debd6c1047c0d83b55bc8ec5738c4 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:28eec83186f6fc82bfee1daca04a61c9ba975f1803f598c36464ab7dc079ebc0 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/elastic/elasticsearch/elasticsearch registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch:7.13.4 Read the tags + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch:7.13.4 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bddca03e8250de627a63330243e94d72423debd6c1047c0d83b55bc8ec5738c4 Copying blob sha256:02038940009f6917ffd9c084b701cf8fc2ecb85112103ae75ff4c882712eaf5f Copying config sha256:28eec83186f6fc82bfee1daca04a61c9ba975f1803f598c36464ab7dc079ebc0 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:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:02038940009f6917ffd9c084b701cf8fc2ecb85112103ae75ff4c882712eaf5f Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:bddca03e8250de627a63330243e94d72423debd6c1047c0d83b55bc8ec5738c4 Copying config sha256:28eec83186f6fc82bfee1daca04a61c9ba975f1803f598c36464ab7dc079ebc0 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-08-06T04:49:04Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/poda3866c60-3200-4be3-b6fd-1078b90ba594/90e231546d821529a0cb439987bab3f68026655e277f8172d8d3a05fb8968a8e: no such file or directory" + IMAGE_ID=sha256:28eec83186f6fc82bfee1daca04a61c9ba975f1803f598c36464ab7dc079ebc0 + echo IMAGE_ID=sha256:28eec83186f6fc82bfee1daca04a61c9ba975f1803f598c36464ab7dc079ebc0 + IMAGE_PODMAN_SHA=sha256:51b78f820a7a070a5399c7f0d2fe8b7b5a8a4e963a8af57689bad08bc2b95520 + echo IMAGE_PODMAN_SHA=sha256:51b78f820a7a070a5399c7f0d2fe8b7b5a8a4e963a8af57689bad08bc2b95520 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/elastic/elasticsearch/elasticsearch:ibci-409030 + echo IMAGE_NAME=elastic/elasticsearch/elasticsearch + branches=("master" "development") A tarball of the built image can be retrieved from the documentation job artifacts. + [[ 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:1628225344:step_script section_start:1628225344: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=5421396 responseStatus=201 Created token=sZ6cPSZG Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=5421396 responseStatus=201 Created token=sZ6cPSZG section_end:1628225345:upload_artifacts_on_success section_start:1628225345:cleanup_file_variables Cleaning up file based variables section_end:1628225346:cleanup_file_variables Job succeeded