Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1623845635:resolve_secrets Resolving secrets section_end:1623845635:resolve_secrets section_start:1623845635: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:1623845635:prepare_executor section_start:1623845635:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-1877-concurrent-0cvjbv 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-1877-concurrent-0cvjbv 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-1877-concurrent-0cvjbv 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-1877-concurrent-0cvjbv via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1623845645:prepare_script section_start:1623845645: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/apache/couchdb_2/.git/ Created fresh repository. Checking out a124af68 as development... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1623845645:get_sources section_start:1623845645:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (4135311)... Downloading artifacts from coordinator... ok  id=4135311 responseStatus=200 OK token=d5mw3ESV WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (4135313)... Downloading artifacts from coordinator... ok  id=4135313 responseStatus=200 OK token=ByTysYdQ WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (4135308)... Downloading artifacts from coordinator... ok  id=4135308 responseStatus=200 OK token=TQcyFgZP WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (4135312)... Downloading artifacts from coordinator... ok  id=4135312 responseStatus=200 OK token=ZsJghDdE WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1623845646:download_artifacts section_start:1623845646: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/couch-js-1.8.5-21.el8.x86_64.rpm' -> './couch-js-1.8.5-21.el8.x86_64.rpm' 'ci-artifacts/import-artifacts/external-resources/couchdb-2.3.1-1.el8.x86_64.rpm' -> './couchdb-2.3.1-1.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/ubi/ubi8:8.4 Getting image source signatures Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:e312205e0add90e699707488d34e10f9e29e859c630df2e3d49c6dc210f9e080 Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying config sha256:047348388254d7d3f32ecc694fd93fed94b6f547112ce4710a6831e7872ceb75 Writing manifest to image destination Storing signatures STEP 2: COPY couchdb-2.3.1-1.el8.x86_64.rpm /home/ STEP 3: COPY couch-js-1.8.5-21.el8.x86_64.rpm /home/ STEP 4: ENV COUCHDB_VERSION 2.3.1 STEP 5: RUN set -ex; dnf update --disableplugin=subscription-manager -y && rm -rf /var/cache/yum; dnf install -y ca-certificates gnupg findutils shadow-utils; useradd -u 5984 -d /opt/couchdb -g root couchdb; groupadd -g 5984 couchdb; dnf clean all; rm -rf /var/cache/yum + dnf update --disableplugin=subscription-manager -y 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.5 kB/s | 14 kB 00:09 Dependencies resolved. Nothing to do. Complete! + rm -rf /var/cache/yum + dnf install -y ca-certificates gnupg findutils shadow-utils Last metadata expiration check: 0:00:02 ago on Wed Jun 16 12:15:01 2021. Package ca-certificates-2020.2.41-80.0.el8_2.noarch is already installed. Package gnupg2-2.2.20-2.el8.x86_64 is already installed. Package findutils-1:4.6.0-20.el8.x86_64 is already installed. Package shadow-utils-2:4.6-12.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! + useradd -u 5984 -d /opt/couchdb -g root couchdb + groupadd -g 5984 couchdb + dnf clean all 25 files removed + rm -rf /var/cache/yum STEP 6: RUN set -xe; dnf install libicu mozjs60 procps python3-requests nspr -y; rpm -i /home/couch-js-1.8.5-21.el8.x86_64.rpm; rpm -i /home/couchdb-2.3.1-1.el8.x86_64.rpm; rm /opt/couchdb/etc/default.d/10-filelog.ini; find /opt/couchdb \! \( -user couchdb -group 0 \) -exec chown -f couchdb:0 '{}' +; find /opt/couchdb/etc -type d ! -perm 0755 -exec chmod -f 0755 '{}' +; find /opt/couchdb/etc -type f ! -perm 0644 -exec chmod -f 0644 '{}' +; chmod 775 /opt/couchdb/data + dnf install libicu mozjs60 procps python3-requests nspr -y Red Hat Universal Base Image 8 (RPMs) - BaseOS 79 kB/s | 791 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 Package python3-requests-2.20.0-2.1.el8_1.noarch is already installed. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: libicu x86_64 60.3-2.el8_1 ubi-8-baseos 8.8 M mozjs60 x86_64 60.9.0-4.el8 ubi-8-baseos 6.6 M nspr x86_64 4.25.0-2.el8_2 ubi-8-appstream 142 k procps-ng x86_64 3.3.15-6.el8 ubi-8-baseos 329 k Transaction Summary ================================================================================ Install 4 Packages Total download size: 16 M Installed size: 56 M Downloading Packages: [MIRROR] libicu-60.3-2.el8_1.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/l/libicu-60.3-2.el8_1.x86_64.rpm [OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to cdn-ubi.redhat.com:443 ] [MIRROR] mozjs60-60.9.0-4.el8.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/m/mozjs60-60.9.0-4.el8.x86_64.rpm [OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to cdn-ubi.redhat.com:443 ] [MIRROR] procps-ng-3.3.15-6.el8.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/p/procps-ng-3.3.15-6.el8.x86_64.rpm [OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to cdn-ubi.redhat.com:443 ] (1/4): procps-ng-3.3.15-6.el8.x86_64.rpm 71 kB/s | 329 kB 00:04 (2/4): libicu-60.3-2.el8_1.x86_64.rpm 1.6 MB/s | 8.8 MB 00:05 (3/4): mozjs60-60.9.0-4.el8.x86_64.rpm 1.2 MB/s | 6.6 MB 00:05 [MIRROR] nspr-4.25.0-2.el8_2.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/n/nspr-4.25.0-2.el8_2.x86_64.rpm [Operation timed out after 5000 milliseconds with 0 out of 0 bytes received] (4/4): nspr-4.25.0-2.el8_2.x86_64.rpm 28 kB/s | 142 kB 00:05 -------------------------------------------------------------------------------- Total 1.6 MB/s | 16 MB 00:09 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : nspr-4.25.0-2.el8_2.x86_64 1/4 Running scriptlet: nspr-4.25.0-2.el8_2.x86_64 1/4 Installing : libicu-60.3-2.el8_1.x86_64 2/4 Running scriptlet: libicu-60.3-2.el8_1.x86_64 2/4 Installing : mozjs60-60.9.0-4.el8.x86_64 3/4 Installing : procps-ng-3.3.15-6.el8.x86_64 4/4 Running scriptlet: procps-ng-3.3.15-6.el8.x86_64 4/4 Verifying : procps-ng-3.3.15-6.el8.x86_64 1/4 Verifying : mozjs60-60.9.0-4.el8.x86_64 2/4 Verifying : libicu-60.3-2.el8_1.x86_64 3/4 Verifying : nspr-4.25.0-2.el8_2.x86_64 4/4 Installed products updated. Installed: libicu-60.3-2.el8_1.x86_64 mozjs60-60.9.0-4.el8.x86_64 nspr-4.25.0-2.el8_2.x86_64 procps-ng-3.3.15-6.el8.x86_64 Complete! + rpm -i /home/couch-js-1.8.5-21.el8.x86_64.rpm + rpm -i /home/couchdb-2.3.1-1.el8.x86_64.rpm + rm /opt/couchdb/etc/default.d/10-filelog.ini + find /opt/couchdb '!' '(' -user couchdb -group 0 ')' -exec chown -f couchdb:0 '{}' + + find /opt/couchdb/etc -type d '!' -perm 0755 -exec chmod -f 0755 '{}' + + find /opt/couchdb/etc -type f '!' -perm 0644 -exec chmod -f 0644 '{}' + + chmod 775 /opt/couchdb/data STEP 7: COPY licenses /licenses STEP 8: COPY --chown=couchdb:0 scripts/10-docker-default.ini /opt/couchdb/etc/default.d/ STEP 9: COPY --chown=couchdb:0 scripts/vm.args /opt/couchdb/etc/ STEP 10: COPY scripts/docker-entrypoint.sh /usr/local/bin STEP 11: COPY scripts/run /etc/service/couchdb/ STEP 12: RUN chmod -R 775 /etc/service/couchdb; chmod 775 /usr/local/bin/docker-entrypoint.sh; ln -s usr/local/bin/docker-entrypoint.sh /docker-entrypoint.sh STEP 13: USER couchdb STEP 14: USER couchdb STEP 15: ENTRYPOINT ["/docker-entrypoint.sh"] STEP 16: VOLUME /opt/couchdb/data STEP 17: EXPOSE 5984 4369 9100 STEP 18: CMD ["/opt/couchdb/bin/couchdb"] STEP 19: HEALTHCHECK --timeout=3s CMD curl -f http://localhost:5984/ || exit 1 STEP 20: COMMIT registry1.dso.mil/ironbank-staging/opensource/apache/couchdb_2 Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:a03014bb0b8dfbb7ce3aa021c91b0d65b6e0d9001c2e8d77ae6482d5290ed0e9 Copying blob sha256:8d1cce5efeccc556313aa67e481bebdb9d65b90755b03b1a83ff7beed209c4f0 Copying config sha256:65f5a37d7ad9d173b3a9591c976a5ea5725477b7a08ab18fc7b19a365d4a3f15 Writing manifest to image destination Storing signatures --> 65f5a37d7ad 65f5a37d7ad9d173b3a9591c976a5ea5725477b7a08ab18fc7b19a365d4a3f15 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/apache/couchdb_2 registry1.dso.mil/ironbank-staging/opensource/apache/couchdb_2:318170 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/apache/couchdb_2:318170 Getting image source signatures Copying blob sha256:8d1cce5efeccc556313aa67e481bebdb9d65b90755b03b1a83ff7beed209c4f0 Copying blob sha256:a03014bb0b8dfbb7ce3aa021c91b0d65b6e0d9001c2e8d77ae6482d5290ed0e9 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:65f5a37d7ad9d173b3a9591c976a5ea5725477b7a08ab18fc7b19a365d4a3f15 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 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/apache/couchdb_2 registry1.dso.mil/ironbank-staging/opensource/apache/couchdb_2:2.3.1 Read the tags + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/apache/couchdb_2:2.3.1 Getting image source signatures Copying blob sha256:a03014bb0b8dfbb7ce3aa021c91b0d65b6e0d9001c2e8d77ae6482d5290ed0e9 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:8d1cce5efeccc556313aa67e481bebdb9d65b90755b03b1a83ff7beed209c4f0 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:65f5a37d7ad9d173b3a9591c976a5ea5725477b7a08ab18fc7b19a365d4a3f15 Writing manifest to image destination Storing signatures + IFS= + read -r tag + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/apache/couchdb_2 registry1.dso.mil/ironbank-staging/opensource/apache/couchdb_2:latest + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/apache/couchdb_2:latest Getting image source signatures Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:a03014bb0b8dfbb7ce3aa021c91b0d65b6e0d9001c2e8d77ae6482d5290ed0e9 Copying blob sha256:8d1cce5efeccc556313aa67e481bebdb9d65b90755b03b1a83ff7beed209c4f0 Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:65f5a37d7ad9d173b3a9591c976a5ea5725477b7a08ab18fc7b19a365d4a3f15 Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/apache/couchdb_2 --format '{{.Id}}' time="2021-06-16T12:16:50Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod1cd811fd-640b-482e-abb2-3e0ee6bb2bc7/9912f1ac4a63b114ea28b328d8085494f2372a6b760c4dc8228604998e991cff: no such file or directory" + IMAGE_ID=sha256:65f5a37d7ad9d173b3a9591c976a5ea5725477b7a08ab18fc7b19a365d4a3f15 + echo IMAGE_ID=sha256:65f5a37d7ad9d173b3a9591c976a5ea5725477b7a08ab18fc7b19a365d4a3f15 + IMAGE_PODMAN_SHA=sha256:ec5433b6755cbb6d762d376371b86792ad4e0ca3163efa40bbce489d4ff74b21 + echo IMAGE_PODMAN_SHA=sha256:ec5433b6755cbb6d762d376371b86792ad4e0ca3163efa40bbce489d4ff74b21 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/apache/couchdb_2:318170 A tarball of the built image can be retrieved from the documentation job artifacts. + echo IMAGE_NAME=opensource/apache/couchdb_2 + branches=("master" "development") + [[ master development =~ development ]] + 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:1623845810:step_script section_start:1623845810: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=4135315 responseStatus=201 Created token=RNiUjNwB Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=4135315 responseStatus=201 Created token=RNiUjNwB section_end:1623845815:upload_artifacts_on_success section_start:1623845815:cleanup_file_variables Cleaning up file based variables section_end:1623845817:cleanup_file_variables Job succeeded