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:1631110690:resolve_secrets Resolving secrets section_end:1631110690:resolve_secrets section_start:1631110690: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:1631110690:prepare_executor section_start:1631110690:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-1229-concurrent-0ghtmk to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-1229-concurrent-0ghtmk 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-1229-concurrent-0ghtmk via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1631110696:prepare_script section_start:1631110696: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; Waiting for Sidecar Sidecar available Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/JrExJ6yx/0/dsop/opensource/goharbor/harbor-registryctl/.git/ Created fresh repository. Checking out 84071e5c as master... Skipping Git submodules setup section_end:1631110700:get_sources section_start:1631110700:download_artifacts Downloading artifacts Downloading artifacts for build (6321607)... Downloading artifacts from coordinator... ok  id=6321607 responseStatus=200 OK token=M_4t8zuM WARNING: ci-artifacts/build/: lchown ci-artifacts/build/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6321600)... Downloading artifacts from coordinator... ok  id=6321600 responseStatus=200 OK token=ogVWug2J WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) section_end:1631110701:download_artifacts section_start:1631110701: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/goharbor/harbor-registryctl:ibci-466200 INFO: registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl:ibci-466200 added to Anchore INFO: [ { "analysis_status": "not_analyzed", "analyzed_at": null, "annotations": {}, "created_at": "2021-09-08T14:18:25Z", "imageDigest": "sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b", "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-08T14:18:25Z", "digest": "sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b", "dockerfile": "QVJHIEJBU0VfUkVHSVNUUlk9cmVnaXN0cnkxLmRzby5taWwKQVJHIEJBU0VfSU1BR0U9aXJvbmJhbmsvcmVkaGF0L3ViaS91Ymk4CkFSRyBCQVNFX1RBRz04LjQKCkZST00gZ29oYXJib3IvaGFyYm9yLXJlZ2lzdHJ5Y3RsOnYyLjMuMiBhcyBiYXNlCgpGUk9NICR7QkFTRV9SRUdJU1RSWX0vJHtCQVNFX0lNQUdFfToke0JBU0VfVEFHfQoKUlVOIGdyb3VwYWRkIC1nIDEwMDAwIGhhcmJvciAmJiBcCiAgICB1c2VyYWRkIC1yIC11IDEwMDAwIC1tIC1zIC9zYmluL25vbG9naW4gLWcgaGFyYm9yIGhhcmJvciAmJiBcCiAgICBta2RpciAtcCAvZXRjL3JlZ2lzdHJ5ICYmIFwKICAgIGRuZiB1cGdyYWRlIC15ICYmIFwKICAgIGRuZiBjbGVhbiBhbGwgJiYgXAogICAgcm0gLXJmIC92YXIvY2FjaGUvZG5mCgpDT1BZIC0tZnJvbT1iYXNlIC0tY2hvd249aGFyYm9yOmhhcmJvciAvaG9tZS9oYXJib3IvaGFyYm9yX3JlZ2lzdHJ5Y3RsIC9ob21lL2hhcmJvci9oYXJib3JfcmVnaXN0cnljdGwKQ09QWSAtLWZyb209YmFzZSAvdXNyL2Jpbi9yZWdpc3RyeV9ET19OT1RfVVNFX0dDIC91c3IvYmluL3JlZ2lzdHJ5X0RPX05PVF9VU0VfR0MKCldPUktESVIgL2hvbWUvaGFyYm9yClVTRVIgaGFyYm9yCgpWT0xVTUUgWyIvdmFyL2xpYi9yZWdpc3RyeSJdCgpIRUFMVEhDSEVDSyBDTUQgY3VybCAtZnMgaHR0cDovL2xvY2FsaG9zdDo4MDgwL2FwaS9oZWFsdGggfHwgY3VybCAtZnNrIC0ta2V5IC9ldGMvaGFyYm9yL3NzbC9yZWdpc3RyeWN0bC5rZXkgLS1jZXJ0IC9ldGMvaGFyYm9yL3NzbC9yZWdpc3RyeWN0bC5jcnQgaHR0cHM6Ly9sb2NhbGhvc3Q6ODQ0My9hcGkvaGVhbHRoIHx8IGV4aXQgMQoKRU5UUllQT0lOVCBbIi9ob21lL2hhcmJvci9oYXJib3JfcmVnaXN0cnljdGwiXQpDTUQgWyItYyIsICIvZXRjL3JlZ2lzdHJ5Y3RsL2NvbmZpZy55bWwiXQo=", "fulldigest": "registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl@sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b", "fulltag": "registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl:ibci-466200", "imageDigest": "sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b", "imageId": "ab4228428a9149216a7abb306d1bd988f65b710ac54fabcc1846e15ff4e5ec96", "last_updated": "2021-09-08T14:18:25Z", "registry": "registry1.dso.mil", "repo": "ironbank-staging/opensource/goharbor/harbor-registryctl", "tag": "ibci-466200", "tag_detected_at": "2021-09-08T14:18:25Z", "userId": "ironbank-users" } ], "image_status": "active", "image_type": "docker", "last_updated": "2021-09-08T14:18:25Z", "parentDigest": "sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b", "userId": "ironbank-users" } ] INFO: Waiting for Anchore to scan sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b INFO: anchore-cli --u [MASKED] --url [MASKED] image wait --timeout 3600 sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3595 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: 3573 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3562 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3554 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3544 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3530 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3516 INFO: Status: not_analyzed INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3501 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3485 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: 3461 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3447 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3434 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3423 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3411 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3401 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: 3383 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3367 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3355 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3344 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3334 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: 3313 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3304 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3295 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3284 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3271 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3263 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3253 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3239 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3225 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3211 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3196 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3186 INFO: Image Digest: sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b INFO: Parent Digest: sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b INFO: Analysis Status: analyzed INFO: Image Type: docker INFO: Analyzed At: 2021-09-08T14:25:27Z INFO: Image ID: ab4228428a9149216a7abb306d1bd988f65b710ac54fabcc1846e15ff4e5ec96 INFO: Dockerfile Mode: Actual INFO: Distro: rhel INFO: Distro Version: 8.4 INFO: Size: 311848960 INFO: Architecture: amd64 INFO: Layer Count: 4 INFO: Full Tag: registry1.dso.mil/ironbank-staging/opensource/goharbor/harbor-registryctl:ibci-466200 INFO: Tag Detected At: 2021-09-08T14:18:25Z INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b os INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b files INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b npm INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b gem INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b python INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:462282260928e926119da8e53240b5068e556f717aef79a7f0cec748f631d45b java ERROR: "Unauthorized" ERROR: section_end:1631111172:step_script section_start:1631111172: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=6321609 responseStatus=201 Created token=pB2eMwTp section_end:1631111174:upload_artifacts_on_failure section_start:1631111174:cleanup_file_variables Cleaning up file based variables section_end:1631111175:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1