Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1630081529:resolve_secrets Resolving secrets section_end:1630081529:resolve_secrets section_start:1630081529: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:1630081529:prepare_executor section_start:1630081529:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-243-concurrent-0fvdv6 to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-243-concurrent-0fvdv6 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-243-concurrent-0fvdv6 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-243-concurrent-0fvdv6 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-243-concurrent-0fvdv6 via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1630081541:prepare_script section_start:1630081541: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/opensource/keycloak/keycloak/.git/ Created fresh repository. Checking out 8c8e9469 as master... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1630081542:get_sources section_start:1630081542:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (5992749)... Downloading artifacts from coordinator... ok  id=5992749 responseStatus=200 OK token=UUy3bX3f WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (5992751)... Downloading artifacts from coordinator... ok  id=5992751 responseStatus=200 OK token=-B5y6fNi WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (5992746)... Downloading artifacts from coordinator... ok  id=5992746 responseStatus=200 OK token=AAHwS_78 WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (5992750)... Downloading artifacts from coordinator... ok  id=5992750 responseStatus=200 OK token=cuatXAjP WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1630081569:download_artifacts section_start:1630081569: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 loading image ci-artifacts/import-artifacts/images/jboss-keycloak-15.0.0.tar Getting image source signatures Copying blob sha256:ba8722242f3fe180cd1aa0263b34bcd1be2c73bac1036f4b436bd9f2145ee9bd Copying blob sha256:41fd21216f60c18c8ebb318776ddca00377700249dfb80a4f1ed69ff0a20cae7 Copying blob sha256:05e0da429dc261e9197e56b8ca8e24a283cc5523127b07f6127d792b3f6c811e Copying blob sha256:cdfe6856f9253096e699ee3e72e9446859255b7466cc6db8bd6f091bb1b5e0a8 Copying blob sha256:038780c13293b41959903d3509be954867f5a58192e7a0ce3f8978fed2566304 Copying config sha256:81c4b5d3fb43abc64983f2f4cbefc68da4eb3f28575a65a94b1d5f1e1340c584 Writing manifest to image destination Storing signatures Loaded image(s): localhost/jboss/keycloak:15.0.0 Load HTTP and S3 external resources 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 jboss/keycloak:15.0.0 AS builder STEP 2: COPY --chown=jboss:root scripts/ /opt/jboss/tools STEP 3: RUN ${JBOSS_HOME}/bin/jboss-cli.sh --file=/opt/jboss/tools/cli/remove-datasources.cli && rm -rf /opt/jboss/keycloak/standalone/configuration/standalone_xml_history && rm -rf /opt/jboss/keycloak/modules/system/layers/base/com/mysql/jdbc && rm -rf /opt/jboss/keycloak/modules/system/layers/base/com/h2database WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.wildfly.extension.elytron.SSLDefinitions (jar:file:/opt/jboss/keycloak/modules/system/layers/base/org/wildfly/extension/elytron/main/wildfly-elytron-integration-15.0.1.Final.jar!/) to method com.sun.net.ssl.internal.ssl.Provider.isFIPS() WARNING: Please consider reporting this to the maintainers of org.wildfly.extension.elytron.SSLDefinitions WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release The batch executed successfully The batch executed successfully STEP 4: FROM registry1.dso.mil/ironbank/redhat/openjdk/openjdk11:1.11 Trying to pull registry1.dso.mil/ironbank/redhat/openjdk/openjdk11:1.11... Getting image source signatures Copying blob sha256:7ababeaf03f69f04f9e0264277961d545ed153d3a0872edd8994ca85a5c33305 Copying blob sha256:96476a77b28db43fcb170401c287700d91d95cdff9c06e5ea7b48289d40a8e57 Copying blob sha256:db2f50b75fc09a20e8d9c497d96ad384fbeacf7e77df71e4c7b578d4c07fccce Copying blob sha256:984ae39df1cc2825e061836dd0b2fc2920e463b6476dff096fbf48e07ea5db24 Copying config sha256:f08b629e0dd097f1c55eaec5be4f784f27dde989572b83440d9f643da7da12e1 Writing manifest to image destination Storing signatures STEP 5: ENV KEYCLOAK_VERSION="15.0.0" JDBC_POSTGRES_VERSION="42.2.5" JDBC_MARIADB_VERSION="2.5.4" JDBC_MSSQL_VERSION="8.2.2.jre11" LAUNCH_JBOSS_IN_BACKGROUND="1" PROXY_ADDRESS_FORWARDING="false" JBOSS_HOME="/opt/jboss/keycloak" LANG="en_US.UTF-8" KEYCLOAK_USER_NAME="keycloak" KEYCLOAK_USER_ID="1000" KEYCLOAK_HOME="/opt/jboss" STEP 6: USER root STEP 7: RUN dnf update -y && dnf install -y hostname openssl && dnf clean all && rm -rf /var/cache/dnf Red Hat Universal Base Image 8 (RPMs) - BaseOS 79 kB/s | 790 kB 00:10 Red Hat Universal Base Image 8 (RPMs) - AppStre 243 kB/s | 2.4 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! Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:00:01 ago on Fri Aug 27 16:29:36 2021. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: hostname x86_64 3.20-6.el8 ubi-8-baseos 32 k openssl x86_64 1:1.1.1g-15.el8_3 ubi-8-baseos 707 k Transaction Summary ================================================================================ Install 2 Packages Total download size: 739 k Installed size: 1.2 M Downloading Packages: [MIRROR] openssl-1.1.1g-15.el8_3.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/o/openssl-1.1.1g-15.el8_3.x86_64.rpm [OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to cdn-ubi.redhat.com:443 ] (1/2): openssl-1.1.1g-15.el8_3.x86_64.rpm 225 kB/s | 707 kB 00:03 [MIRROR] hostname-3.20-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/h/hostname-3.20-6.el8.x86_64.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] (2/2): hostname-3.20-6.el8.x86_64.rpm 6.4 kB/s | 32 kB 00:05 -------------------------------------------------------------------------------- Total 148 kB/s | 739 kB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : openssl-1:1.1.1g-15.el8_3.x86_64 1/2 Installing : hostname-3.20-6.el8.x86_64 2/2 Running scriptlet: hostname-3.20-6.el8.x86_64 2/2 Verifying : hostname-3.20-6.el8.x86_64 1/2 Verifying : openssl-1:1.1.1g-15.el8_3.x86_64 2/2 Installed products updated. Installed: hostname-3.20-6.el8.x86_64 openssl-1:1.1.1g-15.el8_3.x86_64 Complete! Failed to set locale, defaulting to C.UTF-8 25 files removed Failed to set locale, defaulting to C.UTF-8 STEP 8: COPY --from=builder /opt/jboss /opt/jboss STEP 9: RUN useradd -u $KEYCLOAK_USER_ID -g 0 -M -d /opt/jboss $KEYCLOAK_USER_NAME && chown -R ${KEYCLOAK_USER_NAME}:0 ${KEYCLOAK_HOME} && chmod -R o-w /opt/jboss/keycloak STEP 10: USER ${KEYCLOAK_USER_ID} STEP 11: EXPOSE 8080 8443 STEP 12: HEALTHCHECK --timeout=5m --start-period=2m --retries=3 CMD curl http://localhost/auth || exit 1 STEP 13: ENTRYPOINT [ "/opt/jboss/tools/docker-entrypoint.sh" ] STEP 14: COMMIT registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:3cb4c5c0186b0fbd59a8377e0b359a7db36c67407e28593e57fdceb00090de30 Copying blob sha256:b10c174b924effb407ae6e982ae9ae5dfff7717e748ce78c92c720e8983db81a Copying blob sha256:c27130052f53449cb618a2968592af6da13be01fe488dbe135d6eb18d504860b Copying config sha256:1afb0a2e63ae76d62d4456d14bb4a511f67a1656f2d9f654335f710564dd5f13 Writing manifest to image destination Storing signatures --> 1afb0a2e63a Successfully tagged registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:latest 1afb0a2e63ae76d62d4456d14bb4a511f67a1656f2d9f654335f710564dd5f13 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:ibci-445955 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:ibci-445955 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:b10c174b924effb407ae6e982ae9ae5dfff7717e748ce78c92c720e8983db81a Copying blob sha256:c27130052f53449cb618a2968592af6da13be01fe488dbe135d6eb18d504860b Copying blob sha256:3cb4c5c0186b0fbd59a8377e0b359a7db36c67407e28593e57fdceb00090de30 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:1afb0a2e63ae76d62d4456d14bb4a511f67a1656f2d9f654335f710564dd5f13 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/opensource/keycloak/keycloak registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:15.0.0 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:15.0.0 Getting image source signatures Copying blob sha256:c27130052f53449cb618a2968592af6da13be01fe488dbe135d6eb18d504860b Copying blob sha256:b10c174b924effb407ae6e982ae9ae5dfff7717e748ce78c92c720e8983db81a Copying blob sha256:3cb4c5c0186b0fbd59a8377e0b359a7db36c67407e28593e57fdceb00090de30 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying config sha256:1afb0a2e63ae76d62d4456d14bb4a511f67a1656f2d9f654335f710564dd5f13 Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:latest Getting image source signatures Copying blob sha256:c27130052f53449cb618a2968592af6da13be01fe488dbe135d6eb18d504860b Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:b10c174b924effb407ae6e982ae9ae5dfff7717e748ce78c92c720e8983db81a Copying blob sha256:3cb4c5c0186b0fbd59a8377e0b359a7db36c67407e28593e57fdceb00090de30 Copying config sha256:1afb0a2e63ae76d62d4456d14bb4a511f67a1656f2d9f654335f710564dd5f13 Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak --format '{{.Id}}' + IMAGE_ID=sha256:1afb0a2e63ae76d62d4456d14bb4a511f67a1656f2d9f654335f710564dd5f13 + echo IMAGE_ID=sha256:1afb0a2e63ae76d62d4456d14bb4a511f67a1656f2d9f654335f710564dd5f13 + IMAGE_PODMAN_SHA=sha256:c9076f836e2a2a4f9d8fe49e229e43a542fe61295b70ac84995113cf1d0c66fa + echo IMAGE_PODMAN_SHA=sha256:c9076f836e2a2a4f9d8fe49e229e43a542fe61295b70ac84995113cf1d0c66fa + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:ibci-445955 + echo IMAGE_NAME=opensource/keycloak/keycloak + branches=("master" "development") + [[ master development =~ master ]] 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:1630082289:step_script section_start:1630082289: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=5992753 responseStatus=201 Created token=mJgKCw3U Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=5992753 responseStatus=201 Created token=mJgKCw3U section_end:1630082291:upload_artifacts_on_success section_start:1630082291:cleanup_file_variables Cleaning up file based variables section_end:1630082291:cleanup_file_variables Job succeeded