Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1626665658:resolve_secrets Resolving secrets section_end:1626665658:resolve_secrets section_start:1626665658: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:1626665658:prepare_executor section_start:1626665658:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-243-concurrent-0twpnf to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-243-concurrent-0twpnf 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-0twpnf 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-0twpnf via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1626665667:prepare_script section_start:1626665667: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 1a956c3c as master... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1626665668:get_sources section_start:1626665668:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (4925582)... Downloading artifacts from coordinator... ok  id=4925582 responseStatus=200 OK token=PcambczG WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (4925584)... Downloading artifacts from coordinator... ok  id=4925584 responseStatus=200 OK token=aFszncz7 WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (4925579)... Downloading artifacts from coordinator... ok  id=4925579 responseStatus=200 OK token=zYjVssV- WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (4925583)... Downloading artifacts from coordinator... ok  id=4925583 responseStatus=200 OK token=iGhSC-z- WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1626665689:download_artifacts section_start:1626665689: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-14.0.0.tar time="2021-07-19T03:34:51Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod180da716-7bf3-428d-849f-e9946851ab36/e3050f0431dd628714525e69d76e5fb896cda6077077a0b766c66a4dddf2eddb: no such file or directory" Getting image source signatures Copying blob sha256:d1a898a1958fce4d72b16275467e8817fcb971d1c312d8dd40900e0d4cf0dc0b Copying blob sha256:eafebb2d5a9bef33c40206810e5039d08819a1fc73dcbd6d11e04def41c9e66d Copying blob sha256:490b9209179e56ae216e347049e791379a0b801391f72d039af036adc71ab960 Copying blob sha256:01459d06ee132721fa3f0b4c43a0e42fe6ffd295de68f76b392ca670fed29d5e Copying blob sha256:7ef7f1afd9d80c275c14426d97a7c67e9599afd227588da6599d5339a33ce091 Copying config sha256:534a284f228657b7607086134e15b27b0ad204bf2edbdb030a28974a5dee0291 Writing manifest to image destination Storing signatures Loaded image(s): localhost/jboss/keycloak:14.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:14.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 Getting image source signatures Copying blob sha256:7a00b1dd0f58d3d9438fe766ab5968e60dd01d0c19eea648270822319ea78ea7 Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying blob sha256:fa4288bb0e48f83dd6fdf36af66d5efc5cd0804a954ac250fb834ccf9cf7ef95 Copying config sha256:33aecffbf5d22befc3896691aa673eda872603ec2557d19e9ebbdb6948491a94 Writing manifest to image destination Storing signatures STEP 5: ENV KEYCLOAK_VERSION="14.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 249 kB/s | 2.4 MB 00:09 Red Hat Universal Base Image 8 (RPMs) - CodeRea 1.5 kB/s | 14 kB 00:09 Dependencies resolved. Nothing to do. Complete! Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:00:01 ago on Mon Jul 19 03:38:05 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] 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] [MIRROR] openssl-1.1.1g-15.el8_3.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/o/openssl-1.1.1g-15.el8_3.x86_64.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] (1/2): hostname-3.20-6.el8.x86_64.rpm 6.4 kB/s | 32 kB 00:05 (2/2): openssl-1.1.1g-15.el8_3.x86_64.rpm 141 kB/s | 707 kB 00:05 -------------------------------------------------------------------------------- Total 147 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:77d7583118e84a8491351abf5aaf425cddf292798e54a2c41d7aae65fb1adcac Copying blob sha256:a51978afd10d35196b3f94f7e0cb311b135be14eb1beab8d2408aa0184df03af Copying blob sha256:923ecc4968d99e0101d420b5911e8dbb61c1d56f7cdc03958b6426b40830885c Copying config sha256:8c9e4c2da40163a1c26e727e5d3ec85cd0b1b8925b30f848c80b5df4f34d07ff Writing manifest to image destination Storing signatures --> 8c9e4c2da40 8c9e4c2da40163a1c26e727e5d3ec85cd0b1b8925b30f848c80b5df4f34d07ff + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:ibci-374457 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:ibci-374457 Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:a51978afd10d35196b3f94f7e0cb311b135be14eb1beab8d2408aa0184df03af Copying blob sha256:923ecc4968d99e0101d420b5911e8dbb61c1d56f7cdc03958b6426b40830885c Copying blob sha256:77d7583118e84a8491351abf5aaf425cddf292798e54a2c41d7aae65fb1adcac Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:8c9e4c2da40163a1c26e727e5d3ec85cd0b1b8925b30f848c80b5df4f34d07ff 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:14.0.0 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:14.0.0 Getting image source signatures Copying blob sha256:923ecc4968d99e0101d420b5911e8dbb61c1d56f7cdc03958b6426b40830885c Copying blob sha256:77d7583118e84a8491351abf5aaf425cddf292798e54a2c41d7aae65fb1adcac Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:a51978afd10d35196b3f94f7e0cb311b135be14eb1beab8d2408aa0184df03af Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:8c9e4c2da40163a1c26e727e5d3ec85cd0b1b8925b30f848c80b5df4f34d07ff 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:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:a51978afd10d35196b3f94f7e0cb311b135be14eb1beab8d2408aa0184df03af Copying blob sha256:923ecc4968d99e0101d420b5911e8dbb61c1d56f7cdc03958b6426b40830885c Copying blob sha256:77d7583118e84a8491351abf5aaf425cddf292798e54a2c41d7aae65fb1adcac Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying config sha256:8c9e4c2da40163a1c26e727e5d3ec85cd0b1b8925b30f848c80b5df4f34d07ff 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}}' time="2021-07-19T03:39:39Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod180da716-7bf3-428d-849f-e9946851ab36/e3050f0431dd628714525e69d76e5fb896cda6077077a0b766c66a4dddf2eddb: no such file or directory" + IMAGE_ID=sha256:8c9e4c2da40163a1c26e727e5d3ec85cd0b1b8925b30f848c80b5df4f34d07ff + echo IMAGE_ID=sha256:8c9e4c2da40163a1c26e727e5d3ec85cd0b1b8925b30f848c80b5df4f34d07ff + IMAGE_PODMAN_SHA=sha256:632f699abd16a40f04d10f480c5d0d6ab6ad715de93d2eba295fb31acc4559ae + echo IMAGE_PODMAN_SHA=sha256:632f699abd16a40f04d10f480c5d0d6ab6ad715de93d2eba295fb31acc4559ae A tarball of the built image can be retrieved from the documentation job artifacts. + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:ibci-374457 + echo IMAGE_NAME=opensource/keycloak/keycloak + branches=("master" "development") + [[ 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:1626665980:step_script section_start:1626665980: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=4925586 responseStatus=201 Created token=5ibj8FDr Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=4925586 responseStatus=201 Created token=5ibj8FDr section_end:1626665981:upload_artifacts_on_success section_start:1626665981:cleanup_file_variables Cleaning up file based variables section_end:1626665981:cleanup_file_variables Job succeeded