Running with gitlab-runner 13.8.0 (775dd39d)  on global-shared-gitlab-runner-5c8545f999-ddb9j uLxNkb5e section_start:1617300512:resolve_secrets Resolving secrets section_end:1617300512:resolve_secrets section_start:1617300512: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:1617300512:prepare_executor section_start:1617300512:prepare_script Preparing environment Waiting for pod gitlab-runner-isolated/runner-ulxnkb5e-project-5683-concurrent-0jf6mf to be running, status is Pending Running on runner-ulxnkb5e-project-5683-concurrent-0jf6mf via global-shared-gitlab-runner-5c8545f999-ddb9j... section_end:1617300516:prepare_script section_start:1617300516:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/opensource/jupyter/jupyterhub-k8s-secret-sync/.git/ Created fresh repository. Checking out 062dd132 as initial-hardening... Skipping Git submodules setup section_end:1617300516:get_sources section_start:1617300516:download_artifacts Downloading artifacts Downloading artifacts for hardening_manifest (2562732)... Downloading artifacts from coordinator... ok  id=2562732 responseStatus=200 OK token=sSjz5X8n Downloading artifacts for import artifacts (2562735)... Downloading artifacts from coordinator... ok  id=2562735 responseStatus=200 OK token=x7fwfgu- Downloading artifacts for load scripts (2562730)... Downloading artifacts from coordinator... ok  id=2562730 responseStatus=200 OK token=nknhrZNE Downloading artifacts for wl compare lint (2562733)... Downloading artifacts from coordinator... ok  id=2562733 responseStatus=200 OK token=w7u-foRq section_end:1617300516:download_artifacts section_start:1617300516: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/PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl' -> './PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl' 'ci-artifacts/import-artifacts/external-resources/cachetools-4.2.1-py3-none-any.whl' -> './cachetools-4.2.1-py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/certifi-2020.12.5-py2.py3-none-any.whl' -> './certifi-2020.12.5-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/chardet-4.0.0-py2.py3-none-any.whl' -> './chardet-4.0.0-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/google_auth-1.28.0-py2.py3-none-any.whl' -> './google_auth-1.28.0-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/idna-2.10-py2.py3-none-any.whl' -> './idna-2.10-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/kubernetes-12.0.1-py2.py3-none-any.whl' -> './kubernetes-12.0.1-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/oauthlib-3.1.0-py2.py3-none-any.whl' -> './oauthlib-3.1.0-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/pyasn1-0.4.8-py2.py3-none-any.whl' -> './pyasn1-0.4.8-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/pyasn1_modules-0.2.8-py2.py3-none-any.whl' -> './pyasn1_modules-0.2.8-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/python_dateutil-2.8.1-py2.py3-none-any.whl' -> './python_dateutil-2.8.1-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/requests-2.25.1-py2.py3-none-any.whl' -> './requests-2.25.1-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/requests_oauthlib-1.3.0-py2.py3-none-any.whl' -> './requests_oauthlib-1.3.0-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/rsa-4.7.2-py3-none-any.whl' -> './rsa-4.7.2-py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/six-1.15.0-py2.py3-none-any.whl' -> './six-1.15.0-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/tini-static' -> './tini-static' 'ci-artifacts/import-artifacts/external-resources/urllib3-1.26.4-py2.py3-none-any.whl' -> './urllib3-1.26.4-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/websocket_client-0.58.0-py2.py3-none-any.whl' -> './websocket_client-0.58.0-py2.py3-none-any.whl' 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/opensource/python/python38:3.8 Getting image source signatures Copying blob sha256:d2320253299952d6acf67a183191a320661feeec9a7c4f1cb5107ab23cef7d8e Copying blob sha256:88afac75a7738cf4e403f8c2234207477781e19950ae6b21f1fee762a0c2c2bd Copying blob sha256:4bf3daeeb2452a752f39d2285cc02dcbbc57ccb3918c51196bfcaf5303e90b41 Copying blob sha256:6feb9b8c777254e91e3c109a40b6c6c2268dc66f74a5b48c65c78edc4c8596a7 Copying config sha256:c08ceadd92674462e69c9092262b0438f1c2ba6ef7958b2a7915cd11b3a1d2df Writing manifest to image destination Storing signatures STEP 2: USER 0 STEP 3: COPY tini-static /tini STEP 4: ENV PYTHONUNBUFFERED=1 STEP 5: COPY *.whl /local/wheels/ STEP 6: RUN dnf upgrade -y --nodocs && for f in $(ls -l /local/wheels | awk '{print $9}' |sed '/^$/d'); do python3 -m pip install --no-index --no-deps /local/wheels/$f; done && chmod +x /tini && rm -rf /local && 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 528 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. ================================================================================ Package Arch Version Repository Size ================================================================================ Upgrading: openssl-libs x86_64 1:1.1.1g-15.el8_3 ubi-8-baseos 1.5 M Installing dependencies: openssl x86_64 1:1.1.1g-15.el8_3 ubi-8-baseos 707 k Installing weak dependencies: openssl-pkcs11 x86_64 0.4.10-2.el8 ubi-8-baseos 66 k Transaction Summary ================================================================================ Install 2 Packages Upgrade 1 Package Total download size: 2.2 M Downloading Packages: [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] [MIRROR] openssl-pkcs11-0.4.10-2.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/o/openssl-pkcs11-0.4.10-2.el8.x86_64.rpm [Connection timed out after 5000 milliseconds] [MIRROR] openssl-libs-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-libs-1.1.1g-15.el8_3.x86_64.rpm [Connection timed out after 5000 milliseconds] (1/3): openssl-pkcs11-0.4.10-2.el8.x86_64.rpm 13 kB/s | 66 kB 00:05 (2/3): openssl-1.1.1g-15.el8_3.x86_64.rpm 141 kB/s | 707 kB 00:05 (3/3): openssl-libs-1.1.1g-15.el8_3.x86_64.rpm 298 kB/s | 1.5 MB 00:05 -------------------------------------------------------------------------------- Total 452 kB/s | 2.2 MB 00:05 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Upgrading : openssl-libs-1:1.1.1g-15.el8_3.x86_64 1/4 Running scriptlet: openssl-libs-1:1.1.1g-15.el8_3.x86_64 1/4 Installing : openssl-1:1.1.1g-15.el8_3.x86_64 2/4 Installing : openssl-pkcs11-0.4.10-2.el8.x86_64 3/4 Cleanup : openssl-libs-1:1.1.1g-12.el8_3.x86_64 4/4 Running scriptlet: openssl-libs-1:1.1.1g-12.el8_3.x86_64 4/4 Verifying : openssl-1:1.1.1g-15.el8_3.x86_64 1/4 Verifying : openssl-pkcs11-0.4.10-2.el8.x86_64 2/4 Verifying : openssl-libs-1:1.1.1g-15.el8_3.x86_64 3/4 Verifying : openssl-libs-1:1.1.1g-12.el8_3.x86_64 4/4 Installed products updated. Upgraded: openssl-libs-1:1.1.1g-15.el8_3.x86_64 Installed: openssl-1:1.1.1g-15.el8_3.x86_64 openssl-pkcs11-0.4.10-2.el8.x86_64 Complete! Processing /local/wheels/PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl Installing collected packages: PyYAML Successfully installed PyYAML-5.4.1 Processing /local/wheels/cachetools-4.2.1-py3-none-any.whl Installing collected packages: cachetools Successfully installed cachetools-4.2.1 Processing /local/wheels/certifi-2020.12.5-py2.py3-none-any.whl Installing collected packages: certifi Successfully installed certifi-2020.12.5 Processing /local/wheels/chardet-4.0.0-py2.py3-none-any.whl Installing collected packages: chardet Successfully installed chardet-4.0.0 Processing /local/wheels/google_auth-1.28.0-py2.py3-none-any.whl Installing collected packages: google-auth Successfully installed google-auth-1.28.0 Processing /local/wheels/idna-2.10-py2.py3-none-any.whl Installing collected packages: idna Successfully installed idna-2.10 Processing /local/wheels/kubernetes-12.0.1-py2.py3-none-any.whl Installing collected packages: kubernetes Successfully installed kubernetes-12.0.1 Processing /local/wheels/oauthlib-3.1.0-py2.py3-none-any.whl Installing collected packages: oauthlib Successfully installed oauthlib-3.1.0 Processing /local/wheels/pyasn1-0.4.8-py2.py3-none-any.whl Installing collected packages: pyasn1 Successfully installed pyasn1-0.4.8 Processing /local/wheels/pyasn1_modules-0.2.8-py2.py3-none-any.whl Installing collected packages: pyasn1-modules Successfully installed pyasn1-modules-0.2.8 Processing /local/wheels/python_dateutil-2.8.1-py2.py3-none-any.whl Installing collected packages: python-dateutil Successfully installed python-dateutil-2.8.1 Processing /local/wheels/requests-2.25.1-py2.py3-none-any.whl Installing collected packages: requests Successfully installed requests-2.25.1 Processing /local/wheels/requests_oauthlib-1.3.0-py2.py3-none-any.whl Installing collected packages: requests-oauthlib Successfully installed requests-oauthlib-1.3.0 Processing /local/wheels/rsa-4.7.2-py3-none-any.whl Installing collected packages: rsa Successfully installed rsa-4.7.2 Processing /local/wheels/six-1.15.0-py2.py3-none-any.whl Installing collected packages: six Successfully installed six-1.15.0 Processing /local/wheels/urllib3-1.26.4-py2.py3-none-any.whl Installing collected packages: urllib3 Successfully installed urllib3-1.26.4 Processing /local/wheels/websocket_client-0.58.0-py2.py3-none-any.whl Installing collected packages: websocket-client Successfully installed websocket-client-0.58.0 25 files removed STEP 7: COPY scripts/acme-secret-sync.py /usr/local/bin/ STEP 8: USER python3 STEP 9: ENTRYPOINT [ "/tini", "--", "/usr/local/bin/acme-secret-sync.py" ] STEP 10: COMMIT registry1.dso.mil/ironbank-staging/opensource/jupyterhub/k8s-secret-sync Getting image source signatures Copying blob sha256:72e7d306c279696257fb1796dac29d887127c53479403f8687d3aa4c560edff2 Copying blob sha256:9624be4353eb5540a948608d314a5690c6a0b841aa04979810b61fd190e04769 Copying blob sha256:938fabf6b82791991965eb81f68b71449d32812cdf709e9f76f5881d7f6ae5b3 Copying blob sha256:ec4c045d2aa0cffd9ef594a8a2ee7ca56e18471b10198c994fe756cb95357fbe Copying blob sha256:2b64091479ea058cc6c0c8da651702569cbdad85fab5c0493be11d0f56c5a5ba Copying config sha256:3213f7735d4a45877cfac6a955cf8008c6c3df32d6660325a351d06550779f47 Writing manifest to image destination Storing signatures --> 3213f7735d4 3213f7735d4a45877cfac6a955cf8008c6c3df32d6660325a351d06550779f47 + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/jupyterhub/k8s-secret-sync registry1.dso.mil/ironbank-staging/opensource/jupyterhub/k8s-secret-sync:207746 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/jupyterhub/k8s-secret-sync:207746 Getting image source signatures Copying blob sha256:2b64091479ea058cc6c0c8da651702569cbdad85fab5c0493be11d0f56c5a5ba Copying blob sha256:9624be4353eb5540a948608d314a5690c6a0b841aa04979810b61fd190e04769 Copying blob sha256:938fabf6b82791991965eb81f68b71449d32812cdf709e9f76f5881d7f6ae5b3 Copying blob sha256:72e7d306c279696257fb1796dac29d887127c53479403f8687d3aa4c560edff2 Copying blob sha256:ec4c045d2aa0cffd9ef594a8a2ee7ca56e18471b10198c994fe756cb95357fbe Copying config sha256:3213f7735d4a45877cfac6a955cf8008c6c3df32d6660325a351d06550779f47 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/jupyterhub/k8s-secret-sync registry1.dso.mil/ironbank-staging/opensource/jupyterhub/k8s-secret-sync:0.11.1 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/jupyterhub/k8s-secret-sync:0.11.1 Getting image source signatures Copying blob sha256:2b64091479ea058cc6c0c8da651702569cbdad85fab5c0493be11d0f56c5a5ba Copying blob sha256:ec4c045d2aa0cffd9ef594a8a2ee7ca56e18471b10198c994fe756cb95357fbe Copying blob sha256:938fabf6b82791991965eb81f68b71449d32812cdf709e9f76f5881d7f6ae5b3 Copying blob sha256:9624be4353eb5540a948608d314a5690c6a0b841aa04979810b61fd190e04769 Copying blob sha256:72e7d306c279696257fb1796dac29d887127c53479403f8687d3aa4c560edff2 Copying config sha256:3213f7735d4a45877cfac6a955cf8008c6c3df32d6660325a351d06550779f47 Writing manifest to image destination Storing signatures + IFS= + read -r tag + skopeo copy --src-authfile staging_auth.json docker://registry1.dso.mil/ironbank-staging/opensource/jupyterhub/k8s-secret-sync:207746 docker-archive:ci-artifacts/build/jupyterhub-k8s-secret-sync-207746.tar Getting image source signatures Copying blob sha256:88afac75a7738cf4e403f8c2234207477781e19950ae6b21f1fee762a0c2c2bd Copying blob sha256:d2320253299952d6acf67a183191a320661feeec9a7c4f1cb5107ab23cef7d8e Copying blob sha256:4bf3daeeb2452a752f39d2285cc02dcbbc57ccb3918c51196bfcaf5303e90b41 Copying blob sha256:6feb9b8c777254e91e3c109a40b6c6c2268dc66f74a5b48c65c78edc4c8596a7 Copying blob sha256:b0321736734217c8acfbf2042c3492befb00502c691d809ba1efdfb23dd90c45 Copying config sha256:3213f7735d4a45877cfac6a955cf8008c6c3df32d6660325a351d06550779f47 Writing manifest to image destination Storing signatures ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/jupyterhub/k8s-secret-sync --format '{{.Id}}' time="2021-04-01T18:11:02Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/podb32c3d49-cf8d-45d1-97e5-26a700c6f484/62ecd3ede9b77e0bf9988d6a857fdc3bfe7ddbea507ba38f6337bb908f8be6c4: no such file or directory" + IMAGE_ID=sha256:3213f7735d4a45877cfac6a955cf8008c6c3df32d6660325a351d06550779f47 + echo IMAGE_ID=sha256:3213f7735d4a45877cfac6a955cf8008c6c3df32d6660325a351d06550779f47 ++ sha256sum ci-artifacts/build/jupyterhub-k8s-secret-sync-207746.tar ++ grep -E '^[a-zA-Z0-9]+' -o + IMAGE_TAR_SHA=e754ec28da169cf05f774c2094b1cee22b3060a6a037aedd52863035eb77f1f1 + echo IMAGE_TAR_SHA=e754ec28da169cf05f774c2094b1cee22b3060a6a037aedd52863035eb77f1f1 + IMAGE_PODMAN_SHA=sha256:721616cfe1731421649bba1834b7ac81a108ddbb988f409e086106f64e17790c + echo IMAGE_PODMAN_SHA=sha256:721616cfe1731421649bba1834b7ac81a108ddbb988f409e086106f64e17790c + echo IMAGE_FILE=jupyterhub-k8s-secret-sync-207746 + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/jupyterhub/k8s-secret-sync:207746 + echo IM_NAME=opensource/jupyterhub/k8s-secret-sync section_end:1617300666:step_script section_start:1617300666:upload_artifacts_on_success Uploading artifacts for successful job Uploading artifacts... ci-artifacts/build/: found 3 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=2562737 responseStatus=201 Created token=33fTv_A8 Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=2562737 responseStatus=201 Created token=33fTv_A8 section_end:1617300699:upload_artifacts_on_success section_start:1617300699:cleanup_file_variables Cleaning up file based variables section_end:1617300699:cleanup_file_variables Job succeeded