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-311 succeeded Mar 5, 2026 in 3m 48s

FirefoxCI (pull_request)

test the tooltool client with python311

Details

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

Task Status

Started: 2026-03-05T13:03:37.409Z
Resolved: 2026-03-05T13:04:20.265Z
Task Execution Time: 42 seconds, 856 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: J6HPGpmdRCWTgAL4OVPAwg
RunId: 0

Artifacts

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


[taskcluster 2026-03-05T13:03:37.483Z] Worker Type (releng-t/linux-docker) settings:
[taskcluster 2026-03-05T13:03:37.483Z]   {
[taskcluster 2026-03-05T13:03:37.483Z]     "config": {
[taskcluster 2026-03-05T13:03:37.483Z]       "deploymentId": ""
[taskcluster 2026-03-05T13:03:37.483Z]     },
[taskcluster 2026-03-05T13:03:37.483Z]     "generic-worker": {
[taskcluster 2026-03-05T13:03:37.483Z]       "config": {
[taskcluster 2026-03-05T13:03:37.483Z]         "headlessTasks": true
[taskcluster 2026-03-05T13:03:37.483Z]       },
[taskcluster 2026-03-05T13:03:37.483Z]       "engine": "multiuser",
[taskcluster 2026-03-05T13:03:37.483Z]       "go-arch": "amd64",
[taskcluster 2026-03-05T13:03:37.483Z]       "go-os": "linux",
[taskcluster 2026-03-05T13:03:37.483Z]       "go-version": "go1.25.5",
[taskcluster 2026-03-05T13:03:37.483Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v95.1.3",
[taskcluster 2026-03-05T13:03:37.483Z]       "revision": "300ac23a15bb11e577f3a3d116a570fde948337e",
[taskcluster 2026-03-05T13:03:37.483Z]       "source": "https://github.com/taskcluster/taskcluster/commits/300ac23a15bb11e577f3a3d116a570fde948337e",
[taskcluster 2026-03-05T13:03:37.483Z]       "version": "95.1.3"
[taskcluster 2026-03-05T13:03:37.483Z]     },
[taskcluster 2026-03-05T13:03:37.483Z]     "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-01-14",
[taskcluster 2026-03-05T13:03:37.483Z]     "instance-id": "5449747373465321529",
[taskcluster 2026-03-05T13:03:37.483Z]     "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-03-05T13:03:37.483Z]     "local-ipv4": "10.128.0.88",
[taskcluster 2026-03-05T13:03:37.483Z]     "project-id": "fxci-production-level1-workers",
[taskcluster 2026-03-05T13:03:37.483Z]     "public-hostname": "releng-t-linux-docker-dmrnl-qyqioxdrcvlst0ia.c.fxci-production-level1-workers.internal",
[taskcluster 2026-03-05T13:03:37.483Z]     "public-ipv4": "34.56.143.168",
[taskcluster 2026-03-05T13:03:37.483Z]     "region": "us-central1",
[taskcluster 2026-03-05T13:03:37.483Z]     "zone": "us-central1-f"
[taskcluster 2026-03-05T13:03:37.483Z]   }
[taskcluster 2026-03-05T13:03:37.483Z] Task ID: J6HPGpmdRCWTgAL4OVPAwg
[taskcluster 2026-03-05T13:03:37.483Z] === Task Starting ===
[taskcluster 2026-03-05T13:03:39.799Z] [mounts] No existing writable directory cache 'releng-level-1-checkouts-v3-cbbaf5380474618f5c43-HFfhx0jaSlGrFhRl9o3VyQ' - creating /home/generic-worker/caches/ZmkOSrFdT5OaRZm0zR37nA
[taskcluster 2026-03-05T13:03:39.799Z] [mounts] Creating directory /home/task_177271581685949/cache0
[taskcluster 2026-03-05T13:03:39.809Z] [mounts] Successfully mounted writable directory cache '/home/task_177271581685949/cache0'
[taskcluster 2026-03-05T13:03:39.809Z] [mounts] Downloading task HFfhx0jaSlGrFhRl9o3VyQ artifact public/image.tar.zst to /home/generic-worker/downloads/Tkji_QxSRSWYbMiC9YH9qg
[taskcluster 2026-03-05T13:03:47.371Z] [mounts] Downloaded 366512872 bytes with SHA256 18165c44f4572fec7b71c757263b4b2f89d123ce14c0248960565fb8aefd47ed from task HFfhx0jaSlGrFhRl9o3VyQ artifact public/image.tar.zst to /home/generic-worker/downloads/Tkji_QxSRSWYbMiC9YH9qg
[taskcluster:warn 2026-03-05T13:03:47.372Z] [mounts] Download /home/generic-worker/downloads/Tkji_QxSRSWYbMiC9YH9qg of task HFfhx0jaSlGrFhRl9o3VyQ artifact public/image.tar.zst has SHA256 18165c44f4572fec7b71c757263b4b2f89d123ce14c0248960565fb8aefd47ed but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2026-03-05T13:03:47.372Z] [mounts] Creating directory /home/task_177271581685949
[taskcluster 2026-03-05T13:03:47.392Z] [mounts] Copying /home/generic-worker/downloads/Tkji_QxSRSWYbMiC9YH9qg to /home/task_177271581685949/dockerimage
[taskcluster 2026-03-05T13:03:48.416Z] [mounts] Granting task_177271581685949 full control of file '/home/task_177271581685949/dockerimage'
[taskcluster 2026-03-05T13:03:49.321Z] [d2g] Loading docker image
[taskcluster 2026-03-05T13:04:03.337Z] [d2g] Loaded docker image "client-tox-py311:latest"
[taskcluster 2026-03-05T13:04:03.337Z] Executing command 0: docker run -t --name taskcontainer_Gxg7SAd7Q4uSeWPZLUV1qw --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' -v /home/task_177271581685949/cache0:/builds/worker/checkouts --add-host=taskcluster:host-gateway --env-file 'env.list' b1a34f9b22f0163ec2c936d41fb04ae0486cd01d70a00e5fd99ab600707abdab /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-py311'
[setup 2026-03-05T13:04:06.693+00:00] run-task started in /
[setup 2026-03-05T13:04:06.693+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-py311
[setup 2026-03-05T13:04:06.693+00:00] Python version: 3.11.14
[setup 2026-03-05T13:04:06.693+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.11.14-linux-x86_64-gnu    /usr/local/bin/python3.11
cpython-3.11.14-linux-x86_64-gnu    /usr/local/bin/python3 -> python3.11
cpython-3.11.14-linux-x86_64-gnu    /usr/local/bin/python -> python3
[cache 2026-03-05T13:04:06.934+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-03-05T13:04:06.935+00:00] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2026-03-05T13:04:06.935+00:00] volume /builds/worker/checkouts is a cache
[setup 2026-03-05T13:04:06.935+00:00] running as worker:worker
[vcs 2026-03-05T13:04:06.935+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-03-05T13:04:06.938+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/tooltool', '/builds/worker/checkouts/vcs']
[vcs 2026-03-05T13:04:06.939+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-03-05T13:04:07.439+00:00] executing ['git', 'fetch', 'https://github.com/jcristau/tooltool', 'no-more-warnings']
[vcs 2026-03-05T13:04:07.653+00:00] From https://github.com/jcristau/tooltool
[vcs 2026-03-05T13:04:07.653+00:00]  * branch            no-more-warnings -> FETCH_HEAD
[vcs 2026-03-05T13:04:07.655+00:00] executing ['git', 'checkout', '-f', '-B', 'no-more-warnings', '8866390ccaa68f29b867bb105d3b07e8c405e8f4']
[vcs 2026-03-05T13:04:07.669+00:00] Switched to a new branch 'no-more-warnings'
[vcs 2026-03-05T13:04:07.670+00:00] cleaning git checkout...
[vcs 2026-03-05T13:04:07.670+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-03-05T13:04:07.672+00:00] removing []
[vcs 2026-03-05T13:04:07.672+00:00] successfully cleaned git checkout!
[vcs 2026-03-05T13:04:07.673+00:00] TinderboxPrint:<a href='https://github.com/jcristau/tooltool/commit/8866390ccaa68f29b867bb105d3b07e8c405e8f4' title='Built from tooltool commit 8866390ccaa68f29b867bb105d3b07e8c405e8f4'>8866390ccaa68f29b867bb105d3b07e8c405e8f4</a>
[task 2026-03-05T13:04:07.673+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-py311']
[task 2026-03-05T13:04:07.675+00:00] + set +x
[task 2026-03-05T13:04:07.926+00:00] + tox -e tooltool_client-py311
[task 2026-03-05T13:04:08.147+00:00] tooltool_client-py311: venv> /usr/local/bin/uv venv -p /usr/local/bin/python3.11 --allow-existing --python-preference system /builds/worker/checkouts/vcs/.tox/tooltool_client-py311
[task 2026-03-05T13:04:08.230+00:00] tooltool_client-py311: install_deps> /usr/local/bin/uv pip install tox tox-uv
[task 2026-03-05T13:04:08.843+00:00] tooltool_client-py311: commands[0] /builds/worker/checkouts/vcs/client> tox -e py311
[task 2026-03-05T13:04:09.259+00:00] py311: venv> /builds/worker/checkouts/vcs/.tox/tooltool_client-py311/bin/uv venv -p /builds/worker/checkouts/vcs/.tox/tooltool_client-py311/bin/python3 --allow-existing '--prompt=client[py311]' --python-preference system /builds/worker/checkouts/vcs/.tox/py311
[task 2026-03-05T13:04:09.317+00:00] py311: install_deps> /builds/worker/checkouts/vcs/.tox/tooltool_client-py311/bin/uv pip install -r requirements/test.txt
[task 2026-03-05T13:04:09.675+00:00] py311: commands[0]> ./validate.sh
[task 2026-03-05T13:04:09.680+00:00] -- running pyflakes --
[task 2026-03-05T13:04:09.825+00:00] -- running tests (under coverage) --
[task 2026-03-05T13:04:10.701+00:00] ============================= test session starts ==============================
[task 2026-03-05T13:04:10.701+00:00] platform linux -- Python 3.11.14, pytest-8.3.5, pluggy-1.5.0
[task 2026-03-05T13:04:10.701+00:00] cachedir: /builds/worker/checkouts/vcs/.tox/py311/.pytest_cache
[task 2026-03-05T13:04:10.701+00:00] rootdir: /builds/worker/checkouts/vcs/client
[task 2026-03-05T13:04:10.701+00:00] collected 153 items
[task 2026-03-05T13:04:10.701+00:00] 
[task 2026-03-05T13:04:10.794+00:00] test_tooltool.py ....................................................... [ 35%]
[task 2026-03-05T13:04:17.174+00:00] ........................................................................ [ 83%]
[task 2026-03-05T13:04:17.270+00:00] ..........................                                               [100%]
[task 2026-03-05T13:04:17.271+00:00] 
[task 2026-03-05T13:04:17.271+00:00] ============================= 153 passed in 6.77s ==============================
[task 2026-03-05T13:04:17.310+00:00] -- checking coverage --
[task 2026-03-05T13:04:17.758+00:00] Wrote XML report to coverage.xml
[task 2026-03-05T13:04:18.103+00:00] Wrote HTML report to .coverage-html/index.html
[task 2026-03-05T13:04:18.123+00:00] Name          Stmts   Miss  Cover
[task 2026-03-05T13:04:18.124+00:00] ---------------------------------
[task 2026-03-05T13:04:18.125+00:00] TOTAL           844     67    92%
[task 2026-03-05T13:04:18.125+00:00] 
[task 2026-03-05T13:04:18.125+00:00] GOOD!
[task 2026-03-05T13:04:18.126+00:00] py311: commands[1]> sed -i -e 's|filename="|filename="client/|' coverage.xml
[task 2026-03-05T13:04:18.129+00:00]   py311: OK (8.87=setup[0.42]+cmd[8.45,0.00] seconds)
[task 2026-03-05T13:04:18.129+00:00]   congratulations :) (8.91 seconds)
[task 2026-03-05T13:04:18.162+00:00] tooltool_client-py311: commands[1] /builds/worker/checkouts/vcs/client> tox -e codecov
[task 2026-03-05T13:04:18.379+00:00] codecov: venv> /builds/worker/checkouts/vcs/.tox/tooltool_client-py311/bin/uv venv -p /builds/worker/checkouts/vcs/.tox/tooltool_client-py311/bin/python3 --allow-existing '--prompt=client[codecov]' --python-preference system /builds/worker/checkouts/vcs/.tox/codecov
[task 2026-03-05T13:04:18.425+00:00] codecov: install_deps> /builds/worker/checkouts/vcs/.tox/tooltool_client-py311/bin/uv pip install codecov
[task 2026-03-05T13:04:18.709+00:00] codecov: commands[0]> codecov --disable pycov --commit=8866390ccaa68f29b867bb105d3b07e8c405e8f4 --branch= --pr=1498
[task 2026-03-05T13:04:19.445+00:00] 
[task 2026-03-05T13:04:19.445+00:00]       _____          _
[task 2026-03-05T13:04:19.445+00:00]      / ____|        | |
[task 2026-03-05T13:04:19.445+00:00]     | |     ___   __| | ___  ___ _____   __
[task 2026-03-05T13:04:19.445+00:00]     | |    / _ \ / _  |/ _ \/ __/ _ \ \ / /
[task 2026-03-05T13:04:19.445+00:00]     | |___| (_) | (_| |  __/ (_| (_) \ V /
[task 2026-03-05T13:04:19.445+00:00]      \_____\___/ \____|\___|\___\___/ \_/
[task 2026-03-05T13:04:19.445+00:00]                                     v2.1.13
[task 2026-03-05T13:04:19.445+00:00] 
[task 2026-03-05T13:04:19.445+00:00] ==> Detecting CI provider
[task 2026-03-05T13:04:19.445+00:00]   -> Got branch from git/hg
[task 2026-03-05T13:04:19.445+00:00]   -> Got sha from git/hg
[task 2026-03-05T13:04:19.445+00:00] ==> Preparing upload
[task 2026-03-05T13:04:19.445+00:00] ==> Processing gcov (disable by -X gcov)
[task 2026-03-05T13:04:19.445+00:00] ==> Collecting reports
[task 2026-03-05T13:04:19.445+00:00]     + /builds/worker/checkouts/vcs/client/coverage.xml bytes=31471
[task 2026-03-05T13:04:19.445+00:00]     + /builds/worker/checkouts/vcs/client/coveragerc bytes=535
[task 2026-03-05T13:04:19.445+00:00] ==> Uploading
[task 2026-03-05T13:04:19.445+00:00]     .url https://codecov.io
[task 2026-03-05T13:04:19.445+00:00]     .query commit=8866390ccaa68f29b867bb105d3b07e8c405e8f4&branch=no-more-warnings&pr=1498&token=<secret>&package=py2.1.13
[task 2026-03-05T13:04:19.445+00:00]     Gzipping contents..
[task 2026-03-05T13:04:19.445+00:00]     Compressed contents to 3496 bytes
[task 2026-03-05T13:04:19.445+00:00]     Pinging Codecov...
[task 2026-03-05T13:04:19.445+00:00]     Uploading to S3...
[task 2026-03-05T13:04:19.445+00:00]     Uploading to S3 took 0:00:00.244727
[task 2026-03-05T13:04:19.445+00:00]     https://app.codecov.io/github/mozilla-releng/tooltool/commit/8866390ccaa68f29b867bb105d3b07e8c405e8f4
[task 2026-03-05T13:04:19.465+00:00]   codecov: OK (1.09=setup[0.33]+cmd[0.76] seconds)
[task 2026-03-05T13:04:19.465+00:00]   congratulations :) (1.11 seconds)
[task 2026-03-05T13:04:19.497+00:00]   tooltool_client-py311: OK (11.35=setup[0.70]+cmd[9.32,1.33] seconds)
[task 2026-03-05T13:04:19.497+00:00]   congratulations :) (11.38 seconds)
[taskcluster 2026-03-05T13:04:19.646Z]                        Exit Code: 0
[taskcluster 2026-03-05T13:04:19.646Z]                        User Time: 10.658ms
[taskcluster 2026-03-05T13:04:19.646Z]                      Kernel Time: 15.395ms
[taskcluster 2026-03-05T13:04:19.646Z]                        Wall Time: 16.309141585s
[taskcluster 2026-03-05T13:04:19.646Z]  Average Available System Memory: 14.85 GiB
[taskcluster 2026-03-05T13:04:19.646Z]       Average System Memory Used: 784.96 MiB
[taskcluster 2026-03-05T13:04:19.646Z]          Peak System Memory Used: 856.84 MiB
[taskcluster 2026-03-05T13:04:19.646Z]              Total System Memory: 15.62 GiB
[taskcluster 2026-03-05T13:04:19.646Z]                           Result: SUCCEEDED
[taskcluster 2026-03-05T13:04:19.647Z] === Task Finished ===
[taskcluster 2026-03-05T13:04:19.647Z] Task Duration: 16.309739459s
[taskcluster 2026-03-05T13:04:19.682Z] [mounts] Preserving cache: Moving "/home/task_177271581685949/cache0" to "/home/generic-worker/caches/ZmkOSrFdT5OaRZm0zR37nA"