Running with gitlab-runner 13.8.0 (775dd39d)  on dsop-shared-gitlab-runner-f887cbcbd-srgz6 E82_g8RG section_start:1627997544:resolve_secrets Resolving secrets section_end:1627997544:resolve_secrets section_start:1627997544: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:1627997544:prepare_executor section_start:1627997544:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-4713-concurrent-0mgc8t to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-e82g8rg-project-4713-concurrent-0mgc8t 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-4713-concurrent-0mgc8t 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-4713-concurrent-0mgc8t 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-4713-concurrent-0mgc8t 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-4713-concurrent-0mgc8t via dsop-shared-gitlab-runner-f887cbcbd-srgz6... section_end:1627997560:prepare_script section_start:1627997560: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/bitnami/kafka/.git/ Created fresh repository. Checking out 581f4f98 as development... Skipping object checkout, Git LFS is not installed. Skipping Git submodules setup section_end:1627997561:get_sources section_start:1627997561:download_artifacts Downloading artifacts Downloading artifacts for build (5341582)... Downloading artifacts from coordinator... ok  id=5341582 responseStatus=200 OK token=z-nkZ1cC WARNING: ci-artifacts/build/: lchown ci-artifacts/build/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (5341575)... Downloading artifacts from coordinator... ok  id=5341575 responseStatus=200 OK token=3x4p-ka1 WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) section_end:1627997561:download_artifacts section_start:1627997561: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/bitnami/kafka:ibci-403541 INFO: registry1.dso.mil/ironbank-staging/bitnami/kafka:ibci-403541 added to Anchore INFO: [ { "analysis_status": "not_analyzed", "analyzed_at": null, "annotations": {}, "created_at": "2021-08-03T13:32:43Z", "imageDigest": "sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086", "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-03T13:32:43Z", "digest": "sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086", "dockerfile": "QVJHIEJBU0VfUkVHSVNUUlk9cmVnaXN0cnkxLmRzby5taWwKQVJHIEJBU0VfSU1BR0U9aXJvbmJhbmsvcmVkaGF0L29wZW5qZGsvb3BlbmpkazExCkFSRyB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bnQuc2ggJiYgXAogICAgbG4gLXMgJHtCSVROQU1JX0hPTUV9L3NjcmlwdHMva2Fma2EvcnVuLnNoIC9ydW4uc2ggJiYgXAogICAgdXNlcmFkZCAtdSAke0tBRktBX1VTRVJfSUR9IC1nIDAgLU0gLWQgJHtLQUZLQV9IT01FfSAke0tBRktBX1VTRVJfTkFNRX0gJiYgXAogICAgY2hvd24gLVIgJHtLQUZLQV9VU0VSX05BTUV9OjAgJHtLQUZLQV9IT01FfQoKVVNFUiAke0tBRktBX1VTRVJfSUR9CgpXT1JLRElSICR7S0FGS0FfSE9NRX0KCkVYUE9TRSA5MDkyCgpIRUFMVEhDSEVDSyAtLXN0YXJ0LXBlcmlvZD0xMHMgQ01EIGJhc2ggLWMgJzwvZGV2L3RjcC8xMjcuMC4wLjEvOTA5MiAmPi9kZXYvbnVsbCcgfHwgZXhpdCAxCgpFTlRSWVBPSU5UIFsgIi9vcHQvYml0bmFtaS9zY3JpcHRzL2thZmthL2VudHJ5cG9pbnQuc2giIF0KQ01EIFsgIi9vcHQvYml0bmFtaS9zY3JpcHRzL2thZmthL3J1bi5zaCIgXQo=", "fulldigest": "registry1.dso.mil/ironbank-staging/bitnami/kafka@sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086", "fulltag": "registry1.dso.mil/ironbank-staging/bitnami/kafka:ibci-403541", "imageDigest": "sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086", "imageId": "d0d2b33dfabb34c5a412db7ad209035d5e7e67ff5dddc499c6490c599b54ed76", "last_updated": "2021-08-03T13:32:43Z", "registry": "registry1.dso.mil", "repo": "ironbank-staging/bitnami/kafka", "tag": "ibci-403541", "tag_detected_at": "2021-08-03T13:32:43Z", "userId": "ironbank-users" } ], "image_status": "active", "image_type": "docker", "last_updated": "2021-08-03T13:32:43Z", "parentDigest": "sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086", "userId": "ironbank-users" } ] INFO: Waiting for Anchore to scan sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 INFO: anchore-cli --u [MASKED] --url [MASKED] image wait --timeout 3600 sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3598 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3590 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3582 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3575 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3565 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3557 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3549 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3540 INFO: Status: not_analyzed 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: 3528 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3520 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3514 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3507 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3495 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3486 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3478 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3471 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3465 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3459 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3451 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3444 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3438 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3428 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3419 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3412 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3404 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3397 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3389 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3381 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3371 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3362 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3352 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3343 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3336 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3327 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3318 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3312 INFO: Image Digest: sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 INFO: Parent Digest: sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 INFO: Analysis Status: analyzed INFO: Image Type: docker INFO: Analyzed At: 2021-08-03T13:37:34Z INFO: Image ID: d0d2b33dfabb34c5a412db7ad209035d5e7e67ff5dddc499c6490c599b54ed76 INFO: Dockerfile Mode: Actual INFO: Distro: rhel INFO: Distro Version: 8.4 INFO: Size: 567070720 INFO: Architecture: amd64 INFO: Layer Count: 5 INFO: Full Tag: registry1.dso.mil/ironbank-staging/bitnami/kafka:ibci-403541 INFO: Tag Detected At: 2021-08-03T13:32:43Z INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 os INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 files INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 npm INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 gem INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 python INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 java INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 binary INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 go INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 malware INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086 nuget INFO: Getting vulnerability results INFO: Fetching [MASKED]/enterprise/images/sha256:01c7ecf3f9ff99c9070a7cf75bfc23708d201586302a945f94020ec802e97086/ancestors Traceback (most recent call last): File "ci-artifacts/[MASKED]/stages/scanning/anchore/anchore_scan.py", line 49, in sys.exit(main()) File "ci-artifacts/[MASKED]/stages/scanning/anchore/anchore_scan.py", line 41, in main anchore_scan.get_vulns(digest=digest, image=image, artifacts_path=artifacts_path) File "/builds/dsop/bitnami/kafka/ci-artifacts/[MASKED]/stages/scanning/anchore/anchore.py", line 141, in get_vulns parent_digest = self.__get_parent_sha(digest) File "/builds/dsop/bitnami/kafka/ci-artifacts/[MASKED]/stages/scanning/anchore/anchore.py", line 74, in __get_parent_sha ancestry = self.__get_anchore_api_json( File "/builds/dsop/bitnami/kafka/ci-artifacts/[MASKED]/stages/scanning/anchore/anchore.py", line 57, in __get_anchore_api_json raise Exception( Exception: Non-200 response from Anchore 500 - { "detail": { "error_codes": [] }, "httpcode": 500, "message": "failed get url=http://anchore-anchore-engine-policy:8087/v1/enterprise/users/ironbank-users/images/d0d2b33dfabb34c5a412db7ad209035d5e7e67ff5dddc499c6490c599b54ed76/ancestors" } section_end:1627997905:step_script section_start:1627997906:upload_artifacts_on_failure Uploading artifacts for failed job Uploading artifacts... ci-artifacts/scan-results/anchore/: found 12 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=5341583 responseStatus=201 Created token=49B2G5Vr section_end:1627997907:upload_artifacts_on_failure section_start:1627997907:cleanup_file_variables Cleaning up file based variables section_end:1627997907:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1