Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1630493096:resolve_secrets Resolving secrets section_end:1630493096:resolve_secrets section_start:1630493096: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/anchore/cli/cli:0.9.1 ... section_end:1630493096:prepare_executor section_start:1630493096:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-4877-concurrent-0wqk9g to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-4877-concurrent-0wqk9g 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-4877-concurrent-0wqk9g via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1630493102:prepare_script section_start:1630493102: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/spark-operator/spark-py/.git/ Created fresh repository. Checking out 7a878b13 as master... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1630493102:get_sources section_start:1630493102:download_artifacts Downloading artifacts Downloading artifacts for build (6141523)... Downloading artifacts from coordinator... ok  id=6141523 responseStatus=200 OK token=YaQpekWt WARNING: ci-artifacts/build/: lchown ci-artifacts/build/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6141516)... Downloading artifacts from coordinator... ok  id=6141516 responseStatus=200 OK token=vPPfWgfX WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) section_end:1630493103:download_artifacts section_start:1630493103:step_script Executing "step_script" stage of the job script $ python3 "${PIPELINE_REPO_DIR}/stages/scanning/anchore/anchore_scan.py" INFO: Log level set to info INFO: anchore-cli --json --u [MASKED] --url [MASKED] image add --noautosubscribe --dockerfile ./Dockerfile --force registry1.dso.mil/ironbank-staging/opensource/spark-operator/spark-py:ibci-455099 INFO: registry1.dso.mil/ironbank-staging/opensource/spark-operator/spark-py:ibci-455099 added to Anchore INFO: [ { "analysis_status": "not_analyzed", "analyzed_at": null, "annotations": {}, "created_at": "2021-09-01T10:45:06Z", "imageDigest": "sha256:18e9f1eebae14eb25184ab620023bd569ace6ec91a3deb920241db566da92544", "image_content": { "metadata": { "arch": null, "distro": null, "distro_version": null, "dockerfile_mode": "Actual", "image_size": null, "layer_count": null } }, "image_detail": [ { "created_at": "2021-09-01T10:45:06Z", "digest": "sha256:18e9f1eebae14eb25184ab620023bd569ace6ec91a3deb920241db566da92544", "dockerfile": "QVJHIEJBU0VfUkVHSVNUUlk9cmVwbzEuZHNvLm1pbApBUkcgQkFTRV9JTUFHRT1pcm9uYmFuay9vcGVuc291cmNlL3B5dGhvbi9weXRob24zOApBUkcgQkFTRV9UQUc9My44CgpGUk9NIHNwYXJrLW9wZXJhdG9yL3NwYXJrLXB5OjIuNC41IGFzIGJhc2UKCkZST00gJHtCQVNFX1JFR0lTVFJZfS8ke0JBU0VfSU1BR0V9OiR7QkFTRV9UQUd9CgoKQVJHIHNwYXJrX3VpZD0xODUKClVTRVIgcm9vdAoKQ09QWSAqLndobCAuLwoKUlVOIGRuZiAteSB1cGRhdGUgJiYgZG5mIC15IHVwZ3JhZGUgJiYgXAogICAgcGlwMyBpbnN0YWxsIC0tdXBncmFkZSAuLyoud2hsICYmIFwKICAgIHJtIC1yZiAvdmFyL2NhY2hlL2RuZiAmJiBcCiAgICBta2RpciAtcCAvb3B0L3NwYXJrL3B5dGhvbi9weXNwYXJrICYmIFwKICAgIG1rZGlyIC1wIC9vcHQvc3BhcmsvcHl0aG9uL2xpYiAmJiBcCiAgICBjaG93biAtUiAxODU6MTg1IC9vcHQvc3BhcmsvCgojIFRoaXMgZGlyZWN0b3J5IGlzbid0IHByZXNlbnQgaW4gdGhpcyB2ZXJzaW9uCiNDT1BZIC0tZnJvbT1iYXNlIC9vcHQvc3BhcmsvcHl0aG9uL3B5c3BhcmsgL29wdC9zcGFyay9weXRob24vcHlzcGFyawpDT1BZIC0tZnJvbT1iYXNlIC9vcHQvc3BhcmsvcHl0aG9uL2xpYiAvb3B0L3NwYXJrL3B5dGhvbi9saWIKCiMgVGhpcyBpcyBmcm9tIHRoZSBjdXJyZW50IHZlcnNpb24sIG5vdCB0aGUgdmVyc2lvbiB0aGlzIGNvbnRhaW5lciBpcyBiYXNlZCBvbgojIGJlIHdhcm5lZCB0aGVyZSBtYXkgYmUgaXNzdWVzLgpDT1BZIHNjcmlwdHMvZW50cnlwb2ludC5zaCAvb3B0L2VudHJ5cG9pbnQuc2gKQ09QWSB0aW5pIC91c3IvYmluLwoKRU5WIFNQQVJLX0hPTUUgL29wdC9zcGFyawoKV09SS0RJUiAvb3B0L3NwYXJrL3dvcmstZGlyClJVTiBjaG1vZCBnK3cgL29wdC9zcGFyay93b3JrLWRpciAmJiBjaG1vZCBhK3ggL29wdC9lbnRyeXBvaW50LnNoICYmIGNobW9kIGEreCAvdXNyL2Jpbi90aW5pCgpFTlRSWVBPSU5UIFsgIi9vcHQvZW50cnlwb2ludC5zaCIgXQoKIyBTcGVjaWZ5IHRoZSBVc2VyIHRoYXQgdGhlIGFjdHVhbCBtYWluIHByb2Nlc3Mgd2lsbCBydW4gYXMKVVNFUiAke3NwYXJrX3VpZH0K", "fulldigest": "registry1.dso.mil/ironbank-staging/opensource/spark-operator/spark-py@sha256:18e9f1eebae14eb25184ab620023bd569ace6ec91a3deb920241db566da92544", "fulltag": "registry1.dso.mil/ironbank-staging/opensource/spark-operator/spark-py:ibci-455099", "imageDigest": "sha256:18e9f1eebae14eb25184ab620023bd569ace6ec91a3deb920241db566da92544", "imageId": "ee9ae7d13bf9e4d213af5f60bc3f71e2bac3735856973321ab4750a4b1f70c25", "last_updated": "2021-09-01T10:45:06Z", "registry": "registry1.dso.mil", "repo": "ironbank-staging/opensource/spark-operator/spark-py", "tag": "ibci-455099", "tag_detected_at": "2021-09-01T10:45:06Z", "userId": "ironbank-users" } ], "image_status": "active", "image_type": "docker", "last_updated": "2021-09-01T10:45:08Z", "parentDigest": "sha256:18e9f1eebae14eb25184ab620023bd569ace6ec91a3deb920241db566da92544", "userId": "ironbank-users" } ] INFO: Waiting for Anchore to scan sha256:18e9f1eebae14eb25184ab620023bd569ace6ec91a3deb920241db566da92544 INFO: anchore-cli --u [MASKED] --url [MASKED] image wait --timeout 3600 sha256:18e9f1eebae14eb25184ab620023bd569ace6ec91a3deb920241db566da92544 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3598 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3593 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3586 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3580 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3574 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3568 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3562 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3556 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3550 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3544 INFO: Image Digest: sha256:18e9f1eebae14eb25184ab620023bd569ace6ec91a3deb920241db566da92544 INFO: Parent Digest: sha256:18e9f1eebae14eb25184ab620023bd569ace6ec91a3deb920241db566da92544 INFO: Analysis Status: analysis_failed INFO: Image Type: docker INFO: Analyzed At: None INFO: Image ID: ee9ae7d13bf9e4d213af5f60bc3f71e2bac3735856973321ab4750a4b1f70c25 INFO: Dockerfile Mode: Actual INFO: Distro: None INFO: Distro Version: None INFO: Size: None INFO: Architecture: None INFO: Layer Count: None INFO: Full Tag: registry1.dso.mil/ironbank-staging/opensource/spark-operator/spark-py:ibci-455099 INFO: Tag Detected At: 2021-09-01T10:45:06Z INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:18e9f1eebae14eb25184ab620023bd569ace6ec91a3deb920241db566da92544 INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:18e9f1eebae14eb25184ab620023bd569ace6ec91a3deb920241db566da92544 os ERROR: { "detail": { "error_codes": [] }, "httpcode": 500, "message": "{\"message\": \"Resource image is not analyzed - analysis_status: analysis_failed not found\", \"detail\": \"{\\\"account_id\\\": \\\"ironbank-users\\\", \\\"content_type\\\": \\\"os\\\", \\\"image_digest\\\": \\\"sha256:18e9f1eebae14eb25184ab620023bd569ace6ec91a3deb920241db566da92544\\\"}\", \"httpcode\": 404}" } ERROR: section_end:1630493171:step_script section_start:1630493171:upload_artifacts_on_failure Uploading artifacts for failed job Uploading artifacts... ci-artifacts/scan-results/anchore/: found 2 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=6141525 responseStatus=201 Created token=Sjui-GRa section_end:1630493172:upload_artifacts_on_failure section_start:1630493172:cleanup_file_variables Cleaning up file based variables section_end:1630493172:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1