Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1624348289:resolve_secrets Resolving secrets section_end:1624348289:resolve_secrets section_start:1624348289: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:1624348289:prepare_executor section_start:1624348289:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-7070-concurrent-0dqzhj to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-7070-concurrent-0dqzhj 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-7070-concurrent-0dqzhj via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1624348295:prepare_script section_start:1624348295: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/palo-alto-networks/demisto/python3/.git/ Created fresh repository. Checking out d166683f as python-3.9.5-dmst-initial... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1624348296:get_sources section_start:1624348296:download_artifacts Downloading artifacts Downloading artifacts for hardening-manifest (4293292)... Downloading artifacts from coordinator... ok  id=4293292 responseStatus=200 OK token=xUxKAGf8 WARNING: ci-artifacts/preflight/: lchown ci-artifacts/preflight/: operation not permitted (suppressing repeats) Downloading artifacts for import-artifacts (4293294)... Downloading artifacts from coordinator... ok  id=4293294 responseStatus=200 OK token=J-8inPXT WARNING: ci-artifacts/import-artifacts/: lchown ci-artifacts/import-artifacts/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (4293289)... Downloading artifacts from coordinator... ok  id=4293289 responseStatus=200 OK token=A_6p5iKw WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) Downloading artifacts for wl-compare-lint (4293293)... Downloading artifacts from coordinator... ok  id=4293293 responseStatus=200 OK token=_y6mhw5V WARNING: ci-artifacts/lint/: lchown ci-artifacts/lint/: operation not permitted (suppressing repeats) section_end:1624348296:download_artifacts section_start:1624348296: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/PySocks-1.7.1-py3-none-any.whl' -> './PySocks-1.7.1-py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/certifi-2021.5.30-py2.py3-none-any.whl' -> './certifi-2021.5.30-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/dateparser-1.0.0-py2.py3-none-any.whl' -> './dateparser-1.0.0-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/filelock-3.0.12-py3-none-any.whl' -> './filelock-3.0.12-py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/funcy-1.16-py2.py3-none-any.whl' -> './funcy-1.16-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/olefile-0.46.zip' -> './olefile-0.46.zip' '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/pytz-2021.1-py2.py3-none-any.whl' -> './pytz-2021.1-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/pyyaml-5.4.1-cp39-cp39-manylinux1_x86_64.whl' -> './pyyaml-5.4.1-cp39-cp39-manylinux1_x86_64.whl' 'ci-artifacts/import-artifacts/external-resources/regex-2021.4.4-cp39-cp39-manylinux2014_x86_64.whl' -> './regex-2021.4.4-cp39-cp39-manylinux2014_x86_64.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_file-1.5.1-py2.py3-none-any.whl' -> './requests_file-1.5.1-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/six-1.16.0-py2.py3-none-any.whl' -> './six-1.16.0-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/tldextract-3.1.0-py2.py3-none-any.whl' -> './tldextract-3.1.0-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/tzlocal-2.1-py2.py3-none-any.whl' -> './tzlocal-2.1-py2.py3-none-any.whl' 'ci-artifacts/import-artifacts/external-resources/urllib3-1.26.5-py2.py3-none-any.whl' -> './urllib3-1.26.5-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/python39:latest Getting image source signatures Copying blob sha256:50cb674b641704c7adbec0f77e69c4bfbf3202335534ca8a77dda284c506f82a Copying blob sha256:2cd558f3e5c05b3be124aedbd8006db612137a7409d1e5df5fc0238be8e1dc2f Copying blob sha256:53732dad4680ae165f569331357b89605c03583057db7193a7a4fabdf312f061 Copying blob sha256:a538c9b9760931040405e4c827d816c820fc4738284b4f51a1bb0c872fb4b45d Copying config sha256:70980dcc5b91f415aff965fa3d1a48d91a860f8fd4966604de62c7505e7cdd1f Writing manifest to image destination Storing signatures STEP 2: USER root STEP 3: RUN groupadd -g 4000 demisto && useradd -u 4000 -g demisto demisto -s /bin/sh STEP 4: RUN yum upgrade -y && yum clean all -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.4 kB/s | 14 kB 00:10 Dependencies resolved. Nothing to do. Complete! 25 files removed STEP 5: RUN mkdir -p /opt/python/repo STEP 6: RUN chown -R demisto:demisto /opt/python STEP 7: USER demisto STEP 8: COPY *.whl /opt/python/repo STEP 9: COPY *.zip /opt/python/repo STEP 10: RUN pip install --no-index --find-links /opt/python/repo pip certifi chardet dateparser filelock funcy idna olefile pysocks python-dateutil pytz regex requests requests-file six tldextract tzlocal urllib3 Defaulting to user installation because normal site-packages is not writeable Looking in links: /opt/python/repo Requirement already satisfied: pip in /usr/local/lib/python3.9/site-packages (21.1.2) Processing /opt/python/repo/certifi-2021.5.30-py2.py3-none-any.whl Processing /opt/python/repo/chardet-4.0.0-py2.py3-none-any.whl Processing /opt/python/repo/dateparser-1.0.0-py2.py3-none-any.whl Processing /opt/python/repo/filelock-3.0.12-py3-none-any.whl Processing /opt/python/repo/funcy-1.16-py2.py3-none-any.whl Processing /opt/python/repo/idna-2.10-py2.py3-none-any.whl Processing /opt/python/repo/olefile-0.46.zip Processing /opt/python/repo/PySocks-1.7.1-py3-none-any.whl Processing /opt/python/repo/python_dateutil-2.8.1-py2.py3-none-any.whl Processing /opt/python/repo/pytz-2021.1-py2.py3-none-any.whl Processing /opt/python/repo/regex-2021.4.4-cp39-cp39-manylinux2014_x86_64.whl Processing /opt/python/repo/requests-2.25.1-py2.py3-none-any.whl Processing /opt/python/repo/requests_file-1.5.1-py2.py3-none-any.whl Processing /opt/python/repo/six-1.16.0-py2.py3-none-any.whl Processing /opt/python/repo/tldextract-3.1.0-py2.py3-none-any.whl Processing /opt/python/repo/tzlocal-2.1-py2.py3-none-any.whl Processing /opt/python/repo/urllib3-1.26.5-py2.py3-none-any.whl Building wheels for collected packages: olefile Building wheel for olefile (setup.py): started Building wheel for olefile (setup.py): finished with status 'done' Created wheel for olefile: filename=olefile-0.46-py2.py3-none-any.whl size=35431 sha256=218ce8d34a2f2880bd0427fa3e159f423e3f4ff9b37a0ce29003d71f9d688d92 Stored in directory: /home/demisto/.cache/pip/wheels/cd/5a/34/131ae3f1cfa772549a6ee4468dfea28d1e090ff7c136961157 Successfully built olefile Installing collected packages: urllib3, idna, chardet, certifi, six, requests, pytz, tzlocal, requests-file, regex, python-dateutil, filelock, tldextract, pysocks, olefile, funcy, dateparser WARNING: The script chardetect is installed in '/home/demisto/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. WARNING: The script tldextract is installed in '/home/demisto/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed certifi-2021.5.30 chardet-4.0.0 dateparser-1.0.0 filelock-3.0.12 funcy-1.16 idna-2.10 olefile-0.46 pysocks-1.7.1 python-dateutil-2.8.1 pytz-2021.1 regex-2021.4.4 requests-2.25.1 requests-file-1.5.1 six-1.16.0 tldextract-3.1.0 tzlocal-2.1 urllib3-1.26.5 STEP 11: RUN rm -rf /opt/python/repo STEP 12: COMMIT registry1.dso.mil/ironbank-staging/opensource/palo-alto-networks/demisto/python3 Getting image source signatures Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:df1b5e3748a44621229138953e1d6e131d7d46cb800ca5561b48fc7a0eda665b Copying blob sha256:13970406a926fa6705ec3da5e34d330090863eb1e371f731bf77ba10e7582ef3 Copying blob sha256:dbc63c2ce8c1f31661d824402049851c1329f8760e3020a27807d2b87c444237 Copying config sha256:545a9cb6995f8732f2f28368ff5e5cd5cf0b8a984bb01b20341b9fc6406e55ff Writing manifest to image destination Storing signatures --> 545a9cb6995 545a9cb6995f8732f2f28368ff5e5cd5cf0b8a984bb01b20341b9fc6406e55ff + buildah tag --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/palo-alto-networks/demisto/python3 registry1.dso.mil/ironbank-staging/opensource/palo-alto-networks/demisto/python3:329194 + buildah push --storage-driver=vfs --authfile staging_auth.json --digestfile=ci-artifacts/build/digest registry1.dso.mil/ironbank-staging/opensource/palo-alto-networks/demisto/python3:329194 Getting image source signatures Copying blob sha256:dbc63c2ce8c1f31661d824402049851c1329f8760e3020a27807d2b87c444237 Copying blob sha256:13970406a926fa6705ec3da5e34d330090863eb1e371f731bf77ba10e7582ef3 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying blob sha256:df1b5e3748a44621229138953e1d6e131d7d46cb800ca5561b48fc7a0eda665b Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying config sha256:545a9cb6995f8732f2f28368ff5e5cd5cf0b8a984bb01b20341b9fc6406e55ff 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/palo-alto-networks/demisto/python3 registry1.dso.mil/ironbank-staging/opensource/palo-alto-networks/demisto/python3:3.9.5.21272 + buildah push --storage-driver=vfs --authfile staging_auth.json registry1.dso.mil/ironbank-staging/opensource/palo-alto-networks/demisto/python3:3.9.5.21272 Getting image source signatures Copying blob sha256:df1b5e3748a44621229138953e1d6e131d7d46cb800ca5561b48fc7a0eda665b Copying blob sha256:98469092e6042f8c9cc81dcb1a710957fb5ef27817c9b178f7b71c4f242cb2ed Copying blob sha256:13970406a926fa6705ec3da5e34d330090863eb1e371f731bf77ba10e7582ef3 Copying blob sha256:dbc63c2ce8c1f31661d824402049851c1329f8760e3020a27807d2b87c444237 Copying blob sha256:bfb9caafb0fc0d8496a27709f1698ac90d1a306556387a75b92a86063544f4c8 Copying config sha256:545a9cb6995f8732f2f28368ff5e5cd5cf0b8a984bb01b20341b9fc6406e55ff Writing manifest to image destination Storing signatures + IFS= + read -r tag ++ podman inspect --storage-driver=vfs registry1.dso.mil/ironbank-staging/opensource/palo-alto-networks/demisto/python3 --format '{{.Id}}' time="2021-06-22T07:53:06Z" level=warning msg="Failed to detect the owner for the current cgroup: stat /sys/fs/cgroup/systemd/kubepods/burstable/pod7a9931f7-12d7-49b6-8722-8b5a3e47e402/c19dddcabba6996a62fd5561a16025024b6283a54d59bf1149a5ca01213ecb3a: no such file or directory" + IMAGE_ID=sha256:545a9cb6995f8732f2f28368ff5e5cd5cf0b8a984bb01b20341b9fc6406e55ff + echo IMAGE_ID=sha256:545a9cb6995f8732f2f28368ff5e5cd5cf0b8a984bb01b20341b9fc6406e55ff + IMAGE_PODMAN_SHA=sha256:655effbe1b936541ba54b542f81cc739655046e7a32ce922bbfad312e7692efd + echo IMAGE_PODMAN_SHA=sha256:655effbe1b936541ba54b542f81cc739655046e7a32ce922bbfad312e7692efd + echo IMAGE_FULLTAG=registry1.dso.mil/ironbank-staging/opensource/palo-alto-networks/demisto/python3:329194 + echo IMAGE_NAME=opensource/palo-alto-networks/demisto/python3 A tarball of the built image can be retrieved from the create-tar job artifacts. + branches=("master" "development") + [[ master development =~ python-3.9.5-dmst-initial ]] + msg='A tarball of the built image can be retrieved from the create-tar job artifacts.' + echo 'A tarball of the built image can be retrieved from the create-tar job artifacts.' section_end:1624348386:step_script section_start:1624348386: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=4293296 responseStatus=201 Created token=A79Y_i9V Uploading artifacts... build.env: found 1 matching files and directories  Uploading artifacts as "dotenv" to coordinator... ok id=4293296 responseStatus=201 Created token=A79Y_i9V section_end:1624348388:upload_artifacts_on_success section_start:1624348388:cleanup_file_variables Cleaning up file based variables section_end:1624348388:cleanup_file_variables Job succeeded