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:1630935377:resolve_secrets Resolving secrets section_end:1630935377:resolve_secrets section_start:1630935377: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:1630935377:prepare_executor section_start:1630935377:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-1730-concurrent-0qt2gf to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-1730-concurrent-0qt2gf 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-1730-concurrent-0qt2gf 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-1730-concurrent-0qt2gf 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-1730-concurrent-0qt2gf 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-1730-concurrent-0qt2gf 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-1730-concurrent-0qt2gf via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1630935395:prepare_script section_start:1630935395: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/opensource/openpolicyagent/proxy_init/.git/ Created fresh repository. Checking out 15727d6f as master... Skipping Git submodules setup section_end:1630935396:get_sources section_start:1630935396:download_artifacts Downloading artifacts Downloading artifacts for build (6270933)... Downloading artifacts from coordinator... ok  id=6270933 responseStatus=200 OK token=twsHg-_t WARNING: ci-artifacts/build/: lchown ci-artifacts/build/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6270926)... Downloading artifacts from coordinator... ok  id=6270926 responseStatus=200 OK token=n9kxfeCh WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) section_end:1630935397:download_artifacts section_start:1630935397: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/openpolicyagent/proxy_init:ibci-463032 INFO: registry1.dso.mil/ironbank-staging/opensource/openpolicyagent/proxy_init:ibci-463032 added to Anchore INFO: [ { "analysis_status": "not_analyzed", "analyzed_at": null, "annotations": {}, "created_at": "2021-09-06T13:36:41Z", "imageDigest": "sha256:0d9a27ba6c7c66fce64c666efc4df9190a776e0820c8f4385617b45bb6a91665", "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-06T13:36:41Z", "digest": "sha256:0d9a27ba6c7c66fce64c666efc4df9190a776e0820c8f4385617b45bb6a91665", "dockerfile": "QVJHIEJBU0VfUkVHSVNUUlk9cmVnaXN0cnkxLmRzby5taWwKQVJHIEJBU0VfSU1BR0U9aXJvbmJhbmsvcmVkaGF0L3ViaS91Ymk4CkFSRyBCQVNFX1RBRz04LjQKCkZST00gb3BlbnBvbGljeWFnZW50L3Byb3h5X2luaXQ6djUgYXMgYmFzZQoKRlJPTSAke0JBU0VfUkVHSVNUUll9LyR7QkFTRV9JTUFHRX06JHtCQVNFX1RBR30KCgpSVU4gZG5mIHVwZ3JhZGUgLXkgJiYgXAogICAgZG5mIGluc3RhbGwgLXkgaXB0YWJsZXMgJiYgXAogICAgZG5mIGNsZWFuIGFsbCAmJiBcCiAgICBybSAtcmYgL3Zhci9jYWNoZS9kbmYKCkNPUFkgc2NyaXB0cy9wcm94eV9pbml0LnNoIC91c3IvbG9jYWwvYmluL3Byb3h5X2luaXQuc2gKUlVOIGNobW9kIDc1NSAvdXNyL2xvY2FsL2Jpbi9wcm94eV9pbml0LnNoCgpIRUFMVEhDSEVDSyBub25lCgpFTlRSWVBPSU5UIFsiL3Vzci9sb2NhbC9iaW4vcHJveHlfaW5pdC5zaCJdCg==", "fulldigest": "registry1.dso.mil/ironbank-staging/opensource/openpolicyagent/proxy_init@sha256:0d9a27ba6c7c66fce64c666efc4df9190a776e0820c8f4385617b45bb6a91665", "fulltag": "registry1.dso.mil/ironbank-staging/opensource/openpolicyagent/proxy_init:ibci-463032", "imageDigest": "sha256:0d9a27ba6c7c66fce64c666efc4df9190a776e0820c8f4385617b45bb6a91665", "imageId": "bf84fd47a4a9af1fa71cd107332df13f95ec40ea013f8d0ce8e6d2ceaf41e618", "last_updated": "2021-09-06T13:36:41Z", "registry": "registry1.dso.mil", "repo": "ironbank-staging/opensource/openpolicyagent/proxy_init", "tag": "ibci-463032", "tag_detected_at": "2021-09-06T13:36:41Z", "userId": "ironbank-users" } ], "image_status": "active", "image_type": "docker", "last_updated": "2021-09-06T13:36:43Z", "parentDigest": "sha256:0d9a27ba6c7c66fce64c666efc4df9190a776e0820c8f4385617b45bb6a91665", "userId": "ironbank-users" } ] INFO: Waiting for Anchore to scan sha256:0d9a27ba6c7c66fce64c666efc4df9190a776e0820c8f4385617b45bb6a91665 INFO: anchore-cli --u [MASKED] --url [MASKED] image wait --timeout 3600 sha256:0d9a27ba6c7c66fce64c666efc4df9190a776e0820c8f4385617b45bb6a91665 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: 3564 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3559 INFO: Image Digest: sha256:0d9a27ba6c7c66fce64c666efc4df9190a776e0820c8f4385617b45bb6a91665 INFO: Parent Digest: sha256:0d9a27ba6c7c66fce64c666efc4df9190a776e0820c8f4385617b45bb6a91665 INFO: Analysis Status: analysis_failed INFO: Image Type: docker INFO: Analyzed At: None INFO: Image ID: bf84fd47a4a9af1fa71cd107332df13f95ec40ea013f8d0ce8e6d2ceaf41e618 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/openpolicyagent/proxy_init:ibci-463032 INFO: Tag Detected At: 2021-09-06T13:36:41Z INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:0d9a27ba6c7c66fce64c666efc4df9190a776e0820c8f4385617b45bb6a91665 INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:0d9a27ba6c7c66fce64c666efc4df9190a776e0820c8f4385617b45bb6a91665 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:0d9a27ba6c7c66fce64c666efc4df9190a776e0820c8f4385617b45bb6a91665\\\"}\", \"httpcode\": 404}" } ERROR: section_end:1630935451:step_script section_start:1630935451: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=6270935 responseStatus=201 Created token=zPjz12W1 section_end:1630935453:upload_artifacts_on_failure section_start:1630935453:cleanup_file_variables Cleaning up file based variables section_end:1630935453:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1