refactor: switch from black to ruff-format #3718
Draft
firefoxci-taskcluster / test-lint-agent
succeeded
Mar 16, 2026 in 2m 32s
FirefoxCI (pull_request)
balrog agent lints
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-03-16T20:42:45.404Z
Resolved: 2026-03-16T20:43:23.066Z
Task Execution Time: 37 seconds, 662 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: WIjEG2g7R7asrGA6B_p3og
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2026-03-16T20:42:45.476Z] Worker Type (releng-t/linux-docker) settings:
[taskcluster 2026-03-16T20:42:45.476Z] {
[taskcluster 2026-03-16T20:42:45.476Z] "generic-worker": {
[taskcluster 2026-03-16T20:42:45.476Z] "config": {
[taskcluster 2026-03-16T20:42:45.476Z] "headlessTasks": true
[taskcluster 2026-03-16T20:42:45.476Z] },
[taskcluster 2026-03-16T20:42:45.476Z] "engine": "multiuser",
[taskcluster 2026-03-16T20:42:45.476Z] "go-arch": "amd64",
[taskcluster 2026-03-16T20:42:45.476Z] "go-os": "linux",
[taskcluster 2026-03-16T20:42:45.476Z] "go-version": "go1.26.0",
[taskcluster 2026-03-16T20:42:45.476Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v97.0.1",
[taskcluster 2026-03-16T20:42:45.476Z] "revision": "6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-03-16T20:42:45.476Z] "source": "https://github.com/taskcluster/taskcluster/commits/6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-03-16T20:42:45.476Z] "version": "97.0.1"
[taskcluster 2026-03-16T20:42:45.476Z] },
[taskcluster 2026-03-16T20:42:45.476Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-03-05",
[taskcluster 2026-03-16T20:42:45.476Z] "instance-id": "7649276159554081800",
[taskcluster 2026-03-16T20:42:45.476Z] "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-03-16T20:42:45.476Z] "local-ipv4": "10.128.0.82",
[taskcluster 2026-03-16T20:42:45.476Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2026-03-16T20:42:45.476Z] "public-hostname": "releng-t-linux-docker-btmvbwgqscyxchaoxmwwnw.c.fxci-production-level1-workers.internal",
[taskcluster 2026-03-16T20:42:45.476Z] "public-ipv4": "34.59.176.107",
[taskcluster 2026-03-16T20:42:45.476Z] "region": "us-central1",
[taskcluster 2026-03-16T20:42:45.476Z] "zone": "us-central1-a"
[taskcluster 2026-03-16T20:42:45.476Z] }
[taskcluster 2026-03-16T20:42:45.476Z] Task ID: WIjEG2g7R7asrGA6B_p3og
[taskcluster 2026-03-16T20:42:45.477Z] === Task Starting ===
[taskcluster 2026-03-16T20:42:47.230Z] [mounts] No existing writable directory cache 'releng-level-1-checkouts-v3-cbbaf5380474618f5c43-TD-6ok12TIKsK9aYZN4Tsg' - creating /home/generic-worker/caches/FJydY16cQaKGhnwRHZ6dpQ
[taskcluster 2026-03-16T20:42:47.230Z] [mounts] Creating directory /home/task_177369376431439/cache0
[taskcluster 2026-03-16T20:42:47.240Z] [mounts] Successfully mounted writable directory cache '/home/task_177369376431439/cache0'
[taskcluster 2026-03-16T20:42:47.240Z] [mounts] Downloading task TD-6ok12TIKsK9aYZN4Tsg artifact public/image.tar.zst to /home/generic-worker/downloads/UGo1xkP_R32a0VFGn85fyQ
[taskcluster 2026-03-16T20:42:54.103Z] [mounts] Downloaded 306132492 bytes with SHA256 ac8c6c34320e94796771a74833cb3976f3e9d1e658728c6c6bbd5ad47267c55d from task TD-6ok12TIKsK9aYZN4Tsg artifact public/image.tar.zst to /home/generic-worker/downloads/UGo1xkP_R32a0VFGn85fyQ
[taskcluster:warn 2026-03-16T20:42:54.103Z] [mounts] Download /home/generic-worker/downloads/UGo1xkP_R32a0VFGn85fyQ of task TD-6ok12TIKsK9aYZN4Tsg artifact public/image.tar.zst has SHA256 ac8c6c34320e94796771a74833cb3976f3e9d1e658728c6c6bbd5ad47267c55d but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2026-03-16T20:42:54.103Z] [mounts] File mount "dockerimage" handled by registered handler (cache: /home/generic-worker/downloads/UGo1xkP_R32a0VFGn85fyQ, SHA256: ac8c6c34320e94796771a74833cb3976f3e9d1e658728c6c6bbd5ad47267c55d)
[taskcluster 2026-03-16T20:42:54.104Z] [d2g] Loading docker image
[taskcluster 2026-03-16T20:43:09.511Z] [d2g] Loaded docker image "python3.13:latest"
[taskcluster 2026-03-16T20:43:09.511Z] Executing command 0: docker run -t --name taskcontainer_YEcpkkylQA-pnMXQpJfPfA --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' -v /home/task_177369376431439/cache0:/builds/worker/checkouts --add-host=taskcluster:host-gateway --env-file 'env.list' 9c2d9c390d7b42d0416e57b28e4301b1786dfec2492bae3cc018a3229503023a /usr/local/bin/run-task --balrog-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs/agent -- uv run tox
[setup 2026-03-16T20:43:12.232+00:00] run-task started in /
[setup 2026-03-16T20:43:12.232+00:00] Invoked by command: --balrog-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs/agent -- uv run tox
[setup 2026-03-16T20:43:12.232+00:00] Python version: 3.13.11
[setup 2026-03-16T20:43:12.232+00:00] Subprocess python version:
cpython-3.13.11-linux-x86_64-gnu /usr/local/bin/python3.13
cpython-3.13.11-linux-x86_64-gnu /usr/local/bin/python3 -> python3.13
cpython-3.13.11-linux-x86_64-gnu /usr/local/bin/python -> python3
cpython-3.11.2-linux-x86_64-gnu /usr/bin/python3.11
cpython-3.11.2-linux-x86_64-gnu /usr/bin/python3 -> python3.11
[cache 2026-03-16T20:43:12.512+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-03-16T20:43:12.512+00:00] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2026-03-16T20:43:12.512+00:00] volume /builds/worker/checkouts is a cache
[setup 2026-03-16T20:43:12.512+00:00] running as worker:worker
[vcs 2026-03-16T20:43:12.512+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-03-16T20:43:12.515+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/balrog', '/builds/worker/checkouts/vcs']
[vcs 2026-03-16T20:43:12.516+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-03-16T20:43:16.004+00:00] executing ['git', 'fetch', 'https://github.com/ahal/balrog', 'ahal/push-zmlxunxllrrs']
[vcs 2026-03-16T20:43:16.291+00:00] From https://github.com/ahal/balrog
[vcs 2026-03-16T20:43:16.291+00:00] * branch ahal/push-zmlxunxllrrs -> FETCH_HEAD
[vcs 2026-03-16T20:43:16.293+00:00] executing ['git', 'checkout', '-f', '-B', 'ahal/push-zmlxunxllrrs', '710c78287dacbeb133991685f4ad9ac4dfc6860f']
[vcs 2026-03-16T20:43:16.317+00:00] Switched to a new branch 'ahal/push-zmlxunxllrrs'
[vcs 2026-03-16T20:43:16.318+00:00] cleaning git checkout...
[vcs 2026-03-16T20:43:16.318+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-03-16T20:43:16.325+00:00] removing []
[vcs 2026-03-16T20:43:16.325+00:00] successfully cleaned git checkout!
[vcs 2026-03-16T20:43:16.327+00:00] TinderboxPrint:<a href='https://github.com/ahal/balrog/commit/710c78287dacbeb133991685f4ad9ac4dfc6860f' title='Built from balrog commit 710c78287dacbeb133991685f4ad9ac4dfc6860f'>710c78287dacbeb133991685f4ad9ac4dfc6860f</a>
[task 2026-03-16T20:43:16.327+00:00] executing ['uv', 'run', 'tox']
[task 2026-03-16T20:43:16.418+00:00] Using CPython 3.13.11 interpreter at: /usr/local/bin/python3
[task 2026-03-16T20:43:16.418+00:00] Creating virtual environment at: /builds/worker/checkouts/vcs/.venv
[task 2026-03-16T20:43:16.435+00:00] Building balrogagent @ file:///builds/worker/checkouts/vcs/agent
[task 2026-03-16T20:43:16.504+00:00] Downloading virtualenv (5.6MiB)
[task 2026-03-16T20:43:16.505+00:00] Downloading ruff (10.8MiB)
[task 2026-03-16T20:43:16.507+00:00] Downloading uv (22.4MiB)
[task 2026-03-16T20:43:16.507+00:00] Downloading pygments (1.2MiB)
[task 2026-03-16T20:43:16.508+00:00] Downloading aiohttp (1.7MiB)
[task 2026-03-16T20:43:17.046+00:00] Downloaded virtualenv
[task 2026-03-16T20:43:17.078+00:00] Downloaded aiohttp
[task 2026-03-16T20:43:17.152+00:00] Downloaded ruff
[task 2026-03-16T20:43:17.156+00:00] Downloaded pygments
[task 2026-03-16T20:43:17.291+00:00] Downloaded uv
[task 2026-03-16T20:43:17.637+00:00] Built balrogagent @ file:///builds/worker/checkouts/vcs/agent
[task 2026-03-16T20:43:17.638+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2026-03-16T20:43:17.639+00:00] If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2026-03-16T20:43:17.639+00:00] If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2026-03-16T20:43:17.692+00:00] Installed 42 packages in 54ms
[task 2026-03-16T20:43:18.443+00:00] check: venv> /builds/worker/checkouts/vcs/.venv/bin/uv venv -p /builds/worker/checkouts/vcs/.venv/bin/python --allow-existing '--prompt=agent[check]' --python-preference system /builds/worker/checkouts/vcs/agent/.tox/check
[task 2026-03-16T20:43:18.545+00:00] check: uv-sync> /builds/worker/checkouts/vcs/.venv/bin/uv sync --locked --python-preference system -p /builds/worker/checkouts/vcs/.venv/bin/python
[task 2026-03-16T20:43:20.065+00:00] check: commands[0]> ruff format --diff /builds/worker/checkouts/vcs/agent
[task 2026-03-16T20:43:20.077+00:00] 10 files already formatted
[task 2026-03-16T20:43:20.079+00:00] check: commands[1]> isort --check --diff /builds/worker/checkouts/vcs/agent
[task 2026-03-16T20:43:20.350+00:00] Skipped 1 files
[task 2026-03-16T20:43:20.366+00:00] check: commands[2]> flake8 /builds/worker/checkouts/vcs/agent
[task 2026-03-16T20:43:20.892+00:00] check: OK (2.45=setup[1.63]+cmd[0.01,0.29,0.53] seconds)
[task 2026-03-16T20:43:20.892+00:00] congratulations :) (2.51 seconds)
[taskcluster 2026-03-16T20:43:22.432Z] Exit Code: 0
[taskcluster 2026-03-16T20:43:22.432Z] User Time: 18.328ms
[taskcluster 2026-03-16T20:43:22.432Z] Kernel Time: 7.546ms
[taskcluster 2026-03-16T20:43:22.432Z] Wall Time: 12.920438752s
[taskcluster 2026-03-16T20:43:22.432Z] Average Available System Memory: 14.10 GiB
[taskcluster 2026-03-16T20:43:22.432Z] Average System Memory Used: 1.51 GiB
[taskcluster 2026-03-16T20:43:22.432Z] Peak System Memory Used: 1.64 GiB
[taskcluster 2026-03-16T20:43:22.432Z] Total System Memory: 15.61 GiB
[taskcluster 2026-03-16T20:43:22.432Z] Result: SUCCEEDED
[taskcluster 2026-03-16T20:43:22.432Z] === Task Finished ===
[taskcluster 2026-03-16T20:43:22.432Z] Task Duration: 12.921166619s
[taskcluster 2026-03-16T20:43:22.533Z] [mounts] Preserving cache: Moving "/home/task_177369376431439/cache0" to "/home/generic-worker/caches/FJydY16cQaKGhnwRHZ6dpQ"
Loading