feat(cot): Bug 2034520 improve json download and parsing error handling #791
firefoxci-taskcluster / tox-py314-cot
succeeded
Apr 23, 2026 in 3m 43s
FirefoxCI (pull_request)
py314-cot tox-py314-cot
Details
View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster
Task Status
Started: 2026-04-23T22:08:38.779Z
Resolved: 2026-04-23T22:10:45.318Z
Task Execution Time: 2 minutes, 6 seconds, 539 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: ac2ZbbAHQT6zy6kQKqNpJw
RunId: 0
Artifacts
- public/logs/live_backing.log
- public/logs/live.log
[taskcluster 2026-04-23T22:08:38.928Z] Worker Type (scriptworker-1/images) settings:
[taskcluster 2026-04-23T22:08:38.928Z] {
[taskcluster 2026-04-23T22:08:38.928Z] "generic-worker": {
[taskcluster 2026-04-23T22:08:38.928Z] "config": {
[taskcluster 2026-04-23T22:08:38.928Z] "headlessTasks": true
[taskcluster 2026-04-23T22:08:38.928Z] },
[taskcluster 2026-04-23T22:08:38.928Z] "engine": "multiuser",
[taskcluster 2026-04-23T22:08:38.928Z] "go-arch": "amd64",
[taskcluster 2026-04-23T22:08:38.928Z] "go-os": "linux",
[taskcluster 2026-04-23T22:08:38.928Z] "go-version": "go1.26.0",
[taskcluster 2026-04-23T22:08:38.928Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v97.0.1",
[taskcluster 2026-04-23T22:08:38.928Z] "revision": "6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-04-23T22:08:38.928Z] "source": "https://github.com/taskcluster/taskcluster/commits/6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-04-23T22:08:38.928Z] "version": "97.0.1"
[taskcluster 2026-04-23T22:08:38.928Z] },
[taskcluster 2026-04-23T22:08:38.928Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-03-05",
[taskcluster 2026-04-23T22:08:38.928Z] "instance-id": "6642795872759785185",
[taskcluster 2026-04-23T22:08:38.928Z] "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-04-23T22:08:38.928Z] "local-ipv4": "10.128.1.95",
[taskcluster 2026-04-23T22:08:38.928Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2026-04-23T22:08:38.928Z] "public-hostname": "scriptworker-1-images-byfy0w-ctiof-paczegxbw.c.fxci-production-level1-workers.internal",
[taskcluster 2026-04-23T22:08:38.928Z] "public-ipv4": "34.28.78.64",
[taskcluster 2026-04-23T22:08:38.928Z] "region": "us-central1",
[taskcluster 2026-04-23T22:08:38.928Z] "zone": "us-central1-a"
[taskcluster 2026-04-23T22:08:38.928Z] }
[taskcluster 2026-04-23T22:08:38.928Z] Task ID: ac2ZbbAHQT6zy6kQKqNpJw
[taskcluster 2026-04-23T22:08:38.928Z] === Task Starting ===
[taskcluster 2026-04-23T22:08:41.281Z] [mounts] No existing writable directory cache 'scriptworker-level-1-checkouts-v3-aeb56a8acbdc7df6c7d5-Yee_srbmTpCDr1sGYQ7CwQ' - creating /home/generic-worker/caches/Xa8zDo7ARsGUVBIwgqm4FA
[taskcluster 2026-04-23T22:08:41.281Z] [mounts] Creating directory /home/task_177698211777740/cache0
[taskcluster 2026-04-23T22:08:41.292Z] [mounts] Successfully mounted writable directory cache '/home/task_177698211777740/cache0'
[taskcluster 2026-04-23T22:08:41.292Z] [mounts] No existing writable directory cache 'scriptworker-level-1-uv-v3-aeb56a8acbdc7df6c7d5-Yee_srbmTpCDr1sGYQ7CwQ' - creating /home/generic-worker/caches/XtfXXVLWQcmwAMCdiYkuLg
[taskcluster 2026-04-23T22:08:41.292Z] [mounts] Creating directory /home/task_177698211777740/cache1
[taskcluster 2026-04-23T22:08:41.303Z] [mounts] Successfully mounted writable directory cache '/home/task_177698211777740/cache1'
[taskcluster 2026-04-23T22:08:41.303Z] [mounts] Downloading task Yee_srbmTpCDr1sGYQ7CwQ artifact public/image.tar.zst to /home/generic-worker/downloads/dMib0lZISN6tls6fV-f0pA
[taskcluster 2026-04-23T22:08:43.823Z] [mounts] Downloaded 98932118 bytes with SHA256 5a067b430a6d2c37f127ffea9421ae326585ef017dbd56c0238dcaf40c8cc3ec from task Yee_srbmTpCDr1sGYQ7CwQ artifact public/image.tar.zst to /home/generic-worker/downloads/dMib0lZISN6tls6fV-f0pA
[taskcluster:warn 2026-04-23T22:08:43.823Z] [mounts] Download /home/generic-worker/downloads/dMib0lZISN6tls6fV-f0pA of task Yee_srbmTpCDr1sGYQ7CwQ artifact public/image.tar.zst has SHA256 5a067b430a6d2c37f127ffea9421ae326585ef017dbd56c0238dcaf40c8cc3ec but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2026-04-23T22:08:43.823Z] [mounts] File mount "dockerimage" handled by registered handler (cache: /home/generic-worker/downloads/dMib0lZISN6tls6fV-f0pA, SHA256: 5a067b430a6d2c37f127ffea9421ae326585ef017dbd56c0238dcaf40c8cc3ec)
[taskcluster 2026-04-23T22:08:43.823Z] [d2g] Loading docker image
[taskcluster 2026-04-23T22:08:49.480Z] [d2g] Loaded docker image "python3.14:latest"
[taskcluster 2026-04-23T22:08:49.480Z] Executing command 0: docker run -t --name taskcontainer_NJK-HlAxSJ6q8lmYbk7XJQ --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' -v /home/task_177698211777740/cache0:/builds/worker/checkouts -v '/home/task_177698211777740/cache1:/builds/worker/.task-cache/uv' --add-host=taskcluster:host-gateway --env-file 'env.list' 1a7c743d77d06f99e68bab0eb70835c2b09a228b4c124866fe795e2b70befee7 /usr/local/bin/run-task --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce 'uv run tox -e py314-cot'
[setup 2026-04-23T22:08:51.791+00:00] run-task started in /
[setup 2026-04-23T22:08:51.791+00:00] Invoked by command: --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce uv run tox -e py314-cot
[setup 2026-04-23T22:08:51.791+00:00] Python version: 3.14.1
[setup 2026-04-23T22:08:51.791+00:00] Subprocess python version:
cpython-3.14.1-linux-x86_64-gnu /usr/local/bin/python3.14
cpython-3.14.1-linux-x86_64-gnu /usr/local/bin/python3 -> python3.14
cpython-3.14.1-linux-x86_64-gnu /usr/local/bin/python -> python3
[cache 2026-04-23T22:08:52.027+00:00] cache /builds/worker/.task-cache/uv is empty; writing requirements: gid=1000 uid=1000 version=1
[cache 2026-04-23T22:08:52.027+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-04-23T22:08:52.027+00:00] volume /builds/worker/.task-cache/uv is a cache
[volume 2026-04-23T22:08:52.027+00:00] volume /builds/worker/checkouts is a cache
[setup 2026-04-23T22:08:52.027+00:00] running as worker:worker
[vcs 2026-04-23T22:08:52.028+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-04-23T22:08:52.031+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/scriptworker', '/builds/worker/checkouts/vcs']
[vcs 2026-04-23T22:08:52.033+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-04-23T22:08:53.127+00:00] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-releng/scriptworker', 'hneiva/json-error']
[vcs 2026-04-23T22:08:53.332+00:00] From https://github.com/mozilla-releng/scriptworker
[vcs 2026-04-23T22:08:53.332+00:00] * branch hneiva/json-error -> FETCH_HEAD
[vcs 2026-04-23T22:08:53.342+00:00] executing ['git', 'checkout', '-f', '-B', 'hneiva/json-error', 'c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917']
[vcs 2026-04-23T22:08:53.415+00:00] Switched to a new branch 'hneiva/json-error'
[vcs 2026-04-23T22:08:53.415+00:00] cleaning git checkout...
[vcs 2026-04-23T22:08:53.415+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-04-23T22:08:53.417+00:00] removing []
[vcs 2026-04-23T22:08:53.417+00:00] successfully cleaned git checkout!
[vcs 2026-04-23T22:08:53.419+00:00] TinderboxPrint:<a href='https://github.com/mozilla-releng/scriptworker/commit/c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917' title='Built from scriptworker commit c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917'>c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917</a>
[setup 2026-04-23T22:08:53.419+00:00] UV_CACHE_DIR is /builds/worker/.task-cache/uv
[task 2026-04-23T22:08:53.419+00:00] executing ['sh', '-lxce', 'uv run tox -e py314-cot']
[task 2026-04-23T22:08:53.420+00:00] + id -u
[task 2026-04-23T22:08:53.421+00:00] + [ 1000 -eq 0 ]
[task 2026-04-23T22:08:53.421+00:00] + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[task 2026-04-23T22:08:53.421+00:00] + export PATH
[task 2026-04-23T22:08:53.421+00:00] + [ $ ]
[task 2026-04-23T22:08:53.421+00:00] + [ ]
[task 2026-04-23T22:08:53.422+00:00] + id -u
[task 2026-04-23T22:08:53.422+00:00] + [ 1000 -eq 0 ]
[task 2026-04-23T22:08:53.423+00:00] + PS1=$
[task 2026-04-23T22:08:53.423+00:00] + [ -d /etc/profile.d ]
[task 2026-04-23T22:08:53.423+00:00] + [ -r /etc/profile.d/*.sh ]
[task 2026-04-23T22:08:53.423+00:00] + unset i
[task 2026-04-23T22:08:53.423+00:00] + uv run tox -e py314-cot
[task 2026-04-23T22:08:53.513+00:00] Using CPython 3.14.1 interpreter at: /usr/local/bin/python3
[task 2026-04-23T22:08:53.513+00:00] Creating virtual environment at: .venv
[task 2026-04-23T22:08:54.161+00:00] Building scriptworker @ file:///builds/worker/checkouts/vcs
[task 2026-04-23T22:08:54.222+00:00] Downloading uv (23.8MiB)
[task 2026-04-23T22:08:54.223+00:00] Downloading pygments (1.2MiB)
[task 2026-04-23T22:08:54.223+00:00] Downloading virtualenv (5.6MiB)
[task 2026-04-23T22:08:54.225+00:00] Downloading cryptography (4.3MiB)
[task 2026-04-23T22:08:54.226+00:00] Downloading aiohttp (1.7MiB)
[task 2026-04-23T22:08:54.226+00:00] Downloading black (1.7MiB)
[task 2026-04-23T22:08:54.229+00:00] Downloading mypy (14.0MiB)
[task 2026-04-23T22:08:55.243+00:00] Downloaded virtualenv
[task 2026-04-23T22:08:55.408+00:00] Downloaded aiohttp
[task 2026-04-23T22:08:55.418+00:00] Downloaded uv
[task 2026-04-23T22:08:55.430+00:00] Downloaded black
[task 2026-04-23T22:08:55.442+00:00] Downloaded cryptography
[task 2026-04-23T22:08:55.494+00:00] Downloaded pygments
[task 2026-04-23T22:08:55.744+00:00] Downloaded mypy
[task 2026-04-23T22:08:55.779+00:00] Built scriptworker @ file:///builds/worker/checkouts/vcs
[task 2026-04-23T22:08:55.783+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2026-04-23T22:08:55.783+00:00] If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2026-04-23T22:08:55.783+00:00] If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
[task 2026-04-23T22:08:55.972+00:00] Installed 108 packages in 191ms
[task 2026-04-23T22:08:56.712+00:00] py314-cot: venv> .venv/bin/uv venv -p cpython3.14 --allow-existing '--prompt=vcs[py314-cot]' --python-preference system /builds/worker/checkouts/vcs/.tox/py314-cot
[task 2026-04-23T22:08:57.204+00:00] .pkg: venv> .venv/bin/uv venv -p /builds/worker/checkouts/vcs/.venv/bin/python --allow-existing '--prompt=vcs[.pkg]' --python-preference system /builds/worker/checkouts/vcs/.tox/.pkg
[task 2026-04-23T22:08:57.254+00:00] .pkg: install_requires> .venv/bin/uv pip install hatchling
[task 2026-04-23T22:08:57.844+00:00] .pkg: _optional_hooks> python /builds/worker/checkouts/vcs/.venv/lib/python3.14/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2026-04-23T22:08:57.898+00:00] .pkg: get_requires_for_build_editable> python /builds/worker/checkouts/vcs/.venv/lib/python3.14/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2026-04-23T22:08:58.016+00:00] .pkg: install_requires_for_build_editable> .venv/bin/uv pip install 'editables~=0.3'
[task 2026-04-23T22:08:58.444+00:00] .pkg: build_editable> python /builds/worker/checkouts/vcs/.venv/lib/python3.14/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2026-04-23T22:08:58.565+00:00] py314-cot: install_package_deps> .venv/bin/uv pip install PyYAML 'aiohttp>=3' 'arrow>=1.0' 'cryptography>=2.6.1' dictdiffer github3.py 'immutabledict>=1.3.0' 'json-e>=2.5.0' 'jsonschema[format-nongpl]' taskcluster-taskgraph 'taskcluster>=40'
[task 2026-04-23T22:08:59.715+00:00] py314-cot: install_package> .venv/bin/uv pip install --reinstall --no-deps scriptworker@/builds/worker/checkouts/vcs/.tox/.tmp/package/1/scriptworker-63.0.0-py3-none-any.whl
[task 2026-04-23T22:08:59.803+00:00] py314-cot: commands[0]> py.test -k test_verify_production_cot --random-order-bucket=none
[task 2026-04-23T22:09:03.526+00:00] ============================= test session starts ==============================
[task 2026-04-23T22:09:03.526+00:00] platform linux -- Python 3.14.1, pytest-9.0.3, pluggy-1.6.0
[task 2026-04-23T22:09:03.526+00:00] cachedir: .tox/py314-cot/.pytest_cache
[task 2026-04-23T22:09:03.526+00:00] Using --random-order-bucket=none
[task 2026-04-23T22:09:03.526+00:00] Using --random-order-seed=109874
[task 2026-04-23T22:09:03.526+00:00]
[task 2026-04-23T22:09:03.526+00:00] rootdir: /builds/worker/checkouts/vcs
[task 2026-04-23T22:09:03.526+00:00] configfile: pyproject.toml (WARNING: ignoring pytest config in tox.ini!)
[task 2026-04-23T22:09:03.526+00:00] plugins: asyncio-1.3.0, random-order-1.2.0, mock-3.15.1
[task 2026-04-23T22:09:03.526+00:00] asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
[task 2026-04-23T22:09:03.526+00:00] collected 690 items / 679 deselected / 11 selected
[task 2026-04-23T22:09:03.526+00:00]
[task 2026-04-23T22:10:43.977+00:00] tests/test_production.py ........... [100%]
[task 2026-04-23T22:10:43.977+00:00]
[task 2026-04-23T22:10:43.977+00:00] ================ 11 passed, 679 deselected in 102.11s (0:01:42) ================
[task 2026-04-23T22:10:44.452+00:00] .pkg: _exit> python /builds/worker/checkouts/vcs/.venv/lib/python3.14/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2026-04-23T22:10:44.489+00:00] py314-cot: OK (107.78=setup[3.13]+cmd[104.65] seconds)
[task 2026-04-23T22:10:44.489+00:00] congratulations :) (107.87 seconds)
[taskcluster 2026-04-23T22:10:44.675Z] Exit Code: 0
[taskcluster 2026-04-23T22:10:44.675Z] User Time: 18.05ms
[taskcluster 2026-04-23T22:10:44.675Z] Kernel Time: 13.036ms
[taskcluster 2026-04-23T22:10:44.675Z] Wall Time: 1m55.194301445s
[taskcluster 2026-04-23T22:10:44.675Z] Average Available System Memory: 14.06 GiB
[taskcluster 2026-04-23T22:10:44.675Z] Average System Memory Used: 1.55 GiB
[taskcluster 2026-04-23T22:10:44.675Z] Peak System Memory Used: 1.87 GiB
[taskcluster 2026-04-23T22:10:44.675Z] Total System Memory: 15.61 GiB
[taskcluster 2026-04-23T22:10:44.675Z] Result: SUCCEEDED
[taskcluster 2026-04-23T22:10:44.675Z] === Task Finished ===
[taskcluster 2026-04-23T22:10:44.675Z] Task Duration: 1m55.194879021s
[taskcluster 2026-04-23T22:10:44.699Z] [mounts] Preserving cache: Moving "/home/task_177698211777740/cache0" to "/home/generic-worker/caches/Xa8zDo7ARsGUVBIwgqm4FA"
[taskcluster 2026-04-23T22:10:44.699Z] [mounts] Preserving cache: Moving "/home/task_177698211777740/cache1" to "/home/generic-worker/caches/XtfXXVLWQcmwAMCdiYkuLg"
Loading