Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for classifying invalid compatibility reports to the http service #3846

Merged
merged 1 commit into from
Nov 29, 2023

Add support for classifying invalid compatibility reports to the http…

8bb9842
Select commit
Loading
Failed to load commit list.
Merged

Add support for classifying invalid compatibility reports to the http service #3846

Add support for classifying invalid compatibility reports to the http…
8bb9842
Select commit
Loading
Failed to load commit list.
Community-TC Integration / bugbug lint succeeded Nov 28, 2023 in 3m 50s

Community-TC (pull_request)

bugbug lint

Details

View task in Taskcluster
View logs in Taskcluster


[taskcluster:warn 2023-11-28T10:08:52.003Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2023-11-28T10:08:52.003Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2023-11-28T10:08:52.003Z]     https://github.com/taskcluster/taskcluster/tree/main/tools/d2g
[taskcluster:warn 2023-11-28T10:08:52.003Z] 
[taskcluster:warn 2023-11-28T10:08:52.003Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2023-11-28T10:08:52.003Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2023-11-28T10:08:52.003Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2023-11-28T10:08:52.003Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2023-11-28T10:08:52.003Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2023-11-28T10:08:52.003Z] 
[taskcluster:warn 2023-11-28T10:08:52.003Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2023-11-28T10:08:52.003Z] ---
[taskcluster:warn 2023-11-28T10:08:52.003Z]   created: "2023-11-28T10:06:57.174Z"
[taskcluster:warn 2023-11-28T10:08:52.003Z]   deadline: "2023-11-28T11:06:57.174Z"
[taskcluster:warn 2023-11-28T10:08:52.003Z]   dependencies: []
[taskcluster:warn 2023-11-28T10:08:52.003Z]   expires: "2024-11-28T11:06:57.174Z"
[taskcluster:warn 2023-11-28T10:08:52.003Z]   extra: {}
[taskcluster:warn 2023-11-28T10:08:52.003Z]   metadata:
[taskcluster:warn 2023-11-28T10:08:52.003Z]     description: bugbug lint
[taskcluster:warn 2023-11-28T10:08:52.003Z]     name: bugbug lint
[taskcluster:warn 2023-11-28T10:08:52.003Z]     owner: [email protected]
[taskcluster:warn 2023-11-28T10:08:52.003Z]     source: https://github.com/ksy36/bugbug/raw/8bb9842a430625036196264c3d6bd55b9407f29f/.taskcluster.yml
[taskcluster:warn 2023-11-28T10:08:52.003Z]   payload:
[taskcluster:warn 2023-11-28T10:08:52.003Z]     command:
[taskcluster:warn 2023-11-28T10:08:52.003Z]     - - bash
[taskcluster:warn 2023-11-28T10:08:52.003Z]       - -cx
[taskcluster:warn 2023-11-28T10:08:52.003Z]       - podman run -t --rm -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2023-11-28T10:08:52.003Z]         -e TASK_ID 'python:3.10' /bin/bash -lcx 'git clone --quiet https://github.com/ksy36/bugbug
[taskcluster:warn 2023-11-28T10:08:52.003Z]         && cd bugbug && git -c advice.detachedHead=false checkout 8bb9842a430625036196264c3d6bd55b9407f29f
[taskcluster:warn 2023-11-28T10:08:52.003Z]         && pip install --disable-pip-version-check --no-cache-dir --progress-bar off
[taskcluster:warn 2023-11-28T10:08:52.003Z]         -r test-requirements.txt && pre-commit run -a --show-diff-on-failure'
[taskcluster:warn 2023-11-28T10:08:52.003Z]     features:
[taskcluster:warn 2023-11-28T10:08:52.003Z]       backingLog: true
[taskcluster:warn 2023-11-28T10:08:52.003Z]       liveLog: true
[taskcluster:warn 2023-11-28T10:08:52.003Z]     logs:
[taskcluster:warn 2023-11-28T10:08:52.003Z]       backing: public/logs/live_backing.log
[taskcluster:warn 2023-11-28T10:08:52.003Z]       live: public/logs/live.log
[taskcluster:warn 2023-11-28T10:08:52.003Z]     maxRunTime: 3600
[taskcluster:warn 2023-11-28T10:08:52.003Z]     onExitStatus:
[taskcluster:warn 2023-11-28T10:08:52.003Z]       retry:
[taskcluster:warn 2023-11-28T10:08:52.003Z]       - 125
[taskcluster:warn 2023-11-28T10:08:52.003Z]   priority: lowest
[taskcluster:warn 2023-11-28T10:08:52.003Z]   projectId: none
[taskcluster:warn 2023-11-28T10:08:52.003Z]   provisionerId: proj-bugbug
[taskcluster:warn 2023-11-28T10:08:52.003Z]   requires: all-completed
[taskcluster:warn 2023-11-28T10:08:52.003Z]   retries: 5
[taskcluster:warn 2023-11-28T10:08:52.003Z]   routes:
[taskcluster:warn 2023-11-28T10:08:52.003Z]   - checks
[taskcluster:warn 2023-11-28T10:08:52.003Z]   schedulerId: taskcluster-github
[taskcluster:warn 2023-11-28T10:08:52.003Z]   scopes: []
[taskcluster:warn 2023-11-28T10:08:52.003Z]   tags: {}
[taskcluster:warn 2023-11-28T10:08:52.003Z]   taskGroupId: GwPPi_o9R6SfGI7F4IWZyg
[taskcluster:warn 2023-11-28T10:08:52.003Z]   taskQueueId: proj-bugbug/batch
[taskcluster:warn 2023-11-28T10:08:52.003Z]   workerType: batch
[taskcluster:warn 2023-11-28T10:08:52.003Z] 
[taskcluster 2023-11-28T10:08:52.845Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-east1.8412216901505647907.60099/log/cuhvb-pFS7-L-kkYYPG7JQ with mime type "text/plain; charset=utf-8" and expiry 2023-11-28T11:23:52.748Z
[taskcluster 2023-11-28T10:08:52.955Z] 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.10'\'' /bin/bash -lcx '\''git clone --quiet https://github.com/ksy36/bugbug && cd bugbug && git -c advice.detachedHead=false checkout 8bb9842a430625036196264c3d6bd55b9407f29f && 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.10 /bin/bash -lcx 'git clone --quiet https://github.com/ksy36/bugbug && cd bugbug && git -c advice.detachedHead=false checkout 8bb9842a430625036196264c3d6bd55b9407f29f && 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.10...
Getting image source signatures
Copying blob sha256:27e1a8ca91d35598fbae8dee7f1c211f0f93cec529f6804a60e9301c53a604d0
Copying blob sha256:29ac5dfbc9ebdcc56bf54f352acf0d9028811fd41f754e7981e9b745b54e8e4c
Copying blob sha256:d3a767d1d12e57724b9f254794e359f3b04d4d5ad966006e5b5cda78cc382762
Copying blob sha256:711be5dc50448ab08ccab0b44d65962f36574d341749ab30651b78ec0d4bfd1c
Copying blob sha256:7ad48fee40035670dcaf937f0ac03b16dc5ac98f001dc04c2c84cf56af728d04
Copying blob sha256:90e5e7d8b87a34877f61c2b86d053db1c4f440b9054cf49573e3be5d6a674a47
Copying blob sha256:711be5dc50448ab08ccab0b44d65962f36574d341749ab30651b78ec0d4bfd1c
Copying blob sha256:90e5e7d8b87a34877f61c2b86d053db1c4f440b9054cf49573e3be5d6a674a47
Copying blob sha256:27e1a8ca91d35598fbae8dee7f1c211f0f93cec529f6804a60e9301c53a604d0
Copying blob sha256:7ad48fee40035670dcaf937f0ac03b16dc5ac98f001dc04c2c84cf56af728d04
Copying blob sha256:d3a767d1d12e57724b9f254794e359f3b04d4d5ad966006e5b5cda78cc382762
Copying blob sha256:29ac5dfbc9ebdcc56bf54f352acf0d9028811fd41f754e7981e9b745b54e8e4c
Copying blob sha256:68093faf576c541ece7cdbf99e74256aff4bad3bcc8db8af73bd78aaab640f69
Copying blob sha256:68093faf576c541ece7cdbf99e74256aff4bad3bcc8db8af73bd78aaab640f69
Copying blob sha256:9a509634dac7f5f65de728bfed2e462f47eeda74a82fe86fbde309831a275ef0
Copying blob sha256:9a509634dac7f5f65de728bfed2e462f47eeda74a82fe86fbde309831a275ef0
Copying config sha256:c2fedeb2859f8c0ada33a3b105a66f21161e406218afa1e59ef2bcc97d0cbd7f
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/ksy36/bugbug
+ cd bugbug
+ git -c advice.detachedHead=false checkout 8bb9842a430625036196264c3d6bd55b9407f29f
HEAD is now at 8bb9842a Add support for classifying invalid compatibility reports to the http service
+ pip install --disable-pip-version-check --no-cache-dir --progress-bar off -r test-requirements.txt
Collecting coverage==7.3.2
  Downloading coverage-7.3.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (227 kB)
Collecting hypothesis==6.88.3
  Downloading hypothesis-6.88.3-py3-none-any.whl (420 kB)
Collecting igraph==0.11.2
  Downloading igraph-0.11.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)
