Running with gitlab-runner 16.1.0 (865283c5)
  on Lightweight runner on DO 3BQDZTfs, system ID: s_a30377c9ccd3
section_start:1691054348:prepare_executor
Preparing the "docker+machine" executor
Using Docker executor with image python:3.11 ...
Pulling docker image python:3.11 ...
Using docker image sha256:608c79ebc6d50c0de774945744542f1ac114478446b0b35ad4a15c3198743113 for python:3.11 with digest python@sha256:9a1b705aecedc76e8bf87dfca091d7093df3f2dd4765af6c250134ce4298a584 ...
section_end:1691054370:prepare_executor
section_start:1691054370:prepare_script
Preparing environment
Running on runner-3bqdztfs-project-6813-concurrent-0 via runner-3bqdztfs-apertis-light-1690936720-770153b1...
section_end:1691054371:prepare_script
section_start:1691054371:get_sources
Getting source from Git repository
Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/infrastructure/obs-proxy/.git/
Created fresh repository.
Checking out 331c8a94 as detached HEAD (ref is main)...

Skipping Git submodules setup
section_end:1691054372:get_sources
section_start:1691054372:step_script
Executing "step_script" stage of the job script
Using docker image sha256:608c79ebc6d50c0de774945744542f1ac114478446b0b35ad4a15c3198743113 for python:3.11 with digest python@sha256:9a1b705aecedc76e8bf87dfca091d7093df3f2dd4765af6c250134ce4298a584 ...
$ pip install .[lint]
Processing /builds/infrastructure/obs-proxy
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting bidict~=0.18 (from obs-proxy==0)
  Downloading bidict-0.22.1-py3-none-any.whl (35 kB)
