Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1626964255:resolve_secrets Resolving secrets section_end:1626964255:resolve_secrets section_start:1626964255: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:1626964255:prepare_executor section_start:1626964255:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-243-concurrent-0f2wsn to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-243-concurrent-0f2wsn 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-0f2wsn to be running, status is Pending 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-0f2wsn 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-0f2wsn via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1626964268:prepare_script section_start:1626964268: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 4e9d0cb8 as master... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1626964268:get_sources section_start:1626964268:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (5021933)... Downloading artifacts from coordinator... ok  id=5021933 responseStatus=200 OK token=8fNMezdz WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (5021935)... Downloading artifacts from coordinator... ok  id=5021935 responseStatus=200 OK token=Kn48_Ne8 WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (5021930)... Downloading artifacts from coordinator... ok  id=5021930 responseStatus=200 OK token=QmVKJefb WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (5021934)... Downloading artifacts from coordinator... ok  id=5021934 responseStatus=200 OK token=GXfVVsKy WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1626964282:download_artifacts section_start:1626964282: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-22T14:31:23Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod4179b735-359f-4062-b0e4-89c6526e2a4b/583657de2ec6cf416c4ef1ed73e70bf5e7852b9f2f0c5cf07e2d311c7fad8bd7: no such file or directory" Getting image source signatures Copying blob sha256:d5d5c04aa2e6e16e772bbff0051ec41da29a050b8f463bd0c53cd76b6327fee1 Copying blob sha256:d7ecef9dcc978bf0716974adff4ce45e47188dee0b3514f6ad60ab517c1c7080 Copying blob sha256:31e13787dbda1228314b290df115e36efa8fca8822bf29bce81787296de878b8 Copying blob sha256:bc7bdf0ec1b9b8dbc50dbd3fea337c2b251f1da258e1cffda61d157d3a86066f Copying blob sha256:433ae1bdb6ddf677249ab25a3adc990c8ef76fc56ce5cf86ce0753db6c07fbb4 Copying config sha256:c3cae5a07fc45b847d8e166256a3197aa87aca54d2a7056e8062cd0180fa7e9e 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:4899a1da86d270be7a5b0225891f3309ddc6594ea1479cb70ee5145e66cb8a18 Copying blob sha256:32cb6cb02445a295bc9319bb2f867eba0a2ebfc381e4633315d6de3ceba0625b Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying config sha256:3dcaf6bb4f3c40ca69b1ae7e5935b206b659d38c28f5eae101f8d59e24e2bde3 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 75 kB/s | 790 kB 00:10 Red Hat Universal Base Image 8 (RPMs) - AppStre 242 kB/s | 2.4 MB 00:10 Red Hat Universal Base Image 8 (RPMs) - CodeRea 1.5 kB/s | 14 kB 00:09 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Upgrading: java-11-openjdk-headless x86_64 1:11.0.12.0.7-0.el8_4 ubi-8-appstream 39 M Transaction Summary ================================================================================ Upgrade 1 Package Total download size: 39 M Downloading Packages: [MIRROR] java-11-openjdk-headless-11.0.12.0.7-0.el8_4.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/j/java-11-openjdk-headless-11.0.12.0.7-0.el8_4.x86_64.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] java-11-openjdk-headless-11.0.12.0.7-0.el8_4.x8 7.7 MB/s | 39 MB 00:05 -------------------------------------------------------------------------------- Total 7.7 MB/s | 39 MB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: java-11-openjdk-headless-1:11.0.12.0.7-0.el8_4.x86_6 1/1 Preparing : 1/1 Upgrading : java-11-openjdk-headless-1:11.0.12.0.7-0.el8_4.x86_6 1/2 warning: /etc/java/java-11-openjdk/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/conf/security/java.security created as /etc/java/java-11-openjdk/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/conf/security/java.security.rpmnew Running scriptlet: java-11-openjdk-headless-1:11.0.12.0.7-0.el8_4.x86_6 1/2 restored /etc/java/java-11-openjdk/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/conf/security/java.security.rpmnew to /etc/java/java-11-openjdk/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64/conf/security/java.security Cleanup : java-11-openjdk-headless-1:11.0.11.0.9-2.el8_4.x86_6 2/2 Running scriptlet: java-11-openjdk-headless-1:11.0.11.0.9-2.el8_4.x86_6 2/2 Verifying : java-11-openjdk-headless-1:11.0.12.0.7-0.el8_4.x86_6 1/2 Verifying : java-11-openjdk-headless-1:11.0.11.0.9-2.el8_4.x86_6 2/2 Installed products updated. Upgraded: java-11-openjdk-headless-1:11.0.12.0.7-0.el8_4.x86_64 Complete! Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:00:14 ago on Thu Jul 22 14:33: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] 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 Failed to set locale, defaulting to C.UTF-8 25 files removed 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:3db1d1a014874560416d5e82e56cbc55a99d739e45eb8abdbebc717d6de8a8ef Copying blob sha256:55a4a017d2b54ff88ec837368eace2d39c40379e58ade559b80813c8c541ce8d Copying blob sha256:987c281c1a4a341efda9a35ec2cb9d3a673975006e812e3b136976ac9335506c Copying config sha256:e73ff0d8767e5d6d78b300a02622a3f8b36f6fd0aede77b87e4de24599e406ae Writing manifest to image destination Storing signatures --> e73ff0d8767 e73ff0d8767e5d6d78b300a02622a3f8b36f6fd0aede77b87e4de24599e406ae + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:ibci-381234 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:ibci-381234 Getting image source signatures Copying blob sha256:55a4a017d2b54ff88ec837368eace2d39c40379e58ade559b80813c8c541ce8d Copying blob sha256:3db1d1a014874560416d5e82e56cbc55a99d739e45eb8abdbebc717d6de8a8ef Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:987c281c1a4a341efda9a35ec2cb9d3a673975006e812e3b136976ac9335506c Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:e73ff0d8767e5d6d78b300a02622a3f8b36f6fd0aede77b87e4de24599e406ae 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.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:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:3db1d1a014874560416d5e82e56cbc55a99d739e45eb8abdbebc717d6de8a8ef Copying blob sha256:55a4a017d2b54ff88ec837368eace2d39c40379e58ade559b80813c8c541ce8d Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:987c281c1a4a341efda9a35ec2cb9d3a673975006e812e3b136976ac9335506c Copying config sha256:e73ff0d8767e5d6d78b300a02622a3f8b36f6fd0aede77b87e4de24599e406ae 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:987c281c1a4a341efda9a35ec2cb9d3a673975006e812e3b136976ac9335506c Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:3db1d1a014874560416d5e82e56cbc55a99d739e45eb8abdbebc717d6de8a8ef Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:55a4a017d2b54ff88ec837368eace2d39c40379e58ade559b80813c8c541ce8d Copying config sha256:e73ff0d8767e5d6d78b300a02622a3f8b36f6fd0aede77b87e4de24599e406ae 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-22T14:35:36Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod4179b735-359f-4062-b0e4-89c6526e2a4b/583657de2ec6cf416c4ef1ed73e70bf5e7852b9f2f0c5cf07e2d311c7fad8bd7: no such file or directory" + IMAGE_ID=sha256:e73ff0d8767e5d6d78b300a02622a3f8b36f6fd0aede77b87e4de24599e406ae + echo IMAGE_ID=sha256:e73ff0d8767e5d6d78b300a02622a3f8b36f6fd0aede77b87e4de24599e406ae A tarball of the built image can be retrieved from the documentation job artifacts. + IMAGE_PODMAN_SHA=sha256:8bffbf88c37f7d9a641db17a85c3dd9919009e00897c6f5c55466e5fbf69f84d + echo IMAGE_PODMAN_SHA=sha256:8bffbf88c37f7d9a641db17a85c3dd9919009e00897c6f5c55466e5fbf69f84d + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:ibci-381234 + 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:1626964536:step_script section_start:1626964536: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=5021937 responseStatus=201 Created token=mz7mxStz Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=5021937 responseStatus=201 Created token=mz7mxStz section_end:1626964538:upload_artifacts_on_success section_start:1626964538:cleanup_file_variables Cleaning up file based variables section_end:1626964538:cleanup_file_variables Job succeeded