Skip to content

client: fix warnings in tests#1498

Draft
jcristau wants to merge 1 commit into
mozilla-releng:masterfrom
jcristau:no-more-warnings
Draft

client: fix warnings in tests#1498
jcristau wants to merge 1 commit into
mozilla-releng:masterfrom
jcristau:no-more-warnings

client: fix some warnings when running tests

8866390
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / tox-client-310 succeeded Mar 5, 2026 in 3m 0s

FirefoxCI (pull_request)

test the tooltool client with python310

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2026-03-05T13:03:00.013Z
Resolved: 2026-03-05T13:03:32.630Z
Task Execution Time: 32 seconds, 617 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: DMwGWQATQnu5yl2CMgyOOA
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2026-03-05T13:03:00.076Z] Worker Type (releng-t/linux-docker) settings:
[taskcluster 2026-03-05T13:03:00.076Z]   {
[taskcluster 2026-03-05T13:03:00.076Z]     "config": {
[taskcluster 2026-03-05T13:03:00.076Z]       "deploymentId": ""
[taskcluster 2026-03-05T13:03:00.076Z]     },
[taskcluster 2026-03-05T13:03:00.076Z]     "generic-worker": {
[taskcluster 2026-03-05T13:03:00.076Z]       "config": {
[taskcluster 2026-03-05T13:03:00.076Z]         "headlessTasks": true
[taskcluster 2026-03-05T13:03:00.076Z]       },
[taskcluster 2026-03-05T13:03:00.076Z]       "engine": "multiuser",
[taskcluster 2026-03-05T13:03:00.076Z]       "go-arch": "amd64",
[taskcluster 2026-03-05T13:03:00.076Z]       "go-os": "linux",
[taskcluster 2026-03-05T13:03:00.076Z]       "go-version": "go1.25.5",
[taskcluster 2026-03-05T13:03:00.076Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v95.1.3",
[taskcluster 2026-03-05T13:03:00.076Z]       "revision": "300ac23a15bb11e577f3a3d116a570fde948337e",
[taskcluster 2026-03-05T13:03:00.076Z]       "source": "https://github.com/taskcluster/taskcluster/commits/300ac23a15bb11e577f3a3d116a570fde948337e",
[taskcluster 2026-03-05T13:03:00.076Z]       "version": "95.1.3"
[taskcluster 2026-03-05T13:03:00.076Z]     },
[taskcluster 2026-03-05T13:03:00.076Z]     "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-01-14",
[taskcluster 2026-03-05T13:03:00.076Z]     "instance-id": "3185309566971986069",
[taskcluster 2026-03-05T13:03:00.076Z]     "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-03-05T13:03:00.076Z]     "local-ipv4": "10.128.0.2",
[taskcluster 2026-03-05T13:03:00.076Z]     "project-id": "fxci-production-level1-workers",
[taskcluster 2026-03-05T13:03:00.076Z]     "public-hostname": "releng-t-linux-docker-ontfxr9gquusefvmrp2qew.c.fxci-production-level1-workers.internal",
[taskcluster 2026-03-05T13:03:00.076Z]     "public-ipv4": "35.223.109.79",
[taskcluster 2026-03-05T13:03:00.076Z]     "region": "us-central1",
[taskcluster 2026-03-05T13:03:00.076Z]     "zone": "us-central1-a"
[taskcluster 2026-03-05T13:03:00.076Z]   }
[taskcluster 2026-03-05T13:03:00.076Z] Task ID: DMwGWQATQnu5yl2CMgyOOA
[taskcluster 2026-03-05T13:03:00.076Z] === Task Starting ===
[taskcluster 2026-03-05T13:03:00.741Z] [mounts] No existing writable directory cache 'releng-level-1-checkouts-v3-cbbaf5380474618f5c43-detk9_dVS62DMTSqo_dJfg' - creating /home/generic-worker/caches/E3adZQe1SqqQ5LuQzPWtDg
[taskcluster 2026-03-05T13:03:00.741Z] [mounts] Creating directory /home/task_177271577963482/cache0
[taskcluster 2026-03-05T13:03:00.752Z] [mounts] Successfully mounted writable directory cache '/home/task_177271577963482/cache0'
[taskcluster 2026-03-05T13:03:00.752Z] [mounts] Downloading task detk9_dVS62DMTSqo_dJfg artifact public/image.tar.zst to /home/generic-worker/downloads/S7cHx6XpQLqgjMCCN9FZEA
[taskcluster 2026-03-05T13:03:09.066Z] [mounts] Downloaded 363050931 bytes with SHA256 3f05d98bfb462e4a8c9d564f2b0bc2fd0cc6b66b1f97f337dcc708b2f6e5f1ad from task detk9_dVS62DMTSqo_dJfg artifact public/image.tar.zst to /home/generic-worker/downloads/S7cHx6XpQLqgjMCCN9FZEA
[taskcluster:warn 2026-03-05T13:03:09.066Z] [mounts] Download /home/generic-worker/downloads/S7cHx6XpQLqgjMCCN9FZEA of task detk9_dVS62DMTSqo_dJfg artifact public/image.tar.zst has SHA256 3f05d98bfb462e4a8c9d564f2b0bc2fd0cc6b66b1f97f337dcc708b2f6e5f1ad but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2026-03-05T13:03:09.066Z] [mounts] Creating directory /home/task_177271577963482
[taskcluster 2026-03-05T13:03:09.087Z] [mounts] Copying /home/generic-worker/downloads/S7cHx6XpQLqgjMCCN9FZEA to /home/task_177271577963482/dockerimage
[taskcluster 2026-03-05T13:03:10.064Z] [mounts] Granting task_177271577963482 full control of file '/home/task_177271577963482/dockerimage'
[taskcluster 2026-03-05T13:03:10.962Z] [d2g] Loading docker image
[taskcluster 2026-03-05T13:03:16.219Z] [d2g] Loaded docker image "client-tox-py310:latest"
[taskcluster 2026-03-05T13:03:16.220Z] Executing command 0: docker run -t --name taskcontainer_EuCNdDzZT7CCCDoEOIptRg --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' -v /home/task_177271577963482/cache0:/builds/worker/checkouts --add-host=taskcluster:host-gateway --env-file 'env.list' f238bec801b414164971d63db8ad748ed8848c3894226e5e083b7932ff8ece76 /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_client-py310'
[setup 2026-03-05T13:03:17.773+00:00] run-task started in /
[setup 2026-03-05T13:03:17.773+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_client-py310
[setup 2026-03-05T13:03:17.773+00:00] Python version: 3.10.19
[setup 2026-03-05T13:03:17.773+00:00] Subprocess python version: 
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
cpython-3.10.19-linux-x86_64-gnu    /usr/local/bin/python3.10
cpython-3.10.19-linux-x86_64-gnu    /usr/local/bin/python3 -> python3.10
cpython-3.10.19-linux-x86_64-gnu    /usr/local/bin/python -> python3
[cache 2026-03-05T13:03:18.138+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-03-05T13:03:18.138+00:00] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2026-03-05T13:03:18.138+00:00] volume /builds/worker/checkouts is a cache
[setup 2026-03-05T13:03:18.138+00:00] running as worker:worker
[vcs 2026-03-05T13:03:18.139+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-03-05T13:03:18.142+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/tooltool', '/builds/worker/checkouts/vcs']
[vcs 2026-03-05T13:03:18.143+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-03-05T13:03:18.674+00:00] executing ['git', 'fetch', 'https://github.com/jcristau/tooltool', 'no-more-warnings']
[vcs 2026-03-05T13:03:18.908+00:00] From https://github.com/jcristau/tooltool
[vcs 2026-03-05T13:03:18.908+00:00]  * branch            no-more-warnings -> FETCH_HEAD
[vcs 2026-03-05T13:03:18.910+00:00] executing ['git', 'checkout', '-f', '-B', 'no-more-warnings', '8866390ccaa68f29b867bb105d3b07e8c405e8f4']
[vcs 2026-03-05T13:03:18.925+00:00] Switched to a new branch 'no-more-warnings'
[vcs 2026-03-05T13:03:18.925+00:00] cleaning git checkout...
[vcs 2026-03-05T13:03:18.925+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-03-05T13:03:18.928+00:00] removing []
[vcs 2026-03-05T13:03:18.928+00:00] successfully cleaned git checkout!
[vcs 2026-03-05T13:03:18.929+00:00] TinderboxPrint:<a href='https://github.com/jcristau/tooltool/commit/8866390ccaa68f29b867bb105d3b07e8c405e8f4' title='Built from tooltool commit 8866390ccaa68f29b867bb105d3b07e8c405e8f4'>8866390ccaa68f29b867bb105d3b07e8c405e8f4</a>
[task 2026-03-05T13:03:18.930+00:00] executing ['bash', '-cx', 'set +x && export CODECOV_TOKEN=$(wget -qO- $SECRET_URL | jq -r \'.["secret"]["codecov"]["token"]\') && set -x && tox -e tooltool_client-py310']
[task 2026-03-05T13:03:18.931+00:00] + set +x
[task 2026-03-05T13:03:19.099+00:00] + tox -e tooltool_client-py310
[task 2026-03-05T13:03:19.493+00:00] tooltool_client-py310: venv> /usr/local/bin/uv venv -p /usr/local/bin/python3.10 --allow-existing --python-preference system /builds/worker/checkouts/vcs/.tox/tooltool_client-py310
[task 2026-03-05T13:03:19.616+00:00] tooltool_client-py310: install_deps> /usr/local/bin/uv pip install tox tox-uv
[task 2026-03-05T13:03:20.285+00:00] tooltool_client-py310: commands[0] /builds/worker/checkouts/vcs/client> tox -e py310
[task 2026-03-05T13:03:20.765+00:00] py310: venv> /builds/worker/checkouts/vcs/.tox/tooltool_client-py310/bin/uv venv -p /builds/worker/checkouts/vcs/.tox/tooltool_client-py310/bin/python3 --allow-existing '--prompt=client[py310]' --python-preference system /builds/worker/checkouts/vcs/.tox/py310
[task 2026-03-05T13:03:20.834+00:00] py310: install_deps> /builds/worker/checkouts/vcs/.tox/tooltool_client-py310/bin/uv pip install -r requirements/test.txt
[task 2026-03-05T13:03:21.243+00:00] py310: commands[0]> ./validate.sh
[task 2026-03-05T13:03:21.248+00:00] -- running pyflakes --
[task 2026-03-05T13:03:21.405+00:00] -- running tests (under coverage) --
[task 2026-03-05T13:03:22.362+00:00] ============================= test session starts ==============================
[task 2026-03-05T13:03:22.362+00:00] platform linux -- Python 3.10.19, pytest-8.3.5, pluggy-1.5.0
[task 2026-03-05T13:03:22.362+00:00] cachedir: /builds/worker/checkouts/vcs/.tox/py310/.pytest_cache
[task 2026-03-05T13:03:22.362+00:00] rootdir: /builds/worker/checkouts/vcs/client
[task 2026-03-05T13:03:22.362+00:00] collected 153 items
[task 2026-03-05T13:03:22.362+00:00] 
[task 2026-03-05T13:03:22.458+00:00] test_tooltool.py ....................................................... [ 35%]
[task 2026-03-05T13:03:29.473+00:00] ........................................................................ [ 83%]
[task 2026-03-05T13:03:29.534+00:00] ..........................                                               [100%]
[task 2026-03-05T13:03:29.534+00:00] 
[task 2026-03-05T13:03:29.534+00:00] ============================= 153 passed in 7.38s ==============================
[task 2026-03-05T13:03:29.580+00:00] -- checking coverage --
[task 2026-03-05T13:03:30.068+00:00] Wrote XML report to coverage.xml
[task 2026-03-05T13:03:30.462+00:00] Wrote HTML report to .coverage-html/index.html
[task 2026-03-05T13:03:30.483+00:00] Name          Stmts   Miss  Cover
[task 2026-03-05T13:03:30.483+00:00] ---------------------------------
[task 2026-03-05T13:03:30.484+00:00] TOTAL           844     67    92%
[task 2026-03-05T13:03:30.485+00:00] 
[task 2026-03-05T13:03:30.485+00:00] GOOD!
[task 2026-03-05T13:03:30.486+00:00] py310: commands[1]> sed -i -e 's|filename="|filename="client/|' coverage.xml
[task 2026-03-05T13:03:30.489+00:00]   py310: OK (9.73=setup[0.48]+cmd[9.24,0.00] seconds)
[task 2026-03-05T13:03:30.489+00:00]   congratulations :) (9.80 seconds)
[task 2026-03-05T13:03:30.525+00:00] tooltool_client-py310: commands[1] /builds/worker/checkouts/vcs/client> tox -e codecov
[task 2026-03-05T13:03:30.777+00:00] codecov: venv> /builds/worker/checkouts/vcs/.tox/tooltool_client-py310/bin/uv venv -p /builds/worker/checkouts/vcs/.tox/tooltool_client-py310/bin/python3 --allow-existing '--prompt=client[codecov]' --python-preference system /builds/worker/checkouts/vcs/.tox/codecov
[task 2026-03-05T13:03:30.823+00:00] codecov: install_deps> /builds/worker/checkouts/vcs/.tox/tooltool_client-py310/bin/uv pip install codecov
[task 2026-03-05T13:03:31.176+00:00] codecov: commands[0]> codecov --disable pycov --commit=8866390ccaa68f29b867bb105d3b07e8c405e8f4 --branch= --pr=1498
[task 2026-03-05T13:03:31.830+00:00] 
[task 2026-03-05T13:03:31.830+00:00]       _____          _
[task 2026-03-05T13:03:31.830+00:00]      / ____|        | |
[task 2026-03-05T13:03:31.830+00:00]     | |     ___   __| | ___  ___ _____   __
[task 2026-03-05T13:03:31.830+00:00]     | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
[task 2026-03-05T13:03:31.830+00:00]     | |___| (_) | (_| |  __/ (_| (_) \ V /
[task 2026-03-05T13:03:31.830+00:00]      \_____\___/ \____|\___|\___\___/ \_/
[task 2026-03-05T13:03:31.830+00:00]                                     v2.1.13
[task 2026-03-05T13:03:31.830+00:00] 
[task 2026-03-05T13:03:31.830+00:00] ==> Detecting CI provider
[task 2026-03-05T13:03:31.830+00:00]   -> Got branch from git/hg
[task 2026-03-05T13:03:31.830+00:00]   -> Got sha from git/hg
[task 2026-03-05T13:03:31.830+00:00] ==> Preparing upload
[task 2026-03-05T13:03:31.830+00:00] ==> Processing gcov (disable by -X gcov)
[task 2026-03-05T13:03:31.830+00:00] ==> Collecting reports
[task 2026-03-05T13:03:31.830+00:00]     + /builds/worker/checkouts/vcs/client/coveragerc bytes=535
[task 2026-03-05T13:03:31.830+00:00]     + /builds/worker/checkouts/vcs/client/coverage.xml bytes=31471
[task 2026-03-05T13:03:31.830+00:00] ==> Uploading
[task 2026-03-05T13:03:31.830+00:00]     .url https://codecov.io
[task 2026-03-05T13:03:31.830+00:00]     .query commit=8866390ccaa68f29b867bb105d3b07e8c405e8f4&branch=no-more-warnings&pr=1498&token=<secret>&package=py2.1.13
[task 2026-03-05T13:03:31.830+00:00]     Gzipping contents..
[task 2026-03-05T13:03:31.830+00:00]     Compressed contents to 3489 bytes
[task 2026-03-05T13:03:31.830+00:00]     Pinging Codecov...
[task 2026-03-05T13:03:31.830+00:00]     Uploading to S3...
[task 2026-03-05T13:03:31.830+00:00]     Uploading to S3 took 0:00:00.274254
[task 2026-03-05T13:03:31.830+00:00]     https://app.codecov.io/github/mozilla-releng/tooltool/commit/8866390ccaa68f29b867bb105d3b07e8c405e8f4
[task 2026-03-05T13:03:31.850+00:00]   codecov: OK (1.08=setup[0.40]+cmd[0.67] seconds)
[task 2026-03-05T13:03:31.850+00:00]   congratulations :) (1.13 seconds)
[task 2026-03-05T13:03:31.890+00:00]   tooltool_client-py310: OK (12.40=setup[0.80]+cmd[10.24,1.36] seconds)
[task 2026-03-05T13:03:31.890+00:00]   congratulations :) (12.43 seconds)
[taskcluster 2026-03-05T13:03:32.049Z]                        Exit Code: 0
[taskcluster 2026-03-05T13:03:32.049Z]                        User Time: 10.679ms
[taskcluster 2026-03-05T13:03:32.049Z]                      Kernel Time: 16.019ms
[taskcluster 2026-03-05T13:03:32.049Z]                        Wall Time: 15.82955222s
[taskcluster 2026-03-05T13:03:32.049Z]  Average Available System Memory: 14.82 GiB
[taskcluster 2026-03-05T13:03:32.049Z]       Average System Memory Used: 815.43 MiB
[taskcluster 2026-03-05T13:03:32.049Z]          Peak System Memory Used: 864.98 MiB
[taskcluster 2026-03-05T13:03:32.049Z]              Total System Memory: 15.62 GiB
[taskcluster 2026-03-05T13:03:32.049Z]                           Result: SUCCEEDED
[taskcluster 2026-03-05T13:03:32.050Z] === Task Finished ===
[taskcluster 2026-03-05T13:03:32.050Z] Task Duration: 15.830135949s
[taskcluster 2026-03-05T13:03:32.070Z] [mounts] Preserving cache: Moving "/home/task_177271577963482/cache0" to "/home/generic-worker/caches/E3adZQe1SqqQ5LuQzPWtDg"