Collecting httpx~=0.22 (from obs-proxy==0)
  Downloading httpx-0.24.1-py3-none-any.whl (75 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.4/75.4 kB 6.1 MB/s eta 0:00:00
Collecting json-rpc~=1.12 (from obs-proxy==0)
  Downloading json_rpc-1.15.0-py2.py3-none-any.whl (39 kB)
Collecting Quart~=0.18 (from obs-proxy==0)
  Downloading quart-0.18.4-py3-none-any.whl (100 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.2/100.2 kB 15.6 MB/s eta 0:00:00
Collecting Werkzeug~=2.3 (from obs-proxy==0)
  Downloading Werkzeug-2.3.6-py3-none-any.whl (242 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.5/242.5 kB 27.6 MB/s eta 0:00:00
Collecting websockets~=10.0 (from obs-proxy==0)
  Downloading websockets-10.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (107 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.4/107.4 kB 14.0 MB/s eta 0:00:00
Collecting xmltodict~=0.13 (from obs-proxy==0)
  Downloading xmltodict-0.13.0-py2.py3-none-any.whl (10.0 kB)
Collecting aiofiles~=0.8 (from obs-proxy==0)
  Downloading aiofiles-0.8.0-py3-none-any.whl (13 kB)
Collecting jinja2~=3.0.0 (from obs-proxy==0)
  Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.6/133.6 kB 22.1 MB/s eta 0:00:00
Collecting structlog~=22.3 (from obs-proxy==0)
  Downloading structlog-22.3.0-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.7/61.7 kB 9.7 MB/s eta 0:00:00
Collecting rich (from obs-proxy==0)
  Downloading rich-13.5.2-py3-none-any.whl (239 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.7/239.7 kB 31.5 MB/s eta 0:00:00
Collecting flake8 (from obs-proxy==0)
  Downloading flake8-6.1.0-py2.py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 9.4 MB/s eta 0:00:00
Collecting flake8-codeclimate (from obs-proxy==0)
  Downloading flake8_codeclimate-0.3.0-py2.py3-none-any.whl (2.9 kB)
Collecting flake8-commas (from obs-proxy==0)
  Downloading flake8_commas-2.1.0-py2.py3-none-any.whl (7.6 kB)
Collecting flake8-docstrings (from obs-proxy==0)
  Downloading flake8_docstrings-1.7.0-py2.py3-none-any.whl (5.0 kB)
Collecting flake8-blind-except (from obs-proxy==0)
  Downloading flake8-blind-except-0.2.1.tar.gz (3.7 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting flake8-builtins (from obs-proxy==0)
  Downloading flake8_builtins-2.1.0-py3-none-any.whl (13 kB)
Collecting flake8-isort (from obs-proxy==0)
  Downloading flake8_isort-6.0.0-py3-none-any.whl (13 kB)
Collecting flake8-pytest-style (from obs-proxy==0)
  Downloading flake8_pytest_style-1.7.2-py3-none-any.whl (19 kB)
Collecting certifi (from httpx~=0.22->obs-proxy==0)
  Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.3/158.3 kB 19.1 MB/s eta 0:00:00
Collecting httpcore<0.18.0,>=0.15.0 (from httpx~=0.22->obs-proxy==0)
  Downloading httpcore-0.17.3-py3-none-any.whl (74 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.5/74.5 kB 13.4 MB/s eta 0:00:00
Collecting idna (from httpx~=0.22->obs-proxy==0)
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 10.5 MB/s eta 0:00:00
Collecting sniffio (from httpx~=0.22->obs-proxy==0)
  Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting MarkupSafe>=2.0 (from jinja2~=3.0.0->obs-proxy==0)
  Downloading MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB)
Collecting blinker<1.6 (from Quart~=0.18->obs-proxy==0)
  Downloading blinker-1.5-py2.py3-none-any.whl (12 kB)
Collecting click>=8.0.0 (from Quart~=0.18->obs-proxy==0)
  Downloading click-8.1.6-py3-none-any.whl (97 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 15.5 MB/s eta 0:00:00
Collecting hypercorn>=0.11.2 (from Quart~=0.18->obs-proxy==0)
  Downloading hypercorn-0.14.4-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 4.6 MB/s eta 0:00:00
Collecting itsdangerous (from Quart~=0.18->obs-proxy==0)
  Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting mccabe<0.8.0,>=0.7.0 (from flake8->obs-proxy==0)
  Downloading mccabe-0.7.0-py2.py3-none-any.whl (7.3 kB)
Collecting pycodestyle<2.12.0,>=2.11.0 (from flake8->obs-proxy==0)
  Downloading pycodestyle-2.11.0-py2.py3-none-any.whl (31 kB)
Collecting pyflakes<3.2.0,>=3.1.0 (from flake8->obs-proxy==0)
  Downloading pyflakes-3.1.0-py2.py3-none-any.whl (62 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.6/62.6 kB 11.4 MB/s eta 0:00:00
Collecting pydocstyle>=2.1 (from flake8-docstrings->obs-proxy==0)
  Downloading pydocstyle-6.3.0-py3-none-any.whl (38 kB)
Collecting isort<6,>=5.0.0 (from flake8-isort->obs-proxy==0)
  Downloading isort-5.12.0-py3-none-any.whl (91 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.2/91.2 kB 15.6 MB/s eta 0:00:00
Collecting flake8-plugin-utils<2.0.0,>=1.3.2 (from flake8-pytest-style->obs-proxy==0)
  Downloading flake8_plugin_utils-1.3.3-py3-none-any.whl (9.7 kB)
Collecting markdown-it-py>=2.2.0 (from rich->obs-proxy==0)
  Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 8.3 MB/s eta 0:00:00
Collecting pygments<3.0.0,>=2.13.0 (from rich->obs-proxy==0)
  Downloading Pygments-2.15.1-py3-none-any.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 50.3 MB/s eta 0:00:00
Collecting h11<0.15,>=0.13 (from httpcore<0.18.0,>=0.15.0->httpx~=0.22->obs-proxy==0)
  Downloading h11-0.14.0-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 11.7 MB/s eta 0:00:00
Collecting anyio<5.0,>=3.0 (from httpcore<0.18.0,>=0.15.0->httpx~=0.22->obs-proxy==0)
  Downloading anyio-3.7.1-py3-none-any.whl (80 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.9/80.9 kB 10.6 MB/s eta 0:00:00
Collecting h2>=3.1.0 (from hypercorn>=0.11.2->Quart~=0.18->obs-proxy==0)
  Downloading h2-4.1.0-py3-none-any.whl (57 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.5/57.5 kB 9.1 MB/s eta 0:00:00
Collecting priority (from hypercorn>=0.11.2->Quart~=0.18->obs-proxy==0)
  Downloading priority-2.0.0-py3-none-any.whl (8.9 kB)
Collecting wsproto>=0.14.0 (from hypercorn>=0.11.2->Quart~=0.18->obs-proxy==0)
  Downloading wsproto-1.2.0-py3-none-any.whl (24 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich->obs-proxy==0)
  Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting snowballstemmer>=2.2.0 (from pydocstyle>=2.1->flake8-docstrings->obs-proxy==0)
  Downloading snowballstemmer-2.2.0-py2.py3-none-any.whl (93 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.0/93.0 kB 14.5 MB/s eta 0:00:00
Collecting hyperframe<7,>=6.0 (from h2>=3.1.0->hypercorn>=0.11.2->Quart~=0.18->obs-proxy==0)
  Downloading hyperframe-6.0.1-py3-none-any.whl (12 kB)
Collecting hpack<5,>=4.0 (from h2>=3.1.0->hypercorn>=0.11.2->Quart~=0.18->obs-proxy==0)
  Downloading hpack-4.0.0-py3-none-any.whl (32 kB)
Building wheels for collected packages: flake8-blind-except, obs-proxy
  Building wheel for flake8-blind-except (setup.py): started
  Building wheel for flake8-blind-except (setup.py): finished with status 'done'
  Created wheel for flake8-blind-except: filename=flake8_blind_except-0.2.1-py3-none-any.whl size=4168 sha256=348e2e2fc6263cfb3ab7f7e5f0b8a4fb8859fec84345dd83be6c797e5e93cf11
  Stored in directory: /root/.cache/pip/wheels/79/0c/7c/8003129cf91e9488ae4832a93ee5fa89f71880b12e08cf7b36
  Building wheel for obs-proxy (setup.py): started
  Building wheel for obs-proxy (setup.py): finished with status 'done'
  Created wheel for obs-proxy: filename=obs_proxy-0-py3-none-any.whl size=37792 sha256=b02b878bcb28376ba72f866711da25f2dceb9188b51773ce4c450adfea04d5c0
  Stored in directory: /root/.cache/pip/wheels/1d/82/61/3a9e1003108301faa4e691a3ab5412452257429146cca0c47e
Successfully built flake8-blind-except obs-proxy
Installing collected packages: snowballstemmer, json-rpc, flake8-blind-except, xmltodict, websockets, structlog, sniffio, pygments, pyflakes, pydocstyle, pycodestyle, priority, mdurl, mccabe, MarkupSafe, itsdangerous, isort, idna, hyperframe, hpack, h11, flake8-plugin-utils, click, certifi, blinker, bidict, aiofiles, wsproto, Werkzeug, markdown-it-py, jinja2, h2, flake8-pytest-style, flake8, anyio, rich, hypercorn, httpcore, flake8-isort, flake8-docstrings, flake8-commas, flake8-codeclimate, flake8-builtins, Quart, httpx, obs-proxy
Successfully installed MarkupSafe-2.1.3 Quart-0.18.4 Werkzeug-2.3.6 aiofiles-0.8.0 anyio-3.7.1 bidict-0.22.1 blinker-1.5 certifi-2023.7.22 click-8.1.6 flake8-6.1.0 flake8-blind-except-0.2.1 flake8-builtins-2.1.0 flake8-codeclimate-0.3.0 flake8-commas-2.1.0 flake8-docstrings-1.7.0 flake8-isort-6.0.0 flake8-plugin-utils-1.3.3 flake8-pytest-style-1.7.2 h11-0.14.0 h2-4.1.0 hpack-4.0.0 httpcore-0.17.3 httpx-0.24.1 hypercorn-0.14.4 hyperframe-6.0.1 idna-3.4 isort-5.12.0 itsdangerous-2.1.2 jinja2-3.0.3 json-rpc-1.15.0 markdown-it-py-3.0.0 mccabe-0.7.0 mdurl-0.1.2 obs-proxy-0 priority-2.0.0 pycodestyle-2.11.0 pydocstyle-6.3.0 pyflakes-3.1.0 pygments-2.15.1 rich-13.5.2 sniffio-1.3.0 snowballstemmer-2.2.0 structlog-22.3.0 websockets-10.4 wsproto-1.2.0 xmltodict-0.13.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

[notice] A new release of pip is available: 23.1.2 -> 23.2.1
[notice] To update, run: pip install --upgrade pip
$ flake8 --format=codeclimate > flake8.json || true
$ flake8
./obs_proxy/wsclient.py:230:131: E501 line too long (140 > 130 characters)
./obs_proxy/wsclient.py:242:131: E501 line too long (131 > 130 characters)
section_end:1691054391:step_script
section_start:1691054391:upload_artifacts_on_failure
Uploading artifacts for failed job
Uploading artifacts...
flake8.json: found 1 matching artifact files and directories 
Uploading artifacts as "codequality" to coordinator... 201 Created  id=2623683 responseStatus=201 Created token=64_FhMCP
section_end:1691054393:upload_artifacts_on_failure
section_start:1691054393:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1691054393:cleanup_file_variables
ERROR: Job failed: exit code 1