Bug 2006684 - add builddecisionscript#1412
Open
jcristau wants to merge 9 commits into
Open
firefoxci-taskcluster / tox-addonscript-311
succeeded
Jun 2, 2026 in 25s
FirefoxCI (push)
addonscript tox-py311
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-06-02T12:42:31.831Z
Resolved: 2026-06-02T12:42:56.733Z
Task Execution Time: 24 seconds, 902 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: KiYybsl9SMOdkUnhYGHkjQ
RunId: 0
Artifacts
- public/logs/live_backing.log
[taskcluster 2026-06-02T12:42:31.886Z] Worker Type (scriptworker-3/images) settings:
[taskcluster 2026-06-02T12:42:31.886Z] {
[taskcluster 2026-06-02T12:42:31.886Z] "generic-worker": {
[taskcluster 2026-06-02T12:42:31.886Z] "config": {
[taskcluster 2026-06-02T12:42:31.886Z] "headlessTasks": true
[taskcluster 2026-06-02T12:42:31.886Z] },
[taskcluster 2026-06-02T12:42:31.886Z] "engine": "multiuser",
[taskcluster 2026-06-02T12:42:31.886Z] "go-arch": "amd64",
[taskcluster 2026-06-02T12:42:31.886Z] "go-os": "linux",
[taskcluster 2026-06-02T12:42:31.886Z] "go-version": "go1.26.2",
[taskcluster 2026-06-02T12:42:31.886Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v99.2.1",
[taskcluster 2026-06-02T12:42:31.886Z] "revision": "ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-06-02T12:42:31.886Z] "source": "https://github.com/taskcluster/taskcluster/commits/ddb9ce7efdb98ae2d0917b69778e9f3cd125e07f",
[taskcluster 2026-06-02T12:42:31.886Z] "version": "99.2.1"
[taskcluster 2026-06-02T12:42:31.886Z] },
[taskcluster 2026-06-02T12:42:31.886Z] "image": "projects/fxci-production-level3-workers/global/images/gw-fxci-gcp-l3-2404-amd64-headless-googlecompute-2026-05-04",
[taskcluster 2026-06-02T12:42:31.886Z] "instance-id": "7075357104431919549",
[taskcluster 2026-06-02T12:42:31.886Z] "instance-type": "projects/970387039909/machineTypes/c2-standard-4",
[taskcluster 2026-06-02T12:42:31.886Z] "local-ipv4": "10.128.0.164",
[taskcluster 2026-06-02T12:42:31.886Z] "project-id": "fxci-production-level3-workers",
[taskcluster 2026-06-02T12:42:31.886Z] "public-hostname": "scriptworker-3-images-vody0xhitlc9srjxxi8e-a.c.fxci-production-level3-workers.internal",
[taskcluster 2026-06-02T12:42:31.886Z] "public-ipv4": "34.9.142.205",
[taskcluster 2026-06-02T12:42:31.886Z] "region": "us-central1",
[taskcluster 2026-06-02T12:42:31.886Z] "zone": "us-central1-c"
[taskcluster 2026-06-02T12:42:31.886Z] }
[taskcluster 2026-06-02T12:42:31.886Z] Task ID: KiYybsl9SMOdkUnhYGHkjQ
[taskcluster 2026-06-02T12:42:31.886Z] === Task Starting ===
[taskcluster 2026-06-02T12:42:32.123Z] [mounts] No existing writable directory cache 'scriptworker-level-3-checkouts-v3-5ddaa3ce44d7548e0d3c-ePiyhTsrRG6NG4lljuiD_Q' - creating /home/generic-worker/caches/Rj5amrsqStSgw-PWsq4r5g
[taskcluster 2026-06-02T12:42:32.123Z] [mounts] Creating directory /home/task_178040415153729/cache0
[taskcluster 2026-06-02T12:42:32.134Z] [mounts] Successfully mounted writable directory cache '/home/task_178040415153729/cache0'
[taskcluster 2026-06-02T12:42:32.134Z] [mounts] Downloading task ePiyhTsrRG6NG4lljuiD_Q artifact public/image.tar.zst to /home/generic-worker/downloads/MedbyqPASEeZBJIhKLxUtg
[taskcluster 2026-06-02T12:42:32.870Z] [mounts] Downloaded 86348908 bytes with SHA256 92b424f60866a5223bfbb2d411f10eee053e5aec849784478c26bedcce36b44c from task ePiyhTsrRG6NG4lljuiD_Q artifact public/image.tar.zst to /home/generic-worker/downloads/MedbyqPASEeZBJIhKLxUtg
[taskcluster:warn 2026-06-02T12:42:32.870Z] [mounts] Download /home/generic-worker/downloads/MedbyqPASEeZBJIhKLxUtg of task ePiyhTsrRG6NG4lljuiD_Q artifact public/image.tar.zst has SHA256 92b424f60866a5223bfbb2d411f10eee053e5aec849784478c26bedcce36b44c but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2026-06-02T12:42:32.870Z] [mounts] File mount "dockerimage" handled by registered handler (cache: /home/generic-worker/downloads/MedbyqPASEeZBJIhKLxUtg, SHA256: 92b424f60866a5223bfbb2d411f10eee053e5aec849784478c26bedcce36b44c)
[taskcluster 2026-06-02T12:42:32.870Z] [d2g] Loading docker image
[taskcluster 2026-06-02T12:42:36.301Z] [d2g] Loaded docker image "python311:latest"
[taskcluster 2026-06-02T12:42:36.301Z] Executing command 0: docker run -t --name taskcontainer_ejlja-ceQsSF4n0Bxu46zg --memory-swap -1 --pids-limit -1 --pull=never --log-driver=none '--add-host=localhost.localdomain:127.0.0.1' -v /home/task_178040415153729/cache0:/builds/worker/checkouts --add-host=taskcluster:host-gateway --env-file 'env.list' 715588e2b0e1ab994cae86376abdc2a68178680df8106f308686a0134fa4f37a /usr/local/bin/run-task --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce 'uv run tox -e addonscript-py311'
[setup 2026-06-02T12:42:37.577+00:00] run-task started in /
[setup 2026-06-02T12:42:37.577+00:00] Invoked by command: --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce uv run tox -e addonscript-py311
[setup 2026-06-02T12:42:37.577+00:00] Python version: 3.11.15
[setup 2026-06-02T12:42:37.577+00:00] Subprocess python version:
cpython-3.11.15-linux-x86_64-gnu /usr/local/bin/python3.11
cpython-3.11.15-linux-x86_64-gnu /usr/local/bin/python3 -> python3.11
cpython-3.11.15-linux-x86_64-gnu /usr/local/bin/python -> python3
[cache 2026-06-02T12:42:37.722+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-06-02T12:42:37.723+00:00] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2026-06-02T12:42:37.723+00:00] volume /builds/worker/checkouts is a cache
[setup 2026-06-02T12:42:37.723+00:00] running as worker:worker
[vcs 2026-06-02T12:42:37.723+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-06-02T12:42:37.725+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/scriptworker-scripts', '/builds/worker/checkouts/vcs']
[vcs 2026-06-02T12:42:37.727+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-06-02T12:42:42.115+00:00] executing ['git', 'fetch', 'https://github.com/mozilla-releng/scriptworker-scripts', 'refs/heads/dev-builddecisionscript']
[vcs 2026-06-02T12:42:42.289+00:00] From https://github.com/mozilla-releng/scriptworker-scripts
[vcs 2026-06-02T12:42:42.289+00:00] * branch dev-builddecisionscript -> FETCH_HEAD
[vcs 2026-06-02T12:42:42.294+00:00] executing ['git', 'checkout', '-f', '-B', 'dev-builddecisionscript', 'c5a64be485304e0e156c5d3f1c592e2ac35b2e4e']
[vcs 2026-06-02T12:42:42.623+00:00] Switched to a new branch 'dev-builddecisionscript'
[vcs 2026-06-02T12:42:42.624+00:00] cleaning git checkout...
[vcs 2026-06-02T12:42:42.624+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-06-02T12:42:42.632+00:00] removing []
[vcs 2026-06-02T12:42:42.632+00:00] successfully cleaned git checkout!
[vcs 2026-06-02T12:42:42.633+00:00] TinderboxPrint:<a href='https://github.com/mozilla-releng/scriptworker-scripts/commit/c5a64be485304e0e156c5d3f1c592e2ac35b2e4e' title='Built from scriptworker-scripts commit c5a64be485304e0e156c5d3f1c592e2ac35b2e4e'>c5a64be485304e0e156c5d3f1c592e2ac35b2e4e</a>
[task 2026-06-02T12:42:42.633+00:00] executing ['sh', '-lxce', 'uv run tox -e addonscript-py311']
[task 2026-06-02T12:42:42.634+00:00] + id -u
[task 2026-06-02T12:42:42.635+00:00] + [ 1000 -eq 0 ]
[task 2026-06-02T12:42:42.635+00:00] + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[task 2026-06-02T12:42:42.635+00:00] + export PATH
[task 2026-06-02T12:42:42.635+00:00] + [ $ ]
[task 2026-06-02T12:42:42.635+00:00] + [ ]
[task 2026-06-02T12:42:42.636+00:00] + id -u
[task 2026-06-02T12:42:42.636+00:00] + [ 1000 -eq 0 ]
[task 2026-06-02T12:42:42.637+00:00] + PS1=$
[task 2026-06-02T12:42:42.637+00:00] + [ -d /etc/profile.d ]
[task 2026-06-02T12:42:42.637+00:00] + run-parts --list --regex ^[a-zA-Z0-9_][a-zA-Z0-9._-]*\.sh$ /etc/profile.d
[task 2026-06-02T12:42:42.637+00:00] + unset i
[task 2026-06-02T12:42:42.637+00:00] + uv run tox -e addonscript-py311
[task 2026-06-02T12:42:42.692+00:00] Using CPython 3.11.15 interpreter at: /usr/local/bin/python3
[task 2026-06-02T12:42:42.692+00:00] Creating virtual environment at: .venv
[task 2026-06-02T12:42:43.650+00:00] Building configloader @ file:///builds/worker/checkouts/vcs/configloader
[task 2026-06-02T12:42:43.718+00:00] Downloading uv (23.7MiB)
[task 2026-06-02T12:42:43.718+00:00] Downloading pygments (1.2MiB)
[task 2026-06-02T12:42:43.719+00:00] Downloading ruff (10.8MiB)
[task 2026-06-02T12:42:43.719+00:00] Downloading virtualenv (7.2MiB)
[task 2026-06-02T12:42:43.720+00:00] Downloading mypy (13.9MiB)
[task 2026-06-02T12:42:44.366+00:00] Downloading ruff
[task 2026-06-02T12:42:44.428+00:00] Downloading virtualenv
[task 2026-06-02T12:42:44.485+00:00] Downloading uv
[task 2026-06-02T12:42:44.556+00:00] Downloading pygments
[task 2026-06-02T12:42:44.716+00:00] Downloading mypy
[task 2026-06-02T12:42:44.987+00:00] Built configloader @ file:///builds/worker/checkouts/vcs/configloader
[task 2026-06-02T12:42:45.088+00:00] Installed 32 packages in 100ms
[task 2026-06-02T12:42:45.724+00:00] addonscript-py311: venv> .venv/bin/uv venv -p cpython3.11 --allow-existing '--prompt=vcs[addonscript-py311]' --python-preference system /builds/worker/checkouts/vcs/.tox/addonscript-py311
[task 2026-06-02T12:42:45.948+00:00] addonscript-py311: uv-sync> .venv/bin/uv sync --locked --python-preference system -p cpython3.11
[task 2026-06-02T12:42:47.581+00:00] addonscript-py311: commands[0] /builds/worker/checkouts/vcs/addonscript> tox -e py311
[task 2026-06-02T12:42:48.188+00:00] py311: venv> /builds/worker/checkouts/vcs/.tox/addonscript-py311/bin/uv venv -p cpython3.11 --allow-existing '--prompt=addonscript[py311]' --python-preference system /builds/worker/checkouts/vcs/.tox/py311
[task 2026-06-02T12:42:48.324+00:00] py311: uv-sync> /builds/worker/checkouts/vcs/.tox/addonscript-py311/bin/uv sync --locked --python-preference system -p cpython3.11
[task 2026-06-02T12:42:49.263+00:00] py311: commands[0]> py.test --cov-config=tox.ini --cov-append --cov=/builds/worker/checkouts/vcs/addonscript/src/addonscript --cov-report term-missing tests
[task 2026-06-02T12:42:54.072+00:00] ============================= test session starts ==============================
[task 2026-06-02T12:42:54.072+00:00] platform linux -- Python 3.11.15, pytest-8.4.2, pluggy-1.6.0
[task 2026-06-02T12:42:54.072+00:00] cachedir: /builds/worker/checkouts/vcs/.tox/py311/.pytest_cache
[task 2026-06-02T12:42:54.072+00:00] rootdir: /builds/worker/checkouts/vcs/addonscript
[task 2026-06-02T12:42:54.072+00:00] configfile: tox.ini
[task 2026-06-02T12:42:54.072+00:00] plugins: mock-3.15.1, cov-7.1.0, asyncio-0.26.0
[task 2026-06-02T12:42:54.072+00:00] asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
[task 2026-06-02T12:42:54.072+00:00] collected 79 items
[task 2026-06-02T12:42:54.072+00:00]
[task 2026-06-02T12:42:54.285+00:00] tests/test_api.py ............................ [ 35%]
[task 2026-06-02T12:42:54.312+00:00] tests/test_config.py .. [ 37%]
[task 2026-06-02T12:42:54.336+00:00] tests/test_script.py ... [ 41%]
[task 2026-06-02T12:42:54.382+00:00] tests/test_task.py ...................... [ 69%]
[task 2026-06-02T12:42:54.615+00:00] tests/test_utils.py ...................... [ 97%]
[task 2026-06-02T12:42:55.013+00:00] tests/test_xpi.py .. [100%]
[task 2026-06-02T12:42:55.013+00:00]
[task 2026-06-02T12:42:55.013+00:00] =============================== warnings summary ===============================
[task 2026-06-02T12:42:55.013+00:00] tests/test_api.py: 25 warnings
[task 2026-06-02T12:42:55.013+00:00] tests/test_utils.py: 19 warnings
[task 2026-06-02T12:42:55.013+00:00] /builds/worker/checkouts/vcs/.tox/py311/lib/python3.11/site-packages/jwt/api_jwt.py:147: InsecureKeyLengthWarning: The HMAC key is 6 bytes long, which is below the minimum recommended length of 32 bytes for SHA256. See RFC 7518 Section 3.2.
[task 2026-06-02T12:42:55.013+00:00] return self._jws.encode(
[task 2026-06-02T12:42:55.013+00:00]
[task 2026-06-02T12:42:55.013+00:00] tests/test_utils.py::test_generate_JWT
[task 2026-06-02T12:42:55.013+00:00] /builds/worker/checkouts/vcs/.tox/py311/lib/python3.11/site-packages/jwt/api_jwt.py:365: InsecureKeyLengthWarning: The HMAC key is 6 bytes long, which is below the minimum recommended length of 32 bytes for SHA256. See RFC 7518 Section 3.2.
[task 2026-06-02T12:42:55.013+00:00] decoded = self.decode_complete(
[task 2026-06-02T12:42:55.013+00:00]
[task 2026-06-02T12:42:55.013+00:00] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
[task 2026-06-02T12:42:55.013+00:00] ================================ tests coverage ================================
[task 2026-06-02T12:42:55.013+00:00] _______________ coverage: platform linux, python 3.11.15-final-0 _______________
[task 2026-06-02T12:42:55.013+00:00]
[task 2026-06-02T12:42:55.013+00:00] Name Stmts Miss Branch BrPart Cover Missing
[task 2026-06-02T12:42:55.013+00:00] ---------------------------------------------------------------------------
[task 2026-06-02T12:42:55.013+00:00] src/addonscript/__init__.py 0 0 0 0 100%
[task 2026-06-02T12:42:55.013+00:00] src/addonscript/api.py 78 0 22 0 100%
[task 2026-06-02T12:42:55.013+00:00] src/addonscript/exceptions.py 14 0 0 0 100%
[task 2026-06-02T12:42:55.013+00:00] src/addonscript/script.py 51 16 6 0 65% 19, 23-29, 75-89, 93
[task 2026-06-02T12:42:55.013+00:00] src/addonscript/task.py 30 0 10 0 100%
[task 2026-06-02T12:42:55.013+00:00] src/addonscript/utils.py 62 0 2 0 100%
[task 2026-06-02T12:42:55.014+00:00] src/addonscript/xpi.py 11 0 0 0 100%
[task 2026-06-02T12:42:55.014+00:00] ---------------------------------------------------------------------------
[task 2026-06-02T12:42:55.014+00:00] TOTAL 246 16 40 0 93%
[task 2026-06-02T12:42:55.014+00:00] ======================= 79 passed, 45 warnings in 3.94s ========================
[task 2026-06-02T12:42:55.320+00:00] py311: OK (7.13=setup[1.08]+cmd[6.06] seconds)
[task 2026-06-02T12:42:55.320+00:00] congratulations :) (7.18 seconds)
[task 2026-06-02T12:42:55.360+00:00] addonscript-py311: OK (9.64=setup[1.86]+cmd[7.78] seconds)
[task 2026-06-02T12:42:55.360+00:00] congratulations :) (9.72 seconds)
[taskcluster 2026-06-02T12:42:56.425Z] Exit Code: 0
[taskcluster 2026-06-02T12:42:56.425Z] User Time: 13.172ms
[taskcluster 2026-06-02T12:42:56.425Z] Kernel Time: 13.172ms
[taskcluster 2026-06-02T12:42:56.425Z] Wall Time: 20.123136024s
[taskcluster 2026-06-02T12:42:56.425Z] Average Available System Memory: 14.57 GiB
[taskcluster 2026-06-02T12:42:56.425Z] Average System Memory Used: 1.04 GiB
[taskcluster 2026-06-02T12:42:56.425Z] Peak System Memory Used: 1.10 GiB
[taskcluster 2026-06-02T12:42:56.425Z] Total System Memory: 15.61 GiB
[taskcluster 2026-06-02T12:42:56.425Z] Result: SUCCEEDED
[taskcluster 2026-06-02T12:42:56.425Z] === Task Finished ===
[taskcluster 2026-06-02T12:42:56.425Z] Task Duration: 20.123341497s
[taskcluster 2026-06-02T12:42:56.447Z] [mounts] Preserving cache: Moving "/home/task_178040415153729/cache0" to "/home/generic-worker/caches/Rj5amrsqStSgw-PWsq4r5g"
Loading