client: fix warnings in tests#1498
Draft
jcristau wants to merge 1 commit into
Draft
firefoxci-taskcluster / tox-client-313
succeeded
Mar 5, 2026 in 3m 46s
FirefoxCI (pull_request)
test the tooltool client with python313
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-03-05T13:03:40.465Z
Resolved: 2026-03-05T13:04:18.716Z
Task Execution Time: 38 seconds, 251 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: KnXLDTJCRBOpNWopYEIGKQ
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2026-03-05T13:03:40.498Z] Worker Type (releng-t/linux-docker) settings:
[taskcluster 2026-03-05T13:03:40.498Z] {
[taskcluster 2026-03-05T13:03:40.498Z] "config": {
[taskcluster 2026-03-05T13:03:40.498Z] "deploymentId": ""
[taskcluster 2026-03-05T13:03:40.498Z] },
[taskcluster 2026-03-05T13:03:40.498Z] "generic-worker": {
[taskcluster 2026-03-05T13:03:40.498Z] "config": {
[taskcluster 2026-03-05T13:03:40.498Z] "headlessTasks": true
[taskcluster 2026-03-05T13:03:40.498Z] },
[taskcluster 2026-03-05T13:03:40.498Z] "engine": "multiuser",
[taskcluster 2026-03-05T13:03:40.498Z] "go-arch": "amd64",
[taskcluster 2026-03-05T13:03:40.498Z] "go-os": "linux",
[taskcluster 2026-03-05T13:03:40.498Z] "go-version": "go1.25.5",
[taskcluster 2026-03-05T13:03:40.498Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v95.1.3",
[taskcluster 2026-03-05T13:03:40.498Z] "revision": "300ac23a15bb11e577f3a3d116a570fde948337e",
[taskcluster 2026-03-05T13:03:40.498Z] "source": "https://github.com/taskcluster/taskcluster/commits/300ac23a15bb11e577f3a3d116a570fde948337e",
[taskcluster 2026-03-05T13:03:40.498Z] "version": "95.1.3"
[taskcluster 2026-03-05T13:03:40.498Z] },
[taskcluster 2026-03-05T13:03:40.498Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-01-14",
[taskcluster 2026-03-05T13:03:40.498Z] "instance-id": "8970572566985228344",
[taskcluster 2026-03-05T13:03:40.498Z] "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-03-05T13:03:40.498Z] "local-ipv4": "10.138.0.94",
[taskcluster 2026-03-05T13:03:40.498Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2026-03-05T13:03:40.498Z] "public-hostname": "releng-t-linux-docker-mvavm7fdt2e0hrmrijhnlq.c.fxci-production-level1-workers.internal",
[taskcluster 2026-03-05T13:03:40.498Z] "public-ipv4": "34.169.51.196",
[taskcluster 2026-03-05T13:03:40.498Z] "region": "us-west1",
[taskcluster 2026-03-05T13:03:40.498Z] "zone": "us-west1-b"
[taskcluster 2026-03-05T13:03:40.498Z] }
[taskcluster 2026-03-05T13:03:40.498Z] Task ID: KnXLDTJCRBOpNWopYEIGKQ
[taskcluster 2026-03-05T13:03:40.498Z] === Task Starting ===
[taskcluster 2026-03-05T13:03:41.768Z] [mounts] No existing writable directory cache 'releng-level-1-checkouts-v3-cbbaf5380474618f5c43-etxGZl7fRDi0AcYIoXhw3w' - creating /home/generic-worker/caches/A34lLOstQqmJ1KddC5QKdg
[taskcluster 2026-03-05T13:03:41.768Z] [mounts] Creating directory /home/task_177271581994072/cache0
[taskcluster 2026-03-05T13:03:41.779Z] [mounts] Successfully mounted writable directory cache '/home/task_177271581994072/cache0'
[taskcluster 2026-03-05T13:03:41.779Z] [mounts] Downloading task etxGZl7fRDi0AcYIoXhw3w artifact public/image.tar.zst to /home/generic-worker/downloads/BLILi_BMRKuPCRVJ56krCg
[taskcluster 2026-03-05T13:03:45.721Z] [mounts] Downloaded 367597985 bytes with SHA256 5e032ccab6a282e38a8d18c9bd006710b81b5d324ad58c35b8e833d555fa13f6 from task etxGZl7fRDi0AcYIoXhw3w artifact public/image.tar.zst to /home/generic-worker/downloads/BLILi_BMRKuPCRVJ56krCg
[taskcluster:warn 2026-03-05T13:03:45.721Z] [mounts] Download /home/generic-worker/downloads/BLILi_BMRKuPCRVJ56krCg of task etxGZl7fRDi0AcYIoXhw3w artifact public/image.tar.zst has SHA256 5e032ccab6a282e38a8d18c9bd006710b81b5d324ad58c35b8e833d555fa13f6 but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2026-03-05T13:03:45.721Z] [mounts] Creating directory /home/task_177271581994072
[taskcluster 2026-03-05T13:03:45.741Z] [mounts] Copying /home/generic-worker/downloads/BLILi_BMRKuPCRVJ56krCg to /home/task_177271581994072/dockerimage
[taskcluster 2026-03-05T13:03:46.909Z] [mounts] Granting task_177271581994072 full control of file '/home/task_177271581994072/dockerimage'
[taskcluster 2026-03-05T13:03:47.809Z] [d2g] Loading docker image
[taskcluster 2026-03-05T13:04:02.148Z] [d2g] Loaded docker image "client-tox-py313:latest"
[taskcluster 2026-03-05T13:04:02.148Z] Executing command 0: docker run -t --name taskcontainer_VAe2zM70RkGewCZH5rPEnQ --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' -v /home/task_177271581994072/cache0:/builds/worker/checkouts --add-host=taskcluster:host-gateway --env-file 'env.list' b8557c82e9bf095ae2c74e8d63e2fc845bd33bea15528469414108b3e26be7d8 /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-py313'
[setup 2026-03-05T13:04:05.027+00:00] run-task started in /
[setup 2026-03-05T13:04:05.027+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-py313
[setup 2026-03-05T13:04:05.028+00:00] Python version: 3.13.12
[setup 2026-03-05T13:04:05.028+00:00] Subprocess python version:
cpython-3.13.12-linux-x86_64-gnu /usr/local/bin/python3.13
cpython-3.13.12-linux-x86_64-gnu /usr/local/bin/python3 -> python3.13
cpython-3.13.12-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:04:05.279+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-03-05T13:04:05.280+00:00] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2026-03-05T13:04:05.280+00:00] volume /builds/worker/checkouts is a cache
[setup 2026-03-05T13:04:05.280+00:00] running as worker:worker
[vcs 2026-03-05T13:04:05.280+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-03-05T13:04:05.286+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/tooltool', '/builds/worker/checkouts/vcs']
[vcs 2026-03-05T13:04:05.288+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-03-05T13:04:05.824+00:00] executing ['git', 'fetch', 'https://github.com/jcristau/tooltool', 'no-more-warnings']
[vcs 2026-03-05T13:04:06.185+00:00] From https://github.com/jcristau/tooltool
[vcs 2026-03-05T13:04:06.185+00:00] * branch no-more-warnings -> FETCH_HEAD
[vcs 2026-03-05T13:04:06.187+00:00] executing ['git', 'checkout', '-f', '-B', 'no-more-warnings', '8866390ccaa68f29b867bb105d3b07e8c405e8f4']
[vcs 2026-03-05T13:04:06.201+00:00] Switched to a new branch 'no-more-warnings'
[vcs 2026-03-05T13:04:06.201+00:00] cleaning git checkout...
[vcs 2026-03-05T13:04:06.201+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-03-05T13:04:06.203+00:00] removing []
[vcs 2026-03-05T13:04:06.203+00:00] successfully cleaned git checkout!
[vcs 2026-03-05T13:04:06.204+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:06.204+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-py313']
[task 2026-03-05T13:04:06.206+00:00] + set +x
[task 2026-03-05T13:04:06.345+00:00] + tox -e tooltool_client-py313
[task 2026-03-05T13:04:06.672+00:00] tooltool_client-py313: venv> /usr/local/bin/uv venv -p /usr/local/bin/python3.13 --allow-existing --python-preference system /builds/worker/checkouts/vcs/.tox/tooltool_client-py313
[task 2026-03-05T13:04:06.760+00:00] tooltool_client-py313: install_deps> /usr/local/bin/uv pip install tox tox-uv
[task 2026-03-05T13:04:07.257+00:00] tooltool_client-py313: commands[0] /builds/worker/checkouts/vcs/client> tox -e py313
[task 2026-03-05T13:04:07.818+00:00] py313: venv> /builds/worker/checkouts/vcs/.tox/tooltool_client-py313/bin/uv venv -p /builds/worker/checkouts/vcs/.tox/tooltool_client-py313/bin/python3 --allow-existing '--prompt=client[py313]' --python-preference system /builds/worker/checkouts/vcs/.tox/py313
[task 2026-03-05T13:04:07.874+00:00] py313: install_deps> /builds/worker/checkouts/vcs/.tox/tooltool_client-py313/bin/uv pip install -r requirements/test.txt
[task 2026-03-05T13:04:08.161+00:00] py313: commands[0]> ./validate.sh
[task 2026-03-05T13:04:08.166+00:00] -- running pyflakes --
[task 2026-03-05T13:04:08.343+00:00] -- running tests (under coverage) --
[task 2026-03-05T13:04:09.432+00:00] ============================= test session starts ==============================
[task 2026-03-05T13:04:09.432+00:00] platform linux -- Python 3.13.12, pytest-8.3.5, pluggy-1.5.0
[task 2026-03-05T13:04:09.432+00:00] cachedir: /builds/worker/checkouts/vcs/.tox/py313/.pytest_cache
[task 2026-03-05T13:04:09.432+00:00] rootdir: /builds/worker/checkouts/vcs/client
[task 2026-03-05T13:04:09.432+00:00] collected 153 items
[task 2026-03-05T13:04:09.432+00:00]
[task 2026-03-05T13:04:09.536+00:00] test_tooltool.py ....................................................... [ 35%]
[task 2026-03-05T13:04:15.883+00:00] ........................................................................ [ 83%]
[task 2026-03-05T13:04:15.957+00:00] .......................... [100%]
[task 2026-03-05T13:04:15.957+00:00]
[task 2026-03-05T13:04:15.957+00:00] =============================== warnings summary ===============================
[task 2026-03-05T13:04:15.957+00:00] test_tooltool.py: 10 warnings
[task 2026-03-05T13:04:15.957+00:00] /builds/worker/checkouts/vcs/client/tooltool.py:1016: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior.
[task 2026-03-05T13:04:15.957+00:00] super(TarFile, self).extractall(*args, **kwargs)
[task 2026-03-05T13:04:15.957+00:00]
[task 2026-03-05T13:04:15.957+00:00] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2026-03-05T13:04:15.957+00:00] ======================= 153 passed, 10 warnings in 6.83s =======================
[task 2026-03-05T13:04:16.000+00:00] -- checking coverage --
[task 2026-03-05T13:04:16.493+00:00] Wrote XML report to coverage.xml
[task 2026-03-05T13:04:16.856+00:00] Wrote HTML report to .coverage-html/index.html
[task 2026-03-05T13:04:16.879+00:00] Name Stmts Miss Cover
[task 2026-03-05T13:04:16.879+00:00] ---------------------------------
[task 2026-03-05T13:04:16.880+00:00] TOTAL 844 67 92%
[task 2026-03-05T13:04:16.881+00:00]
[task 2026-03-05T13:04:16.881+00:00] GOOD!
[task 2026-03-05T13:04:16.882+00:00] py313: commands[1]> sed -i -e 's|filename="|filename="client/|' coverage.xml
[task 2026-03-05T13:04:16.885+00:00] py313: OK (9.07=setup[0.35]+cmd[8.72,0.00] seconds)
[task 2026-03-05T13:04:16.885+00:00] congratulations :) (9.11 seconds)
[task 2026-03-05T13:04:16.920+00:00] tooltool_client-py313: commands[1] /builds/worker/checkouts/vcs/client> tox -e codecov
[task 2026-03-05T13:04:17.246+00:00] codecov: venv> /builds/worker/checkouts/vcs/.tox/tooltool_client-py313/bin/uv venv -p /builds/worker/checkouts/vcs/.tox/tooltool_client-py313/bin/python3 --allow-existing '--prompt=client[codecov]' --python-preference system /builds/worker/checkouts/vcs/.tox/codecov
[task 2026-03-05T13:04:17.292+00:00] codecov: install_deps> /builds/worker/checkouts/vcs/.tox/tooltool_client-py313/bin/uv pip install codecov
[task 2026-03-05T13:04:17.502+00:00] codecov: commands[0]> codecov --disable pycov --commit=8866390ccaa68f29b867bb105d3b07e8c405e8f4 --branch= --pr=1498
[task 2026-03-05T13:04:17.525+00:00] /builds/worker/checkouts/vcs/.tox/codecov/lib/python3.13/site-packages/codecov/__init__.py:167: SyntaxWarning: invalid escape sequence '\ '
[task 2026-03-05T13:04:17.525+00:00] | | / _ \ / _ |/ _ \/ __/ _ \ \ / /
[task 2026-03-05T13:04:18.100+00:00]
[task 2026-03-05T13:04:18.100+00:00] _____ _
[task 2026-03-05T13:04:18.100+00:00] / ____| | |
[task 2026-03-05T13:04:18.100+00:00] | | ___ __| | ___ ___ _____ __
[task 2026-03-05T13:04:18.100+00:00] | | / _ \ / _ |/ _ \/ __/ _ \ \ / /
[task 2026-03-05T13:04:18.100+00:00] | |___| (_) | (_| | __/ (_| (_) \ V /
[task 2026-03-05T13:04:18.100+00:00] \_____\___/ \____|\___|\___\___/ \_/
[task 2026-03-05T13:04:18.100+00:00] v2.1.13
[task 2026-03-05T13:04:18.100+00:00]
[task 2026-03-05T13:04:18.100+00:00] ==> Detecting CI provider
[task 2026-03-05T13:04:18.100+00:00] -> Got branch from git/hg
[task 2026-03-05T13:04:18.100+00:00] -> Got sha from git/hg
[task 2026-03-05T13:04:18.100+00:00] ==> Preparing upload
[task 2026-03-05T13:04:18.100+00:00] ==> Processing gcov (disable by -X gcov)
[task 2026-03-05T13:04:18.100+00:00] ==> Collecting reports
[task 2026-03-05T13:04:18.100+00:00] + /builds/worker/checkouts/vcs/client/coveragerc bytes=535
[task 2026-03-05T13:04:18.100+00:00] + /builds/worker/checkouts/vcs/client/coverage.xml bytes=31471
[task 2026-03-05T13:04:18.100+00:00] ==> Uploading
[task 2026-03-05T13:04:18.100+00:00] .url https://codecov.io
[task 2026-03-05T13:04:18.100+00:00] .query commit=8866390ccaa68f29b867bb105d3b07e8c405e8f4&branch=no-more-warnings&pr=1498&token=<secret>&package=py2.1.13
[task 2026-03-05T13:04:18.100+00:00] Gzipping contents..
[task 2026-03-05T13:04:18.100+00:00] Compressed contents to 3488 bytes
[task 2026-03-05T13:04:18.100+00:00] Pinging Codecov...
[task 2026-03-05T13:04:18.100+00:00] Uploading to S3...
[task 2026-03-05T13:04:18.100+00:00] Uploading to S3 took 0:00:00.131274
[task 2026-03-05T13:04:18.100+00:00] https://app.codecov.io/github/mozilla-releng/tooltool/commit/8866390ccaa68f29b867bb105d3b07e8c405e8f4
[task 2026-03-05T13:04:18.122+00:00] codecov: OK (0.88=setup[0.26]+cmd[0.62] seconds)
[task 2026-03-05T13:04:18.122+00:00] congratulations :) (0.90 seconds)
[task 2026-03-05T13:04:18.155+00:00] tooltool_client-py313: OK (11.49=setup[0.59]+cmd[9.66,1.23] seconds)
[task 2026-03-05T13:04:18.155+00:00] congratulations :) (11.52 seconds)
[taskcluster 2026-03-05T13:04:18.303Z] Exit Code: 0
[taskcluster 2026-03-05T13:04:18.303Z] User Time: 15.542ms
[taskcluster 2026-03-05T13:04:18.303Z] Kernel Time: 11.657ms
[taskcluster 2026-03-05T13:04:18.303Z] Wall Time: 16.154270142s
[taskcluster 2026-03-05T13:04:18.303Z] Average Available System Memory: 14.86 GiB
[taskcluster 2026-03-05T13:04:18.303Z] Average System Memory Used: 778.41 MiB
[taskcluster 2026-03-05T13:04:18.303Z] Peak System Memory Used: 840.56 MiB
[taskcluster 2026-03-05T13:04:18.303Z] Total System Memory: 15.62 GiB
[taskcluster 2026-03-05T13:04:18.303Z] Result: SUCCEEDED
[taskcluster 2026-03-05T13:04:18.303Z] === Task Finished ===
[taskcluster 2026-03-05T13:04:18.303Z] Task Duration: 16.154935385s
[taskcluster 2026-03-05T13:04:18.323Z] [mounts] Preserving cache: Moving "/home/task_177271581994072/cache0" to "/home/generic-worker/caches/A34lLOstQqmJ1KddC5QKdg"
Loading