Running with gitlab-runner 13.12.0 (7a6612da)  on dsop-shared-gitlab-runner-5fcd8977b8-m6qmr JrExJ6yx  feature flags: FF_USE_LEGACY_KUBERNETES_EXECUTION_STRATEGY:false section_start:1630978908:resolve_secrets Resolving secrets section_end:1630978908:resolve_secrets section_start:1630978908:prepare_executor Preparing the "kubernetes" executor Using Kubernetes namespace: gitlab-runner-ironbank-dsop Using Kubernetes executor with image registry1.dso.mil/ironbank/anchore/cli/cli:0.9.1 ... Using attach strategy to execute scripts... section_end:1630978908:prepare_executor section_start:1630978908:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-2227-concurrent-0lzdc4 to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-2227-concurrent-0lzdc4 to be running, status is Pending ContainersNotInitialized: "containers with incomplete status: [init-logs 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-jrexj6yx-project-2227-concurrent-0lzdc4 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-jrexj6yx-project-2227-concurrent-0lzdc4 to be running, status is Pending 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-jrexj6yx-project-2227-concurrent-0lzdc4 to be running, status is Pending 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-jrexj6yx-project-2227-concurrent-0lzdc4 to be running, status is Pending 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-jrexj6yx-project-2227-concurrent-0lzdc4 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-jrexj6yx-project-2227-concurrent-0lzdc4 via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1630978930:prepare_script section_start:1630978930: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/JrExJ6yx/0/dsop/galvanize/galvanize/python-code-evaluator/.git/ Created fresh repository. Checking out 59e5d5d7 as master... Skipping Git submodules setup section_end:1630978933:get_sources section_start:1630978933:download_artifacts Downloading artifacts Downloading artifacts for build (6283860)... Downloading artifacts from coordinator... ok  id=6283860 responseStatus=200 OK token=Jw3hEnLy WARNING: ci-artifacts/build/: lchown ci-artifacts/build/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6283853)... Downloading artifacts from coordinator... ok  id=6283853 responseStatus=200 OK token=7AiEQprD WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) section_end:1630978933:download_artifacts section_start:1630978933: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/galvanize/galvanize/python-code-evaluator:ibci-463796 INFO: registry1.dso.mil/ironbank-staging/galvanize/galvanize/python-code-evaluator:ibci-463796 added to Anchore INFO: [ { "analysis_status": "not_analyzed", "analyzed_at": null, "annotations": {}, "created_at": "2021-09-07T01:42:15Z", "imageDigest": "sha256:88cc5b8bda7374de90ef1b25db81d35c5cc8c27eb88b5fb79e7474972d5f5308", "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-07T01:42:15Z", "digest": "sha256:88cc5b8bda7374de90ef1b25db81d35c5cc8c27eb88b5fb79e7474972d5f5308", "dockerfile": "QVJHIEJBU0VfUkVHSVNUUlk9cmVnaXN0cnkxLmRzby5taWwKQVJHIEJBU0VfSU1BR0U9b3BlbnNvdXJjZS9weXRob24vcHl0aG9uMzkKQVJHIEJBU0VfVEFHPXYzLjkuNQoKRlJPTSAke0JBU0VfUkVHSVNUUll9LyR7QkFTRV9JTUFHRX06JHtCQVNFX1RBR30KVVNFUiAwCgojIE1ha2Ugc3VyZSB3ZSBhcmUgdXAgdG8gZGF0ZS4KUlVOIGRuZiB1cGRhdGUgLXkgXAogICAgJiYgZG5mIGNsZWFuIGFsbCBcCiAgICAmJiBybSAtcmYgL3Zhci9jYWNoZS9kbmYKCiMgQ29weSBpbiB0aGUgcHJvamVjdCBmaWxlcy4KV09SS0RJUiAvYXBwCkNPUFkgLi9zY3JpcHRzIC4KQ09QWSByZWRpcy1jbGkudGFyLmd6IC4KCiMgSW5zdGFsbCByZWRpcy4KUlVOIHRhciB4emYgcmVkaXMtY2xpLnRhci5neiAmJiBybSByZWRpcy1jbGkudGFyLmd6IFwKICAgICYmIG12IHJlZGlzLWNsaSAvdXNyL2xvY2FsL2Jpbi9yZWRpcy1jbGkKCiMgU2V0IHBlcm1pc3Npb25zIGFuZCBvd25lcnNoaXAuClJVTiBjaG93biAtUiAxMDAxIC9hcHAgXAogICAgJiYgY2hvd24gLVIgMTAwMSAvdXNyL3NyYyBcCiAgICAmJiBjaG1vZCAwNTU1IC9hcHAvZ2V0LWpvYi5zaAoKIyBCZWNvbWUgdGhlIHB5dGhvbiB1c2VyLgpVU0VSIDEwMDEKCiMgSGVhbHRoIGNoZWNrLgpIRUFMVEhDSEVDSyBub25lCgojIFNldCB0aGUgZW50cnlwb2ludC4KRU5UUllQT0lOVCBbIi9hcHAvZ2V0LWpvYi5zaCJdCg==", "fulldigest": "registry1.dso.mil/ironbank-staging/galvanize/galvanize/python-code-evaluator@sha256:88cc5b8bda7374de90ef1b25db81d35c5cc8c27eb88b5fb79e7474972d5f5308", "fulltag": "registry1.dso.mil/ironbank-staging/galvanize/galvanize/python-code-evaluator:ibci-463796", "imageDigest": "sha256:88cc5b8bda7374de90ef1b25db81d35c5cc8c27eb88b5fb79e7474972d5f5308", "imageId": "6d64301ea1df564628f412998ad5eabc029178cd0100a1d59b8ed1171257fcd7", "last_updated": "2021-09-07T01:42:15Z", "registry": "registry1.dso.mil", "repo": "ironbank-staging/galvanize/galvanize/python-code-evaluator", "tag": "ibci-463796", "tag_detected_at": "2021-09-07T01:42:15Z", "userId": "ironbank-users" } ], "image_status": "active", "image_type": "docker", "last_updated": "2021-09-07T01:42:18Z", "parentDigest": "sha256:88cc5b8bda7374de90ef1b25db81d35c5cc8c27eb88b5fb79e7474972d5f5308", "userId": "ironbank-users" } ] INFO: Waiting for Anchore to scan sha256:88cc5b8bda7374de90ef1b25db81d35c5cc8c27eb88b5fb79e7474972d5f5308 INFO: anchore-cli --u [MASKED] --url [MASKED] image wait --timeout 3600 sha256:88cc5b8bda7374de90ef1b25db81d35c5cc8c27eb88b5fb79e7474972d5f5308 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3599 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: 3588 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3582 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3576 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3570 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3565 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3558 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3552 INFO: Image Digest: sha256:88cc5b8bda7374de90ef1b25db81d35c5cc8c27eb88b5fb79e7474972d5f5308 INFO: Parent Digest: sha256:88cc5b8bda7374de90ef1b25db81d35c5cc8c27eb88b5fb79e7474972d5f5308 INFO: Analysis Status: analysis_failed INFO: Image Type: docker INFO: Analyzed At: None INFO: Image ID: 6d64301ea1df564628f412998ad5eabc029178cd0100a1d59b8ed1171257fcd7 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/galvanize/galvanize/python-code-evaluator:ibci-463796 INFO: Tag Detected At: 2021-09-07T01:42:15Z INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:88cc5b8bda7374de90ef1b25db81d35c5cc8c27eb88b5fb79e7474972d5f5308 INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:88cc5b8bda7374de90ef1b25db81d35c5cc8c27eb88b5fb79e7474972d5f5308 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:88cc5b8bda7374de90ef1b25db81d35c5cc8c27eb88b5fb79e7474972d5f5308\\\"}\", \"httpcode\": 404}" } ERROR: section_end:1630978993:step_script section_start:1630978993: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=6283862 responseStatus=201 Created token=e1q3P5u8 section_end:1630978995:upload_artifacts_on_failure section_start:1630978995:cleanup_file_variables Cleaning up file based variables section_end:1630978996:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1