Running with gitlab-runner 13.5.0 (ece86343)  on global-shared-gitlab-runner-679df8b9c5-5lhzb CkSEhrW7 section_start:1607732654:resolve_secrets Resolving secrets section_end:1607732654:resolve_secrets section_start:1607732654: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:1607732654:prepare_executor section_start:1607732654:prepare_script Preparing environment Waiting for pod gitlab-runner-ironbank-tools/runner-cksehrw7-project-3579-concurrent-1kq2fp to be running, status is Pending Waiting for pod gitlab-runner-ironbank-tools/runner-cksehrw7-project-3579-concurrent-1kq2fp to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper]" ContainersNotReady: "containers with unready status: [build helper]" Waiting for pod gitlab-runner-ironbank-tools/runner-cksehrw7-project-3579-concurrent-1kq2fp to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper]" ContainersNotReady: "containers with unready status: [build helper]" Waiting for pod gitlab-runner-ironbank-tools/runner-cksehrw7-project-3579-concurrent-1kq2fp to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper]" ContainersNotReady: "containers with unready status: [build helper]" Waiting for pod gitlab-runner-ironbank-tools/runner-cksehrw7-project-3579-concurrent-1kq2fp to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper]" ContainersNotReady: "containers with unready status: [build helper]" Waiting for pod gitlab-runner-ironbank-tools/runner-cksehrw7-project-3579-concurrent-1kq2fp to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper]" ContainersNotReady: "containers with unready status: [build helper]" Waiting for pod gitlab-runner-ironbank-tools/runner-cksehrw7-project-3579-concurrent-1kq2fp to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper]" ContainersNotReady: "containers with unready status: [build helper]" Waiting for pod gitlab-runner-ironbank-tools/runner-cksehrw7-project-3579-concurrent-1kq2fp to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper]" ContainersNotReady: "containers with unready status: [build helper]" Waiting for pod gitlab-runner-ironbank-tools/runner-cksehrw7-project-3579-concurrent-1kq2fp to be running, status is Pending ContainersNotReady: "containers with unready status: [build helper]" ContainersNotReady: "containers with unready status: [build helper]" Running on runner-cksehrw7-project-3579-concurrent-1kq2fp via global-shared-gitlab-runner-679df8b9c5-5lhzb... section_end:1607732681:prepare_script section_start:1607732681: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 be193752 as master... Skipping Git submodules setup section_end:1607732681:get_sources section_start:1607732681: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 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 pydocstyle>=2.0.0 Downloading pydocstyle-5.1.1-py3-none-any.whl (35 kB) Collecting snowballstemmer Downloading snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB) Installing collected packages: mccabe, pycodestyle, pyflakes, snowballstemmer, pydocstyle, 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:1607732689:step_script section_start:1607732689:cleanup_file_variables Cleaning up file based variables section_end:1607732689:cleanup_file_variables ERROR: Job failed: command terminated with exit code 1