Running with gitlab-runner 13.2.0 (353dd94e)  on global-shared-gitlab-runner-769847684d-zwj9g n3FtF-Pp section_start:1602180096:prepare_executor Preparing the "kubernetes" executor Using Kubernetes namespace: gitlab-runner-isolated Using Kubernetes executor with image ${GITLAB_INTERNAL_REGISTRY}/ironbank-tools/ironbank-pipeline/rootless-build:1.3 ... section_end:1602180096:prepare_executor section_start:1602180096:prepare_script Preparing environment Waiting for pod gitlab-runner-isolated/runner-n3ftf-pp-project-172-concurrent-0rqwzx to be running, status is Pending Running on runner-n3ftf-pp-project-172-concurrent-0rqwzx via global-shared-gitlab-runner-769847684d-zwj9g... section_end:1602180099:prepare_script section_start:1602180099:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/elastic/elasticsearch/elasticsearch/.git/ Created fresh repository. Checking out 43432f38 as master... Skipping Git submodules setup section_end:1602180099:get_sources section_start:1602180099:download_artifacts Downloading artifacts Downloading artifacts for import artifacts (366823)... Downloading artifacts from coordinator... ok  id=366823 responseStatus=200 OK token=MamDZGzU Downloading artifacts for load scripts (366819)... Downloading artifacts from coordinator... ok  id=366819 responseStatus=200 OK token=w4VjVujz section_end:1602180111:download_artifacts section_start:1602180111:step_script Executing "step_script" stage of the job script $ "${PIPELINE_REPO_DIR}/stages/build/build-run.sh" 'ci-artifacts/import-artifacts/external-resources/elasticsearch-7.9.2-linux-x86_64.tar.gz' -> './elasticsearch-7.9.2-linux-x86_64.tar.gz' 'ci-artifacts/import-artifacts/external-resources/tini' -> './tini' STEP 1: FROM registry1.dsop.io/ironbank/redhat/ubi/ubi8:8.2 AS builder Getting image source signatures Copying blob sha256:dc0deb7c6c28d1fcd71c08ba9240691774154972ee06edfd89cead13cac8775d Copying blob sha256:1615f362c3b9b1c30262cb5fee1e0a5e0bd193a8bc10f4c77f065faebc2aeb7c Copying blob sha256:a0feb2b9c6b28a738a092a6271c791e7116a7c16d78e1f18e8f61df8bc14c6a4 Copying config sha256:a95f55e963cccab0267dfc977d8083038a7ca9dbdba967e29057613b2727e92d Writing manifest to image destination Storing signatures STEP 2: COPY tini /tini STEP 3: RUN chmod +x /tini STEP 4: RUN mkdir /usr/share/elasticsearch STEP 5: WORKDIR /usr/share/elasticsearch STEP 6: COPY elasticsearch-7.9.2-linux-x86_64.tar.gz /opt/elasticsearch.tar.gz STEP 7: RUN tar -zxf /opt/elasticsearch.tar.gz --strip-components=1 STEP 8: RUN sed -i -e 's/ES_DISTRIBUTION_TYPE=tar/ES_DISTRIBUTION_TYPE=docker/' /usr/share/elasticsearch/bin/elasticsearch-env STEP 9: RUN mkdir -p config config/jvm.options.d data logs STEP 10: RUN chmod 0775 config config/jvm.options.d data logs STEP 11: COPY scripts/elasticsearch.yml scripts/log4j2.properties config/ STEP 12: RUN chmod 0660 config/elasticsearch.yml config/log4j2.properties STEP 13: FROM registry1.dsop.io/ironbank/redhat/ubi/ubi8:8.2 STEP 14: ENV ELASTIC_CONTAINER true STEP 15: COPY --from=builder --chown=0:0 /tini /tini STEP 16: RUN yum update --setopt=tsflags=nodocs -y && yum install --setopt=tsflags=nodocs -y nc shadow-utils zip unzip && yum clean all Red Hat Universal Base Image 8 (RPMs) - BaseOS 77 kB/s | 771 kB 00:10 Red Hat Universal Base Image 8 (RPMs) - AppStre 407 kB/s | 4.0 MB 00:10 Red Hat Universal Base Image 8 (RPMs) - CodeRea 1.2 kB/s | 12 kB 00:10 Dependencies resolved. Nothing to do. Complete! Package shadow-utils-2:4.6-8.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 unzip x86_64 6.0-43.el8 ubi-8-baseos 195 k zip x86_64 3.0-23.el8 ubi-8-baseos 270 k Transaction Summary ================================================================================ Install 3 Packages Total download size: 702 k Installed size: 1.7 M Downloading Packages: [MIRROR] unzip-6.0-43.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/u/unzip-6.0-43.el8.x86_64.rpm [Connection timed out after 5000 milliseconds] [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 [Connection timed out after 5000 milliseconds] [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 [Connection timed out after 5000 milliseconds] (1/3): unzip-6.0-43.el8.x86_64.rpm 39 kB/s | 195 kB 00:05 (2/3): nmap-ncat-7.70-5.el8.x86_64.rpm 47 kB/s | 237 kB 00:05 (3/3): zip-3.0-23.el8.x86_64.rpm 54 kB/s | 270 kB 00:05 -------------------------------------------------------------------------------- Total 140 kB/s | 702 kB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : unzip-6.0-43.el8.x86_64 1/3 Installing : zip-3.0-23.el8.x86_64 2/3 Installing : nmap-ncat-2:7.70-5.el8.x86_64 3/3 Running scriptlet: nmap-ncat-2:7.70-5.el8.x86_64 3/3 Verifying : unzip-6.0-43.el8.x86_64 1/3 Verifying : zip-3.0-23.el8.x86_64 2/3 Verifying : nmap-ncat-2:7.70-5.el8.x86_64 3/3 Installed products updated. Installed: nmap-ncat-2:7.70-5.el8.x86_64 unzip-6.0-43.el8.x86_64 zip-3.0-23.el8.x86_64 Complete! 24 files removed STEP 17: RUN groupadd -g 1000 elasticsearch && adduser -u 1000 -g 1000 -G 0 -d /usr/share/elasticsearch elasticsearch && chmod 0775 /usr/share/elasticsearch && chgrp 0 /usr/share/elasticsearch STEP 18: WORKDIR /usr/share/elasticsearch STEP 19: COPY --from=builder --chown=1000:0 /usr/share/elasticsearch /usr/share/elasticsearch STEP 20: RUN ln -sf /etc/pki/ca-trust/extracted/java/cacerts /usr/share/elasticsearch/jdk/lib/security/cacerts STEP 21: ENV PATH /usr/share/elasticsearch/bin:$PATH STEP 22: COPY scripts/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh STEP 23: RUN chmod g=u /etc/passwd && chmod 0775 /usr/local/bin/docker-entrypoint.sh STEP 24: RUN find / -xdev -perm -4000 -exec chmod ug-s {} + STEP 25: EXPOSE 9200 9300 STEP 26: LABEL org.label-schema.build-date="2020-08-12T13:40:15.291548Z" org.label-schema.license="Elastic-License" org.label-schema.name="Elasticsearch" org.label-schema.schema-version="1.0" org.label-schema.url="https://www.elastic.co/products/elasticsearch" org.label-schema.usage="https://www.elastic.co/guide/en/elasticsearch/reference/index.html" org.label-schema.vcs-ref="3826e46079c50715ea814329da2b3931af095cba" org.label-schema.vcs-url="https://github.com/elastic/elasticsearch" org.label-schema.vendor="Elastic" org.label-schema.version="7.9.2" org.opencontainers.image.created="2020-08-12T13:40:15.291548Z" org.opencontainers.image.documentation="https://www.elastic.co/guide/en/elasticsearch/reference/index.html" org.opencontainers.image.licenses="Elastic-License" org.opencontainers.image.revision="3826e46079c50715ea814329da2b3931af095cba" org.opencontainers.image.source="https://github.com/elastic/elasticsearch" org.opencontainers.image.title="Elasticsearch" org.opencontainers.image.url="https://www.elastic.co/products/elasticsearch" org.opencontainers.image.vendor="Elastic" org.opencontainers.image.version="7.9.2" name="Elasticsearch" maintainer="infra@elastic.co" vendor="Elastic" version="7.9.2" release="1" summary="Elasticsearch" description="You know, for search." STEP 27: RUN mkdir /licenses && cp LICENSE.txt /licenses/LICENSE STEP 28: COPY LICENSE /licenses/LICENSE.addendum STEP 29: USER elasticsearch:root STEP 30: ENTRYPOINT ["/tini", "--", "/usr/local/bin/docker-entrypoint.sh"] STEP 31: CMD ["eswrapper"] STEP 32: HEALTHCHECK --interval=10s --timeout=5s --start-period=1m --retries=5 CMD curl -I -f --max-time 5 http://localhost:9200 || exit 1 STEP 33: COMMIT registry1.dsop.io/ironbank-staging/elastic/elasticsearch/elasticsearch:7.9.2 Getting image source signatures Copying blob sha256:ccf04fbd6e1943f648d1c2980e96038edc02b543c597556098ab2bcaa4fd1fa8 Copying blob sha256:b7b591e3443f17f9d8272b8d118b6c031ca826deb09d4b44f296ba934f1b6e57 Copying blob sha256:2e076368496660a4dc2930e303d0205de1c764d63295b481f805a76c77f0dede Copying blob sha256:f9b915ca4b5b01e145bc84ac58e703e20fb6c55b31819031a45704b43e2d9bf6 Copying config sha256:dc2ae127330bb7512c227ae3e40b056c0a367e62d2cc5dd43a9732468d817f67 Writing manifest to image destination Storing signatures --> dc2ae127330 dc2ae127330bb7512c227ae3e40b056c0a367e62d2cc5dd43a9732468d817f67 Getting image source signatures Copying blob sha256:f9b915ca4b5b01e145bc84ac58e703e20fb6c55b31819031a45704b43e2d9bf6 Copying blob sha256:b7b591e3443f17f9d8272b8d118b6c031ca826deb09d4b44f296ba934f1b6e57 Copying blob sha256:2e076368496660a4dc2930e303d0205de1c764d63295b481f805a76c77f0dede Copying blob sha256:ccf04fbd6e1943f648d1c2980e96038edc02b543c597556098ab2bcaa4fd1fa8 Getting image source signatures Copying blob sha256:f9b915ca4b5b01e145bc84ac58e703e20fb6c55b31819031a45704b43e2d9bf6 Copying blob sha256:2e076368496660a4dc2930e303d0205de1c764d63295b481f805a76c77f0dede Copying blob sha256:b7b591e3443f17f9d8272b8d118b6c031ca826deb09d4b44f296ba934f1b6e57 Copying blob sha256:ccf04fbd6e1943f648d1c2980e96038edc02b543c597556098ab2bcaa4fd1fa8 Getting image source signatures Copying blob sha256:f9b915ca4b5b01e145bc84ac58e703e20fb6c55b31819031a45704b43e2d9bf6 Copying blob sha256:b7b591e3443f17f9d8272b8d118b6c031ca826deb09d4b44f296ba934f1b6e57 Copying blob sha256:2e076368496660a4dc2930e303d0205de1c764d63295b481f805a76c77f0dede Copying blob sha256:ccf04fbd6e1943f648d1c2980e96038edc02b543c597556098ab2bcaa4fd1fa8 Getting image source signatures Copying blob sha256:f9b915ca4b5b01e145bc84ac58e703e20fb6c55b31819031a45704b43e2d9bf6 Copying blob sha256:2e076368496660a4dc2930e303d0205de1c764d63295b481f805a76c77f0dede Copying blob sha256:b7b591e3443f17f9d8272b8d118b6c031ca826deb09d4b44f296ba934f1b6e57 Copying blob sha256:ccf04fbd6e1943f648d1c2980e96038edc02b543c597556098ab2bcaa4fd1fa8 error copying layers and metadata from "containers-storage:[vfs@/var/lib/containers/storage+/var/run/containers/storage]registry1.dsop.io/ironbank-staging/elastic/elasticsearch/elasticsearch:7.9.2-47848" to "docker://registry1.dsop.io/ironbank-staging/elastic/elasticsearch/elasticsearch:7.9.2-47848": Error writing blob: Error initiating layer upload to /v2/ironbank-staging/elastic/elasticsearch/elasticsearch/blobs/uploads/ in registry1.dsop.io: denied: The system is in read only mode. Any modification is prohibited. section_end:1602180224:step_script section_start:1602180224:upload_artifacts_on_failure Uploading artifacts for failed job Uploading artifacts... ci-artifacts/build/: found 1 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=366825 responseStatus=201 Created token=-74eNXrg Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=366825 responseStatus=201 Created token=-74eNXrg section_end:1602180225:upload_artifacts_on_failure ERROR: Job failed: command terminated with exit code 1