Running with gitlab-runner 13.2.0 (353dd94e)  on global-shared-gitlab-runner-74d5bd4795-j8zps oFz8WHMZ section_start:1603395880:prepare_executor Preparing the "kubernetes" executor Using Kubernetes namespace: gitlab-runner Using Kubernetes executor with image ${GITLAB_INTERNAL_REGISTRY}/ironbank-tools/ironbank-pipeline/jenkins-oscap-agent:1.1 ... section_end:1603395880:prepare_executor section_start:1603395880:prepare_script Preparing environment Waiting for pod gitlab-runner/runner-ofz8whmz-project-1349-concurrent-3wnp8l to be running, status is Pending Running on runner-ofz8whmz-project-1349-concurrent-3wnp8l via global-shared-gitlab-runner-74d5bd4795-j8zps... section_end:1603395884:prepare_script section_start:1603395884:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/pivotal/rabbitmq/rabbitmq38/.git/ Created fresh repository. Checking out 9497c63f as development... Skipping Git submodules setup section_end:1603395884:get_sources section_start:1603395884:download_artifacts Downloading artifacts Downloading artifacts for build (498936)... Downloading artifacts from coordinator... ok  id=498936 responseStatus=200 OK token=ijUekLer Downloading artifacts for load scripts (498930)... Downloading artifacts from coordinator... ok  id=498930 responseStatus=200 OK token=tCtz-wfz section_end:1603395889:download_artifacts section_start:1603395889:step_script Executing "step_script" stage of the job script $ "${PIPELINE_REPO_DIR}/stages/scanning/anchore-run.sh" WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. WARNING: The directory '/home/jenkins/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting anchorecli Downloading anchorecli-0.8.2.tar.gz (40 kB) Collecting Click==7.0 Downloading Click-7.0-py2.py3-none-any.whl (81 kB) Collecting prettytable==0.7.2 Downloading prettytable-0.7.2.tar.bz2 (21 kB) Requirement already satisfied, skipping upgrade: python-dateutil==2.8.1 in /usr/local/lib/python3.6/site-packages (from anchorecli) (2.8.1) Collecting PyYAML==5.3.1 Downloading PyYAML-5.3.1.tar.gz (269 kB) Collecting requests==2.23.0 Downloading requests-2.23.0-py2.py3-none-any.whl (58 kB) Collecting six==1.14.0 Downloading six-1.14.0-py2.py3-none-any.whl (10 kB) Collecting urllib3==1.25.9 Downloading urllib3-1.25.9-py2.py3-none-any.whl (126 kB) Requirement already satisfied, skipping upgrade: chardet<4,>=3.0.2 in /usr/local/lib/python3.6/site-packages (from requests==2.23.0->anchorecli) (3.0.4) Requirement already satisfied, skipping upgrade: idna<3,>=2.5 in /home/jenkins/.local/lib/python3.6/site-packages (from requests==2.23.0->anchorecli) (2.10) Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /home/jenkins/.local/lib/python3.6/site-packages (from requests==2.23.0->anchorecli) (2020.6.20) Building wheels for collected packages: anchorecli, prettytable, PyYAML Building wheel for anchorecli (setup.py): started Building wheel for anchorecli (setup.py): finished with status 'done' Created wheel for anchorecli: filename=anchorecli-0.8.2-py3-none-any.whl size=46487 sha256=2b0819ac4614c9b1bfca66d54fc8c03e27a5da69c9754f7a42790e6a06264df9 Stored in directory: /tmp/pip-ephem-wheel-cache-pcyet562/wheels/d4/ef/0d/366a549fddc7fc4032a7a9493859c9b13c7de0dd91edd16897 Building wheel for prettytable (setup.py): started Building wheel for prettytable (setup.py): finished with status 'done' Created wheel for prettytable: filename=prettytable-0.7.2-py3-none-any.whl size=13700 sha256=a747102876eef9858fb6268bcd0653f6ac418b55cf771b41056dacf995950512 Stored in directory: /tmp/pip-ephem-wheel-cache-pcyet562/wheels/90/15/c3/5f28b42ae9c81638570b8b7ed654e0f98c5fdc08875869511b Building wheel for PyYAML (setup.py): started Building wheel for PyYAML (setup.py): finished with status 'done' Created wheel for PyYAML: filename=PyYAML-5.3.1-cp36-cp36m-linux_x86_64.whl size=44619 sha256=694bf15e0fbb4d7f00661c1567c82846ac3cdd95e299eee0b6b63569f95cdb88 Stored in directory: /tmp/pip-ephem-wheel-cache-pcyet562/wheels/e5/9d/ad/2ee53cf262cba1ffd8afe1487eef788ea3f260b7e6232a80fc Successfully built anchorecli prettytable PyYAML Installing collected packages: Click, prettytable, PyYAML, urllib3, requests, six, anchorecli Attempting uninstall: urllib3 Found existing installation: urllib3 1.25.10 Uninstalling urllib3-1.25.10: Successfully uninstalled urllib3-1.25.10 Attempting uninstall: requests Found existing installation: requests 2.24.0 Uninstalling requests-2.24.0: Successfully uninstalled requests-2.24.0 Attempting uninstall: six Found existing installation: six 1.15.0 Uninstalling six-1.15.0: Successfully uninstalled six-1.15.0 WARNING: The script anchore-cli is installed in '/home/jenkins/.local/bin' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. Successfully installed Click-7.0 PyYAML-5.3.1 anchorecli-0.8.2 prettytable-0.7.2 requests-2.23.0 six-1.14.0 urllib3-1.25.9 WARNING: You are using pip version 20.2.3; however, version 20.2.4 is available. You should consider upgrading via the '/usr/bin/python3.6 -m pip install --upgrade pip' command. Image Digest: sha256:e8fd30cb810870d8a7ed5feb169aed8b980d6a2f7652cf27d80f92e85887e273 Parent Digest: sha256:e8fd30cb810870d8a7ed5feb169aed8b980d6a2f7652cf27d80f92e85887e273 Analysis Status: not_analyzed Image Type: docker Analyzed At: None Image ID: 0ca6a84e9c048598dada93a84613db68ea814bd49264c40ebd92da59397bf810 Dockerfile Mode: Actual Distro: None Distro Version: None Size: None Architecture: None Layer Count: None Full Tag: registry1.dsop.io/ironbank-staging/pivotal/rabbitmq/rabbitmq38:v3.8.5-59700 Tag Detected At: 2020-10-22T19:44:53Z Status: not_analyzed Waiting 5.0 seconds for next retry. Total timeout remaining: 2399 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2393 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2388 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2382 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2377 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2371 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2366 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2360 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2355 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2349 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2344 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2338 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2333 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2327 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2322 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2316 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2311 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2305 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2300 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2294 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2289 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2283 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2278 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2272 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2266 Image Digest: sha256:e8fd30cb810870d8a7ed5feb169aed8b980d6a2f7652cf27d80f92e85887e273 Parent Digest: sha256:e8fd30cb810870d8a7ed5feb169aed8b980d6a2f7652cf27d80f92e85887e273 Analysis Status: analyzed Image Type: docker Analyzed At: 2020-10-22T19:47:12Z Image ID: 0ca6a84e9c048598dada93a84613db68ea814bd49264c40ebd92da59397bf810 Dockerfile Mode: Actual Distro: rhel Distro Version: 8.2 Size: 308797440 Architecture: amd64 Layer Count: 4 Full Tag: registry1.dsop.io/ironbank-staging/pivotal/rabbitmq/rabbitmq38:v3.8.5-59700 Tag Detected At: 2020-10-22T19:44:53Z INFO: Log level set to info Getting vulnerability results DEBUG: Fetching [MASKED]images/by_id/0ca6a84e9c048598dada93a84613db68ea814bd49264c40ebd92da59397bf810/vuln/all DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Writing to ci-artifacts/scan-results/anchore/anchore_security.json Getting compliance results DEBUG: Fetching [MASKED]images/by_id/0ca6a84e9c048598dada93a84613db68ea814bd49264c40ebd92da59397bf810/check?tag=registry1.dsop.io/ironbank-staging/pivotal/rabbitmq/rabbitmq38:v3.8.5-59700&detail=true DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Writing to ci-artifacts/scan-results/anchore/anchore_api_gates_full.json DEBUG: Writing to ci-artifacts/scan-results/anchore/anchore_gates.json Getting Anchore version DEBUG: Fetching [MASKED]version DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Writing to ci-artifacts/scan-results/anchore/anchore-version.txt section_end:1603396035:step_script section_start:1603396035:upload_artifacts_on_success Uploading artifacts for successful job Uploading artifacts... ci-artifacts/scan-results/anchore/: found 5 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=498940 responseStatus=201 Created token=r5aMMkug section_end:1603396036:upload_artifacts_on_success Job succeeded