Running with gitlab-runner 13.2.0 (353dd94e)  on global-shared-gitlab-runner-85466db969-tpstw VfnEy6C8 section_start:1603900833: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:1603900833:prepare_executor section_start:1603900833:prepare_script Preparing environment Waiting for pod gitlab-runner/runner-vfney6c8-project-1349-concurrent-3g665v to be running, status is Pending Waiting for pod gitlab-runner/runner-vfney6c8-project-1349-concurrent-3g665v to be running, status is Pending Running on runner-vfney6c8-project-1349-concurrent-3g665v via global-shared-gitlab-runner-85466db969-tpstw... section_end:1603900840:prepare_script section_start:1603900840: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 02aed56e as development... Skipping Git submodules setup section_end:1603900840:get_sources section_start:1603900840:download_artifacts Downloading artifacts Downloading artifacts for build (558744)... Downloading artifacts from coordinator... ok  id=558744 responseStatus=200 OK token=HcqE29Bo Downloading artifacts for load scripts (558738)... Downloading artifacts from coordinator... ok  id=558738 responseStatus=200 OK token=pYs77PPR section_end:1603900845:download_artifacts section_start:1603900845: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: certifi>=2017.4.17 in /home/jenkins/.local/lib/python3.6/site-packages (from requests==2.23.0->anchorecli) (2020.6.20) 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: chardet<4,>=3.0.2 in /usr/local/lib/python3.6/site-packages (from requests==2.23.0->anchorecli) (3.0.4) 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=72c9cb0507b17ff47cc5a4dc35dcc1581224401334b8e68f4a1248d0d5b1e52e Stored in directory: /tmp/pip-ephem-wheel-cache-9qcvmhpa/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=23ef1b066f03e9cbc7b2281d64f882abc86d03e15abd6de10e6204a48df4cd48 Stored in directory: /tmp/pip-ephem-wheel-cache-9qcvmhpa/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=d32c739e157ee034add77a4416f871347385302e8445821b9f5ebbcc03498879 Stored in directory: /tmp/pip-ephem-wheel-cache-9qcvmhpa/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:178899265426e549f2ce6429896024d437e2b9bb8db20d89fd49d015bbafcb8d Parent Digest: sha256:178899265426e549f2ce6429896024d437e2b9bb8db20d89fd49d015bbafcb8d Analysis Status: not_analyzed Image Type: docker Analyzed At: None Image ID: 04708360a3da009839c557209ed727259df4185567f8110263ce760356a970de 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.9-63903 Tag Detected At: 2020-10-28T16:00:50Z 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: 2369 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2364 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2358 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2353 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2347 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2342 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2336 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2331 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2325 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2320 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2314 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2309 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2303 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2297 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2292 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2286 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2281 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2275 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2270 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2264 Image Digest: sha256:178899265426e549f2ce6429896024d437e2b9bb8db20d89fd49d015bbafcb8d Parent Digest: sha256:178899265426e549f2ce6429896024d437e2b9bb8db20d89fd49d015bbafcb8d Analysis Status: analyzed Image Type: docker Analyzed At: 2020-10-28T16:03:06Z Image ID: 04708360a3da009839c557209ed727259df4185567f8110263ce760356a970de Dockerfile Mode: Actual Distro: rhel Distro Version: 8.2 Size: 308520960 Architecture: amd64 Layer Count: 4 Full Tag: registry1.dsop.io/ironbank-staging/pivotal/rabbitmq/rabbitmq38:v3.8.9-63903 Tag Detected At: 2020-10-28T16:00:50Z INFO: Log level set to info Getting vulnerability results DEBUG: Fetching [MASKED]images/by_id/04708360a3da009839c557209ed727259df4185567f8110263ce760356a970de/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/04708360a3da009839c557209ed727259df4185567f8110263ce760356a970de/check?tag=registry1.dsop.io/ironbank-staging/pivotal/rabbitmq/rabbitmq38:v3.8.9-63903&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:1603900994:step_script section_start:1603900994: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=558748 responseStatus=201 Created token=JSnk7C_h section_end:1603900994:upload_artifacts_on_success Job succeeded