Running with gitlab-runner 13.2.0 (353dd94e)  on global-shared-gitlab-runner-57bb4bdff4-krj5t EuzTy6xB section_start:1607626716:prepare_executor Preparing the "kubernetes" executor Using Kubernetes namespace: gitlab-runner-ironbank-tools Using Kubernetes executor with image ${GITLAB_INTERNAL_REGISTRY}/ironbank-tools/ironbank-pipeline/python:pyyaml ... section_end:1607626716:prepare_executor section_start:1607626716:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-tools/runner-euzty6xb-project-3579-concurrent-1f895l to be running, status is Pending Waiting for pod gitlab-runner-ironbank-tools/runner-euzty6xb-project-3579-concurrent-1f895l to be running, status is Pending Running on runner-euzty6xb-project-3579-concurrent-1f895l via global-shared-gitlab-runner-57bb4bdff4-krj5t... section_end:1607626723:prepare_script section_start:1607626723:get_sources Getting source from Git repository Fetching changes with git depth set to 50... Initialized empty Git repository in /builds/ironbank-tools/ironbank-plugins-pipeline/.git/ Created fresh repository. Checking out 3fd1b1cd as master... Skipping Git submodules setup section_end:1607626723:get_sources section_start:1607626723:step_script Executing "step_script" stage of the job script $ pip install pylama Collecting pylama Downloading pylama-7.7.1-py2.py3-none-any.whl (35 kB) Collecting mccabe>=0.5.2 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting pydocstyle>=2.0.0 Downloading pydocstyle-5.1.1-py3-none-any.whl (35 kB) Collecting pycodestyle>=2.3.1 Downloading pycodestyle-2.6.0-py2.py3-none-any.whl (41 kB) Collecting pyflakes>=1.5.0 Downloading pyflakes-2.2.0-py2.py3-none-any.whl (66 kB) Collecting snowballstemmer Downloading snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB) Installing collected packages: mccabe, snowballstemmer, pydocstyle, pycodestyle, pyflakes, pylama Successfully installed mccabe-0.6.1 pycodestyle-2.6.0 pydocstyle-5.1.1 pyflakes-2.2.0 pylama-7.7.1 snowballstemmer-2.0.0 WARNING: You are using pip version 20.2.2; however, version 20.3.1 is available. You should consider upgrading via the '/usr/local/bin/python -m pip install --upgrade pip' command. $ pylama stages/import-artifacts/downloader.py:4:1: W0611 'subprocess' imported but unused [pyflakes] stages/import-artifacts/downloader.py:16:1: W0404 redefinition of unused 'logging' from line 5 [pyflakes] stages/import-artifacts/downloader.py:19:1: C901 'main' is too complex (17) [mccabe] stages/import-artifacts/downloader.py:35:1: W0612 local variable 'http_resource' is assigned to but never used [pyflakes] stages/import-artifacts/downloader.py:232:1: W0612 local variable 'response' is assigned to but never used [pyflakes] stages/publish/create_repo_map.py:5:1: W0611 'shlex' imported but unused [pyflakes] stages/publish/create_repo_map.py:6:1: W0611 'subprocess' imported but unused [pyflakes] stages/publish/create_repo_map.py:11:1: W0404 redefinition of unused 'logging' from line 8 [pyflakes] stages/publish/s3_upload.py:5:1: W0611 'datetime' imported but unused [pyflakes] stages/publish/s3_upload.py:7:1: W0404 redefinition of unused 'logging' from line 1 [pyflakes] stages/report-generation/pipeline_csv_gen.py:4:1: W0611 'bs4.BeautifulSoup' imported but unused [pyflakes] stages/report-generation/pipeline_csv_gen.py:5:1: W0611 're' imported but unused [pyflakes] stages/report-generation/pipeline_csv_gen.py:119:5: E722 do not use bare 'except' [pycodestyle] stages/scanning/anchore.py:135:1: f-string is missing placeholders [pyflakes] stages/scanning/anchore.py:158:1: W0612 local variable 'e' is assigned to but never used [pyflakes] stages/scanning/anchore.py:188:1: W0612 local variable 'e' is assigned to but never used [pyflakes] stages/scanning/anchore.py:231:1: W0612 local variable 'e' is assigned to but never used [pyflakes] section_end:1607626725:step_script ERROR: Job failed: command terminated with exit code 1