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:1631099513:resolve_secrets Resolving secrets section_end:1631099513:resolve_secrets section_start:1631099513: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:1631099513:prepare_executor section_start:1631099513:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-4500-concurrent-0nrr7b to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-4500-concurrent-0nrr7b 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-4500-concurrent-0nrr7b via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1631099519:prepare_script section_start:1631099519: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/tektoncd/imagedigestexporter/.git/ Created fresh repository. Checking out ad75a83a as master... Skipping Git submodules setup section_end:1631099520:get_sources section_start:1631099520:download_artifacts Downloading artifacts Downloading artifacts for build (6315590)... Downloading artifacts from coordinator... ok  id=6315590 responseStatus=200 OK token=eVM_DMYs WARNING: ci-artifacts/build/: lchown ci-artifacts/build/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6315583)... Downloading artifacts from coordinator... ok  id=6315583 responseStatus=200 OK token=CfzTqG7T WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) section_end:1631099520:download_artifacts section_start:1631099520: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/tektoncd/imagedigestexporter:ibci-465851 INFO: registry1.dso.mil/ironbank-staging/opensource/tektoncd/imagedigestexporter:ibci-465851 added to Anchore INFO: [ { "analysis_status": "not_analyzed", "analyzed_at": null, "annotations": {}, "created_at": "2021-09-08T11:12:06Z", "imageDigest": "sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7", "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:12:06Z", "digest": "sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7", "dockerfile": "QVJHIEJBU0VfUkVHSVNUUlk9cmVnaXN0cnkxLmRzby5taWwKQVJHIEJBU0VfSU1BR0U9aXJvbmJhbmsvZ29vZ2xlL2Rpc3Ryb2xlc3Mvc3RhdGljCkFSRyBCQVNFX1RBRz1sYXRlc3QKCkZST00gZ2NyLmlvL3Rla3Rvbi1yZWxlYXNlcy9naXRodWIuY29tL3Rla3RvbmNkL3BpcGVsaW5lL2NtZC9pbWFnZWRpZ2VzdGV4cG9ydGVyOnYwLjI3LjMgYXMgYnVpbGQKCkZST00gJHtCQVNFX1JFR0lTVFJZfS8ke0JBU0VfSU1BR0V9OiR7QkFTRV9UQUd9CgpDT1BZIC0tZnJvbT1idWlsZCAva28tYXBwIC9rby1hcHAKClVTRVIgMTAwMQoKSEVBTFRIQ0hFQ0sgTk9ORQoKQ01EIFsiL2tvLWFwcC9pbWFnZWRpZ2VzdGV4cG9ydGVyIl0=", "fulldigest": "registry1.dso.mil/ironbank-staging/opensource/tektoncd/imagedigestexporter@sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7", "fulltag": "registry1.dso.mil/ironbank-staging/opensource/tektoncd/imagedigestexporter:ibci-465851", "imageDigest": "sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7", "imageId": "e9b5c132079dfca2a60834b630948b78c9986e1c8f5d91f9811d3377394f4e9a", "last_updated": "2021-09-08T11:12:06Z", "registry": "registry1.dso.mil", "repo": "ironbank-staging/opensource/tektoncd/imagedigestexporter", "tag": "ibci-465851", "tag_detected_at": "2021-09-08T11:12:06Z", "userId": "ironbank-users" } ], "image_status": "active", "image_type": "docker", "last_updated": "2021-09-08T11:12:06Z", "parentDigest": "sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7", "userId": "ironbank-users" } ] INFO: Waiting for Anchore to scan sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7 INFO: anchore-cli --u [MASKED] --url [MASKED] image wait --timeout 3600 sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3591 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3580 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3569 INFO: Image Digest: sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7 INFO: Parent Digest: sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7 INFO: Analysis Status: analyzed INFO: Image Type: docker INFO: Analyzed At: 2021-09-08T11:12:45Z INFO: Image ID: e9b5c132079dfca2a60834b630948b78c9986e1c8f5d91f9811d3377394f4e9a INFO: Dockerfile Mode: Actual INFO: Distro: debian INFO: Distro Version: 10 INFO: Size: 33320960 INFO: Architecture: amd64 INFO: Layer Count: 4 INFO: Full Tag: registry1.dso.mil/ironbank-staging/opensource/tektoncd/imagedigestexporter:ibci-465851 INFO: Tag Detected At: 2021-09-08T11:12:06Z INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7 INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7 os INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7 files INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7 npm INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7 gem INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7 python INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:0dc6dd8c82a4489b4f36aae7d70537c3bfe4e0a534babf9b0791ff066ae4b3d7 java ERROR: "Unauthorized" ERROR: section_end:1631099617:step_script section_start:1631099617:upload_artifacts_on_failure Uploading artifacts for failed job Uploading artifacts... ci-artifacts/scan-results/anchore/: found 7 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=6315592 responseStatus=201 Created token=db3eHmA5 section_end:1631099618:upload_artifacts_on_failure section_start:1631099618:cleanup_file_variables Cleaning up file based variables section_end:1631099619:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1