Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1627990070:resolve_secrets Resolving secrets section_end:1627990070:resolve_secrets section_start:1627990070: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:1627990070:prepare_executor section_start:1627990070:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-3747-concurrent-0bqj7s to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-3747-concurrent-0bqj7s 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-e82g8rg-project-3747-concurrent-0bqj7s 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-e82g8rg-project-3747-concurrent-0bqj7s 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-e82g8rg-project-3747-concurrent-0bqj7s 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-3747-concurrent-0bqj7s via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1627990085:prepare_script section_start:1627990085: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/gitlab-triage/gitlab-triage/.git/ Created fresh repository. Checking out e130b748 as master... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1627990085:get_sources section_start:1627990086:download_artifacts Downloading artifacts Downloading artifacts for build (5338081)... Downloading artifacts from coordinator... ok  id=5338081 responseStatus=200 OK token=fjV537eE WARNING: ci-artifacts/build/: lchown ci-artifacts/build/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (5338074)... Downloading artifacts from coordinator... ok  id=5338074 responseStatus=200 OK token=Mj-63HxC WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) section_end:1627990086:download_artifacts section_start:1627990086: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/gitlab-triage/gitlab-triage:ibci-403323 INFO: registry1.dso.mil/ironbank-staging/opensource/gitlab-triage/gitlab-triage:ibci-403323 added to Anchore INFO: [ { "analysis_status": "not_analyzed", "analyzed_at": null, "annotations": {}, "created_at": "2021-08-03T11:28:12Z", "imageDigest": "sha256:ae56077e04a8a048d77111e3b891a62eee214a19fd493e2fd644cae6776db2d0", "image_content": { "metadata": { "arch": null, "distro": null, "distro_version": null, "dockerfile_mode": "Actual", "image_size": null, "layer_count": null } }, "image_detail": [ { "created_at": "2021-08-03T11:28:12Z", "digest": "sha256:ae56077e04a8a048d77111e3b891a62eee214a19fd493e2fd644cae6776db2d0", "dockerfile": "QVJHIEJBU0VfUkVHSVNUUlk9cmVnaXN0cnkxLmRzby5taWwKQVJHIEJBU0VfSU1BR0U9aXJvbmJhbmsvb3BlbnNvdXJjZS9ydWJ5L3J1YnkyNwpBUkcgQkFTRV9UQUc9Mi43LjMKCkZST00gJHtCQVNFX1JFR0lTVFJZfS8ke0JBU0VfSU1BR0V9OiR7QkFTRV9UQUd9CgpVU0VSIHJvb3QgCgpSVU4gZ3JvdXBhZGQgLXIgZ2l0bGFiLXRyaWFnZSAmJiBcCiAgICB1c2VyYWRkIC1tIC1yIGdpdGxhYi10cmlhZ2UgLWcgZ2l0bGFiLXRyaWFnZQoKQ09QWSAqLmdlbSAuLwoKUlVOIGdlbSBpbnN0YWxsIGdpdGxhYi10cmlhZ2UgJiYgXCAKICAgIHJtIC1yZiAqLmdlbQoKVVNFUiBnaXRsYWItdHJpYWdlIApXT1JLRElSIC9ob21lL2dpdGxhYi10cmlhZ2UKCkhFQUxUSENIRUNLIE5PTkUKCkVOVFJZUE9JTlQgWyJnaXRsYWItdHJpYWdlIl0K", "fulldigest": "registry1.dso.mil/ironbank-staging/opensource/gitlab-triage/gitlab-triage@sha256:ae56077e04a8a048d77111e3b891a62eee214a19fd493e2fd644cae6776db2d0", "fulltag": "registry1.dso.mil/ironbank-staging/opensource/gitlab-triage/gitlab-triage:ibci-403323", "imageDigest": "sha256:ae56077e04a8a048d77111e3b891a62eee214a19fd493e2fd644cae6776db2d0", "imageId": "188455882d4ccd875ceac43dec1cd535e25c61cab953d4ca59efa2dd515ac99a", "last_updated": "2021-08-03T11:28:12Z", "registry": "registry1.dso.mil", "repo": "ironbank-staging/opensource/gitlab-triage/gitlab-triage", "tag": "ibci-403323", "tag_detected_at": "2021-08-03T11:28:12Z", "userId": "ironbank-users" } ], "image_status": "active", "image_type": "docker", "last_updated": "2021-08-03T11:28:12Z", "parentDigest": "sha256:ae56077e04a8a048d77111e3b891a62eee214a19fd493e2fd644cae6776db2d0", "userId": "ironbank-users" } ] INFO: Waiting for Anchore to scan sha256:ae56077e04a8a048d77111e3b891a62eee214a19fd493e2fd644cae6776db2d0 INFO: anchore-cli --u [MASKED] --url [MASKED] image wait --timeout 3600 sha256:ae56077e04a8a048d77111e3b891a62eee214a19fd493e2fd644cae6776db2d0 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: 3587 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3581 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: 3557 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3551 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3545 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3539 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3533 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3527 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3521 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3515 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3509 INFO: Image Digest: sha256:ae56077e04a8a048d77111e3b891a62eee214a19fd493e2fd644cae6776db2d0 INFO: Parent Digest: sha256:ae56077e04a8a048d77111e3b891a62eee214a19fd493e2fd644cae6776db2d0 INFO: Analysis Status: analysis_failed INFO: Image Type: docker INFO: Analyzed At: None INFO: Image ID: 188455882d4ccd875ceac43dec1cd535e25c61cab953d4ca59efa2dd515ac99a INFO: Dockerfile Mode: Actual INFO: Distro: rhel INFO: Distro Version: 8.4 INFO: Size: 339374080 INFO: Architecture: amd64 INFO: Layer Count: 5 INFO: Full Tag: registry1.dso.mil/ironbank-staging/opensource/gitlab-triage/gitlab-triage:ibci-403323 INFO: Tag Detected At: 2021-08-03T11:28:12Z INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:ae56077e04a8a048d77111e3b891a62eee214a19fd493e2fd644cae6776db2d0 INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:ae56077e04a8a048d77111e3b891a62eee214a19fd493e2fd644cae6776db2d0 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:ae56077e04a8a048d77111e3b891a62eee214a19fd493e2fd644cae6776db2d0\\\"}\", \"httpcode\": 404}" } ERROR: section_end:1627990191:step_script section_start:1627990191: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=5338082 responseStatus=201 Created token=sW-GKszB section_end:1627990191:upload_artifacts_on_failure section_start:1627990192:cleanup_file_variables Cleaning up file based variables section_end:1627990192:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1