Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1627072417:resolve_secrets Resolving secrets section_end:1627072417:resolve_secrets section_start:1627072417: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:1627072417:prepare_executor section_start:1627072417:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-1307-concurrent-07tzzz to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-1307-concurrent-07tzzz 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-1307-concurrent-07tzzz via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1627072424:prepare_script section_start:1627072424: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/coreos/kube-state-metrics/.git/ Created fresh repository. Checking out 23ef8d22 as development... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1627072424:get_sources section_start:1627072424:download_artifacts Downloading artifacts Downloading artifacts for build (5055434)... Downloading artifacts from coordinator... ok  id=5055434 responseStatus=200 OK token=--EDYAxT WARNING: ci-artifacts/build/: lchown ci-artifacts/build/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (5055427)... Downloading artifacts from coordinator... ok  id=5055427 responseStatus=200 OK token=VQa9WM-e WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) section_end:1627072425:download_artifacts section_start:1627072425: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/coreos/kube-state-metrics:ibci-383766 INFO: registry1.dso.mil/ironbank-staging/opensource/coreos/kube-state-metrics:ibci-383766 added to Anchore INFO: [ { "analysis_status": "not_analyzed", "analyzed_at": null, "annotations": {}, "created_at": "2021-07-23T20:33:47Z", "imageDigest": "sha256:d9e7506d9bdf115f5f44bc3ec51126682eb722807660ad1605af012089434a80", "image_content": { "metadata": { "arch": null, "distro": null, "distro_version": null, "dockerfile_mode": "Actual", "image_size": null, "layer_count": null } }, "image_detail": [ { "created_at": "2021-07-23T20:33:47Z", "digest": "sha256:d9e7506d9bdf115f5f44bc3ec51126682eb722807660ad1605af012089434a80", "dockerfile": "QVJHIEJBU0VfUkVHSVNUUlk9cmVnaXN0cnkxLmRzby5taWwKQVJHIEJBU0VfSU1BR0U9aXJvbmJhbmsvcmVkaGF0L3ViaS91Ymk4CkFSRyBCQVNFX1RBRz04LjQKCkZST00gcXVheS5pby9jb3Jlb3Mva3ViZS1zdGF0ZS1tZXRyaWNzOnYxLjkuOCBhcyBiYXNlCgpGUk9NICR7QkFTRV9SRUdJU1RSWX0vJHtCQVNFX0lNQUdFfToke0JBU0VfVEFHfQoKUlVOIGRuZiB1cGdyYWRlIC15ICYmIFwKICAgIGRuZiBjbGVhbiBhbGwgJiYgXAogICAgcm0gLXJmIC92YXIvY2FjaGUvZG5mCgpDT1BZIC0tZnJvbT1iYXNlIC9rdWJlLXN0YXRlLW1ldHJpY3MgL2t1YmUtc3RhdGUtbWV0cmljcwoKVVNFUiBub2JvZHkKCkVYUE9TRSA4MDgwIDgwODEKCkhFQUxUSENIRUNLIC0tc3RhcnQtcGVyaW9kPTVzIC0tdGltZW91dD01cyBcCiAgQ01EIGN1cmwgLWZzIGh0dHA6Ly8xMjcuMC4wLjE6ODA4MC9oZWFsdGh6IHx8IGV4aXQgMQoKRU5UUllQT0lOVCBbIi9rdWJlLXN0YXRlLW1ldHJpY3MiLCAiLS1wb3J0PTgwODAiLCAiLS10ZWxlbWV0cnktcG9ydD04MDgxIl0K", "fulldigest": "registry1.dso.mil/ironbank-staging/opensource/coreos/kube-state-metrics@sha256:d9e7506d9bdf115f5f44bc3ec51126682eb722807660ad1605af012089434a80", "fulltag": "registry1.dso.mil/ironbank-staging/opensource/coreos/kube-state-metrics:ibci-383766", "imageDigest": "sha256:d9e7506d9bdf115f5f44bc3ec51126682eb722807660ad1605af012089434a80", "imageId": "8ef4bb1f34cdaa9c79c868f943bb575f6f32ee20acb9abbcd8a4d10edf0cbc12", "last_updated": "2021-07-23T20:33:47Z", "registry": "registry1.dso.mil", "repo": "ironbank-staging/opensource/coreos/kube-state-metrics", "tag": "ibci-383766", "tag_detected_at": "2021-07-23T20:33:47Z", "userId": "ironbank-users" } ], "image_status": "active", "image_type": "docker", "last_updated": "2021-07-23T20:33:47Z", "parentDigest": "sha256:d9e7506d9bdf115f5f44bc3ec51126682eb722807660ad1605af012089434a80", "userId": "ironbank-users" } ] INFO: Waiting for Anchore to scan sha256:d9e7506d9bdf115f5f44bc3ec51126682eb722807660ad1605af012089434a80 INFO: anchore-cli --u [MASKED] --url [MASKED] image wait --timeout 3600 sha256:d9e7506d9bdf115f5f44bc3ec51126682eb722807660ad1605af012089434a80 INFO: Status: not_analyzed 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: 3590 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: 3578 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: 3556 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3544 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3537 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3531 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3525 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3519 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3513 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3506 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3499 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3492 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3483 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3474 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3467 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3460 INFO: Image Digest: sha256:d9e7506d9bdf115f5f44bc3ec51126682eb722807660ad1605af012089434a80 INFO: Parent Digest: sha256:d9e7506d9bdf115f5f44bc3ec51126682eb722807660ad1605af012089434a80 INFO: Analysis Status: analysis_failed INFO: Image Type: docker INFO: Analyzed At: None INFO: Image ID: 8ef4bb1f34cdaa9c79c868f943bb575f6f32ee20acb9abbcd8a4d10edf0cbc12 INFO: Dockerfile Mode: Actual INFO: Distro: rhel INFO: Distro Version: 8.4 INFO: Size: 293304320 INFO: Architecture: amd64 INFO: Layer Count: 4 INFO: Full Tag: registry1.dso.mil/ironbank-staging/opensource/coreos/kube-state-metrics:ibci-383766 INFO: Tag Detected At: 2021-07-23T20:33:47Z INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:d9e7506d9bdf115f5f44bc3ec51126682eb722807660ad1605af012089434a80 INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:d9e7506d9bdf115f5f44bc3ec51126682eb722807660ad1605af012089434a80 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:d9e7506d9bdf115f5f44bc3ec51126682eb722807660ad1605af012089434a80\\\"}\", \"httpcode\": 404}" } ERROR: section_end:1627072580:step_script section_start:1627072580: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=5055435 responseStatus=201 Created token=qNXgx2Mb section_end:1627072581:upload_artifacts_on_failure section_start:1627072581:cleanup_file_variables Cleaning up file based variables section_end:1627072581:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1