Running with gitlab-runner 13.8.0 (775dd39d)  on global-shared-gitlab-runner-5896686f8-f7z96 71K9UkNo section_start:1620342236:resolve_secrets Resolving secrets section_end:1620342236:resolve_secrets section_start:1620342236: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:1620342236:prepare_executor section_start:1620342236:prepare_script Preparing environment Waiting for pod gitlab-runner-isolated/runner-71k9ukno-project-243-concurrent-0c77pt to be running, status is Pending Running on runner-71k9ukno-project-243-concurrent-0c77pt via global-shared-gitlab-runner-5896686f8-f7z96... section_end:1620342240:prepare_script section_start:1620342240:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/opensource/keycloak/keycloak/.git/ Created fresh repository. Checking out 1dd43f9e as balexand-development-patch-30107... Skipping Git submodules setup section_end:1620342240:get_sources section_start:1620342240:download_artifacts Downloading artifacts Downloading artifacts for hardening_manifest (3169346)... Downloading artifacts from coordinator... ok  id=3169346 responseStatus=200 OK token=Rf9AZtNR Downloading artifacts for import artifacts (3169348)... Downloading artifacts from coordinator... ok  id=3169348 responseStatus=200 OK token=64aXLM9x Downloading artifacts for load scripts (3169343)... Downloading artifacts from coordinator... ok  id=3169343 responseStatus=200 OK token=PxitBccu Downloading artifacts for wl compare lint (3169347)... Downloading artifacts from coordinator... ok  id=3169347 responseStatus=200 OK token=Zzsy_ais section_end:1620342252:download_artifacts section_start:1620342252: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-12.0.4.tar time="2021-05-06T23:04:12Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod139221b6-a59d-4256-add6-6d299f10fe5c/322ed9d143115d0948ebc286fb58da0f6e3e84fe89beb90e6e200076d8fbde27: no such file or directory" Getting image source signatures Copying blob sha256:a2cf221299a6975da1c54d4ce8f59c996ef00dd9e8490ef61859cade76c45cfd Copying blob sha256:04a05557bbadc648beca5cf01b71b152ce7890a454381877144ac7e63b968874 Copying blob sha256:821b0c400fe643d0a9f146c9ab8ec12d8abe59eddd00796673b3154005515b26 Copying blob sha256:bed834c428e1c461f835901fcf760b4420dd0668c43b82c73da69f9a62bd0daa Copying blob sha256:aab90b67081c6efeea440892b971ede0104f6e99f4d7e829749db5261c3e0334 Copying config sha256:8dc555a74a4d3499d7ef6d11ec87183836319ac29f6e1118279441acbecd68f2 Writing manifest to image destination Storing signatures Loaded image(s): localhost/jboss/keycloak:12.0.4 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:12.0.4 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 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:6160f960fc37576eaa593da1487dfa280f157c9587a323f07f2fc59dfbbec822 Copying blob sha256:b32e97c39cd25ed9879db8b2f351607392dab0dcd85295b1eb61ddd277182d12 Copying blob sha256:82e81a084e68860876e769ebee8330f3d414865c5b8c9c70a27f9549a9be7d1e Copying blob sha256:bd5b70b5da4e152b42428d4d8dc133e2248fc084b36e5b90cb34e4bc077ad9e4 Copying config sha256:08848bc20d85315cdb03fb5a25ea5e3c51aef6e6e1a1815ad0a132f6e91102f5 Writing manifest to image destination Storing signatures STEP 5: ENV KEYCLOAK_VERSION="12.0.4" 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 78 kB/s | 777 kB 00:10 Red Hat Universal Base Image 8 (RPMs) - AppStre 529 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! Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:00:02 ago on Thu May 6 23:05:46 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 [Connection timed out after 5000 milliseconds] [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 [Connection timed out after 5000 milliseconds] (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 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 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:476579af086aee78cb12d88b08fd6b61a80a3f055cae293ec2d15a37dbe7b3f9 Copying blob sha256:1e8cd6732429ccfaea139348807617a5315fd7ca469850423f77f51661e8fe51 Copying blob sha256:541d0949dbddab2f3191a414392d409ad10bec6e7e086462ca28b2cd97b4a8f7 Copying blob sha256:55ceeeddccb8a08a806049540eb5532882dc435f340c61fb1e3f5f3e1877fb0f Copying blob sha256:249b0c84ef8350be4d38a510aee456260e04c79513da2e62ce9ebedd10133273 Copying config sha256:4d95ace38ce0c1fb436e7583d3a62bba75b2ff52bb2cc6cce26d16041b52bff1 Writing manifest to image destination Storing signatures --> 4d95ace38ce 4d95ace38ce0c1fb436e7583d3a62bba75b2ff52bb2cc6cce26d16041b52bff1 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:248872 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:248872 Getting image source signatures Copying blob sha256:249b0c84ef8350be4d38a510aee456260e04c79513da2e62ce9ebedd10133273 Copying blob sha256:1e8cd6732429ccfaea139348807617a5315fd7ca469850423f77f51661e8fe51 Copying blob sha256:55ceeeddccb8a08a806049540eb5532882dc435f340c61fb1e3f5f3e1877fb0f Copying blob sha256:541d0949dbddab2f3191a414392d409ad10bec6e7e086462ca28b2cd97b4a8f7 Copying blob sha256:476579af086aee78cb12d88b08fd6b61a80a3f055cae293ec2d15a37dbe7b3f9 Copying config sha256:4d95ace38ce0c1fb436e7583d3a62bba75b2ff52bb2cc6cce26d16041b52bff1 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:12.0.4 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:12.0.4 Getting image source signatures Copying blob sha256:1e8cd6732429ccfaea139348807617a5315fd7ca469850423f77f51661e8fe51 Copying blob sha256:249b0c84ef8350be4d38a510aee456260e04c79513da2e62ce9ebedd10133273 Copying blob sha256:541d0949dbddab2f3191a414392d409ad10bec6e7e086462ca28b2cd97b4a8f7 Copying blob sha256:55ceeeddccb8a08a806049540eb5532882dc435f340c61fb1e3f5f3e1877fb0f Copying blob sha256:476579af086aee78cb12d88b08fd6b61a80a3f055cae293ec2d15a37dbe7b3f9 Copying config sha256:4d95ace38ce0c1fb436e7583d3a62bba75b2ff52bb2cc6cce26d16041b52bff1 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:476579af086aee78cb12d88b08fd6b61a80a3f055cae293ec2d15a37dbe7b3f9 Copying blob sha256:1e8cd6732429ccfaea139348807617a5315fd7ca469850423f77f51661e8fe51 Copying blob sha256:249b0c84ef8350be4d38a510aee456260e04c79513da2e62ce9ebedd10133273 Copying blob sha256:55ceeeddccb8a08a806049540eb5532882dc435f340c61fb1e3f5f3e1877fb0f Copying blob sha256:541d0949dbddab2f3191a414392d409ad10bec6e7e086462ca28b2cd97b4a8f7 Copying config sha256:4d95ace38ce0c1fb436e7583d3a62bba75b2ff52bb2cc6cce26d16041b52bff1 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-05-06T23:06:52Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod139221b6-a59d-4256-add6-6d299f10fe5c/322ed9d143115d0948ebc286fb58da0f6e3e84fe89beb90e6e200076d8fbde27: no such file or directory" + IMAGE_ID=sha256:4d95ace38ce0c1fb436e7583d3a62bba75b2ff52bb2cc6cce26d16041b52bff1 + echo IMAGE_ID=sha256:4d95ace38ce0c1fb436e7583d3a62bba75b2ff52bb2cc6cce26d16041b52bff1 + IMAGE_PODMAN_SHA=sha256:d1ddc4655d45b161453110dc19a27ef1a0b731b9da58968a39bbc92798b831f6 + echo IMAGE_PODMAN_SHA=sha256:d1ddc4655d45b161453110dc19a27ef1a0b731b9da58968a39bbc92798b831f6 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/keycloak/keycloak:248872 + echo IMAGE_NAME=opensource/keycloak/keycloak section_end:1620342412:step_script section_start:1620342412: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=3169350 responseStatus=201 Created token=2aXwJLmD Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=3169350 responseStatus=201 Created token=2aXwJLmD section_end:1620342414:upload_artifacts_on_success section_start:1620342414:cleanup_file_variables Cleaning up file based variables section_end:1620342414:cleanup_file_variables Job succeeded