Running with gitlab-runner 13.2.0 (353dd94e)  on global-shared-gitlab-runner-74d5bd4795-j8zps oFz8WHMZ section_start:1602469240: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:1602469240:prepare_executor section_start:1602469240:prepare_script Preparing environment Waiting for pod gitlab-runner/runner-ofz8whmz-project-172-concurrent-0jhmzd to be running, status is Pending Running on runner-ofz8whmz-project-172-concurrent-0jhmzd via global-shared-gitlab-runner-74d5bd4795-j8zps... section_end:1602469243:prepare_script section_start:1602469243: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 a9643aa1 as master... Skipping Git submodules setup section_end:1602469243:get_sources section_start:1602469243:download_artifacts Downloading artifacts Downloading artifacts for load scripts (401635)... Downloading artifacts from coordinator... ok  id=401635 responseStatus=200 OK token=a7wCCfzy Downloading artifacts for build (401641)... Downloading artifacts from coordinator... ok  id=401641 responseStatus=200 OK token=vWubLxfa Downloading artifacts for openscap compliance (401642)... Downloading artifacts from coordinator... ok  id=401642 responseStatus=200 OK token=QCyoyvLQ Downloading artifacts for openscap cve (401643)... Downloading artifacts from coordinator... ok  id=401643 responseStatus=200 OK token=B83xxLQg Downloading artifacts for twistlock scan (401644)... Downloading artifacts from coordinator... ok  id=401644 responseStatus=200 OK token=G4yLTmU6 Downloading artifacts for anchore scan (401645)... Downloading artifacts from coordinator... ok  id=401645 responseStatus=200 OK token=Y8yyRFh4 section_end:1602469256:download_artifacts section_start:1602469256:step_script Executing "step_script" stage of the job script $ "${PIPELINE_REPO_DIR}/stages/csv-output/csv-output.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 pip Downloading https://files.pythonhosted.org/packages/4e/5f/528232275f6509b1fff703c9280e58951a81abe24640905de621c9f81839/pip-20.2.3-py2.py3-none-any.whl (1.5MB) Installing collected packages: pip Successfully installed pip-20.2.3 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 bs4 Downloading bs4-0.0.1.tar.gz (1.1 kB) Requirement already satisfied: pandas in /usr/local/lib64/python3.6/site-packages (1.0.3) Collecting argparse Downloading argparse-1.4.0-py2.py3-none-any.whl (23 kB) Requirement already satisfied: openpyxl in /usr/local/lib/python3.6/site-packages (2.6.4) Collecting gitpython Downloading GitPython-3.1.9-py3-none-any.whl (159 kB) Requirement already satisfied: beautifulsoup4 in /usr/local/lib/python3.6/site-packages (from bs4) (4.8.0) Requirement already satisfied: pytz>=2017.2 in /usr/local/lib/python3.6/site-packages (from pandas) (2019.3) Requirement already satisfied: python-dateutil>=2.6.1 in /usr/local/lib/python3.6/site-packages (from pandas) (2.8.1) Requirement already satisfied: numpy>=1.13.3 in /usr/local/lib64/python3.6/site-packages (from pandas) (1.18.2) Requirement already satisfied: jdcal in /usr/local/lib/python3.6/site-packages (from openpyxl) (1.4.1) Requirement already satisfied: et_xmlfile in /usr/local/lib/python3.6/site-packages (from openpyxl) (1.0.1) Collecting gitdb<5,>=4.0.1 Downloading gitdb-4.0.5-py3-none-any.whl (63 kB) Requirement already satisfied: soupsieve>=1.2 in /usr/local/lib/python3.6/site-packages (from beautifulsoup4->bs4) (2.0) Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.6/site-packages (from python-dateutil>=2.6.1->pandas) (1.14.0) Collecting smmap<4,>=3.0.1 Downloading smmap-3.0.4-py2.py3-none-any.whl (25 kB) Using legacy 'setup.py install' for bs4, since package 'wheel' is not installed. Installing collected packages: bs4, argparse, smmap, gitdb, gitpython Running setup.py install for bs4: started Running setup.py install for bs4: finished with status 'done' Successfully installed argparse-1.4.0 bs4-0.0.1 gitdb-4.0.5 gitpython-3.1.9 smmap-3.0.4 Source file is ci-artifacts/scan-results/csvs/all_scans.xlsx Output file is ci-artifacts/scan-results/csvs/elasticsearch:7.9.2-50881-justifications.xlsx Source image is elastic/elasticsearch/elasticsearch Cloning the dccscr-whitelists repository... done. Getting source image greylist... dccscr-whitelists/elastic/elasticsearch/elasticsearch/elasticsearch.greylist done. Getting greylist files for all parent images of elastic/elasticsearch/elasticsearch The following base image greylist files have been identified... dccscr-whitelists/redhat/ubi/ubi8/ubi8.greylist No more parent images. done. Gathering list of all justifications... done. Processing OpenSCAP Compliance Results... done. Processing Twistlock Vulnerability Results... done. Processing Anchore CVE Results... done. Processing Anchore Compliance Results... done. Formatting... done. section_end:1602469289:step_script section_start:1602469289:upload_artifacts_on_success Uploading artifacts for successful job Uploading artifacts... ci-artifacts/scan-results/csvs: found 9 matching files and directories Uploading artifacts as "archive" to coordinator... ok id=401646 responseStatus=201 Created token=2TxhrKNs section_end:1602469290:upload_artifacts_on_success Job succeeded