Running with gitlab-runner 13.8.0 (775dd39d)  on global-shared-gitlab-runner-5c8545f999-7zzht -5LtGhGQ section_start:1616176167:resolve_secrets Resolving secrets section_end:1616176167:resolve_secrets section_start:1616176167:prepare_executor Preparing the "kubernetes" executor Using Kubernetes namespace: gitlab-runner-isolated 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.1 ... section_end:1616176167:prepare_executor section_start:1616176167:prepare_script Preparing environment Waiting for pod gitlab-runner-isolated/runner--5ltghgq-project-181-concurrent-0zkwb7 to be running, status is Pending Running on runner--5ltghgq-project-181-concurrent-0zkwb7 via global-shared-gitlab-runner-5c8545f999-7zzht... section_end:1616176170:prepare_script section_start:1616176170:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/atlassian/confluence-data-center/confluence-node/.git/ Created fresh repository. Checking out 78ddca1d as development... Skipping Git submodules setup section_end:1616176171:get_sources section_start:1616176171:download_artifacts Downloading artifacts Downloading artifacts for hardening_manifest (2396452)... Downloading artifacts from coordinator... ok  id=2396452 responseStatus=200 OK token=yAkJnqK_ Downloading artifacts for import artifacts (2396454)... Downloading artifacts from coordinator... ok  id=2396454 responseStatus=200 OK token=gqNHBfgy Downloading artifacts for load scripts (2396450)... Downloading artifacts from coordinator... ok  id=2396450 responseStatus=200 OK token=PNAnHD6R Downloading artifacts for wl compare lint (2396453)... Downloading artifacts from coordinator... ok  id=2396453 responseStatus=200 OK token=HtsxDhTU section_end:1616176178:download_artifacts section_start:1616176178: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/atlassian-confluence-7.4.8.tar.gz' -> './atlassian-confluence-7.4.8.tar.gz' 'ci-artifacts/import-artifacts/external-resources/dumb-init-1.2.2-6.el8.x86_64.rpm' -> './dumb-init-1.2.2-6.el8.x86_64.rpm' '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.dsop.io/ironbank/redhat/openjdk/openjdk11:1.11 Getting image source signatures Copying blob sha256:d2320253299952d6acf67a183191a320661feeec9a7c4f1cb5107ab23cef7d8e Copying blob sha256:88afac75a7738cf4e403f8c2234207477781e19950ae6b21f1fee762a0c2c2bd Copying blob sha256:6ec6a8e188d79108300fa9b5ae9ac09f757dc1137b8c92342069836ea3a1f178 Copying blob sha256:bafde567cac98c4151fd6a0462594731c3f363547b7d497c313e1263ddefe94d Copying config sha256:180c804dc7d79e7fcbc9c3ba743a8cb3a17ea6cc04c228509de04040762cc8a4 Writing manifest to image destination Storing signatures STEP 2: ARG CONFLUENCE_VERSION=7.4.8 STEP 3: ENV RUN_USER confluence STEP 4: ENV RUN_GROUP confluence STEP 5: ENV RUN_UID 2002 STEP 6: ENV RUN_GID 2002 STEP 7: ENV CONFLUENCE_HOME /var/atlassian/application-data/confluence STEP 8: ENV CONFLUENCE_INSTALL_DIR /opt/atlassian/confluence STEP 9: ENV CONFLUENCE_LOG_STDOUT true STEP 10: WORKDIR $CONFLUENCE_HOME STEP 11: EXPOSE 8090 STEP 12: EXPOSE 8091 STEP 13: CMD ["/entrypoint.py"] STEP 14: ENTRYPOINT ["/usr/bin/tini", "--"] STEP 15: USER root STEP 16: COPY dumb-init-1.2.2-6.el8.x86_64.rpm /opt/ STEP 17: COPY tini /usr/bin/ STEP 18: RUN dnf -y update && dnf -y upgrade && dnf -y install fontconfig python3 python3-jinja2 && rpm -Uvh /opt/dumb-init-1.2.2-6.el8.x86_64.rpm Red Hat Universal Base Image 8 (RPMs) - BaseOS 77 kB/s | 774 kB 00:10 Red Hat Universal Base Image 8 (RPMs) - AppStre 526 kB/s | 5.2 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! Dependencies resolved. Nothing to do. Complete! Last metadata expiration check: 0:00:01 ago on Fri Mar 19 17:50:39 2021. Dependencies resolved. ============================================================================================== Package Arch Version Repository Size ============================================================================================== Installing: fontconfig x86_64 2.13.1-3.el8 ubi-8-baseos 275 k python3-jinja2 noarch 2.10.1-2.el8_0 ubi-8-appstream 538 k python36 x86_64 3.6.8-2.module+el8.1.0+3334+5cb623d7 ubi-8-appstream 19 k Installing dependencies: dejavu-fonts-common noarch 2.35-6.el8 ubi-8-baseos 74 k dejavu-sans-fonts noarch 2.35-6.el8 ubi-8-baseos 1.5 M fontpackages-filesystem noarch 1.44-22.el8 ubi-8-baseos 16 k platform-python-pip noarch 9.0.3-18.el8 ubi-8-baseos 1.7 M python3-babel noarch 2.5.1-5.el8 ubi-8-appstream 4.8 M python3-markupsafe x86_64 0.23-19.el8 ubi-8-appstream 39 k python3-pip noarch 9.0.3-18.el8 ubi-8-appstream 20 k python3-pytz noarch 2017.2-9.el8 ubi-8-appstream 54 k python3-setuptools noarch 39.2.0-6.el8 ubi-8-baseos 163 k Enabling module streams: python36 3.6 Transaction Summary ============================================================================================== Install 12 Packages Total download size: 9.1 M Installed size: 36 M Downloading Packages: [MIRROR] fontpackages-filesystem-1.44-22.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/f/fontpackages-filesystem-1.44-22.el8.noarch.rpm [Connection timed out after 5000 milliseconds] [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 [Connection timed out after 5000 milliseconds] [MIRROR] dejavu-sans-fonts-2.35-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/d/dejavu-sans-fonts-2.35-6.el8.noarch.rpm [Connection timed out after 5000 milliseconds] (1/12): fontpackages-filesystem-1.44-22.el8.noa 3.2 kB/s | 16 kB 00:05 (2/12): python3-setuptools-39.2.0-6.el8.noarch. 32 kB/s | 163 kB 00:05 (3/12): fontconfig-2.13.1-3.el8.x86_64.rpm 33 MB/s | 275 kB 00:00 (4/12): dejavu-fonts-common-2.35-6.el8.noarch.r 22 MB/s | 74 kB 00:00 (5/12): dejavu-sans-fonts-2.35-6.el8.noarch.rpm 302 kB/s | 1.5 MB 00:05 (6/12): platform-python-pip-9.0.3-18.el8.noarch 42 MB/s | 1.7 MB 00:00 [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 [Connection timed out after 5000 milliseconds] (7/12): python36-3.6.8-2.module+el8.1.0+3334+5c 3.8 kB/s | 19 kB 00:05 (8/12): python3-jinja2-2.10.1-2.el8_0.noarch.rp 46 MB/s | 538 kB 00:00 [MIRROR] python3-babel-2.5.1-5.el8.noarch.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/python3-babel-2.5.1-5.el8.noarch.rpm [Connection timed out after 5001 milliseconds] (9/12): python3-pip-9.0.3-18.el8.noarch.rpm 7.7 MB/s | 20 kB 00:00 (10/12): python3-pytz-2017.2-9.el8.noarch.rpm 18 MB/s | 54 kB 00:00 [MIRROR] python3-markupsafe-0.23-19.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/p/python3-markupsafe-0.23-19.el8.x86_64.rpm [Connection timed out after 5000 milliseconds] (11/12): python3-markupsafe-0.23-19.el8.x86_64. 7.8 kB/s | 39 kB 00:05 (12/12): python3-babel-2.5.1-5.el8.noarch.rpm 968 kB/s | 4.8 MB 00:05 -------------------------------------------------------------------------------- Total 927 kB/s | 9.1 MB 00:10 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : fontpackages-filesystem-1.44-22.el8.noarch 1/12 Installing : dejavu-fonts-common-2.35-6.el8.noarch 2/12 Installing : dejavu-sans-fonts-2.35-6.el8.noarch 3/12 Installing : python3-pytz-2017.2-9.el8.noarch 4/12 Installing : python3-babel-2.5.1-5.el8.noarch 5/12 Installing : python3-markupsafe-0.23-19.el8.x86_64 6/12 Installing : platform-python-pip-9.0.3-18.el8.noarch 7/12 Installing : python3-setuptools-39.2.0-6.el8.noarch 8/12 Installing : python3-pip-9.0.3-18.el8.noarch 9/12 Installing : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_ 10/12 Running scriptlet: python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_ 10/12 Installing : python3-jinja2-2.10.1-2.el8_0.noarch 11/12 Installing : fontconfig-2.13.1-3.el8.x86_64 12/12 Running scriptlet: fontconfig-2.13.1-3.el8.x86_64 12/12 Verifying : fontpackages-filesystem-1.44-22.el8.noarch 1/12 Verifying : python3-setuptools-39.2.0-6.el8.noarch 2/12 Verifying : dejavu-sans-fonts-2.35-6.el8.noarch 3/12 Verifying : platform-python-pip-9.0.3-18.el8.noarch 4/12 Verifying : fontconfig-2.13.1-3.el8.x86_64 5/12 Verifying : dejavu-fonts-common-2.35-6.el8.noarch 6/12 Verifying : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_ 7/12 Verifying : python3-babel-2.5.1-5.el8.noarch 8/12 Verifying : python3-markupsafe-0.23-19.el8.x86_64 9/12 Verifying : python3-jinja2-2.10.1-2.el8_0.noarch 10/12 Verifying : python3-pip-9.0.3-18.el8.noarch 11/12 Verifying : python3-pytz-2017.2-9.el8.noarch 12/12 Installed products updated. Installed: dejavu-fonts-common-2.35-6.el8.noarch dejavu-sans-fonts-2.35-6.el8.noarch fontconfig-2.13.1-3.el8.x86_64 fontpackages-filesystem-1.44-22.el8.noarch platform-python-pip-9.0.3-18.el8.noarch python3-babel-2.5.1-5.el8.noarch python3-jinja2-2.10.1-2.el8_0.noarch python3-markupsafe-0.23-19.el8.x86_64 python3-pip-9.0.3-18.el8.noarch python3-pytz-2017.2-9.el8.noarch python3-setuptools-39.2.0-6.el8.noarch python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 Complete! Verifying... ######################################## Preparing... ######################################## Updating / installing... dumb-init-1.2.2-6.el8 ######################################## STEP 19: COPY atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz /opt/ STEP 20: RUN groupadd --gid ${RUN_GID} ${RUN_GROUP} && useradd --uid ${RUN_UID} --gid ${RUN_GID} --home-dir ${CONFLUENCE_HOME} --shell /bin/bash ${RUN_USER} && echo PATH=$PATH > /etc/environment && mkdir -p ${CONFLUENCE_INSTALL_DIR} && tar -xzf /opt/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz --strip-components 1 -C ${CONFLUENCE_INSTALL_DIR} && chmod -R "u=rwX,g=rX,o=rX" ${CONFLUENCE_INSTALL_DIR}/ && chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_INSTALL_DIR}/ && chown -R ${RUN_USER}:${RUN_GROUP} ${CONFLUENCE_HOME} && sed -i -e 's/-Xms\([0-9]\+[kmg]\) -Xmx\([0-9]\+[kmg]\)/-Xms\${JVM_MINIMUM_MEMORY:=\1} -Xmx\${JVM_MAXIMUM_MEMORY:=\2} -Dconfluence.home=\${CONFLUENCE_HOME}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh && sed -i -e 's/-XX:ReservedCodeCacheSize=\([0-9]\+[kmg]\)/-XX:ReservedCodeCacheSize=${JVM_RESERVED_CODE_CACHE_SIZE:=\1}/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh && sed -i -e 's/export CATALINA_OPTS/CATALINA_OPTS="\${CATALINA_OPTS} \${JVM_SUPPORT_RECOMMENDED_ARGS} -DConfluenceHomeLogAppender.disabled=${CONFLUENCE_LOG_STDOUT}"\n\nexport CATALINA_OPTS/g' ${CONFLUENCE_INSTALL_DIR}/bin/setenv.sh && mkdir -p /opt/java/openjdk/lib/fonts/fallback/ && ln -sf /usr/share/fonts/truetype/noto/* /opt/java/openjdk/lib/fonts/fallback/ useradd: warning: the home directory already exists. Not copying any file from skel directory into it. STEP 21: VOLUME ["${CONFLUENCE_HOME}"] # Must be declared after setting perms STEP 22: COPY scripts/entrypoint.py scripts/entrypoint_helpers.py / STEP 23: COPY scripts/support /opt/atlassian/support STEP 24: COPY scripts/config/* /opt/atlassian/etc/ STEP 25: CMD chmod a+x /entrypoint.py STEP 26: HEALTHCHECK --interval=5s --timeout=5s --retries=3 CMD curl --header 'Accept:application/json' 'https://localhost:8090/status' | grep RUNNING || exit 1 STEP 27: RUN rm -rf /opt/dumb-init-1.2.2-6.el8.x86_64.rpm && dnf clean all && rm -rf /opt/atlassian-confluence-${CONFLUENCE_VERSION}.tar.gz 25 files removed STEP 28: USER ${RUN_USER} STEP 29: COMMIT registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node Getting image source signatures Copying blob sha256:72e7d306c279696257fb1796dac29d887127c53479403f8687d3aa4c560edff2 Copying blob sha256:9624be4353eb5540a948608d314a5690c6a0b841aa04979810b61fd190e04769 Copying blob sha256:e10169e92106d1f458e0e03e2c8c5e4ae57234dfc4f2a69fdc2265f4eb345360 Copying blob sha256:c59561c0c6cc66bcd07a466bb0aac1ba5b98bfde170897a9108fe586421104e8 Copying blob sha256:358edb20f9579376e4377b1ca653c31c74d628ad71a0192eb11b132979451ff3 Copying config sha256:613db8d95e1ff825f26d573a02a356bf614b127d5c7c60f1299e3b47e35f09d6 Writing manifest to image destination Storing signatures --> 613db8d95e1 613db8d95e1ff825f26d573a02a356bf614b127d5c7c60f1299e3b47e35f09d6 + buildah tag --storage-driver=vfs registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node:195538 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node:195538 Getting image source signatures Copying blob sha256:358edb20f9579376e4377b1ca653c31c74d628ad71a0192eb11b132979451ff3 Copying blob sha256:9624be4353eb5540a948608d314a5690c6a0b841aa04979810b61fd190e04769 Copying blob sha256:e10169e92106d1f458e0e03e2c8c5e4ae57234dfc4f2a69fdc2265f4eb345360 Copying blob sha256:c59561c0c6cc66bcd07a466bb0aac1ba5b98bfde170897a9108fe586421104e8 Copying blob sha256:72e7d306c279696257fb1796dac29d887127c53479403f8687d3aa4c560edff2 Copying config sha256:613db8d95e1ff825f26d573a02a356bf614b127d5c7c60f1299e3b47e35f09d6 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 Read the tags + buildah tag --storage-driver=vfs registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node:7.4.8 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node:7.4.8 Getting image source signatures Copying blob sha256:9624be4353eb5540a948608d314a5690c6a0b841aa04979810b61fd190e04769 Copying blob sha256:c59561c0c6cc66bcd07a466bb0aac1ba5b98bfde170897a9108fe586421104e8 Copying blob sha256:72e7d306c279696257fb1796dac29d887127c53479403f8687d3aa4c560edff2 Copying blob sha256:358edb20f9579376e4377b1ca653c31c74d628ad71a0192eb11b132979451ff3 Copying blob sha256:e10169e92106d1f458e0e03e2c8c5e4ae57234dfc4f2a69fdc2265f4eb345360 Copying config sha256:613db8d95e1ff825f26d573a02a356bf614b127d5c7c60f1299e3b47e35f09d6 Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node:latest Getting image source signatures Copying blob sha256:c59561c0c6cc66bcd07a466bb0aac1ba5b98bfde170897a9108fe586421104e8 Copying blob sha256:358edb20f9579376e4377b1ca653c31c74d628ad71a0192eb11b132979451ff3 Copying blob sha256:e10169e92106d1f458e0e03e2c8c5e4ae57234dfc4f2a69fdc2265f4eb345360 Copying blob sha256:9624be4353eb5540a948608d314a5690c6a0b841aa04979810b61fd190e04769 Copying blob sha256:72e7d306c279696257fb1796dac29d887127c53479403f8687d3aa4c560edff2 Copying config sha256:613db8d95e1ff825f26d573a02a356bf614b127d5c7c60f1299e3b47e35f09d6 Writing manifest to image destination Storing signatures + IFS= + read -r tag + skopeo copy --src-authfile staging_auth.json docker://registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node:195538 docker-archive:ci-artifacts/build/confluence-node-195538.tar Getting image source signatures Copying blob sha256:88afac75a7738cf4e403f8c2234207477781e19950ae6b21f1fee762a0c2c2bd Copying blob sha256:d2320253299952d6acf67a183191a320661feeec9a7c4f1cb5107ab23cef7d8e Copying blob sha256:6ec6a8e188d79108300fa9b5ae9ac09f757dc1137b8c92342069836ea3a1f178 Copying blob sha256:bafde567cac98c4151fd6a0462594731c3f363547b7d497c313e1263ddefe94d Copying blob sha256:d86b92e6f5e6e32f13830e48ca863eab6ff053078eaab856b14d7e1f1754e168 Copying config sha256:613db8d95e1ff825f26d573a02a356bf614b127d5c7c60f1299e3b47e35f09d6 Writing manifest to image destination Storing signatures ++ podman inspect --storage-driver=vfs registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node --format '{{.Id}}' time="2021-03-19T17:52:45Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod23831e45-138d-42ca-8b85-6f746410f359/5cf9e35de447b6fdc49687a46fdb573734abe893e4eef16f148d8cd4c5f33e55: no such file or directory" + IMAGE_ID=sha256:613db8d95e1ff825f26d573a02a356bf614b127d5c7c60f1299e3b47e35f09d6 + echo IMAGE_ID=sha256:613db8d95e1ff825f26d573a02a356bf614b127d5c7c60f1299e3b47e35f09d6 ++ sha256sum ci-artifacts/build/confluence-node-195538.tar ++ grep -E '^[a-zA-Z0-9]+' -o + IMAGE_TAR_SHA=44bbf1d1993fde8fea6c6eb36fa32fe808623e4db431c70a897f4d2f4e054e7e + echo IMAGE_TAR_SHA=44bbf1d1993fde8fea6c6eb36fa32fe808623e4db431c70a897f4d2f4e054e7e + IMAGE_PODMAN_SHA=sha256:4e5ac9d6c3fa93f5fdc6efe60e346902502d24a1a8bb5b10d7d1bb477346d295 + echo IMAGE_PODMAN_SHA=sha256:4e5ac9d6c3fa93f5fdc6efe60e346902502d24a1a8bb5b10d7d1bb477346d295 + echo IMAGE_FILE=confluence-node-195538 + echo IMAGE_FULLTAG=registry1.dsop.io/ironbank-staging/atlassian/confluence-data-center/confluence-node:195538 + echo IM_NAME=atlassian/confluence-data-center/confluence-node section_end:1616176371:step_script section_start:1616176371:upload_artifacts_on_success Uploading artifacts for successful job Uploading artifacts... ci-artifacts/build/: found 3 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=2396456 responseStatus=201 Created token=9H6nSwVx Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=2396456 responseStatus=201 Created token=9H6nSwVx section_end:1616176428:upload_artifacts_on_success section_start:1616176428:cleanup_file_variables Cleaning up file based variables section_end:1616176428:cleanup_file_variables Job succeeded