Collecting jsonschema==4.19.2
  Downloading jsonschema-4.19.2-py3-none-any.whl (83 kB)
Collecting pre-commit==3.5.0
  Downloading pre_commit-3.5.0-py2.py3-none-any.whl (203 kB)
Collecting pytest==7.4.3
  Downloading pytest-7.4.3-py3-none-any.whl (325 kB)
Collecting pytest-cov==4.1.0
  Downloading pytest_cov-4.1.0-py3-none-any.whl (21 kB)
Collecting pytest-responses==0.5.1
  Downloading pytest_responses-0.5.1-py2.py3-none-any.whl (6.7 kB)
Collecting responses==0.21.0
  Downloading responses-0.21.0-py3-none-any.whl (45 kB)
Collecting sortedcontainers<3.0.0,>=2.1.0
  Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting exceptiongroup>=1.0.0
  Downloading exceptiongroup-1.2.0-py3-none-any.whl (16 kB)
Collecting attrs>=19.2.0
  Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting texttable>=1.6.2
  Downloading texttable-1.7.0-py2.py3-none-any.whl (10 kB)
Collecting jsonschema-specifications>=2023.03.6
  Downloading jsonschema_specifications-2023.11.1-py3-none-any.whl (17 kB)
Collecting referencing>=0.28.4
  Downloading referencing-0.31.0-py3-none-any.whl (25 kB)
