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:1631143031:resolve_secrets Resolving secrets section_end:1631143031:resolve_secrets section_start:1631143031: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:1631143031:prepare_executor section_start:1631143031:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-5253-concurrent-0xxxrz to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-5253-concurrent-0xxxrz 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-5253-concurrent-0xxxrz 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-5253-concurrent-0xxxrz 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-jrexj6yx-project-5253-concurrent-0xxxrz 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-5253-concurrent-0xxxrz via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1631143047:prepare_script section_start:1631143047: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/prometheus/postgres-exporter/.git/ Created fresh repository. Checking out 8fd9d1be as master... Skipping Git submodules setup section_end:1631143048:get_sources section_start:1631143048:download_artifacts Downloading artifacts Downloading artifacts for build (6329158)... Downloading artifacts from coordinator... ok  id=6329158 responseStatus=200 OK token=SZQ62zXf WARNING: ci-artifacts/build/: lchown ci-artifacts/build/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6329151)... Downloading artifacts from coordinator... ok  id=6329151 responseStatus=200 OK token=EVqKmXz9 WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) section_end:1631143049:download_artifacts section_start:1631143049: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/prometheus/postgres-exporter:ibci-466799 INFO: registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:ibci-466799 added to Anchore INFO: [ { "analysis_status": "not_analyzed", "analyzed_at": null, "annotations": {}, "created_at": "2021-09-08T23:17:34Z", "imageDigest": "sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c", "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-08T23:17:34Z", "digest": "sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c", "dockerfile": "QVJHIEJBU0VfUkVHSVNUUlk9cmVnaXN0cnkxLmRzby5taWwKQVJHIEJBU0VfSU1BR0U9aXJvbmJhbmsvcmVkaGF0L3ViaS91Ymk4CkFSRyBCQVNFX1RBRz04LjQKCkZST00gcXVheS5pby9wcm9tZXRoZXVzY29tbXVuaXR5L3Bvc3RncmVzLWV4cG9ydGVyOnYwLjEwLjAgYXMgYmFzZQoKRlJPTSAke0JBU0VfUkVHSVNUUll9LyR7QkFTRV9JTUFHRX06JHtCQVNFX1RBR30KClJVTiBkbmYgdXBncmFkZSAteSAmJiBcCiAgICBkbmYgY2xlYW4gYWxsICYmIFwKICAgIHJtIC1yZiAvdmFyL2NhY2hlL2RuZgoKUlVOIG1rZGlyIC9wbHVnaW5zCgpDT1BZIC0tZnJvbT1iYXNlIC9iaW4vcG9zdGdyZXNfZXhwb3J0ZXIgL2Jpbi9wb3N0Z3Jlc19leHBvcnRlcgoKVVNFUiBub2JvZHkKCkVYUE9TRSA5MTg3CgpIRUFMVEhDSEVDSyBOT05FCgpFTlRSWVBPSU5UIFsgIi9iaW4vcG9zdGdyZXNfZXhwb3J0ZXIiIF0K", "fulldigest": "registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter@sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c", "fulltag": "registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:ibci-466799", "imageDigest": "sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c", "imageId": "bd145239adcd1213709078ed757b795aef254b46e598ceb2c14de65ca4028faf", "last_updated": "2021-09-08T23:17:34Z", "registry": "registry1.dso.mil", "repo": "ironbank-staging/opensource/prometheus/postgres-exporter", "tag": "ibci-466799", "tag_detected_at": "2021-09-08T23:17:34Z", "userId": "ironbank-users" } ], "image_status": "active", "image_type": "docker", "last_updated": "2021-09-08T23:17:34Z", "parentDigest": "sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c", "userId": "ironbank-users" } ] INFO: Waiting for Anchore to scan sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c INFO: anchore-cli --u [MASKED] --url [MASKED] image wait --timeout 3600 sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3597 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3586 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: 3550 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3533 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: 3508 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3499 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3484 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3467 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3448 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3439 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3422 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3404 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3391 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3381 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3361 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3344 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3325 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3308 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3293 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3280 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3261 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3246 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3234 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3218 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3204 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3186 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3171 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3158 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3149 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3132 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3113 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3096 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3076 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3058 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3049 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3034 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3018 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3004 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 2992 INFO: Image Digest: sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c INFO: Parent Digest: sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c INFO: Analysis Status: analyzed INFO: Image Type: docker INFO: Analyzed At: 2021-09-08T23:27:53Z INFO: Image ID: bd145239adcd1213709078ed757b795aef254b46e598ceb2c14de65ca4028faf INFO: Dockerfile Mode: Actual INFO: Distro: rhel INFO: Distro Version: 8.4 INFO: Size: 279562240 INFO: Architecture: amd64 INFO: Layer Count: 4 INFO: Full Tag: registry1.dso.mil/ironbank-staging/opensource/prometheus/postgres-exporter:ibci-466799 INFO: Tag Detected At: 2021-09-08T23:17:34Z INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c os INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:e09276ca67064203a70c321227cd2985bfc140722e1862a549626a36ce62c08c files ERROR: "Unauthorized" ERROR: section_end:1631143707:step_script section_start:1631143707:upload_artifacts_on_failure Uploading artifacts for failed job Uploading artifacts... ci-artifacts/scan-results/anchore/: found 3 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=6329160 responseStatus=201 Created token=MtJsDmVs section_end:1631143708:upload_artifacts_on_failure section_start:1631143708:cleanup_file_variables Cleaning up file based variables section_end:1631143708:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1