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:1630922453:resolve_secrets Resolving secrets section_end:1630922453:resolve_secrets section_start:1630922453: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:1630922453:prepare_executor section_start:1630922453:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-5780-concurrent-05h5x7 to be running, status is Pending Waiting for pod gitlab-runner-ironbank-dsop/runner-jrexj6yx-project-5780-concurrent-05h5x7 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-5780-concurrent-05h5x7 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-5780-concurrent-05h5x7 via dsop-shared-gitlab-runner-5fcd8977b8-m6qmr... section_end:1630922463:prepare_script section_start:1630922463: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/trufflehog/trufflehog3/.git/ Created fresh repository. Checking out 9d74167e as master... Skipping Git submodules setup section_end:1630922466:get_sources section_start:1630922466:download_artifacts Downloading artifacts Downloading artifacts for build (6264544)... Downloading artifacts from coordinator... ok  id=6264544 responseStatus=200 OK token=ftSchEY9 WARNING: ci-artifacts/build/: lchown ci-artifacts/build/: operation not permitted (suppressing repeats) Downloading artifacts for load-scripts (6264537)... Downloading artifacts from coordinator... ok  id=6264537 responseStatus=200 OK token=nYjEvys8 WARNING: ci-artifacts/[MASKED]/: lchown ci-artifacts/[MASKED]/: operation not permitted (suppressing repeats) section_end:1630922467:download_artifacts section_start:1630922467: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/trufflehog/trufflehog3:ibci-462675 INFO: registry1.dso.mil/ironbank-staging/opensource/trufflehog/trufflehog3:ibci-462675 added to Anchore INFO: [ { "analysis_status": "not_analyzed", "analyzed_at": null, "annotations": {}, "created_at": "2021-09-06T10:01:09Z", "imageDigest": "sha256:a037eea4c76220c6b2c86811e83d84d45d2f4d3cd9bfdfb54e63abc80978aae6", "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-06T10:01:09Z", "digest": "sha256:a037eea4c76220c6b2c86811e83d84d45d2f4d3cd9bfdfb54e63abc80978aae6", "dockerfile": "QVJHIEJBU0VfUkVHSVNUUlk9cmVnaXN0cnkxLmRzby5taWwKQVJHIEJBU0VfSU1BR0U9aXJvbmJhbmsvb3BlbnNvdXJjZS9weXRob24vcHl0aG9uMzkKQVJHIEJBU0VfVEFHPXYzLjkuNQoKRlJPTSAke0JBU0VfUkVHSVNUUll9LyR7QkFTRV9JTUFHRX06JHtCQVNFX1RBR30gYXMgYnVpbGQKClVTRVIgMAoKQ09QWSAqLndobCAvd2hlZWwvClJVTiBwaXAgaW5zdGFsbCAtLW5vLWluZGV4IC0tZmluZC1saW5rcz0vd2hlZWwvIHRydWZmbGVIb2czCiAgICAgCkZST00gJHtCQVNFX1JFR0lTVFJZfS8ke0JBU0VfSU1BR0V9OiR7QkFTRV9UQUd9CgpDT1BZIC0tZnJvbT1idWlsZCAvdXNyL2xvY2FsL2xpYi9weXRob24zLjkvc2l0ZS1wYWNrYWdlcy8gL3Vzci9sb2NhbC9saWIvcHl0aG9uMy45L3NpdGUtcGFja2FnZXMvCkNPUFkgLS1mcm9tPWJ1aWxkIC91c3IvbG9jYWwvYmluL3RydWZmbGVob2czIC91c3IvbG9jYWwvYmluLwoKVVNFUiAwCiAKUlVOIGRuZiB1cGRhdGUgLXkgJiYgXAogICAgZG5mIGluc3RhbGwgLXkgZ2l0IC0tbm9kb2NzICYmIFwKICAgIGRuZiBjbGVhbiBhbGwgJiYgXAogICAgcm0gLXJmIC92YXIvY2FjaGUvZG5mICYmIFwKICAgIGdyb3VwYWRkIC1yIHRydWZmbGVIb2cgJiYgXAogICAgdXNlcmFkZCAtciAtZyB0cnVmZmxlSG9nIHRydWZmbGVIb2cgJiYgXAogICAgY2htb2QgLXMgL3Vzci9saWJleGVjL29wZW5zc2gvc3NoLWtleXNpZ24KClVTRVIgdHJ1ZmZsZUhvZwoKV09SS0RJUiAvcHJvagoKSEVBTFRIQ0hFQ0sgTk9ORQoKRU5UUllQT0lOVCBbInRydWZmbGVob2czIl0KQ01EIFsiLWgiXQo=", "fulldigest": "registry1.dso.mil/ironbank-staging/opensource/trufflehog/trufflehog3@sha256:a037eea4c76220c6b2c86811e83d84d45d2f4d3cd9bfdfb54e63abc80978aae6", "fulltag": "registry1.dso.mil/ironbank-staging/opensource/trufflehog/trufflehog3:ibci-462675", "imageDigest": "sha256:a037eea4c76220c6b2c86811e83d84d45d2f4d3cd9bfdfb54e63abc80978aae6", "imageId": "fa07344a1038e9c930074bd153dde05f91d520e43a5d228d0fa536c21ae627a3", "last_updated": "2021-09-06T10:01:09Z", "registry": "registry1.dso.mil", "repo": "ironbank-staging/opensource/trufflehog/trufflehog3", "tag": "ibci-462675", "tag_detected_at": "2021-09-06T10:01:09Z", "userId": "ironbank-users" } ], "image_status": "active", "image_type": "docker", "last_updated": "2021-09-06T10:01:10Z", "parentDigest": "sha256:a037eea4c76220c6b2c86811e83d84d45d2f4d3cd9bfdfb54e63abc80978aae6", "userId": "ironbank-users" } ] INFO: Waiting for Anchore to scan sha256:a037eea4c76220c6b2c86811e83d84d45d2f4d3cd9bfdfb54e63abc80978aae6 INFO: anchore-cli --u [MASKED] --url [MASKED] image wait --timeout 3600 sha256:a037eea4c76220c6b2c86811e83d84d45d2f4d3cd9bfdfb54e63abc80978aae6 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3598 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3592 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3586 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3581 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3574 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3565 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3559 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3553 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3547 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3541 INFO: Status: analyzing INFO: Waiting 5.0 seconds for next retry. Total timeout remaining: 3535 INFO: Image Digest: sha256:a037eea4c76220c6b2c86811e83d84d45d2f4d3cd9bfdfb54e63abc80978aae6 INFO: Parent Digest: sha256:a037eea4c76220c6b2c86811e83d84d45d2f4d3cd9bfdfb54e63abc80978aae6 INFO: Analysis Status: analysis_failed INFO: Image Type: docker INFO: Analyzed At: None INFO: Image ID: fa07344a1038e9c930074bd153dde05f91d520e43a5d228d0fa536c21ae627a3 INFO: Dockerfile Mode: Actual INFO: Distro: None INFO: Distro Version: None INFO: Size: None INFO: Architecture: None INFO: Layer Count: None INFO: Full Tag: registry1.dso.mil/ironbank-staging/opensource/trufflehog/trufflehog3:ibci-462675 INFO: Tag Detected At: 2021-09-06T10:01:09Z INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:a037eea4c76220c6b2c86811e83d84d45d2f4d3cd9bfdfb54e63abc80978aae6 INFO: anchore-cli --json --u [MASKED] --url [MASKED] image content sha256:a037eea4c76220c6b2c86811e83d84d45d2f4d3cd9bfdfb54e63abc80978aae6 os ERROR: { "detail": { "error_codes": [] }, "httpcode": 500, "message": "{\"message\": \"Resource image is not analyzed - analysis_status: analysis_failed not found\", \"detail\": \"{\\\"account_id\\\": \\\"ironbank-users\\\", \\\"content_type\\\": \\\"os\\\", \\\"image_digest\\\": \\\"sha256:a037eea4c76220c6b2c86811e83d84d45d2f4d3cd9bfdfb54e63abc80978aae6\\\"}\", \"httpcode\": 404}" } ERROR: section_end:1630922544:step_script section_start:1630922544:upload_artifacts_on_failure Uploading artifacts for failed job Uploading artifacts... ci-artifacts/scan-results/anchore/: found 2 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=6264546 responseStatus=201 Created token=HvncNR3z section_end:1630922545:upload_artifacts_on_failure section_start:1630922545:cleanup_file_variables Cleaning up file based variables section_end:1630922545:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1