Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1623845425:resolve_secrets Resolving secrets section_end:1623845425:resolve_secrets section_start:1623845425: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.1 ... section_end:1623845425:prepare_executor section_start:1623845425:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-178-concurrent-0sfqsd to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-178-concurrent-0sfqsd 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-178-concurrent-0sfqsd 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-178-concurrent-0sfqsd via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1623845434:prepare_script section_start:1623845434: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/atlassian/jira-data-center/jira-node/.git/ Created fresh repository. Checking out 9c3a1b3e as development... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1623845435:get_sources section_start:1623845435:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (4134995)... Downloading artifacts from coordinator... ok  id=4134995 responseStatus=200 OK token=BWNp9mTa WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (4134997)... Downloading artifacts from coordinator... ok  id=4134997 responseStatus=200 OK token=xcEd892w WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (4134992)... Downloading artifacts from coordinator... ok  id=4134992 responseStatus=200 OK token=5JoHjax5 WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (4134996)... Downloading artifacts from coordinator... ok  id=4134996 responseStatus=200 OK token=kDgX7ow3 WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1623845440:download_artifacts section_start:1623845440: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-jira-software-8.17.0.tar.gz' -> './atlassian-jira-software-8.17.0.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' 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/openjdk/openjdk11:1.11 Getting image source signatures Copying blob sha256:21e39c6a14f97d552100839ee10d201b33536f19aa725485a1ad42c6c9c9058e Copying blob sha256:56ac99b0128939a5820b42fb4544da4832bb862022d743802e4d68fe71bee258 Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying config sha256:e2fbd9cc717bd37b4a3cde5d4aedaa698c905d451d111a165a2a6b2129070146 Writing manifest to image destination Storing signatures STEP 2: ENV RUN_USER jira STEP 3: ENV RUN_GROUP jira STEP 4: ENV RUN_UID 2001 STEP 5: ENV RUN_GID 2001 STEP 6: ENV JIRA_HOME /var/atlassian/application-data/jira STEP 7: ENV JIRA_INSTALL_DIR /opt/atlassian/jira STEP 8: WORKDIR $JIRA_HOME STEP 9: EXPOSE 8080 STEP 10: EXPOSE 40001 STEP 11: CMD ["/entrypoint.py"] STEP 12: ENTRYPOINT ["/usr/bin/tini", "--"] STEP 13: USER root STEP 14: COPY dumb-init-1.2.2-6.el8.x86_64.rpm /opt/ STEP 15: 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 79 kB/s | 791 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 Wed Jun 16 12:11:46 2021. Dependencies resolved. Nothing to do. Complete! Last metadata expiration check: 0:00:02 ago on Wed Jun 16 12:11:46 2021. Package fontconfig-2.13.1-3.el8.x86_64 is already installed. Dependencies resolved. ========================================================================================== Package Arch Version Repository Size ========================================================================================== Installing: 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: platform-python-pip noarch 9.0.3-19.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-19.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 8 Packages Total download size: 7.3 M Installed size: 30 M Downloading Packages: [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 [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] [MIRROR] platform-python-pip-9.0.3-19.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/platform-python-pip-9.0.3-19.el8.noarch.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] [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 [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] (1/8): python3-setuptools-39.2.0-6.el8.noarch.r 32 kB/s | 163 kB 00:05 (2/8): python36-3.6.8-2.module+el8.1.0+3334+5cb 6.5 MB/s | 19 kB 00:00 (3/8): python3-markupsafe-0.23-19.el8.x86_64.rp 12 MB/s | 39 kB 00:00 (4/8): platform-python-pip-9.0.3-19.el8.noarch. 346 kB/s | 1.7 MB 00:05 (5/8): python3-jinja2-2.10.1-2.el8_0.noarch.rpm 57 MB/s | 538 kB 00:00 (6/8): python3-pytz-2017.2-9.el8.noarch.rpm 18 MB/s | 54 kB 00:00 (7/8): python3-pip-9.0.3-19.el8.noarch.rpm 9.7 MB/s | 20 kB 00:00 (8/8): python3-babel-2.5.1-5.el8.noarch.rpm 972 kB/s | 4.8 MB 00:05 -------------------------------------------------------------------------------- Total 1.4 MB/s | 7.3 MB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python3-pytz-2017.2-9.el8.noarch 1/8 Installing : python3-babel-2.5.1-5.el8.noarch 2/8 Installing : python3-markupsafe-0.23-19.el8.x86_64 3/8 Installing : platform-python-pip-9.0.3-19.el8.noarch 4/8 Installing : python3-setuptools-39.2.0-6.el8.noarch 5/8 Installing : python3-pip-9.0.3-19.el8.noarch 6/8 Installing : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 7/8 Running scriptlet: python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 7/8 Installing : python3-jinja2-2.10.1-2.el8_0.noarch 8/8 Running scriptlet: python3-jinja2-2.10.1-2.el8_0.noarch 8/8 Verifying : python3-setuptools-39.2.0-6.el8.noarch 1/8 Verifying : platform-python-pip-9.0.3-19.el8.noarch 2/8 Verifying : python3-babel-2.5.1-5.el8.noarch 3/8 Verifying : python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64 4/8 Verifying : python3-markupsafe-0.23-19.el8.x86_64 5/8 Verifying : python3-jinja2-2.10.1-2.el8_0.noarch 6/8 Verifying : python3-pytz-2017.2-9.el8.noarch 7/8 Verifying : python3-pip-9.0.3-19.el8.noarch 8/8 Installed products updated. Installed: platform-python-pip-9.0.3-19.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-19.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 16: ARG JIRA_VERSION=8.17.0 STEP 17: ARG ARTEFACT_NAME=atlassian-jira-software STEP 18: COPY atlassian-jira-software-${JIRA_VERSION}.tar.gz /opt/ STEP 19: RUN groupadd --gid ${RUN_GID} ${RUN_GROUP} && useradd --uid ${RUN_UID} --gid ${RUN_GID} --home-dir ${JIRA_HOME} --shell /bin/bash ${RUN_USER} && echo PATH=$PATH > /etc/environment && mkdir -p ${JIRA_INSTALL_DIR} && tar -xzf /opt/atlassian-jira-software-${JIRA_VERSION}.tar.gz --strip-components 1 -C /opt/atlassian/jira/ && chmod -R "u=rwX,g=rX,o=rX" ${JIRA_INSTALL_DIR}/ && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_INSTALL_DIR}/ && sed -i -e 's/^JVM_SUPPORT_RECOMMENDED_ARGS=""$/: \${JVM_SUPPORT_RECOMMENDED_ARGS:=""}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && sed -i -e 's/^JVM_\(.*\)_MEMORY="\(.*\)"$/: \${JVM_\1_MEMORY:=\2}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && sed -i -e 's/-XX:ReservedCodeCacheSize=\([0-9]\+[kmg]\)/-XX:ReservedCodeCacheSize=${JVM_RESERVED_CODE_CACHE_SIZE:=\1}/g' ${JIRA_INSTALL_DIR}/bin/setenv.sh && touch /etc/container_id && chown ${RUN_USER}:${RUN_GROUP} /etc/container_id && chown -R ${RUN_USER}:${RUN_GROUP} ${JIRA_HOME} useradd: warning: the home directory already exists. Not copying any file from skel directory into it. STEP 20: VOLUME ["${JIRA_HOME}"] # Must be declared after setting perms STEP 21: COPY scripts/entrypoint.py scripts/entrypoint_helpers.py / STEP 22: COPY scripts/shared-components/support /opt/atlassian/support STEP 23: COPY config/* /opt/atlassian/etc/ STEP 24: RUN rm -rf /opt/dumb-init-1.2.2-6.el8.x86_64.rpm && dnf clean all && rm -rf /opt/${ARTEFACT_NAME}-${JIRA_VERSION}.tar.gz 25 files removed STEP 25: HEALTHCHECK --start-period=5m --interval=3m --timeout=3s CMD curl -f http://localhost:8080/ || exit 1 STEP 26: USER ${RUN_USER} STEP 27: ENTRYPOINT ["/entrypoint.py"] STEP 28: CMD ["${JIRA_INSTALL_DIR}/bin/catalina.sh", "run"] STEP 29: COMMIT registry1.dso.mil/ironbank-staging/atlassian/jira-data-center/jira-node Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:d12a116da537e556d75310392db8d9d3e370b00598b3ecbb5aed260d095037bc Copying blob sha256:02278b4e991fe833f2a7cc24cd33f3572aea0ba88fbb2a991f2398361c509f05 Copying blob sha256:5ad5c783f03a32c830900f7ca35e2919732b43f3b25e26fafa255e738f9b919a Copying config sha256:4f08203210ab04b924292a469f6f2a2216645e3e09868d82b19c58d929feff22 Writing manifest to image destination Storing signatures --> 4f08203210a 4f08203210ab04b924292a469f6f2a2216645e3e09868d82b19c58d929feff22 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/atlassian/jira-data-center/jira-node registry1.dso.mil/ironbank-staging/atlassian/jira-data-center/jira-node:318151 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/atlassian/jira-data-center/jira-node:318151 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:02278b4e991fe833f2a7cc24cd33f3572aea0ba88fbb2a991f2398361c509f05 Copying blob sha256:5ad5c783f03a32c830900f7ca35e2919732b43f3b25e26fafa255e738f9b919a Copying blob sha256:d12a116da537e556d75310392db8d9d3e370b00598b3ecbb5aed260d095037bc Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:4f08203210ab04b924292a469f6f2a2216645e3e09868d82b19c58d929feff22 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/atlassian/jira-data-center/jira-node registry1.dso.mil/ironbank-staging/atlassian/jira-data-center/jira-node:8.17.0 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/atlassian/jira-data-center/jira-node:8.17.0 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:5ad5c783f03a32c830900f7ca35e2919732b43f3b25e26fafa255e738f9b919a Copying blob sha256:02278b4e991fe833f2a7cc24cd33f3572aea0ba88fbb2a991f2398361c509f05 Copying blob sha256:d12a116da537e556d75310392db8d9d3e370b00598b3ecbb5aed260d095037bc Copying config sha256:4f08203210ab04b924292a469f6f2a2216645e3e09868d82b19c58d929feff22 Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/atlassian/jira-data-center/jira-node registry1.dso.mil/ironbank-staging/atlassian/jira-data-center/jira-node:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/atlassian/jira-data-center/jira-node:latest Getting image source signatures Copying blob sha256:5ad5c783f03a32c830900f7ca35e2919732b43f3b25e26fafa255e738f9b919a Copying blob sha256:02278b4e991fe833f2a7cc24cd33f3572aea0ba88fbb2a991f2398361c509f05 Copying blob sha256:d12a116da537e556d75310392db8d9d3e370b00598b3ecbb5aed260d095037bc Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying config sha256:4f08203210ab04b924292a469f6f2a2216645e3e09868d82b19c58d929feff22 Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/atlassian/jira-data-center/jira-node --format '{{.Id}}' time="2021-06-16T12:13:25Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod1025f23b-7bc5-4f0e-8667-661bb47e9345/14e5ce0b0b58facf489512eb6305a849f55285eae3c533c684cea535d606f429: no such file or directory" + IMAGE_ID=sha256:4f08203210ab04b924292a469f6f2a2216645e3e09868d82b19c58d929feff22 + echo IMAGE_ID=sha256:4f08203210ab04b924292a469f6f2a2216645e3e09868d82b19c58d929feff22 + IMAGE_PODMAN_SHA=sha256:6e0a6c8ca87623c6f5712d465184297309b67f75065057955356c80a06f5e44a + echo IMAGE_PODMAN_SHA=sha256:6e0a6c8ca87623c6f5712d465184297309b67f75065057955356c80a06f5e44a + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/atlassian/jira-data-center/jira-node:318151 + echo IMAGE_NAME=atlassian/jira-data-center/jira-node + branches=("master" "development") + [[ master development =~ development ]] A tarball of the built image can be retrieved from the documentation job artifacts. + 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:1623845605:step_script section_start:1623845605: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=4134999 responseStatus=201 Created token=x-bdzp5n Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=4134999 responseStatus=201 Created token=x-bdzp5n section_end:1623845607:upload_artifacts_on_success section_start:1623845607:cleanup_file_variables Cleaning up file based variables section_end:1623845607:cleanup_file_variables Job succeeded