Running with gitlab-runner 13.2.0 (353dd94e)  on global-shared-gitlab-runner-74d5bd4795-j8zps oFz8WHMZ section_start:1602465635: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:1602465636:prepare_executor section_start:1602465636:prepare_script Preparing environment Waiting for pod gitlab-runner/runner-ofz8whmz-project-701-concurrent-35mptb to be running, status is Pending Waiting for pod gitlab-runner/runner-ofz8whmz-project-701-concurrent-35mptb to be running, status is Pending Running on runner-ofz8whmz-project-701-concurrent-35mptb via global-shared-gitlab-runner-74d5bd4795-j8zps... section_end:1602465643:prepare_script section_start:1602465643:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/dsop/coder-enterprise/coder-enterprise/timescale/.git/ Created fresh repository. Checking out b078c349 as master... Skipping Git submodules setup section_end:1602465644:get_sources section_start:1602465644:download_artifacts Downloading artifacts Downloading artifacts for build (397860)... Downloading artifacts from coordinator... ok  id=397860 responseStatus=200 OK token=M2-_QwME Downloading artifacts for load scripts (397854)... Downloading artifacts from coordinator... ok  id=397854 responseStatus=200 OK token=EuLCzQWY section_end:1602465650:download_artifacts section_start:1602465650: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) Requirement already up-to-date: chardet<4,>=3.0.2 in /usr/local/lib/python3.6/site-packages (from requests==2.23.0->anchorecli) 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) 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) Installing collected packages: Click, prettytable, PyYAML, anchorecli, idna, certifi 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:8864e66c284205bb624ab431d78fa3621dbbd80815f20d315dd9ab5e9a0e6eb3 Parent Digest: sha256:8864e66c284205bb624ab431d78fa3621dbbd80815f20d315dd9ab5e9a0e6eb3 Analysis Status: not_analyzed Image Type: docker Analyzed At: None Image ID: 46a07ade53a314cc48ca8be73b3be5d03512f63ceffa797d802a04f5b4453d35 Dockerfile Mode: None Distro: None Distro Version: None Size: None Architecture: None Layer Count: None Full Tag: registry1.dsop.io/ironbank-staging/coder-enterprise/coder-enterprise/timescale:1.11.0-50670 Tag Detected At: 2020-10-12T01:20:57Z 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: 2381 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2375 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2367 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2359 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2352 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: 2337 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2330 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2323 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: 2309 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2301 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2293 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: 2279 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2271 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2264 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2257 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2249 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2241 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2234 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2226 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2219 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2211 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2203 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2194 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2187 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2179 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2171 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2163 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2155 Status: analyzing Waiting 5.0 seconds for next retry. Total timeout remaining: 2148 Image Digest: sha256:8864e66c284205bb624ab431d78fa3621dbbd80815f20d315dd9ab5e9a0e6eb3 Parent Digest: sha256:8864e66c284205bb624ab431d78fa3621dbbd80815f20d315dd9ab5e9a0e6eb3 Analysis Status: analyzed Image Type: docker Analyzed At: 2020-10-12T01:25:11Z Image ID: 46a07ade53a314cc48ca8be73b3be5d03512f63ceffa797d802a04f5b4453d35 Dockerfile Mode: Guessed Distro: rhel Distro Version: 7.9 Size: 346255360 Architecture: amd64 Layer Count: 4 Full Tag: registry1.dsop.io/ironbank-staging/coder-enterprise/coder-enterprise/timescale:1.11.0-50670 Tag Detected At: 2020-10-12T01:20:57Z Getting vulnerability results DEBUG: Fetching [MASKED]images/by_id/46a07ade53a314cc48ca8be73b3be5d03512f63ceffa797d802a04f5b4453d35/vuln/all DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-222554 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-217762 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-200148 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-137890 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-108369 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-101383 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-101385 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-181184 DEBUG: Got response from Anchore. Testing if valid json DEBUG: Json is valid DEBUG: Fetching [MASKED]query/vulnerabilities?id=VULNDB-101497 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/46a07ade53a314cc48ca8be73b3be5d03512f63ceffa797d802a04f5b4453d35/check?tag=registry1.dsop.io/ironbank-staging/coder-enterprise/coder-enterprise/timescale:1.11.0-50670&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:1602465931:step_script section_start:1602465933:upload_artifacts_on_success Uploading artifacts for successful job ci-artifacts/scan-results/anchore/: found 5 matching files and directories Uploading artifacts... Uploading artifacts as "archive" to coordinator... ok id=397864 responseStatus=201 Created token=GsygzrsP section_end:1602465934:upload_artifacts_on_success Job succeeded