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

Feature/add-CI-tests #3763

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Merge branch 'mozilla:master' into feature/add-CI-tests

30125a0
Select commit
Loading
Failed to load commit list.
Draft

Feature/add-CI-tests #3763

Merge branch 'mozilla:master' into feature/add-CI-tests
30125a0
Select commit
Loading
Failed to load commit list.
Community-TC Integration / bugbug lint succeeded Oct 28, 2023 in 2m 13s

Community-TC (pull_request)

bugbug lint

Details

View task in Taskcluster
View logs in Taskcluster


[taskcluster:warn 2023-10-28T15:24:17.377Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2023-10-28T15:24:17.377Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2023-10-28T15:24:17.377Z]     https://github.com/taskcluster/taskcluster/tree/main/tools/d2g
[taskcluster:warn 2023-10-28T15:24:17.377Z] 
[taskcluster:warn 2023-10-28T15:24:17.377Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2023-10-28T15:24:17.377Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2023-10-28T15:24:17.377Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2023-10-28T15:24:17.377Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2023-10-28T15:24:17.377Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2023-10-28T15:24:17.377Z] 
[taskcluster:warn 2023-10-28T15:24:17.377Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2023-10-28T15:24:17.377Z] ---
[taskcluster:warn 2023-10-28T15:24:17.377Z]   created: "2023-10-28T15:24:16.536Z"
[taskcluster:warn 2023-10-28T15:24:17.377Z]   deadline: "2023-10-28T16:24:16.536Z"
[taskcluster:warn 2023-10-28T15:24:17.377Z]   dependencies: []
[taskcluster:warn 2023-10-28T15:24:17.377Z]   expires: "2024-10-28T16:24:16.536Z"
[taskcluster:warn 2023-10-28T15:24:17.377Z]   extra: {}
[taskcluster:warn 2023-10-28T15:24:17.377Z]   metadata:
[taskcluster:warn 2023-10-28T15:24:17.377Z]     description: bugbug lint
[taskcluster:warn 2023-10-28T15:24:17.377Z]     name: bugbug lint
[taskcluster:warn 2023-10-28T15:24:17.377Z]     owner: mcastelluccio@mozilla.com
[taskcluster:warn 2023-10-28T15:24:17.377Z]     source: https://github.com/unna97/bugbug/raw/30125a071b23b6e9bba15a41c80b083becfc4fd3/.taskcluster.yml
[taskcluster:warn 2023-10-28T15:24:17.377Z]   payload:
[taskcluster:warn 2023-10-28T15:24:17.377Z]     command:
[taskcluster:warn 2023-10-28T15:24:17.377Z]     - - bash
[taskcluster:warn 2023-10-28T15:24:17.377Z]       - -cx
[taskcluster:warn 2023-10-28T15:24:17.377Z]       - podman run -t --rm -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2023-10-28T15:24:17.377Z]         -e TASK_ID 'python:3.10' /bin/bash -lcx 'git clone --quiet https://github.com/unna97/bugbug
[taskcluster:warn 2023-10-28T15:24:17.377Z]         && cd bugbug && git -c advice.detachedHead=false checkout 30125a071b23b6e9bba15a41c80b083becfc4fd3
[taskcluster:warn 2023-10-28T15:24:17.377Z]         && pip install --disable-pip-version-check --no-cache-dir --progress-bar off
[taskcluster:warn 2023-10-28T15:24:17.377Z]         -r test-requirements.txt && pre-commit run -a --show-diff-on-failure'
[taskcluster:warn 2023-10-28T15:24:17.377Z]     features:
[taskcluster:warn 2023-10-28T15:24:17.377Z]       backingLog: true
[taskcluster:warn 2023-10-28T15:24:17.377Z]       liveLog: true
[taskcluster:warn 2023-10-28T15:24:17.377Z]     logs:
[taskcluster:warn 2023-10-28T15:24:17.377Z]       backing: public/logs/live_backing.log
[taskcluster:warn 2023-10-28T15:24:17.377Z]       live: public/logs/live.log
[taskcluster:warn 2023-10-28T15:24:17.377Z]     maxRunTime: 3600
[taskcluster:warn 2023-10-28T15:24:17.377Z]     onExitStatus:
[taskcluster:warn 2023-10-28T15:24:17.377Z]       retry:
[taskcluster:warn 2023-10-28T15:24:17.377Z]       - 125
[taskcluster:warn 2023-10-28T15:24:17.377Z]   priority: lowest
[taskcluster:warn 2023-10-28T15:24:17.377Z]   projectId: none
[taskcluster:warn 2023-10-28T15:24:17.377Z]   provisionerId: proj-bugbug
[taskcluster:warn 2023-10-28T15:24:17.377Z]   requires: all-completed
[taskcluster:warn 2023-10-28T15:24:17.377Z]   retries: 5
[taskcluster:warn 2023-10-28T15:24:17.377Z]   routes:
[taskcluster:warn 2023-10-28T15:24:17.377Z]   - checks
[taskcluster:warn 2023-10-28T15:24:17.377Z]   schedulerId: taskcluster-github
[taskcluster:warn 2023-10-28T15:24:17.377Z]   scopes: []
[taskcluster:warn 2023-10-28T15:24:17.377Z]   tags: {}
[taskcluster:warn 2023-10-28T15:24:17.377Z]   taskGroupId: IqL01IJDQuao8Oqak8t3mg
[taskcluster:warn 2023-10-28T15:24:17.377Z]   taskQueueId: proj-bugbug/batch
[taskcluster:warn 2023-10-28T15:24:17.377Z]   workerType: batch
[taskcluster:warn 2023-10-28T15:24:17.377Z] 
[taskcluster 2023-10-28T15:24:17.909Z] Uploading redirect artifact public/logs/live.log to URL https://community-websocktunnel.services.mozilla.com/us-central1.4891794777777936911.60099/log/XvaRst2tTB2Z_2JvxOpt8w with mime type "text/plain; charset=utf-8" and expiry 2023-10-28T16:39:17.843Z
[taskcluster 2023-10-28T15:24:17.957Z] 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/unna97/bugbug && cd bugbug && git -c advice.detachedHead=false checkout 30125a071b23b6e9bba15a41c80b083becfc4fd3 && 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/unna97/bugbug && cd bugbug && git -c advice.detachedHead=false checkout 30125a071b23b6e9bba15a41c80b083becfc4fd3 && 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:1ccc26d841b4acc2562483bf393ce1cf8bc358ced09ccd825425226827c79c92
Copying blob sha256:b0fef9d6962c9c4b61e2e0bf03667a84d15346c6d8bfb206efe973384dcf3d34
Copying blob sha256:800d84653581fc119cd75cd572fa190d3b813d49221b9e5ee463e3560e2cb342
Copying blob sha256:7c632e57ea62ea950c367f484f52cdcfd2adb12060a31f5c413f40db9822e96e
Copying blob sha256:f9a1922eee8a7d8ea8d227102bf5b6671dd4f68a152a438c803c54092410bb28
Copying blob sha256:0a9573503463fd3166b5b1f34a7720dac28609e98d731e50e7068f92e79b8545
Copying blob sha256:7c632e57ea62ea950c367f484f52cdcfd2adb12060a31f5c413f40db9822e96e
Copying blob sha256:f9a1922eee8a7d8ea8d227102bf5b6671dd4f68a152a438c803c54092410bb28
Copying blob sha256:0a9573503463fd3166b5b1f34a7720dac28609e98d731e50e7068f92e79b8545
Copying blob sha256:800d84653581fc119cd75cd572fa190d3b813d49221b9e5ee463e3560e2cb342
Copying blob sha256:1ccc26d841b4acc2562483bf393ce1cf8bc358ced09ccd825425226827c79c92
Copying blob sha256:b0fef9d6962c9c4b61e2e0bf03667a84d15346c6d8bfb206efe973384dcf3d34
Copying blob sha256:a8d4dcc5b9136e490e69eef208f4015ab4621638529d937e2e7ad076c8aae5a4
Copying blob sha256:a8d4dcc5b9136e490e69eef208f4015ab4621638529d937e2e7ad076c8aae5a4
Copying blob sha256:285441070830e8a6311f822b3cc44adc2016f4067aa94862e8f0d9b537499d89
Copying blob sha256:285441070830e8a6311f822b3cc44adc2016f4067aa94862e8f0d9b537499d89
Copying config sha256:9d1f579451adcaffc6359f05606e5d915272916dd64ee907f796f5c9a0d08446
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/unna97/bugbug
+ cd bugbug
+ git -c advice.detachedHead=false checkout 30125a071b23b6e9bba15a41c80b083becfc4fd3
HEAD is now at 30125a07 Merge branch 'mozilla:master' into feature/add-CI-tests
+ 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.1
  Downloading hypothesis-6.88.1-py3-none-any.whl (421 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.1
  Downloading jsonschema-4.19.1-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.2
  Downloading pytest-7.4.2-py3-none-any.whl (324 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 exceptiongroup>=1.0.0
  Downloading exceptiongroup-1.1.3-py3-none-any.whl (14 kB)
Collecting sortedcontainers<3.0.0,>=2.1.0
  Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 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.7.1-py3-none-any.whl (17 kB)
Collecting rpds-py>=0.7.1
  Downloading rpds_py-0.10.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
Collecting referencing>=0.28.4
  Downloading referencing-0.30.2-py3-none-any.whl (25 kB)
Collecting pyyaml>=5.1
  Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB)
Collecting nodeenv>=0.11.1
  Downloading nodeenv-1.8.0-py2.py3-none-any.whl (22 kB)
Collecting virtualenv>=20.10.0
  Downloading virtualenv-20.24.6-py3-none-any.whl (3.8 MB)
Collecting cfgv>=2.0.0
  Downloading cfgv-3.4.0-py2.py3-none-any.whl (7.2 kB)
Collecting identify>=1.0.0
  Downloading identify-2.5.30-py2.py3-none-any.whl (98 kB)
Collecting tomli>=1.0.0
  Downloading tomli-2.0.1-py3-none-any.whl (12 kB)
Collecting iniconfig
  Downloading iniconfig-2.0.0-py3-none-any.whl (5.9 kB)
Collecting pluggy<2.0,>=0.12
  Downloading pluggy-1.3.0-py3-none-any.whl (18 kB)
Collecting packaging
  Downloading packaging-23.2-py3-none-any.whl (53 kB)
Collecting requests<3.0,>=2.0
  Downloading requests-2.31.0-py3-none-any.whl (62 kB)
Collecting urllib3>=1.25.10
  Downloading urllib3-2.0.7-py3-none-any.whl (124 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.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (139 kB)
Collecting idna<4,>=2.5
  Downloading idna-3.4-py3-none-any.whl (61 kB)
Collecting certifi>=2017.4.17
  Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)
Collecting distlib<1,>=0.3.7
  Downloading distlib-0.3.7-py2.py3-none-any.whl (468 kB)
Collecting platformdirs<4,>=3.9.1
  Downloading platformdirs-3.11.0-py3-none-any.whl (17 kB)
Collecting filelock<4,>=3.12.2
  Downloading filelock-3.13.0-py3-none-any.whl (11 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.7.22 cfgv-3.4.0 charset-normalizer-3.3.1 coverage-7.3.2 distlib-0.3.7 exceptiongroup-1.1.3 filelock-3.13.0 hypothesis-6.88.1 identify-2.5.30 idna-3.4 igraph-0.11.2 iniconfig-2.0.0 jsonschema-4.19.1 jsonschema-specifications-2023.7.1 nodeenv-1.8.0 packaging-23.2 platformdirs-3.11.0 pluggy-1.3.0 pre-commit-3.5.0 pytest-7.4.2 pytest-cov-4.1.0 pytest-responses-0.5.1 pyyaml-6.0.1 referencing-0.30.2 requests-2.31.0 responses-0.21.0 rpds-py-0.10.6 sortedcontainers-2.4.0 texttable-1.7.0 tomli-2.0.1 urllib3-2.0.7 virtualenv-20.24.6
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:prettier@3.0.3.
[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-10-28T15:26:30.191Z]    Exit Code: 0
[taskcluster 2023-10-28T15:26:30.191Z]    User Time: 28.64038s
[taskcluster 2023-10-28T15:26:30.191Z]  Kernel Time: 5.78532s
[taskcluster 2023-10-28T15:26:30.191Z]    Wall Time: 2m12.233518417s
[taskcluster 2023-10-28T15:26:30.191Z]       Result: SUCCEEDED
[taskcluster 2023-10-28T15:26:30.191Z] === Task Finished ===
[taskcluster 2023-10-28T15:26:30.191Z] Task Duration: 2m12.233978683s
[taskcluster 2023-10-28T15:26:30.263Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2024-10-28T16:24:16.536Z