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:1631100536:resolve_secrets Resolving secrets section_end:1631100536:resolve_secrets section_start:1631100536: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:1631100536:prepare_executor section_start:1631100536:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-4119-concurrent-0msg64 to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-4119-concurrent-0msg64 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-4119-concurrent-0msg64 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-4119-concurrent-0msg64 via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1631100545:prepare_script section_start:1631100545: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/flyway/flyway-docker/.git/ Created fresh repository. Checking out 26aab127 as master... Skipping Git submodules setup section_end:1631100546:get_sources section_start:1631100546:download_artifacts Downloading artifacts Downloading artifacts for build (6315928)... Downloading artifacts from coordinator... ok  id=6315928 responseStatus=200 OK token=yGttt_bu WARNING: ci-artifacts/build/: lchown ci-artifacts/build/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6315921)... Downloading artifacts from coordinator... ok  id=6315921 responseStatus=200 OK token=3pYQnoDp WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) section_end:1631100546:download_artifacts section_start:1631100546: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/flyway/flyway-docker:ibci-465870 INFO: registry1.dso.mil/ironbank-staging/flyway/flyway-docker:ibci-465870 added to Anchore INFO: [ { "analysis_status": "not_analyzed", "analyzed_at": null, "annotations": {}, "created_at": "2021-09-08T11:29:08Z", "imageDigest": "sha256:9fa2f3223022463b45768f22bc8c5bb679a17951bc75de24a67a9659bdc79cc9", "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-08T11:29:08Z", "digest": "sha256:9fa2f3223022463b45768f22bc8c5bb679a17951bc75de24a67a9659bdc79cc9", "dockerfile": "QVJHIEJBU0VfUkVHSVNUUlk9cmVnaXN0cnkxLmRzby5taWwKQVJHIEJBU0VfSU1BR0U9aXJvbmJhbmsvcmVkaGF0L29wZW5qZGsvb3BlbmpkazExCkFSRyBCQVNFX1RBRz0xLjExCgpGUk9NICR7QkFTRV9SRUdJU1RSWX0vJHtCQVNFX0lNQUdFfToke0JBU0VfVEFHfQoKVVNFUiAwCgoKV09SS0RJUiAvZmx5d2F5CgpDT1BZIGZseXdheS1jb21tYW5kbGluZS03LjUuMS50YXIuZ3ogLgoKUlVOIGRuZiB1cGdyYWRlIC15ICYmIFwKICAgIHRhciAteHpmIGZseXdheS1jb21tYW5kbGluZS03LjUuMS50YXIuZ3ogLS1zdHJpcC1jb21wb25lbnRzPTEgJiYgXAogICAgcm0gLWYgZmx5d2F5LWNvbW1hbmRsaW5lLTcuNS4xLnRhci5neiAmJiBcCiAgICBybSAtZiAvZmx5d2F5L2RyaXZlcnMvbXlzcWwtY29ubmVjdG9yLWphdmEtOC4wLjIwLmphciAmJiBcCiAgICBybSAtZiAvZmx5d2F5L2RyaXZlcnMvc3FsaXRlLWpkYmMtMy4zMC4xLmphciAmJiBcCiAgICBkbmYgY2xlYW4gYWxsICYmIFwKICAgIHJtIC1yZiAvdmFyL2NhY2hlL2RuZgoKUlVOIGdyb3VwYWRkIC1yIGZseXdheSAmJiBcCiAgICB1c2VyYWRkIC1yIC1kIC9mbHl3YXkgLWcgZmx5d2F5IGZseXdheSAmJiBcCiAgICBjaG93biAtUiBmbHl3YXk6Zmx5d2F5IC9mbHl3YXkgJiYgXAogICAgY2htb2QgK3ggL2ZseXdheQoKRU5WIFBBVEg9Ii9mbHl3YXk6JHtQQVRIfSIKClVTRVIgZmx5d2F5CgpIRUFMVEhDSEVDSyBub25lCgpFTlRSWVBPSU5UIFsiZmx5d2F5Il0KCkNNRCBbIi0/Il0K", "fulldigest": "registry1.dso.mil/ironbank-staging/flyway/flyway-docker@sha256:9fa2f3223022463b45768f22bc8c5bb679a17951bc75de24a67a9659bdc79cc9", "fulltag": "registry1.dso.mil/ironbank-staging/flyway/flyway-docker:ibci-465870", "imageDigest": "sha256:9fa2f3223022463b45768f22bc8c5bb679a17951bc75de24a67a9659bdc79cc9", "imageId": "73d48e1afefd8f6913a56855185464d47729e05025d022f94b7c0727f34480ce", "last_updated": "2021-09-08T11:29:08Z", "registry": "registry1.dso.mil", "repo": "ironbank-staging/flyway/flyway-docker", "tag": "ibci-465870", "tag_detected_at": "2021-09-08T11:29:08Z", "userId": "ironbank-users" } ], "image_status": "active", "image_type": "docker", "last_updated": "2021-09-08T11:29:10Z", "parentDigest": "sha256:9fa2f3223022463b45768f22bc8c5bb679a17951bc75de24a67a9659bdc79cc9", "userId": "ironbank-users" } ] INFO: Waiting for Anchore to scan sha256:9fa2f3223022463b45768f22bc8c5bb679a17951bc75de24a67a9659bdc79cc9 INFO: anchore-cli --u [MASKED] --url [MASKED] image wait --timeout 3600 sha256:9fa2f3223022463b45768f22bc8c5bb679a17951bc75de24a67a9659bdc79cc9 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3597 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3591 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3584 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3577 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: 3561 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3553 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3541 INFO: Image Digest: sha256:9fa2f3223022463b45768f22bc8c5bb679a17951bc75de24a67a9659bdc79cc9 INFO: Parent Digest: sha256:9fa2f3223022463b45768f22bc8c5bb679a17951bc75de24a67a9659bdc79cc9 INFO: Analysis Status: analysis_failed INFO: Image Type: docker INFO: Analyzed At: None INFO: Image ID: 73d48e1afefd8f6913a56855185464d47729e05025d022f94b7c0727f34480ce 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/flyway/flyway-docker:ibci-465870 INFO: Tag Detected At: 2021-09-08T11:29:08Z INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:9fa2f3223022463b45768f22bc8c5bb679a17951bc75de24a67a9659bdc79cc9 INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:9fa2f3223022463b45768f22bc8c5bb679a17951bc75de24a67a9659bdc79cc9 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:9fa2f3223022463b45768f22bc8c5bb679a17951bc75de24a67a9659bdc79cc9\\\"}\", \"httpcode\": 404}" } ERROR: section_end:1631100621:step_script section_start:1631100621: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=6315930 responseStatus=201 Created token=sLrmqwMG section_end:1631100623:upload_artifacts_on_failure section_start:1631100623:cleanup_file_variables Cleaning up file based variables section_end:1631100624:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1