Collecting rpds-py>=0.7.1
  Downloading rpds_py-0.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
Collecting identify>=1.0.0
  Downloading identify-2.5.32-py2.py3-none-any.whl (98 kB)
Collecting pyyaml>=5.1
  Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB)
Collecting virtualenv>=20.10.0
  Downloading virtualenv-20.24.7-py3-none-any.whl (3.8 MB)
Collecting nodeenv>=0.11.1
  Downloading nodeenv-1.8.0-py2.py3-none-any.whl (22 kB)
Collecting cfgv>=2.0.0
  Downloading cfgv-3.4.0-py2.py3-none-any.whl (7.2 kB)
Collecting iniconfig
  Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting packaging
  Downloading packaging-23.2-py3-none-any.whl (53 kB)
Collecting pluggy<2.0,>=0.12
  Downloading pluggy-1.3.0-py3-none-any.whl (18 kB)
Collecting tomli>=1.0.0
  Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting urllib3>=1.25.10
  Downloading urllib3-2.1.0-py3-none-any.whl (104 kB)
Collecting requests<3.0,>=2.0
  Downloading requests-2.31.0-py3-none-any.whl (62 kB)
Requirement already satisfied: setuptools in /usr/local/lib/python3.10/site-packages (from nodeenv>=0.11.1->pre-commit==3.5.0->-r test-requirements.txt (line 5)) (65.5.1)
Collecting charset-normalizer<4,>=2
  Downloading charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (142 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2023.11.17-py3-none-any.whl (162 kB)
Collecting idna<4,>=2.5
  Downloading idna-3.6-py3-none-any.whl (61 kB)
Collecting filelock<4,>=3.12.2
  Downloading filelock-3.13.1-py3-none-any.whl (11 kB)
Collecting distlib<1,>=0.3.7
  Downloading distlib-0.3.7-py2.py3-none-any.whl (468 kB)
Collecting platformdirs<5,>=3.9.1
  Downloading platformdirs-4.0.0-py3-none-any.whl (17 kB)
Installing collected packages: texttable, sortedcontainers, distlib, urllib3, tomli, rpds-py, pyyaml, pluggy, platformdirs, packaging, nodeenv, iniconfig, igraph, idna, identify, filelock, exceptiongroup, 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.1.0 certifi-2023.11.17 cfgv-3.4.0 charset-normalizer-3.3.2 coverage-7.3.2 distlib-0.3.7 exceptiongroup-1.2.0 filelock-3.13.1 hypothesis-6.88.3 identify-2.5.32 idna-3.6 igraph-0.11.2 iniconfig-2.0.0 jsonschema-4.19.2 jsonschema-specifications-2023.11.1 nodeenv-1.8.0 packaging-23.2 platformdirs-4.0.0 pluggy-1.3.0 pre-commit-3.5.0 pytest-7.4.3 pytest-cov-4.1.0 pytest-responses-0.5.1 pyyaml-6.0.1 referencing-0.31.0 requests-2.31.0 responses-0.21.0 rpds-py-0.13.1 sortedcontainers-2.4.0 texttable-1.7.0 tomli-2.0.1 urllib3-2.1.0 virtualenv-20.24.7
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/PyCQA/isort.
[INFO] Initializing environment for https://github.com/psf/black.
[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/pycqa/flake8.
[INFO] Initializing environment for https://github.com/pycqa/flake8:flake8-coding==1.3.2,flake8-copyright==0.2.4,flake8-debugger==4.1.2.
[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/PyCQA/isort.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/psf/black.
[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-prettier.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/pycqa/flake8.
[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...
isort....................................................................Passed
black....................................................................Passed
prettier.................................................................Passed
flake8...................................................................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 2023-11-28T10:10:47.170Z]    Exit Code: 0
[taskcluster 2023-11-28T10:10:47.170Z]    User Time: 26.035785s
[taskcluster 2023-11-28T10:10:47.170Z]  Kernel Time: 3.933466s
[taskcluster 2023-11-28T10:10:47.170Z]    Wall Time: 1m54.215017776s
[taskcluster 2023-11-28T10:10:47.170Z]       Result: SUCCEEDED
[taskcluster 2023-11-28T10:10:47.170Z] === Task Finished ===
[taskcluster 2023-11-28T10:10:47.170Z] Task Duration: 1m54.215489054s
[taskcluster 2023-11-28T10:10:47.278Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2024-11-28T11:06:57.174Z