build(deps-dev): bump pytest from 8.4.1 to 8.4.2 in /backend #2777
firefoxci-taskcluster / Code Coverage checks: linting
succeeded
Sep 8, 2025 in 4m 31s
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-09-08T15:13:44.615Z
Resolved: 2025-09-08T15:15:20.018Z
Task Execution Time: 1 minute, 35 seconds, 403 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2025-09-08T15:13:44.655Z] Worker Type (code-analysis-1/linux-gw-gcp) settings:
[taskcluster 2025-09-08T15:13:44.655Z] {
[taskcluster 2025-09-08T15:13:44.655Z] "config": {
[taskcluster 2025-09-08T15:13:44.655Z] "deploymentId": ""
[taskcluster 2025-09-08T15:13:44.655Z] },
[taskcluster 2025-09-08T15:13:44.655Z] "generic-worker": {
[taskcluster 2025-09-08T15:13:44.655Z] "engine": "multiuser",
[taskcluster 2025-09-08T15:13:44.655Z] "go-arch": "amd64",
[taskcluster 2025-09-08T15:13:44.655Z] "go-os": "linux",
[taskcluster 2025-09-08T15:13:44.655Z] "go-version": "go1.22.2",
[taskcluster 2025-09-08T15:13:44.655Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v64.3.0",
[taskcluster 2025-09-08T15:13:44.655Z] "revision": "b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2025-09-08T15:13:44.655Z] "source": "https://github.com/taskcluster/taskcluster/commits/b66b6614b9b79077f1bfc78f97afb8c25c0c4b30",
[taskcluster 2025-09-08T15:13:44.655Z] "version": "64.3.0"
[taskcluster 2025-09-08T15:13:44.655Z] },
[taskcluster 2025-09-08T15:13:44.655Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-gui-googlecompute-2024-08-22t22-48-09z",
[taskcluster 2025-09-08T15:13:44.655Z] "instance-id": "6547002051746024697",
[taskcluster 2025-09-08T15:13:44.655Z] "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2025-09-08T15:13:44.655Z] "local-ipv4": "10.138.3.251",
[taskcluster 2025-09-08T15:13:44.655Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2025-09-08T15:13:44.655Z] "public-hostname": "code-analysis-1-linux-gw-gcp-vno-4y-yq3c3fvq4p0pzla.c.fxci-production-level1-workers.internal",
[taskcluster 2025-09-08T15:13:44.655Z] "public-ipv4": "34.19.110.255",
[taskcluster 2025-09-08T15:13:44.655Z] "region": "us-west1",
[taskcluster 2025-09-08T15:13:44.655Z] "zone": "us-west1-a"
[taskcluster 2025-09-08T15:13:44.655Z] }
[taskcluster 2025-09-08T15:13:44.655Z] Task ID: Z10MqF_GT1-zOQZ8I-RS_w
[taskcluster 2025-09-08T15:13:44.655Z] === Task Starting ===
[taskcluster:warn 2025-09-08T15:13:44.659Z] This task was designed to run under Docker Worker. Docker Worker is no longer maintained.
[taskcluster:warn 2025-09-08T15:13:44.659Z] In order to execute this task, it is being converted to a Generic Worker task, using the D2G
[taskcluster:warn 2025-09-08T15:13:44.659Z] utility (Docker Worker 2 Generic Worker):
[taskcluster:warn 2025-09-08T15:13:44.659Z] https://github.com/taskcluster/taskcluster/tree/main/clients/client-shell#translating-docker-worker-task-definitionpayload-to-generic-worker-task-definitionpayload
[taskcluster:warn 2025-09-08T15:13:44.659Z]
[taskcluster:warn 2025-09-08T15:13:44.659Z] We recommend that you convert all your Docker Worker tasks to Generic Worker tasks, to ensure
[taskcluster:warn 2025-09-08T15:13:44.659Z] continued support. For this task, see the converted payload below. If you have many tasks that
[taskcluster:warn 2025-09-08T15:13:44.659Z] require conversion, consider using the d2g tool (above) directly. It simply takes a Docker
[taskcluster:warn 2025-09-08T15:13:44.659Z] Worker task payload as input, and outputs a Generic Worker task payload. It can also convert
[taskcluster:warn 2025-09-08T15:13:44.659Z] Docker Worker scopes to equivalent Generic Worker scopes.
[taskcluster:warn 2025-09-08T15:13:44.659Z]
[taskcluster:warn 2025-09-08T15:13:44.659Z] Converted task definition (conversion performed by d2g):
[taskcluster:warn 2025-09-08T15:13:44.659Z] ---
[taskcluster:warn 2025-09-08T15:13:44.659Z] created: "2025-09-08T15:10:48.993Z"
[taskcluster:warn 2025-09-08T15:13:44.659Z] deadline: "2025-09-08T16:10:48.993Z"
[taskcluster:warn 2025-09-08T15:13:44.659Z] dependencies: []
[taskcluster:warn 2025-09-08T15:13:44.659Z] expires: "2026-09-08T16:10:48.993Z"
[taskcluster:warn 2025-09-08T15:13:44.659Z] extra: {}
[taskcluster:warn 2025-09-08T15:13:44.659Z] metadata:
[taskcluster:warn 2025-09-08T15:13:44.659Z] description: Check code style with pre-commit hooks
[taskcluster:warn 2025-09-08T15:13:44.659Z] name: 'Code Coverage checks: linting'
[taskcluster:warn 2025-09-08T15:13:44.659Z] owner: bastien@mozilla.com
[taskcluster:warn 2025-09-08T15:13:44.659Z] source: https://github.com/mozilla/code-coverage
[taskcluster:warn 2025-09-08T15:13:44.659Z] payload:
[taskcluster:warn 2025-09-08T15:13:44.659Z] command:
[taskcluster:warn 2025-09-08T15:13:44.659Z] - - bash
[taskcluster:warn 2025-09-08T15:13:44.659Z] - -cx
[taskcluster:warn 2025-09-08T15:13:44.659Z] - podman run -t --rm --privileged -e RUN_ID -e TASKCLUSTER_ROOT_URL -e TASKCLUSTER_WORKER_LOCATION
[taskcluster:warn 2025-09-08T15:13:44.659Z] -e TASK_ID 'python:3.12' sh -lxce 'git clone --quiet https://github.com/mozilla/code-coverage
[taskcluster:warn 2025-09-08T15:13:44.659Z] /src && cd /src && git checkout 7013416fee4291347af14dcf67eb5ea41ba0c2bd -b
[taskcluster:warn 2025-09-08T15:13:44.659Z] checks && cd /src/bot && pip install --disable-pip-version-check --no-cache-dir
[taskcluster:warn 2025-09-08T15:13:44.659Z] --quiet -r requirements-dev.txt && cd /src/backend && pip install --disable-pip-version-check
[taskcluster:warn 2025-09-08T15:13:44.659Z] --no-cache-dir --quiet -r requirements-dev.txt && cd /src && pre-commit run
[taskcluster:warn 2025-09-08T15:13:44.659Z] -a --show-diff-on-failure'
[taskcluster:warn 2025-09-08T15:13:44.659Z] features:
[taskcluster:warn 2025-09-08T15:13:44.659Z] backingLog: true
[taskcluster:warn 2025-09-08T15:13:44.659Z] liveLog: true
[taskcluster:warn 2025-09-08T15:13:44.659Z] logs:
[taskcluster:warn 2025-09-08T15:13:44.659Z] backing: public/logs/live_backing.log
[taskcluster:warn 2025-09-08T15:13:44.659Z] live: public/logs/live.log
[taskcluster:warn 2025-09-08T15:13:44.659Z] maxRunTime: 3600
[taskcluster:warn 2025-09-08T15:13:44.659Z] onExitStatus:
[taskcluster:warn 2025-09-08T15:13:44.659Z] retry:
[taskcluster:warn 2025-09-08T15:13:44.659Z] - 125
[taskcluster:warn 2025-09-08T15:13:44.659Z] - 128
[taskcluster:warn 2025-09-08T15:13:44.659Z] priority: lowest
[taskcluster:warn 2025-09-08T15:13:44.659Z] projectId: none
[taskcluster:warn 2025-09-08T15:13:44.659Z] provisionerId: code-analysis-1
[taskcluster:warn 2025-09-08T15:13:44.659Z] requires: all-completed
[taskcluster:warn 2025-09-08T15:13:44.659Z] retries: 5
[taskcluster:warn 2025-09-08T15:13:44.659Z] routes:
[taskcluster:warn 2025-09-08T15:13:44.659Z] - checks
[taskcluster:warn 2025-09-08T15:13:44.659Z] schedulerId: taskcluster-github
[taskcluster:warn 2025-09-08T15:13:44.659Z] scopes: []
[taskcluster:warn 2025-09-08T15:13:44.659Z] tags: {}
[taskcluster:warn 2025-09-08T15:13:44.659Z] taskGroupId: TuHWanFLSmayL08H5S2gpA
[taskcluster:warn 2025-09-08T15:13:44.659Z] taskQueueId: code-analysis-1/linux-gw-gcp
[taskcluster:warn 2025-09-08T15:13:44.659Z] workerType: linux-gw-gcp
[taskcluster:warn 2025-09-08T15:13:44.659Z]
[taskcluster 2025-09-08T15:13:45.209Z] Uploading redirect artifact public/logs/live.log to URL https://firefoxci-websocktunnel.services.mozilla.com/us-west1-a.6547002051746024697.60099/log/OgrSGmmxTnSTkoRwbk_qSQ with mime type "text/plain; charset=utf-8" and expiry 2025-09-08T16:28:45.183Z
[taskcluster 2025-09-08T15:13:45.230Z] 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 7013416fee4291347af14dcf67eb5ea41ba0c2bd -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 7013416fee4291347af14dcf67eb5ea41ba0c2bd -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:a7e5551156e8c33e1aa2d52a6c24c5e3de13061e7d34bd530afa26e7544f8c38
Copying blob sha256:36e4db86de6eba33869491caa7946b80dd71c255f1940e96a9f755cc2b1f3829
Copying blob sha256:80b7316254b3093eb3c7ac44bb6c34bde013f27947c1ed8d8afe456b957ebfdb
Copying blob sha256:3cb1455cf185ce395d378e9a520710caec9909f11d6f9c69d28d3f73c50f2d23
Copying blob sha256:d6860c23e7a14920ca4ba8be771631e79f075fe0435d14b1a7d8c7446c8399ab
Copying blob sha256:8ea45766c6449310ca2fc621a7e00bedb4b9b803a7fbfe2607efce6d2e07e435
Copying blob sha256:8ea45766c6449310ca2fc621a7e00bedb4b9b803a7fbfe2607efce6d2e07e435
Copying blob sha256:80b7316254b3093eb3c7ac44bb6c34bde013f27947c1ed8d8afe456b957ebfdb
Copying blob sha256:d6860c23e7a14920ca4ba8be771631e79f075fe0435d14b1a7d8c7446c8399ab
Copying blob sha256:3cb1455cf185ce395d378e9a520710caec9909f11d6f9c69d28d3f73c50f2d23
Copying blob sha256:36e4db86de6eba33869491caa7946b80dd71c255f1940e96a9f755cc2b1f3829
Copying blob sha256:a7e5551156e8c33e1aa2d52a6c24c5e3de13061e7d34bd530afa26e7544f8c38
Copying blob sha256:50a889d5be7bf6ebb3a632571e50c63ba41c0509fc67ad161adfe14e71d38561
Copying blob sha256:50a889d5be7bf6ebb3a632571e50c63ba41c0509fc67ad161adfe14e71d38561
Copying config sha256:5370134259298ef7ebb22d997ac9319bc339a8b318dbe717db8c936a3646e982
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 7013416fee4291347af14dcf67eb5ea41ba0c2bd -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-09-08T15:15:19.770Z] Exit Code: 0
[taskcluster 2025-09-08T15:15:19.770Z] User Time: 24.949438s
[taskcluster 2025-09-08T15:15:19.770Z] Kernel Time: 5.132483s
[taskcluster 2025-09-08T15:15:19.770Z] Wall Time: 1m34.539746884s
[taskcluster 2025-09-08T15:15:19.770Z] Result: SUCCEEDED
[taskcluster 2025-09-08T15:15:19.770Z] === Task Finished ===
[taskcluster 2025-09-08T15:15:19.770Z] Task Duration: 1m34.5402236s
[taskcluster 2025-09-08T15:15:19.802Z] Uploading link artifact public/logs/live.log to artifact public/logs/live_backing.log with expiry 2026-09-08T16:10:48.993Z
Loading