Refactor count_bugs to use libmozdata #4058
Merged
Community-TC Integration / bugbug lint
succeeded
Feb 25, 2024 in 4m 5s
Community-TC (pull_request)
bugbug lint
Details
View task in Taskcluster
View logs in Taskcluster
[taskcluster:warn 2024-02-25T20:05:35.300Z] metadata:
[taskcluster:warn 2024-02-25T20:05:35.300Z] description: bugbug lint
[taskcluster:warn 2024-02-25T20:05:35.300Z] name: bugbug lint
[taskcluster:warn 2024-02-25T20:05:35.300Z] owner: [email protected]
[taskcluster:warn 2024-02-25T20:05:35.300Z] source: https://github.com/YBCS/bugbug/raw/87a1f672e26798408f770b448e83944739d6a846/.taskcluster.yml
[taskcluster:warn 2024-02-25T20:05:35.300Z] payload:
[taskcluster:warn 2024-02-25T20:05:35.300Z] command:
[taskcluster:warn 2024-02-25T20:05:35.300Z] - - bash
[taskcluster:warn 2024-02-25T20:05:35.300Z] - -cx
[taskcluster:warn 2024-02-25T20:05:35.300Z] - podman run -t --rm -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2024-02-25T20:05:35.300Z] -e TASK_ID 'python:3.12' /bin/bash -lcx 'git clone --quiet https://github.com/YBCS/bugbug
[taskcluster:warn 2024-02-25T20:05:35.300Z] && cd bugbug && git -c advice.detachedHead=false checkout 87a1f672e26798408f770b448e83944739d6a846
[taskcluster:warn 2024-02-25T20:05:35.300Z] && pip install --disable-pip-version-check --no-cache-dir --progress-bar off
[taskcluster:warn 2024-02-25T20:05:35.300Z] -r test-requirements.txt && pre-commit run -a --show-diff-on-failure'
[taskcluster:warn 2024-02-25T20:05:35.300Z] features:
[taskcluster:warn 2024-02-25T20:05:35.300Z] backingLog: true
[taskcluster:warn 2024-02-25T20:05:35.300Z] liveLog: true
[taskcluster:warn 2024-02-25T20:05:35.300Z] logs:
[taskcluster:warn 2024-02-25T20:05:35.300Z] backing: public/logs/live_backing.log
[taskcluster:warn 2024-02-25T20:05:35.300Z] live: public/logs/live.log
[taskcluster:warn 2024-02-25T20:05:35.300Z] maxRunTime: 3600
[taskcluster:warn 2024-02-25T20:05:35.300Z] onExitStatus:
[taskcluster:warn 2024-02-25T20:05:35.300Z] retry:
[taskcluster:warn 2024-02-25T20:05:35.300Z] - 125
[taskcluster:warn 2024-02-25T20:05:35.300Z] - 128
[taskcluster:warn 2024-02-25T20:05:35.300Z] priority: lowest
[taskcluster:warn 2024-02-25T20:05:35.300Z] projectId: none
[taskcluster:warn 2024-02-25T20:05:35.300Z] provisionerId: proj-bugbug
[taskcluster:warn 2024-02-25T20:05:35.300Z] requires: all-completed
[taskcluster:warn 2024-02-25T20:05:35.300Z] retries: 5
[taskcluster:warn 2024-02-25T20:05:35.300Z] routes:
[taskcluster:warn 2024-02-25T20:05:35.300Z] - checks
[taskcluster:warn 2024-02-25T20:05:35.300Z] schedulerId: taskcluster-github
[taskcluster:warn 2024-02-25T20:05:35.300Z] scopes: []
[taskcluster:warn 2024-02-25T20:05:35.300Z] tags: {}
[taskcluster:warn 2024-02-25T20:05:35.300Z] taskGroupId: CJCkWTkQTWmD8h6EgeKqdw
[taskcluster:warn 2024-02-25T20:05:35.300Z] taskQueueId: proj-bugbug/batch
[taskcluster:warn 2024-02-25T20:05:35.300Z] workerType: batch
[taskcluster:warn 2024-02-25T20:05:35.300Z]
[taskcluster 2024-02-25T20:05:36.364Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1.2877704949904843765.60099/log/N5hayCeBQEu1DaJ_uc9smA with mime type "text/plain; charset=utf-8" and expiry 2024-02-25T21:20:36.276Z
[taskcluster 2024-02-25T20:05:36.463Z] Executing command 0: bash -cx 'podman run -t --rm -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID '\''python:3.12'\'' /bin/bash -lcx '\''git clone --quiet https://github.com/YBCS/bugbug && cd bugbug && git -c advice.detachedHead=false checkout 87a1f672e26798408f770b448e83944739d6a846 && pip install --disable-pip-version-check --no-cache-dir --progress-bar off -r test-requirements.txt && pre-commit run -a --show-diff-on-failure'\'
+ podman run -t --rm -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID python:3.12 /bin/bash -lcx 'git clone --quiet https://github.com/YBCS/bugbug && cd bugbug && git -c advice.detachedHead=false checkout 87a1f672e26798408f770b448e83944739d6a846 && pip install --disable-pip-version-check --no-cache-dir --progress-bar off -r test-requirements.txt && pre-commit run -a --show-diff-on-failure'
Resolved "python" as an alias (/etc/containers/registries.conf.d/shortnames.conf)
Trying to pull docker.io/library/python:3.12...
Getting image source signatures
Copying blob sha256:2b9b41aaa3c52ab268b47da303015b94ced04a1eb02e58860e58b283404974f4
Copying blob sha256:e1aa7eb23da86d5da03e19f387349708052867452d90f32ac5eafd31fb8d702d
Copying blob sha256:49b40be4436eff6fe463f6977159dc727df37cabe65ade75c75c1caa3cb0a234
Copying blob sha256:c558fac597f8ecbb7a66712e14912ce1d83b23a92ca8b6ff14eef209ab01aff2
Copying blob sha256:11402150a57e537c64dc69a28bba37f13acdedd50d8788894398a7b774786e7d
Copying blob sha256:7bb465c2914923b08ae03b7fc67b92a1ef9b09c4c1eb9d6711b22ee6bbb46a00
Copying blob sha256:7bb465c2914923b08ae03b7fc67b92a1ef9b09c4c1eb9d6711b22ee6bbb46a00
Copying blob sha256:2b9b41aaa3c52ab268b47da303015b94ced04a1eb02e58860e58b283404974f4
Copying blob sha256:11402150a57e537c64dc69a28bba37f13acdedd50d8788894398a7b774786e7d
Copying blob sha256:c558fac597f8ecbb7a66712e14912ce1d83b23a92ca8b6ff14eef209ab01aff2
Copying blob sha256:e1aa7eb23da86d5da03e19f387349708052867452d90f32ac5eafd31fb8d702d
Copying blob sha256:49b40be4436eff6fe463f6977159dc727df37cabe65ade75c75c1caa3cb0a234
Copying blob sha256:297428e82567ff4bbd3fc4b5fe375e5aab1af71aaa00d93afe50583cb71d3ae3
Copying blob sha256:297428e82567ff4bbd3fc4b5fe375e5aab1af71aaa00d93afe50583cb71d3ae3
Copying blob sha256:28e810024ad5211525fc84f6532311b6fce2848e8e99e765355b0d1430c224b4
Copying blob sha256:28e810024ad5211525fc84f6532311b6fce2848e8e99e765355b0d1430c224b4
Copying config sha256:a3aef63c6c1029222ff635a72a0fcaddba1fd7a26abdf2491ace8eb3c654471e
Writing manifest to image destination
Storing signatures
++ id -u
+ '[' 0 -eq 0 ']'
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ export PATH
+ '[' '' ']'
+ '[' -d /etc/profile.d ']'
+ for i in /etc/profile.d/*.sh
+ '[' -r '/etc/profile.d/*.sh' ']'
+ unset i
+ '[' /bin/bash ']'
+ '[' -f /root/.bashrc ']'
+ . /root/.bashrc
+ mesg n
+ true
+ git clone --quiet https://github.com/YBCS/bugbug
+ cd bugbug
+ git -c advice.detachedHead=false checkout 87a1f672e26798408f770b448e83944739d6a846
HEAD is now at 87a1f672 use dict for consistency
+ pip install --disable-pip-version-check --no-cache-dir --progress-bar off -r test-requirements.txt
Collecting coverage==7.4.1 (from -r test-requirements.txt (line 1))
Downloading coverage-7.4.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (8.2 kB)
Collecting hypothesis==6.98.8 (from -r test-requirements.txt (line 2))
Downloading hypothesis-6.98.8-py3-none-any.whl.metadata (6.0 kB)
Collecting igraph==0.11.4 (from -r test-requirements.txt (line 3))
Downloading igraph-0.11.4-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.9 kB)
Collecting jsonschema==4.21.1 (from -r test-requirements.txt (line 4))
Downloading jsonschema-4.21.1-py3-none-any.whl.metadata (7.8 kB)
Collecting pre-commit==3.6.2 (from -r test-requirements.txt (line 5))
Downloading pre_commit-3.6.2-py2.py3-none-any.whl.metadata (1.3 kB)
Collecting pytest==8.0.1 (from -r test-requirements.txt (line 6))
Downloading pytest-8.0.1-py3-none-any.whl.metadata (7.7 kB)
Collecting pytest-cov==4.1.0 (from -r test-requirements.txt (line 7))
Downloading pytest_cov-4.1.0-py3-none-any.whl.metadata (26 kB)
Collecting pytest-responses==0.5.1 (from -r test-requirements.txt (line 8))
Downloading pytest_responses-0.5.1-py2.py3-none-any.whl.metadata (1.8 kB)
Collecting responses==0.21.0 (from -r test-requirements.txt (line 9))
Downloading responses-0.21.0-py3-none-any.whl.metadata (41 kB)
Collecting attrs>=22.2.0 (from hypothesis==6.98.8->-r test-requirements.txt (line 2))
Downloading attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting sortedcontainers<3.0.0,>=2.1.0 (from hypothesis==6.98.8->-r test-requirements.txt (line 2))
Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting texttable>=1.6.2 (from igraph==0.11.4->-r test-requirements.txt (line 3))
Downloading texttable-1.7.0-py2.py3-none-any.whl.metadata (9.8 kB)
Collecting jsonschema-specifications>=2023.03.6 (from jsonschema==4.21.1->-r test-requirements.txt (line 4))
Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB)
Collecting referencing>=0.28.4 (from jsonschema==4.21.1->-r test-requirements.txt (line 4))
Downloading referencing-0.33.0-py3-none-any.whl.metadata (2.7 kB)
Collecting rpds-py>=0.7.1 (from jsonschema==4.21.1->-r test-requirements.txt (line 4))
Downloading rpds_py-0.18.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB)
Collecting cfgv>=2.0.0 (from pre-commit==3.6.2->-r test-requirements.txt (line 5))
Downloading cfgv-3.4.0-py2.py3-none-any.whl.metadata (8.5 kB)
Collecting identify>=1.0.0 (from pre-commit==3.6.2->-r test-requirements.txt (line 5))
Downloading identify-2.5.35-py2.py3-none-any.whl.metadata (4.4 kB)
Collecting nodeenv>=0.11.1 (from pre-commit==3.6.2->-r test-requirements.txt (line 5))
Downloading nodeenv-1.8.0-py2.py3-none-any.whl.metadata (21 kB)
Collecting pyyaml>=5.1 (from pre-commit==3.6.2->-r test-requirements.txt (line 5))
Downloading PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting virtualenv>=20.10.0 (from pre-commit==3.6.2->-r test-requirements.txt (line 5))
Downloading virtualenv-20.25.1-py3-none-any.whl.metadata (4.4 kB)
Collecting iniconfig (from pytest==8.0.1->-r test-requirements.txt (line 6))
Downloading iniconfig-2.0.0-py3-none-any.whl.metadata (2.6 kB)
Collecting packaging (from pytest==8.0.1->-r test-requirements.txt (line 6))
Downloading packaging-23.2-py3-none-any.whl.metadata (3.2 kB)
Collecting pluggy<2.0,>=1.3.0 (from pytest==8.0.1->-r test-requirements.txt (line 6))
Downloading pluggy-1.4.0-py3-none-any.whl.metadata (4.3 kB)
Collecting requests<3.0,>=2.0 (from responses==0.21.0->-r test-requirements.txt (line 9))
Downloading requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting urllib3>=1.25.10 (from responses==0.21.0->-r test-requirements.txt (line 9))
Downloading urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.12/site-packages (from nodeenv>=0.11.1->pre-commit==3.6.2->-r test-requirements.txt (line 5)) (69.1.0)
Collecting charset-normalizer<4,>=2 (from requests<3.0,>=2.0->responses==0.21.0->-r test-requirements.txt (line 9))
Downloading charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (33 kB)
Collecting idna<4,>=2.5 (from requests<3.0,>=2.0->responses==0.21.0->-r test-requirements.txt (line 9))
Downloading idna-3.6-py3-none-any.whl.metadata (9.9 kB)
Collecting certifi>=2017.4.17 (from requests<3.0,>=2.0->responses==0.21.0->-r test-requirements.txt (line 9))
Downloading certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)
Collecting distlib<1,>=0.3.7 (from virtualenv>=20.10.0->pre-commit==3.6.2->-r test-requirements.txt (line 5))
Downloading distlib-0.3.8-py2.py3-none-any.whl.metadata (5.1 kB)
Collecting filelock<4,>=3.12.2 (from virtualenv>=20.10.0->pre-commit==3.6.2->-r test-requirements.txt (line 5))
Downloading filelock-3.13.1-py3-none-any.whl.metadata (2.8 kB)
Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.10.0->pre-commit==3.6.2->-r test-requirements.txt (line 5))
Downloading platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB)
Downloading coverage-7.4.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (238 kB)
Downloading hypothesis-6.98.8-py3-none-any.whl (446 kB)
Downloading igraph-0.11.4-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)
Downloading jsonschema-4.21.1-py3-none-any.whl (85 kB)
Downloading pre_commit-3.6.2-py2.py3-none-any.whl (204 kB)
Downloading pytest-8.0.1-py3-none-any.whl (333 kB)
Downloading pytest_cov-4.1.0-py3-none-any.whl (21 kB)
Downloading pytest_responses-0.5.1-py2.py3-none-any.whl (6.7 kB)
Downloading responses-0.21.0-py3-none-any.whl (45 kB)
Downloading attrs-23.2.0-py3-none-any.whl (60 kB)
Downloading cfgv-3.4.0-py2.py3-none-any.whl (7.2 kB)
Downloading identify-2.5.35-py2.py3-none-any.whl (98 kB)
Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)
Downloading nodeenv-1.8.0-py2.py3-none-any.whl (22 kB)
Downloading pluggy-1.4.0-py3-none-any.whl (20 kB)
Downloading PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (724 kB)
Downloading referencing-0.33.0-py3-none-any.whl (26 kB)
Downloading requests-2.31.0-py3-none-any.whl (62 kB)
Downloading rpds_py-0.18.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
Downloading texttable-1.7.0-py2.py3-none-any.whl (10 kB)
Downloading urllib3-2.2.1-py3-none-any.whl (121 kB)
Downloading virtualenv-20.25.1-py3-none-any.whl (3.8 MB)
Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Downloading packaging-23.2-py3-none-any.whl (53 kB)
Downloading certifi-2024.2.2-py3-none-any.whl (163 kB)
Downloading charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (141 kB)
Downloading distlib-0.3.8-py2.py3-none-any.whl (468 kB)
Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
Downloading idna-3.6-py3-none-any.whl (61 kB)
Downloading platformdirs-4.2.0-py3-none-any.whl (17 kB)
Installing collected packages: texttable, sortedcontainers, distlib, urllib3, rpds-py, pyyaml, pluggy, platformdirs, packaging, nodeenv, iniconfig, igraph, idna, identify, filelock, coverage, charset-normalizer, cfgv, certifi, attrs, virtualenv, requests, referencing, pytest, hypothesis, responses, pytest-cov, pre-commit, jsonschema-specifications, pytest-responses, jsonschema
Successfully installed attrs-23.2.0 certifi-2024.2.2 cfgv-3.4.0 charset-normalizer-3.3.2 coverage-7.4.1 distlib-0.3.8 filelock-3.13.1 hypothesis-6.98.8 identify-2.5.35 idna-3.6 igraph-0.11.4 iniconfig-2.0.0 jsonschema-4.21.1 jsonschema-specifications-2023.12.1 nodeenv-1.8.0 packaging-23.2 platformdirs-4.2.0 pluggy-1.4.0 pre-commit-3.6.2 pytest-8.0.1 pytest-cov-4.1.0 pytest-responses-0.5.1 pyyaml-6.0.1 referencing-0.33.0 requests-2.31.0 responses-0.21.0 rpds-py-0.18.0 sortedcontainers-2.4.0 texttable-1.7.0 urllib3-2.2.1 virtualenv-20.25.1
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
+ pre-commit run -a --show-diff-on-failure
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:[email protected].
[INFO] Initializing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Initializing environment for https://github.com/pycqa/pydocstyle.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/codespell-project/codespell.
[INFO] Initializing environment for https://github.com/marco-c/taskcluster_yml_validator.
[INFO] Initializing environment for https://github.com/asottile/yesqa.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-pkg_resources==0.1.2,types-python-dateutil==0.1.3,types-PyYAML==5.4.0,types-orjson==0.1.0,types-tabulate==0.1.0,types-requests==0.1.11.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-pkg_resources==0.1.2,types-requests==0.1.11,types-Flask==1.1.0,types-redis==3.5.1,types-python-dateutil==0.1.3,types-orjson==0.1.0,types-tabulate==0.1.0.
[INFO] Installing environment for https://github.com/pre-commit/mirrors-prettier.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pycqa/pydocstyle.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/codespell-project/codespell.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/marco-c/taskcluster_yml_validator.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/yesqa.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pre-commit/mirrors-mypy.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
prettier.................................................................Passed
ruff.....................................................................Passed
ruff-format..............................................................Passed
pydocstyle...............................................................Passed
check python ast.........................................................Passed
check docstring is first.................................................Passed
check that executables have shebangs.....................................Passed
check for merge conflicts................................................Passed
check for broken symlinks............................(no files to check)Skipped
debug statements (python)................................................Passed
trim trailing whitespace.................................................Passed
check yaml...............................................................Passed
mixed line ending........................................................Passed
python tests naming......................................................Passed
check json...............................................................Passed
fix requirements.txt.....................................................Passed
check vcs permalinks.....................................................Passed
codespell................................................................Passed
taskcluster_yml..........................................................Passed
Strip unnecessary `# noqa`s..............................................Passed
mypy-bugbug..............................................................Passed
mypy-bugbug-http.........................................................Passed
Check for useless excludes...............................................Passed
[taskcluster 2024-02-25T20:07:37.467Z] Exit Code: 0
[taskcluster 2024-02-25T20:07:37.467Z] User Time: 27.194525s
[taskcluster 2024-02-25T20:07:37.467Z] Kernel Time: 4.976373s
[taskcluster 2024-02-25T20:07:37.467Z] Wall Time: 2m1.004354712s
[taskcluster 2024-02-25T20:07:37.467Z] Result: SUCCEEDED
[taskcluster 2024-02-25T20:07:37.467Z] === Task Finished ===
[taskcluster 2024-02-25T20:07:37.467Z] Task Duration: 2m1.004716512s
[taskcluster 2024-02-25T20:07:37.598Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2025-02-25T21:03:32.696Z
Loading