client: fix warnings in tests#1498
Draft
jcristau wants to merge 1 commit into
Draft
firefoxci-taskcluster / tox-api-check-py314
succeeded
Mar 5, 2026 in 2m 27s
FirefoxCI (pull_request)
test the tooltool api
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-03-05T13:02:07.990Z
Resolved: 2026-03-05T13:02:59.579Z
Task Execution Time: 51 seconds, 589 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: bwrWQEGZQFmOHuqiTyxnCg
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2026-03-05T13:02:08.045Z] Worker Type (releng-t/linux-docker) settings:
[taskcluster 2026-03-05T13:02:08.045Z] {
[taskcluster 2026-03-05T13:02:08.045Z] "config": {
[taskcluster 2026-03-05T13:02:08.045Z] "deploymentId": ""
[taskcluster 2026-03-05T13:02:08.045Z] },
[taskcluster 2026-03-05T13:02:08.045Z] "generic-worker": {
[taskcluster 2026-03-05T13:02:08.045Z] "config": {
[taskcluster 2026-03-05T13:02:08.045Z] "headlessTasks": true
[taskcluster 2026-03-05T13:02:08.045Z] },
[taskcluster 2026-03-05T13:02:08.045Z] "engine": "multiuser",
[taskcluster 2026-03-05T13:02:08.045Z] "go-arch": "amd64",
[taskcluster 2026-03-05T13:02:08.045Z] "go-os": "linux",
[taskcluster 2026-03-05T13:02:08.045Z] "go-version": "go1.25.5",
[taskcluster 2026-03-05T13:02:08.045Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v95.1.3",
[taskcluster 2026-03-05T13:02:08.045Z] "revision": "300ac23a15bb11e577f3a3d116a570fde948337e",
[taskcluster 2026-03-05T13:02:08.045Z] "source": "https://github.com/taskcluster/taskcluster/commits/300ac23a15bb11e577f3a3d116a570fde948337e",
[taskcluster 2026-03-05T13:02:08.045Z] "version": "95.1.3"
[taskcluster 2026-03-05T13:02:08.045Z] },
[taskcluster 2026-03-05T13:02:08.045Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-01-14",
[taskcluster 2026-03-05T13:02:08.045Z] "instance-id": "3185309566971986069",
[taskcluster 2026-03-05T13:02:08.045Z] "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-03-05T13:02:08.045Z] "local-ipv4": "10.128.0.2",
[taskcluster 2026-03-05T13:02:08.045Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2026-03-05T13:02:08.045Z] "public-hostname": "releng-t-linux-docker-ontfxr9gquusefvmrp2qew.c.fxci-production-level1-workers.internal",
[taskcluster 2026-03-05T13:02:08.045Z] "public-ipv4": "35.223.109.79",
[taskcluster 2026-03-05T13:02:08.045Z] "region": "us-central1",
[taskcluster 2026-03-05T13:02:08.045Z] "zone": "us-central1-a"
[taskcluster 2026-03-05T13:02:08.045Z] }
[taskcluster 2026-03-05T13:02:08.045Z] Task ID: bwrWQEGZQFmOHuqiTyxnCg
[taskcluster 2026-03-05T13:02:08.045Z] === Task Starting ===
[taskcluster 2026-03-05T13:02:09.519Z] [mounts] No existing writable directory cache 'releng-level-1-checkouts-v3-cbbaf5380474618f5c43-R_S82BvCTdWprpTnKXkyjA' - creating /home/generic-worker/caches/BuTBpgMVT3qVyb_vC2Nxpw
[taskcluster 2026-03-05T13:02:09.520Z] [mounts] Creating directory /home/task_177271572738091/cache0
[taskcluster 2026-03-05T13:02:09.530Z] [mounts] Successfully mounted writable directory cache '/home/task_177271572738091/cache0'
[taskcluster 2026-03-05T13:02:09.530Z] [mounts] Downloading task R_S82BvCTdWprpTnKXkyjA artifact public/image.tar.zst to /home/generic-worker/downloads/EnQbTCLoQemLirXc2bFcnw
[taskcluster 2026-03-05T13:02:15.849Z] [mounts] Downloaded 448217018 bytes with SHA256 3e6422bb80c704317b6f64dab600b7421de20b47547a3e257039063b7d5a7fb0 from task R_S82BvCTdWprpTnKXkyjA artifact public/image.tar.zst to /home/generic-worker/downloads/EnQbTCLoQemLirXc2bFcnw
[taskcluster:warn 2026-03-05T13:02:15.849Z] [mounts] Download /home/generic-worker/downloads/EnQbTCLoQemLirXc2bFcnw of task R_S82BvCTdWprpTnKXkyjA artifact public/image.tar.zst has SHA256 3e6422bb80c704317b6f64dab600b7421de20b47547a3e257039063b7d5a7fb0 but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2026-03-05T13:02:15.849Z] [mounts] Creating directory /home/task_177271572738091
[taskcluster 2026-03-05T13:02:15.869Z] [mounts] Copying /home/generic-worker/downloads/EnQbTCLoQemLirXc2bFcnw to /home/task_177271572738091/dockerimage
[taskcluster 2026-03-05T13:02:17.410Z] [mounts] Granting task_177271572738091 full control of file '/home/task_177271572738091/dockerimage'
[taskcluster 2026-03-05T13:02:18.512Z] [d2g] Loading docker image
[taskcluster 2026-03-05T13:02:36.748Z] [d2g] Loaded docker image "api-tox-py314:latest"
[taskcluster 2026-03-05T13:02:36.748Z] Executing command 0: docker run -t --name taskcontainer_ej9C5EwcSlC-jDSNPM80_A --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' -v /home/task_177271572738091/cache0:/builds/worker/checkouts --add-host=taskcluster:host-gateway --env-file 'env.list' df97af871a5d1805b137d9d94b95f05fdf7a4b5161d3f6fba3936d040b6dd266 /usr/local/bin/run-task --tooltool-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx 'set +x && export CODECOV_TOKEN=$(wget -qO- $SECRET_URL | jq -r '\''.["secret"]["codecov"]["token"]'\'') && set -x && tox -e tooltool_api-check'
[setup 2026-03-05T13:02:39.865+00:00] run-task started in /
[setup 2026-03-05T13:02:39.866+00:00] Invoked by command: --tooltool-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- bash -cx set +x && export CODECOV_TOKEN=$(wget -qO- $SECRET_URL | jq -r '.["secret"]["codecov"]["token"]') && set -x && tox -e tooltool_api-check
[setup 2026-03-05T13:02:39.866+00:00] Python version: 3.14.3
[setup 2026-03-05T13:02:39.866+00:00] Subprocess python version:
cpython-3.14.3-linux-x86_64-gnu /usr/local/bin/python3.14
cpython-3.14.3-linux-x86_64-gnu /usr/local/bin/python3 -> python3.14
cpython-3.14.3-linux-x86_64-gnu /usr/local/bin/python -> python3
cpython-3.13.5-linux-x86_64-gnu /usr/bin/python3.13
cpython-3.13.5-linux-x86_64-gnu /usr/bin/python3 -> python3.13
[cache 2026-03-05T13:02:40.172+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-03-05T13:02:40.172+00:00] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2026-03-05T13:02:40.172+00:00] volume /builds/worker/checkouts is a cache
[setup 2026-03-05T13:02:40.172+00:00] running as worker:worker
[vcs 2026-03-05T13:02:40.172+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-03-05T13:02:40.175+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/tooltool', '/builds/worker/checkouts/vcs']
[vcs 2026-03-05T13:02:40.177+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-03-05T13:02:40.783+00:00] executing ['git', 'fetch', 'https://github.com/jcristau/tooltool', 'no-more-warnings']
[vcs 2026-03-05T13:02:41.037+00:00] From https://github.com/jcristau/tooltool
[vcs 2026-03-05T13:02:41.037+00:00] * branch no-more-warnings -> FETCH_HEAD
[vcs 2026-03-05T13:02:41.039+00:00] executing ['git', 'checkout', '-f', '-B', 'no-more-warnings', '8866390ccaa68f29b867bb105d3b07e8c405e8f4']
[vcs 2026-03-05T13:02:41.053+00:00] Switched to a new branch 'no-more-warnings'
[vcs 2026-03-05T13:02:41.054+00:00] cleaning git checkout...
[vcs 2026-03-05T13:02:41.054+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-03-05T13:02:41.056+00:00] removing []
[vcs 2026-03-05T13:02:41.056+00:00] successfully cleaned git checkout!
[vcs 2026-03-05T13:02:41.057+00:00] TinderboxPrint:<a href='https://github.com/jcristau/tooltool/commit/8866390ccaa68f29b867bb105d3b07e8c405e8f4' title='Built from tooltool commit 8866390ccaa68f29b867bb105d3b07e8c405e8f4'>8866390ccaa68f29b867bb105d3b07e8c405e8f4</a>
[task 2026-03-05T13:02:41.058+00:00] executing ['bash', '-cx', 'set +x && export CODECOV_TOKEN=$(wget -qO- $SECRET_URL | jq -r \'.["secret"]["codecov"]["token"]\') && set -x && tox -e tooltool_api-check']
[task 2026-03-05T13:02:41.059+00:00] + set +x
[task 2026-03-05T13:02:41.312+00:00] + tox -e tooltool_api-check
[task 2026-03-05T13:02:41.674+00:00] tooltool_api-check: venv> /usr/local/bin/uv venv -p /usr/local/bin/python3.14 --allow-existing --python-preference system /builds/worker/checkouts/vcs/.tox/tooltool_api-check
[task 2026-03-05T13:02:41.773+00:00] tooltool_api-check: install_deps> /usr/local/bin/uv pip install tox tox-uv
[task 2026-03-05T13:02:42.403+00:00] tooltool_api-check: commands[0] /builds/worker/checkouts/vcs/api> tox -e check
[task 2026-03-05T13:02:43.055+00:00] check: venv> /builds/worker/checkouts/vcs/.tox/tooltool_api-check/bin/uv venv -p /builds/worker/checkouts/vcs/.tox/tooltool_api-check/bin/python3 --allow-existing '--prompt=api[check]' --python-preference system /builds/worker/checkouts/vcs/.tox/check
[task 2026-03-05T13:02:43.100+00:00] check: uv-sync> /builds/worker/checkouts/vcs/.tox/tooltool_api-check/bin/uv sync --locked --python-preference system -p /builds/worker/checkouts/vcs/.tox/tooltool_api-check/bin/python3
[task 2026-03-05T13:02:53.149+00:00] check: commands[0]> black --diff --check /builds/worker/checkouts/vcs/api
[task 2026-03-05T13:02:54.230+00:00] All done! ✨ 🍰 ✨
[task 2026-03-05T13:02:54.230+00:00] 28 files would be left unchanged.
[task 2026-03-05T13:02:54.304+00:00] check: commands[1]> isort --check --diff /builds/worker/checkouts/vcs/api
[task 2026-03-05T13:02:54.518+00:00] check: commands[2]> flake8 /builds/worker/checkouts/vcs/api
[task 2026-03-05T13:02:56.025+00:00] check: commands[3]> mypy /builds/worker/checkouts/vcs/api
[task 2026-03-05T13:02:58.137+00:00] Success: no issues found in 28 source files
[task 2026-03-05T13:02:58.144+00:00] check: OK (15.09=setup[10.10]+cmd[1.15,0.21,1.51,2.12] seconds)
[task 2026-03-05T13:02:58.144+00:00] congratulations :) (15.15 seconds)
[task 2026-03-05T13:02:58.196+00:00] tooltool_api-check: OK (16.52=setup[0.73]+cmd[15.79] seconds)
[task 2026-03-05T13:02:58.196+00:00] congratulations :) (16.56 seconds)
[taskcluster 2026-03-05T13:02:59.025Z] Exit Code: 0
[taskcluster 2026-03-05T13:02:59.025Z] User Time: 18.901ms
[taskcluster 2026-03-05T13:02:59.025Z] Kernel Time: 7.782ms
[taskcluster 2026-03-05T13:02:59.025Z] Wall Time: 22.277080042s
[taskcluster 2026-03-05T13:02:59.025Z] Average Available System Memory: 14.78 GiB
[taskcluster 2026-03-05T13:02:59.025Z] Average System Memory Used: 858.92 MiB
[taskcluster 2026-03-05T13:02:59.025Z] Peak System Memory Used: 986.69 MiB
[taskcluster 2026-03-05T13:02:59.025Z] Total System Memory: 15.62 GiB
[taskcluster 2026-03-05T13:02:59.025Z] Result: SUCCEEDED
[taskcluster 2026-03-05T13:02:59.026Z] === Task Finished ===
[taskcluster 2026-03-05T13:02:59.026Z] Task Duration: 22.277628639s
[taskcluster 2026-03-05T13:02:59.060Z] [mounts] Preserving cache: Moving "/home/task_177271572738091/cache0" to "/home/generic-worker/caches/BuTBpgMVT3qVyb_vC2Nxpw"
Loading