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:1631023206:resolve_secrets Resolving secrets section_end:1631023206:resolve_secrets section_start:1631023206: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:1631023206:prepare_executor section_start:1631023206:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-1307-concurrent-0dkchz to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-1307-concurrent-0dkchz 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-1307-concurrent-0dkchz 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-1307-concurrent-0dkchz 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-1307-concurrent-0dkchz via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1631023218:prepare_script section_start:1631023218: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/coreos/kube-state-metrics/.git/ Created fresh repository. Checking out 0361b156 as master... Skipping Git submodules setup section_end:1631023219:get_sources section_start:1631023219:download_artifacts Downloading artifacts Downloading artifacts for build (6300951)... Downloading artifacts from coordinator... ok  id=6300951 responseStatus=200 OK token=XgWyZsx_ WARNING: ci-artifacts/build/: lchown ci-artifacts/build/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6300944)... Downloading artifacts from coordinator... ok  id=6300944 responseStatus=200 OK token=jo6ReM4a WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) section_end:1631023220:download_artifacts section_start:1631023220: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-464783 INFO: registry1.dso.mil/ironbank-staging/opensource/coreos/kube-state-metrics:ibci-464783 added to Anchore INFO: [ { "analysis_status": "not_analyzed", "analyzed_at": null, "annotations": {}, "created_at": "2021-09-07T14:00:23Z", "imageDigest": "sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20", "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-07T14:00:23Z", "digest": "sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20", "dockerfile": "QVJHIEJBU0VfUkVHSVNUUlk9cmVnaXN0cnkxLmRzby5taWwKQVJHIEJBU0VfSU1BR0U9aXJvbmJhbmsvcmVkaGF0L3ViaS91Ymk4CkFSRyBCQVNFX1RBRz04LjQKCkZST00gcXVheS5pby9jb3Jlb3Mva3ViZS1zdGF0ZS1tZXRyaWNzOnYxLjkuOCBhcyBiYXNlCgpGUk9NICR7QkFTRV9SRUdJU1RSWX0vJHtCQVNFX0lNQUdFfToke0JBU0VfVEFHfQoKUlVOIGRuZiB1cGdyYWRlIC15ICYmIFwKICAgIGRuZiBjbGVhbiBhbGwgJiYgXAogICAgcm0gLXJmIC92YXIvY2FjaGUvZG5mCgpDT1BZIC0tZnJvbT1iYXNlIC9rdWJlLXN0YXRlLW1ldHJpY3MgL2t1YmUtc3RhdGUtbWV0cmljcwoKVVNFUiBub2JvZHkKCkVYUE9TRSA4MDgwIDgwODEKCkhFQUxUSENIRUNLIC0tc3RhcnQtcGVyaW9kPTVzIC0tdGltZW91dD01cyBcCiAgQ01EIGN1cmwgLWZzIGh0dHA6Ly8xMjcuMC4wLjE6ODA4MC9oZWFsdGh6IHx8IGV4aXQgMQoKRU5UUllQT0lOVCBbIi9rdWJlLXN0YXRlLW1ldHJpY3MiLCAiLS1wb3J0PTgwODAiLCAiLS10ZWxlbWV0cnktcG9ydD04MDgxIl0K", "fulldigest": "registry1.dso.mil/ironbank-staging/opensource/coreos/kube-state-metrics@sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20", "fulltag": "registry1.dso.mil/ironbank-staging/opensource/coreos/kube-state-metrics:ibci-464783", "imageDigest": "sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20", "imageId": "4d5e6944f006e8f4d151d50219da1fb701aad5610e1035a39aedf881d17dab31", "last_updated": "2021-09-07T14:00:23Z", "registry": "registry1.dso.mil", "repo": "ironbank-staging/opensource/coreos/kube-state-metrics", "tag": "ibci-464783", "tag_detected_at": "2021-09-07T14:00:23Z", "userId": "ironbank-users" } ], "image_status": "active", "image_type": "docker", "last_updated": "2021-09-07T14:00:23Z", "parentDigest": "sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20", "userId": "ironbank-users" } ] INFO: Waiting for Anchore to scan sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 INFO: anchore-cli --u [MASKED] --url [MASKED] image wait --timeout 3600 sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3596 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3587 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3579 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3567 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: 3543 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3534 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3525 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3513 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3504 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3497 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3486 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3476 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3466 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3452 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3441 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3429 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: 3405 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3393 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3380 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3364 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3349 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3338 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3324 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3312 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3296 INFO: Image Digest: sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 INFO: Parent Digest: sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 INFO: Analysis Status: analyzed INFO: Image Type: docker INFO: Analyzed At: 2021-09-07T14:05:30Z INFO: Image ID: 4d5e6944f006e8f4d151d50219da1fb701aad5610e1035a39aedf881d17dab31 INFO: Dockerfile Mode: Actual INFO: Distro: rhel INFO: Distro Version: 8.4 INFO: Size: 293437440 INFO: Architecture: amd64 INFO: Layer Count: 4 INFO: Full Tag: registry1.dso.mil/ironbank-staging/opensource/coreos/kube-state-metrics:ibci-464783 INFO: Tag Detected At: 2021-09-07T14:00:23Z INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 os INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 files INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 npm INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 gem INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 python INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 java INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 binary INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 go INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:7665e2af711be0aed9c1d4218cd8cece806cb057742e43e0df15cdebab44ac20 malware ERROR: "Unauthorized" ERROR: section_end:1631023608:step_script section_start:1631023608:upload_artifacts_on_failure Uploading artifacts for failed job Uploading artifacts... ci-artifacts/scan-results/anchore/: found 10 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=6300953 responseStatus=201 Created token=2_6gzuFA section_end:1631023609:upload_artifacts_on_failure section_start:1631023609:cleanup_file_variables Cleaning up file based variables section_end:1631023610:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1