build(deps-dev): bump pre-commit from 4.2.0 to 4.5.1 in /backend #2894
firefoxci-taskcluster / Code Coverage checks: linting
succeeded
Dec 22, 2025 in 10m 13s
FirefoxCI (pull_request)
Check code style with pre-commit hooks
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2025-12-22T15:14:55.147Z
Resolved: 2025-12-22T15:16:16.169Z
Task Execution Time: 1 minute, 21 seconds, 22 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2025-12-22T15:14:55.210Z] Worker Type (code-analysis-1/linux-gw-gcp) settings:
[taskcluster 2025-12-22T15:14:55.210Z] {
[taskcluster 2025-12-22T15:14:55.210Z] "config": {
[taskcluster 2025-12-22T15:14:55.210Z] "deploymentId": ""
[taskcluster 2025-12-22T15:14:55.210Z] },
[taskcluster 2025-12-22T15:14:55.210Z] "generic-worker": {
[taskcluster 2025-12-22T15:14:55.210Z] "engine": "multiuser",
[taskcluster 2025-12-22T15:14:55.210Z] "go-arch": "amd64",
[taskcluster 2025-12-22T15:14:55.210Z] "go-os": "linux",
[taskcluster 2025-12-22T15:14:55.210Z] "go-version": "go1.22.2",
[taskcluster 2025-12-22T15:14:55.210Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v64.3.0",
[taskcluster 2025-12-22T15:14:55.210Z] "revision": "b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2025-12-22T15:14:55.210Z] "source": "https://github.com/taskcluster/taskcluster/commits/b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2025-12-22T15:14:55.210Z] "version": "64.3.0"
[taskcluster 2025-12-22T15:14:55.210Z] },
[taskcluster 2025-12-22T15:14:55.210Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-gui-googlecompute-2024-08-22t22-48-09z",
[taskcluster 2025-12-22T15:14:55.210Z] "instance-id": "3337882400366846130",
[taskcluster 2025-12-22T15:14:55.210Z] "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2025-12-22T15:14:55.210Z] "local-ipv4": "10.128.0.25",
[taskcluster 2025-12-22T15:14:55.210Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2025-12-22T15:14:55.210Z] "public-hostname": "code-analysis-1-linux-gw-gcp-yeaeahb6sochwtvtc77irq.c.fxci-production-level1-workers.internal",
[taskcluster 2025-12-22T15:14:55.210Z] "public-ipv4": "34.9.208.184",
[taskcluster 2025-12-22T15:14:55.210Z] "region": "us-central1",
[taskcluster 2025-12-22T15:14:55.210Z] "zone": "us-central1-f"
[taskcluster 2025-12-22T15:14:55.210Z] }
[taskcluster 2025-12-22T15:14:55.210Z] Task ID: d2ihwNqDRM6ItUgVlU_cRA
[taskcluster 2025-12-22T15:14:55.210Z] === Task Starting ===
[taskcluster:warn 2025-12-22T15:14:55.213Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2025-12-22T15:14:55.213Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2025-12-22T15:14:55.213Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2025-12-22T15:14:55.213Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2025-12-22T15:14:55.213Z]
[taskcluster:warn 2025-12-22T15:14:55.213Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2025-12-22T15:14:55.213Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2025-12-22T15:14:55.213Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2025-12-22T15:14:55.213Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2025-12-22T15:14:55.213Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2025-12-22T15:14:55.213Z]
[taskcluster:warn 2025-12-22T15:14:55.213Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2025-12-22T15:14:55.213Z] ---
[taskcluster:warn 2025-12-22T15:14:55.213Z] created: "2025-12-22T15:06:00.638Z"
[taskcluster:warn 2025-12-22T15:14:55.213Z] deadline: "2025-12-22T16:06:00.638Z"
[taskcluster:warn 2025-12-22T15:14:55.213Z] dependencies: []
[taskcluster:warn 2025-12-22T15:14:55.213Z] expires: "2026-12-22T16:06:00.638Z"
[taskcluster:warn 2025-12-22T15:14:55.213Z] extra: {}
[taskcluster:warn 2025-12-22T15:14:55.213Z] metadata:
[taskcluster:warn 2025-12-22T15:14:55.213Z] description: Check code style with pre-commit hooks
[taskcluster:warn 2025-12-22T15:14:55.213Z] name: 'Code Coverage checks: linting'
[taskcluster:warn 2025-12-22T15:14:55.213Z] owner: bastien@mozilla.com
[taskcluster:warn 2025-12-22T15:14:55.213Z] source: https://github.com/mozilla/code-coverage
[taskcluster:warn 2025-12-22T15:14:55.213Z] payload:
[taskcluster:warn 2025-12-22T15:14:55.213Z] command:
[taskcluster:warn 2025-12-22T15:14:55.213Z] - - bash
[taskcluster:warn 2025-12-22T15:14:55.213Z] - -cx
[taskcluster:warn 2025-12-22T15:14:55.213Z] - podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2025-12-22T15:14:55.213Z] -e TASK_ID 'python:3.12' sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage
[taskcluster:warn 2025-12-22T15:14:55.213Z] /src && cd /src && git checkout 7b7e97a80b6b49dd6a14b287b3301dd91325f27e -b
[taskcluster:warn 2025-12-22T15:14:55.213Z] checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2025-12-22T15:14:55.213Z] --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check
[taskcluster:warn 2025-12-22T15:14:55.213Z] --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run
[taskcluster:warn 2025-12-22T15:14:55.213Z] -a --show-diff-on-failure'
[taskcluster:warn 2025-12-22T15:14:55.213Z] features:
[taskcluster:warn 2025-12-22T15:14:55.213Z] backingLog: true
[taskcluster:warn 2025-12-22T15:14:55.213Z] liveLog: true
[taskcluster:warn 2025-12-22T15:14:55.213Z] logs:
[taskcluster:warn 2025-12-22T15:14:55.213Z] backing: public/logs/live_backing.log
[taskcluster:warn 2025-12-22T15:14:55.213Z] live: public/logs/live.log
[taskcluster:warn 2025-12-22T15:14:55.213Z] maxRunTime: 3600
[taskcluster:warn 2025-12-22T15:14:55.213Z] onExitStatus:
[taskcluster:warn 2025-12-22T15:14:55.213Z] retry:
[taskcluster:warn 2025-12-22T15:14:55.213Z] - 125
[taskcluster:warn 2025-12-22T15:14:55.213Z] - 128
[taskcluster:warn 2025-12-22T15:14:55.213Z] priority: lowest
[taskcluster:warn 2025-12-22T15:14:55.213Z] projectId: none
[taskcluster:warn 2025-12-22T15:14:55.213Z] provisionerId: code-analysis-1
[taskcluster:warn 2025-12-22T15:14:55.213Z] requires: all-completed
[taskcluster:warn 2025-12-22T15:14:55.213Z] retries: 5
[taskcluster:warn 2025-12-22T15:14:55.213Z] routes:
[taskcluster:warn 2025-12-22T15:14:55.213Z] - checks
[taskcluster:warn 2025-12-22T15:14:55.213Z] schedulerId: taskcluster-github
[taskcluster:warn 2025-12-22T15:14:55.213Z] scopes: []
[taskcluster:warn 2025-12-22T15:14:55.213Z] tags: {}
[taskcluster:warn 2025-12-22T15:14:55.213Z] taskGroupId: HY-tsYJSRZuBsG4itKOjFg
[taskcluster:warn 2025-12-22T15:14:55.213Z] taskQueueId: code-analysis-1/linux-gw-gcp
[taskcluster:warn 2025-12-22T15:14:55.213Z] workerType: linux-gw-gcp
[taskcluster:warn 2025-12-22T15:14:55.213Z]
[taskcluster 2025-12-22T15:14:55.582Z] Uploading redirect artifact public/logs/live.log to URL https://firefoxci-websocktunnel.services.mozilla.com/us-central1-f.3337882400366846130.60099/log/R91vTKxwRRSX1Wdj1z7FAA with mime type "text/plain; charset=utf-8" and expiry 2025-12-22T16:29:55.464Z
[taskcluster 2025-12-22T15:14:55.680Z] Executing command 0: bash -cx 'podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID '\''python:3.12'\'' sh -lxce '\''git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout 7b7e97a80b6b49dd6a14b287b3301dd91325f27e -b checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run -a --show-diff-on-failure'\'
+ podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION -e TASK_ID python:3.12 sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage /src && cd /src && git checkout 7b7e97a80b6b49dd6a14b287b3301dd91325f27e -b checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt && cd /src && 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:0c031ac0d6d9461b3bc8dac00f9098891b9b554c1db0a72838a3e527d8364f58
Copying blob sha256:b22766554d6bfa95c7325b00ee002f2705a7b8605908c3eb43dbe729c412422c
Copying blob sha256:2981f7e8980b9f4b6605026e1c5f99b4971ebba15f626e46904554de09f324f4
Copying blob sha256:dd420cee8193b72cf70974a80e88896c8e58d925edd1cdc515b203ff7aa65550
Copying blob sha256:f12d22470361a03c148da637a8a38f6fd96fe7fe30d2431f50f3149c07b9ede5
Copying blob sha256:58f2d358b447d091790c5ef0943550bbcf57bac46c4b8bfcfc3e6dacf4cb7969
Copying blob sha256:2981f7e8980b9f4b6605026e1c5f99b4971ebba15f626e46904554de09f324f4
Copying blob sha256:58f2d358b447d091790c5ef0943550bbcf57bac46c4b8bfcfc3e6dacf4cb7969
Copying blob sha256:b22766554d6bfa95c7325b00ee002f2705a7b8605908c3eb43dbe729c412422c
Copying blob sha256:dd420cee8193b72cf70974a80e88896c8e58d925edd1cdc515b203ff7aa65550
Copying blob sha256:f12d22470361a03c148da637a8a38f6fd96fe7fe30d2431f50f3149c07b9ede5
Copying blob sha256:0c031ac0d6d9461b3bc8dac00f9098891b9b554c1db0a72838a3e527d8364f58
Copying blob sha256:7ab1ca1356370d5b1f123df96afa436de4e3a8205f5dd48daea4cf4c46daded2
Copying blob sha256:7ab1ca1356370d5b1f123df96afa436de4e3a8205f5dd48daea4cf4c46daded2
Copying config sha256:16ec192207dd062f56cb86d663e0543911142073c1be1ede4bd1e479bad77234
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
+ [ # ]
+ [ ]
+ id -u
+ [ 0 -eq 0 ]
+ PS1=#
+ [ -d /etc/profile.d ]
+ run-parts --list --regex ^[a-zA-Z0-9_][a-zA-Z0-9._-]*\.sh$ /etc/profile.d
+ unset i
+ [ ]
+ git clone --quiet https://github.com/mozilla/code-coverage /src
+ cd /src
+ git checkout 7b7e97a80b6b49dd6a14b287b3301dd91325f27e -b checks
Switched to a new branch 'checks'
+ cd /src/bot
+ pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ cd /src/backend
+ pip install --disable-pip-version-check --no-cache-dir --quiet -r requirements-dev.txt
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
+ cd /src
+ pre-commit run -a --show-diff-on-failure
[INFO] Initializing environment for https://github.com/astral-sh/ruff-pre-commit.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-prettier:prettier@3.1.0.
[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-requests==0.1.11,types-redis==3.5.1,types-python-dateutil==0.1.3,types-PyYAML==5.4.0.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-requests==0.1.11,types-pytz==2022.6.0.1,types-PyYAML==5.4.0.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-requests==0.1.11.
[INFO] Initializing environment for https://github.com/pre-commit/mirrors-mypy:types-requests==0.1.11,types-setuptools==67.6.0.0,types-pytz==2022.6.0.1.
[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/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/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...
[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...
ruff.....................................................................Passed
ruff-format..............................................................Passed
prettier.................................................................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-backend.............................................................Passed
mypy-bot.................................................................Passed
mypy-events..............................................................Passed
mypy-report..............................................................Passed
mypy-tools...............................................................Passed
Check for useless excludes...............................................Passed
[taskcluster 2025-12-22T15:16:15.664Z] Exit Code: 0
[taskcluster 2025-12-22T15:16:15.664Z] User Time: 25.40807s
[taskcluster 2025-12-22T15:16:15.664Z] Kernel Time: 4.695647s
[taskcluster 2025-12-22T15:16:15.664Z] Wall Time: 1m19.98370981s
[taskcluster 2025-12-22T15:16:15.664Z] Result: SUCCEEDED
[taskcluster 2025-12-22T15:16:15.664Z] === Task Finished ===
[taskcluster 2025-12-22T15:16:15.664Z] Task Duration: 1m19.984389555s
[taskcluster 2025-12-22T15:16:15.808Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2026-12-22T16:06:00.638Z
Loading