Running with gitlab-runner 13.2.0 (353dd94e)  on global-shared-gitlab-runner-74d5bd4795-j8zps oFz8WHMZ section_start:1602025769: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:1602025769:prepare_executor section_start:1602025769:prepare_script Preparing environment Waiting for pod gitlab-runner/runner-ofz8whmz-project-172-concurrent-34jhnr to be running, status is Pending Running on runner-ofz8whmz-project-172-concurrent-34jhnr via global-shared-gitlab-runner-74d5bd4795-j8zps... section_end:1602025772:prepare_script section_start:1602025772:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/elastic/elasticsearch/elasticsearch/.git/ Created fresh repository. Checking out 1d6b3cdd as master... Skipping Git submodules setup section_end:1602025773:get_sources section_start:1602025773:download_artifacts Downloading artifacts Downloading artifacts for build (360887)... Downloading artifacts from coordinator... ok  id=360887 responseStatus=200 OK token=AvHSGhDH Downloading artifacts for load scripts (360881)... Downloading artifacts from coordinator... ok  id=360881 responseStatus=200 OK token=gyyqHnpC section_end:1602025785:download_artifacts section_start:1602025785:step_script Executing "step_script" stage of the job script $ "${PIPELINE_REPO_DIR}/stages/scanning/anchore-run.sh" WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead. The directory '/home/jenkins/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/jenkins/.cache/pip' or its parent directory is not owned by the current user and caching wheels 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 https://files.pythonhosted.org/packages/00/88/17e411c3f632eac8af2a0ea18834525c97fa8ef7fe80151d98c11da5f721/anchorecli-0.8.1.tar.gz Collecting Click==7.0 (from anchorecli) Downloading https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl (81kB) Collecting prettytable==0.7.2 (from anchorecli) Downloading https://files.pythonhosted.org/packages/ef/30/4b0746848746ed5941f052479e7c23d2b56d174b82f4fd34a25e389831f5/prettytable-0.7.2.tar.bz2 Requirement already up-to-date: python-dateutil==2.8.1 in /usr/local/lib/python3.6/site-packages (from anchorecli) Collecting PyYAML==5.3.1 (from anchorecli) Downloading https://files.pythonhosted.org/packages/64/c2/b80047c7ac2478f9501676c988a5411ed5572f35d1beff9cae07d321512c/PyYAML-5.3.1.tar.gz (269kB) Requirement already up-to-date: requests==2.23.0 in /usr/local/lib/python3.6/site-packages (from anchorecli) Requirement already up-to-date: six==1.14.0 in /usr/local/lib/python3.6/site-packages (from anchorecli) Requirement already up-to-date: urllib3==1.25.8 in /usr/local/lib/python3.6/site-packages (from anchorecli) Collecting certifi>=2017.4.17 (from requests==2.23.0->anchorecli) Downloading https://files.pythonhosted.org/packages/5e/c4/6c4fe722df5343c33226f0b4e0bb042e4dc13483228b4718baf286f86d87/certifi-2020.6.20-py2.py3-none-any.whl (156kB) Collecting idna<3,>=2.5 (from requests==2.23.0->anchorecli) Downloading https://files.pythonhosted.org/packages/a2/38/928ddce2273eaa564f6f50de919327bf3a00f091b5baba8dfa9460f3a8a8/idna-2.10-py2.py3-none-any.whl (58kB) Requirement already up-to-date: chardet<4,>=3.0.2 in /usr/local/lib/python3.6/site-packages (from requests==2.23.0->anchorecli) Installing collected packages: Click, prettytable, PyYAML, anchorecli, certifi, idna Running setup.py install for prettytable: started Running setup.py install for prettytable: finished with status 'done' Running setup.py install for PyYAML: started Running setup.py install for PyYAML: finished with status 'done' Running setup.py install for anchorecli: started Running setup.py install for anchorecli: finished with status 'done' Successfully installed Click-7.0 PyYAML-5.3.1 anchorecli-0.8.1 certifi-2020.6.20 idna-2.10 prettytable-0.7.2 Image Digest: sha256:add44713b983d5a081c523dd829ab33dd19f7d072e5592be9b7ef6133742c1ec Parent Digest: sha256:add44713b983d5a081c523dd829ab33dd19f7d072e5592be9b7ef6133742c1ec Analysis Status: not_analyzed Image Type: docker Analyzed At: None Image ID: 52fd09621ad88d85e0380af95ea4e066a5653809b524ad280a8c1e4f68416737 Dockerfile Mode: None Distro: None Distro Version: None Size: None Architecture: None Layer Count: None Full Tag: registry1.dsop.io/ironbank-staging/elastic/elasticsearch/elasticsearch:7.9.2-47157 Tag Detected At: 2020-10-06T23:09: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: 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: 2288 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: 2277 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 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2261 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2255 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2250 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2244 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2238 Image Digest: sha256:add44713b983d5a081c523dd829ab33dd19f7d072e5592be9b7ef6133742c1ec Parent Digest: sha256:add44713b983d5a081c523dd829ab33dd19f7d072e5592be9b7ef6133742c1ec Analysis Status: analyzed Image Type: docker Analyzed At: 2020-10-06T23:12:37Z Image ID: 52fd09621ad88d85e0380af95ea4e066a5653809b524ad280a8c1e4f68416737 Dockerfile Mode: Guessed Distro: rhel Distro Version: 8.2 Size: 763985920 Architecture: amd64 Layer Count: 4 Full Tag: registry1.dsop.io/ironbank-staging/elastic/elasticsearch/elasticsearch:7.9.2-47157 Tag Detected At: 2020-10-06T23:09:50Z Getting vulnerability results DEBUG: Fetching [MASKED]images/by_id/52fd09621ad88d85e0380af95ea4e066a5653809b524ad280a8c1e4f68416737/vuln/all DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-93555 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-93555 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-93555 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-93555 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-93555 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-93555 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-220038 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-179707 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-179708 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-93555 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-179707 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-179708 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-93555 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/52fd09621ad88d85e0380af95ea4e066a5653809b524ad280a8c1e4f68416737/check?tag=registry1.dsop.io/ironbank-staging/elastic/elasticsearch/elasticsearch:7.9.2-47157&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:1602025963:step_script section_start:1602025963: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=360891 responseStatus=201 Created token=csS2B3XH section_end:1602025964:upload_artifacts_on_success Job succeeded