client: fix warnings in tests#1498
Draft
jcristau wants to merge 1 commit into
Draft
firefoxci-taskcluster / tox-client-39
succeeded
Mar 5, 2026 in 3m 43s
FirefoxCI (pull_request)
test the tooltool client with python39
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-03-05T13:03:31.732Z
Resolved: 2026-03-05T13:04:15.370Z
Task Execution Time: 43 seconds, 638 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: fbiEtDctTJ2K_JgwDxqr3w
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2026-03-05T13:03:31.765Z] Worker Type (releng-t/linux-docker) settings:
[taskcluster 2026-03-05T13:03:31.765Z] {
[taskcluster 2026-03-05T13:03:31.765Z] "config": {
[taskcluster 2026-03-05T13:03:31.765Z] "deploymentId": ""
[taskcluster 2026-03-05T13:03:31.765Z] },
[taskcluster 2026-03-05T13:03:31.765Z] "generic-worker": {
[taskcluster 2026-03-05T13:03:31.765Z] "config": {
[taskcluster 2026-03-05T13:03:31.765Z] "headlessTasks": true
[taskcluster 2026-03-05T13:03:31.765Z] },
[taskcluster 2026-03-05T13:03:31.765Z] "engine": "multiuser",
[taskcluster 2026-03-05T13:03:31.765Z] "go-arch": "amd64",
[taskcluster 2026-03-05T13:03:31.765Z] "go-os": "linux",
[taskcluster 2026-03-05T13:03:31.765Z] "go-version": "go1.25.5",
[taskcluster 2026-03-05T13:03:31.765Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v95.1.3",
[taskcluster 2026-03-05T13:03:31.765Z] "revision": "300ac23a15bb11e577f3a3d116a570fde948337e",
[taskcluster 2026-03-05T13:03:31.765Z] "source": "https://github.com/taskcluster/taskcluster/commits/300ac23a15bb11e577f3a3d116a570fde948337e",
[taskcluster 2026-03-05T13:03:31.765Z] "version": "95.1.3"
[taskcluster 2026-03-05T13:03:31.765Z] },
[taskcluster 2026-03-05T13:03:31.765Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-01-14",
[taskcluster 2026-03-05T13:03:31.765Z] "instance-id": "8571033036706332729",
[taskcluster 2026-03-05T13:03:31.765Z] "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-03-05T13:03:31.765Z] "local-ipv4": "10.138.0.95",
[taskcluster 2026-03-05T13:03:31.765Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2026-03-05T13:03:31.765Z] "public-hostname": "releng-t-linux-docker-ccnrghzir5um1fidblflbg.c.fxci-production-level1-workers.internal",
[taskcluster 2026-03-05T13:03:31.765Z] "public-ipv4": "136.117.36.98",
[taskcluster 2026-03-05T13:03:31.765Z] "region": "us-west1",
[taskcluster 2026-03-05T13:03:31.765Z] "zone": "us-west1-c"
[taskcluster 2026-03-05T13:03:31.765Z] }
[taskcluster 2026-03-05T13:03:31.765Z] Task ID: fbiEtDctTJ2K_JgwDxqr3w
[taskcluster 2026-03-05T13:03:31.765Z] === Task Starting ===
[taskcluster 2026-03-05T13:03:32.297Z] [mounts] No existing writable directory cache 'releng-level-1-checkouts-v3-cbbaf5380474618f5c43-f0ucab1YTPS1ZlP_bBH7AQ' - creating /home/generic-worker/caches/HoJBVVyXQj2WL8XUSb7nag
[taskcluster 2026-03-05T13:03:32.297Z] [mounts] Creating directory /home/task_177271581131778/cache0
[taskcluster 2026-03-05T13:03:32.307Z] [mounts] Successfully mounted writable directory cache '/home/task_177271581131778/cache0'
[taskcluster 2026-03-05T13:03:32.307Z] [mounts] Downloading task f0ucab1YTPS1ZlP_bBH7AQ artifact public/image.tar.zst to /home/generic-worker/downloads/TV5vOb5YTSmiszIo9ymgyA
[taskcluster 2026-03-05T13:03:41.983Z] [mounts] Downloaded 369780817 bytes with SHA256 b512253aa31f092acd37732a15d61f6e90fc3dfd64e26136644850c52ba78bbf from task f0ucab1YTPS1ZlP_bBH7AQ artifact public/image.tar.zst to /home/generic-worker/downloads/TV5vOb5YTSmiszIo9ymgyA
[taskcluster:warn 2026-03-05T13:03:41.983Z] [mounts] Download /home/generic-worker/downloads/TV5vOb5YTSmiszIo9ymgyA of task f0ucab1YTPS1ZlP_bBH7AQ artifact public/image.tar.zst has SHA256 b512253aa31f092acd37732a15d61f6e90fc3dfd64e26136644850c52ba78bbf but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2026-03-05T13:03:41.983Z] [mounts] Creating directory /home/task_177271581131778
[taskcluster 2026-03-05T13:03:42.003Z] [mounts] Copying /home/generic-worker/downloads/TV5vOb5YTSmiszIo9ymgyA to /home/task_177271581131778/dockerimage
[taskcluster 2026-03-05T13:03:43.065Z] [mounts] Granting task_177271581131778 full control of file '/home/task_177271581131778/dockerimage'
[taskcluster 2026-03-05T13:03:43.978Z] [d2g] Loading docker image
[taskcluster 2026-03-05T13:03:58.747Z] [d2g] Loaded docker image "client-tox-py39:latest"
[taskcluster 2026-03-05T13:03:58.748Z] Executing command 0: docker run -t --name taskcontainer_envf5mO1RzC4eveqFxy_9w --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' -v /home/task_177271581131778/cache0:/builds/worker/checkouts --add-host=taskcluster:host-gateway --env-file 'env.list' c85d9fded459eb206dfa1beb878d7cb251d88054762557ff4535446efbcb2d97 /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-py39'
[setup 2026-03-05T13:04:01.153+00:00] run-task started in /
[setup 2026-03-05T13:04:01.153+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-py39
[setup 2026-03-05T13:04:01.153+00:00] Python version: 3.9.25
[setup 2026-03-05T13:04:01.153+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.9.25-linux-x86_64-gnu /usr/local/bin/python3.9
cpython-3.9.25-linux-x86_64-gnu /usr/local/bin/python3 -> python3.9
cpython-3.9.25-linux-x86_64-gnu /usr/local/bin/python -> python3
[cache 2026-03-05T13:04:01.439+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-03-05T13:04:01.439+00:00] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2026-03-05T13:04:01.439+00:00] volume /builds/worker/checkouts is a cache
[setup 2026-03-05T13:04:01.439+00:00] running as worker:worker
[vcs 2026-03-05T13:04:01.439+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-03-05T13:04:01.443+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/tooltool', '/builds/worker/checkouts/vcs']
[vcs 2026-03-05T13:04:01.445+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-03-05T13:04:02.007+00:00] executing ['git', 'fetch', 'https://github.com/jcristau/tooltool', 'no-more-warnings']
[vcs 2026-03-05T13:04:02.356+00:00] From https://github.com/jcristau/tooltool
[vcs 2026-03-05T13:04:02.356+00:00] * branch no-more-warnings -> FETCH_HEAD
[vcs 2026-03-05T13:04:02.358+00:00] executing ['git', 'checkout', '-f', '-B', 'no-more-warnings', '8866390ccaa68f29b867bb105d3b07e8c405e8f4']
[vcs 2026-03-05T13:04:02.369+00:00] Switched to a new branch 'no-more-warnings'
[vcs 2026-03-05T13:04:02.369+00:00] cleaning git checkout...
[vcs 2026-03-05T13:04:02.369+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-03-05T13:04:02.372+00:00] removing []
[vcs 2026-03-05T13:04:02.372+00:00] successfully cleaned git checkout!
[vcs 2026-03-05T13:04:02.374+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:02.374+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-py39']
[task 2026-03-05T13:04:02.377+00:00] + set +x
[task 2026-03-05T13:04:02.468+00:00] + tox -e tooltool_client-py39
[task 2026-03-05T13:04:02.878+00:00] tooltool_client-py39: venv> /usr/local/bin/uv venv -p /usr/local/bin/python3.9 --allow-existing --python-preference system /builds/worker/checkouts/vcs/.tox/tooltool_client-py39
[task 2026-03-05T13:04:02.980+00:00] tooltool_client-py39: install_deps> /usr/local/bin/uv pip install tox tox-uv
[task 2026-03-05T13:04:03.525+00:00] tooltool_client-py39: commands[0] /builds/worker/checkouts/vcs/client> tox -e py39
[task 2026-03-05T13:04:04.110+00:00] py39: venv> /builds/worker/checkouts/vcs/.tox/tooltool_client-py39/bin/uv venv -p /builds/worker/checkouts/vcs/.tox/tooltool_client-py39/bin/python3 --allow-existing --python-preference system /builds/worker/checkouts/vcs/.tox/py39
[task 2026-03-05T13:04:04.198+00:00] py39: install_deps> /builds/worker/checkouts/vcs/.tox/tooltool_client-py39/bin/uv pip install -r requirements/test.txt
[task 2026-03-05T13:04:04.506+00:00] py39: commands[0]> ./validate.sh
[task 2026-03-05T13:04:04.513+00:00] -- running pyflakes --
[task 2026-03-05T13:04:04.666+00:00] -- running tests (under coverage) --
[task 2026-03-05T13:04:05.612+00:00] ============================= test session starts ==============================
[task 2026-03-05T13:04:05.612+00:00] platform linux -- Python 3.9.25, pytest-8.3.5, pluggy-1.5.0
[task 2026-03-05T13:04:05.612+00:00] cachedir: /builds/worker/checkouts/vcs/.tox/py39/.pytest_cache
[task 2026-03-05T13:04:05.612+00:00] rootdir: /builds/worker/checkouts/vcs/client
[task 2026-03-05T13:04:05.612+00:00] collected 153 items
[task 2026-03-05T13:04:05.612+00:00]
[task 2026-03-05T13:04:05.707+00:00] test_tooltool.py ....................................................... [ 35%]
[task 2026-03-05T13:04:12.083+00:00] ........................................................................ [ 83%]
[task 2026-03-05T13:04:12.147+00:00] .......................... [100%]
[task 2026-03-05T13:04:12.147+00:00]
[task 2026-03-05T13:04:12.147+00:00] ============================= 153 passed in 6.75s ==============================
[task 2026-03-05T13:04:12.180+00:00] -- checking coverage --
[task 2026-03-05T13:04:12.713+00:00] Wrote XML report to coverage.xml
[task 2026-03-05T13:04:13.112+00:00] Wrote HTML report to .coverage-html/index.html
[task 2026-03-05T13:04:13.133+00:00] Name Stmts Miss Cover
[task 2026-03-05T13:04:13.133+00:00] ---------------------------------
[task 2026-03-05T13:04:13.134+00:00] TOTAL 843 66 92%
[task 2026-03-05T13:04:13.135+00:00]
[task 2026-03-05T13:04:13.135+00:00] GOOD!
[task 2026-03-05T13:04:13.137+00:00] py39: commands[1]> sed -i -e 's|filename="|filename="client/|' coverage.xml
[task 2026-03-05T13:04:13.142+00:00] py39: OK (9.04=setup[0.40]+cmd[8.63,0.00] seconds)
[task 2026-03-05T13:04:13.143+00:00] congratulations :) (9.08 seconds)
[task 2026-03-05T13:04:13.177+00:00] tooltool_client-py39: commands[1] /builds/worker/checkouts/vcs/client> tox -e codecov
[task 2026-03-05T13:04:13.417+00:00] codecov: venv> /builds/worker/checkouts/vcs/.tox/tooltool_client-py39/bin/uv venv -p /builds/worker/checkouts/vcs/.tox/tooltool_client-py39/bin/python3 --allow-existing --python-preference system /builds/worker/checkouts/vcs/.tox/codecov
[task 2026-03-05T13:04:13.466+00:00] codecov: install_deps> /builds/worker/checkouts/vcs/.tox/tooltool_client-py39/bin/uv pip install codecov
[task 2026-03-05T13:04:13.693+00:00] codecov: commands[0]> codecov --disable pycov --commit=8866390ccaa68f29b867bb105d3b07e8c405e8f4 --branch= --pr=1498
[task 2026-03-05T13:04:14.806+00:00]
[task 2026-03-05T13:04:14.806+00:00] _____ _
[task 2026-03-05T13:04:14.806+00:00] / ____| | |
[task 2026-03-05T13:04:14.806+00:00] | | ___ __| | ___ ___ _____ __
[task 2026-03-05T13:04:14.806+00:00] | | / _ \ / _ |/ _ \/ __/ _ \ \ / /
[task 2026-03-05T13:04:14.806+00:00] | |___| (_) | (_| | __/ (_| (_) \ V /
[task 2026-03-05T13:04:14.806+00:00] \_____\___/ \____|\___|\___\___/ \_/
[task 2026-03-05T13:04:14.806+00:00] v2.1.13
[task 2026-03-05T13:04:14.806+00:00]
[task 2026-03-05T13:04:14.806+00:00] ==> Detecting CI provider
[task 2026-03-05T13:04:14.806+00:00] -> Got branch from git/hg
[task 2026-03-05T13:04:14.806+00:00] -> Got sha from git/hg
[task 2026-03-05T13:04:14.806+00:00] ==> Preparing upload
[task 2026-03-05T13:04:14.806+00:00] ==> Processing gcov (disable by -X gcov)
[task 2026-03-05T13:04:14.806+00:00] ==> Collecting reports
[task 2026-03-05T13:04:14.806+00:00] + /builds/worker/checkouts/vcs/client/coveragerc bytes=535
[task 2026-03-05T13:04:14.806+00:00] + /builds/worker/checkouts/vcs/client/coverage.xml bytes=31435
[task 2026-03-05T13:04:14.806+00:00] ==> Uploading
[task 2026-03-05T13:04:14.806+00:00] .url https://codecov.io
[task 2026-03-05T13:04:14.806+00:00] .query commit=8866390ccaa68f29b867bb105d3b07e8c405e8f4&branch=no-more-warnings&pr=1498&token=<secret>&package=py2.1.13
[task 2026-03-05T13:04:14.806+00:00] Gzipping contents..
[task 2026-03-05T13:04:14.806+00:00] Compressed contents to 3486 bytes
[task 2026-03-05T13:04:14.806+00:00] Pinging Codecov...
[task 2026-03-05T13:04:14.806+00:00] Uploading to S3...
[task 2026-03-05T13:04:14.806+00:00] Uploading to S3 took 0:00:00.451434
[task 2026-03-05T13:04:14.807+00:00] https://app.codecov.io/github/mozilla-releng/tooltool/commit/8866390ccaa68f29b867bb105d3b07e8c405e8f4
[task 2026-03-05T13:04:14.825+00:00] codecov: OK (1.41=setup[0.28]+cmd[1.13] seconds)
[task 2026-03-05T13:04:14.825+00:00] congratulations :) (1.44 seconds)
[task 2026-03-05T13:04:14.857+00:00] tooltool_client-py39: OK (11.98=setup[0.66]+cmd[9.65,1.68] seconds)
[task 2026-03-05T13:04:14.857+00:00] congratulations :) (12.02 seconds)
[taskcluster 2026-03-05T13:04:15.000Z] Exit Code: 0
[taskcluster 2026-03-05T13:04:15.000Z] User Time: 19.619ms
[taskcluster 2026-03-05T13:04:15.000Z] Kernel Time: 6.924ms
[taskcluster 2026-03-05T13:04:15.000Z] Wall Time: 16.252420494s
[taskcluster 2026-03-05T13:04:15.000Z] Average Available System Memory: 14.84 GiB
[taskcluster 2026-03-05T13:04:15.000Z] Average System Memory Used: 794.53 MiB
[taskcluster 2026-03-05T13:04:15.000Z] Peak System Memory Used: 861.27 MiB
[taskcluster 2026-03-05T13:04:15.000Z] Total System Memory: 15.62 GiB
[taskcluster 2026-03-05T13:04:15.000Z] Result: SUCCEEDED
[taskcluster 2026-03-05T13:04:15.000Z] === Task Finished ===
[taskcluster 2026-03-05T13:04:15.000Z] Task Duration: 16.252947394s
[taskcluster 2026-03-05T13:04:15.020Z] [mounts] Preserving cache: Moving "/home/task_177271581131778/cache0" to "/home/generic-worker/caches/HoJBVVyXQj2WL8XUSb7nag"
Loading