Running with gitlab-runner 13.8.0 (775dd39d)  on ironbank-tools-shared-gitlab-runner-595fc45c44-p8nj2 uQCe4UHZ section_start:1622043242:resolve_secrets Resolving secrets section_end:1622043242:resolve_secrets section_start:1622043242:prepare_executor Preparing the "kubernetes" executor Using Kubernetes namespace: gitlab-runner-ironbank-tools WARNING: Pulling GitLab Runner helper image from Docker Hub. Helper image is migrating to registry.gitlab.com, for more information see https://docs.gitlab.com/runner/configuration/advanced-configuration.html#migrating-helper-image-to-registrygitlabcom Using Kubernetes executor with image ${GITLAB_INTERNAL_REGISTRY}/ironbank-tools/ironbank-pipeline/python:pyyaml ... section_end:1622043242:prepare_executor section_start:1622043242:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-tools/runner-uqce4uhz-project-3579-concurrent-18dvbj to be running, status is Pending Running on runner-uqce4uhz-project-3579-concurrent-18dvbj via ironbank-tools-shared-gitlab-runner-595fc45c44-p8nj2... section_end:1622043245:prepare_script section_start:1622043245: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 81504b6f as master... Skipping Git submodules setup section_end:1622043246:get_sources section_start:1622043246: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 pycodestyle>=2.3.1 Downloading pycodestyle-2.7.0-py2.py3-none-any.whl (41 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-6.1.1-py3-none-any.whl (37 kB) Collecting pyflakes>=1.5.0 Downloading pyflakes-2.3.1-py2.py3-none-any.whl (68 kB) Collecting snowballstemmer Downloading snowballstemmer-2.1.0-py2.py3-none-any.whl (93 kB) Installing collected packages: pycodestyle, mccabe, snowballstemmer, pydocstyle, pyflakes, pylama Successfully installed mccabe-0.6.1 pycodestyle-2.7.0 pydocstyle-6.1.1 pyflakes-2.3.1 pylama-7.7.1 snowballstemmer-2.1.0 WARNING: You are using pip version 20.2.2; however, version 21.1.2 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:1622043248:step_script section_start:1622043248:cleanup_file_variables Cleaning up file based variables section_end:1622043248:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1