Skip to content

feat(cot): Bug 2034520 validate downloads and auto-retry on parse fai…

c5ca4ce
Select commit
Loading
Failed to load commit list.
Open

feat(cot): Bug 2034520 improve json download and parsing error handling #791

feat(cot): Bug 2034520 validate downloads and auto-retry on parse fai…
c5ca4ce
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / tox-py313-cot succeeded Apr 23, 2026 in 3m 52s

FirefoxCI (pull_request)

py313-cot tox-py313-cot

Details

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

Task Status

Started: 2026-04-23T22:08:41.070Z
Resolved: 2026-04-23T22:10:54.294Z
Task Execution Time: 2 minutes, 13 seconds, 224 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: PvyhFTjeQk-gIIfGiC6Szw
RunId: 0

Artifacts

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


[taskcluster 2026-04-23T22:08:41.138Z] Worker Type (scriptworker-1/images) settings:
[taskcluster 2026-04-23T22:08:41.138Z]   {
[taskcluster 2026-04-23T22:08:41.138Z]     "generic-worker": {
[taskcluster 2026-04-23T22:08:41.138Z]       "config": {
[taskcluster 2026-04-23T22:08:41.138Z]         "headlessTasks": true
[taskcluster 2026-04-23T22:08:41.138Z]       },
[taskcluster 2026-04-23T22:08:41.138Z]       "engine": "multiuser",
[taskcluster 2026-04-23T22:08:41.138Z]       "go-arch": "amd64",
[taskcluster 2026-04-23T22:08:41.138Z]       "go-os": "linux",
[taskcluster 2026-04-23T22:08:41.138Z]       "go-version": "go1.26.0",
[taskcluster 2026-04-23T22:08:41.138Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v97.0.1",
[taskcluster 2026-04-23T22:08:41.138Z]       "revision": "6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-04-23T22:08:41.138Z]       "source": "https://github.com/taskcluster/taskcluster/commits/6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-04-23T22:08:41.138Z]       "version": "97.0.1"
[taskcluster 2026-04-23T22:08:41.138Z]     },
[taskcluster 2026-04-23T22:08:41.138Z]     "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-03-05",
[taskcluster 2026-04-23T22:08:41.138Z]     "instance-id": "7112824036933445345",
[taskcluster 2026-04-23T22:08:41.138Z]     "instance-type": "projects/887720501152/machineTypes/c2-standard-4",
[taskcluster 2026-04-23T22:08:41.138Z]     "local-ipv4": "10.128.1.96",
[taskcluster 2026-04-23T22:08:41.138Z]     "project-id": "fxci-production-level1-workers",
[taskcluster 2026-04-23T22:08:41.138Z]     "public-hostname": "scriptworker-1-images-a4ixxlciszuu1bnyidx3kg.c.fxci-production-level1-workers.internal",
[taskcluster 2026-04-23T22:08:41.138Z]     "public-ipv4": "136.114.198.67",
[taskcluster 2026-04-23T22:08:41.138Z]     "region": "us-central1",
[taskcluster 2026-04-23T22:08:41.138Z]     "zone": "us-central1-a"
[taskcluster 2026-04-23T22:08:41.138Z]   }
[taskcluster 2026-04-23T22:08:41.138Z] Task ID: PvyhFTjeQk-gIIfGiC6Szw
[taskcluster 2026-04-23T22:08:41.138Z] === Task Starting ===
[taskcluster 2026-04-23T22:08:42.279Z] [mounts] No existing writable directory cache 'scriptworker-level-1-checkouts-v3-aeb56a8acbdc7df6c7d5-O6Uv8DzKScCsTVB9yK9uMg' - creating /home/generic-worker/caches/eJe86nDiQAadWJqoPaJ6WA
[taskcluster 2026-04-23T22:08:42.279Z] [mounts] Creating directory /home/task_177698211785327/cache0
[taskcluster 2026-04-23T22:08:42.290Z] [mounts] Successfully mounted writable directory cache '/home/task_177698211785327/cache0'
[taskcluster 2026-04-23T22:08:42.290Z] [mounts] No existing writable directory cache 'scriptworker-level-1-uv-v3-aeb56a8acbdc7df6c7d5-O6Uv8DzKScCsTVB9yK9uMg' - creating /home/generic-worker/caches/HnG4ees5T3-gLsWz_A8R2g
[taskcluster 2026-04-23T22:08:42.290Z] [mounts] Creating directory /home/task_177698211785327/cache1
[taskcluster 2026-04-23T22:08:42.306Z] [mounts] Successfully mounted writable directory cache '/home/task_177698211785327/cache1'
[taskcluster 2026-04-23T22:08:42.306Z] [mounts] Downloading task O6Uv8DzKScCsTVB9yK9uMg artifact public/image.tar.zst to /home/generic-worker/downloads/X0YfjkMqTAaleRto8va-rg
[taskcluster 2026-04-23T22:08:47.784Z] [mounts] Downloaded 98351948 bytes with SHA256 05b1e9b4f8ca05dbb661db130fb5d6887e322b34766c3b094b5afd3aeac5b12a from task O6Uv8DzKScCsTVB9yK9uMg artifact public/image.tar.zst to /home/generic-worker/downloads/X0YfjkMqTAaleRto8va-rg
[taskcluster:warn 2026-04-23T22:08:47.785Z] [mounts] Download /home/generic-worker/downloads/X0YfjkMqTAaleRto8va-rg of task O6Uv8DzKScCsTVB9yK9uMg artifact public/image.tar.zst has SHA256 05b1e9b4f8ca05dbb661db130fb5d6887e322b34766c3b094b5afd3aeac5b12a but task payload does not declare a required value, so content authenticity cannot be verified
[taskcluster 2026-04-23T22:08:47.785Z] [mounts] File mount "dockerimage" handled by registered handler (cache: /home/generic-worker/downloads/X0YfjkMqTAaleRto8va-rg, SHA256: 05b1e9b4f8ca05dbb661db130fb5d6887e322b34766c3b094b5afd3aeac5b12a)
[taskcluster 2026-04-23T22:08:47.785Z] [d2g] Loading docker image
[taskcluster 2026-04-23T22:08:52.991Z] [d2g] Loaded docker image "python3.13:latest"
[taskcluster 2026-04-23T22:08:52.992Z] Executing command 0: docker run -t --name taskcontainer_fxLoVqRuS9qJVP9kkSQEWg --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' -v /home/task_177698211785327/cache0:/builds/worker/checkouts -v '/home/task_177698211785327/cache1:/builds/worker/.task-cache/uv' --add-host=taskcluster:host-gateway --env-file 'env.list' bfd0395299d8287ec0dd7ec455578e7c4d1623e8ef6b345295363cde57ef4a8b /usr/local/bin/run-task --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce 'uv run tox -e py313-cot'
[setup 2026-04-23T22:08:55.354+00:00] run-task started in /
[setup 2026-04-23T22:08:55.354+00:00] Invoked by command: --scriptworker-checkout=/builds/worker/checkouts/vcs/ --task-cwd /builds/worker/checkouts/vcs -- sh -lxce uv run tox -e py313-cot
[setup 2026-04-23T22:08:55.355+00:00] Python version: 3.13.10
[setup 2026-04-23T22:08:55.355+00:00] Subprocess python version: 
cpython-3.13.10-linux-x86_64-gnu    /usr/local/bin/python3.13
cpython-3.13.10-linux-x86_64-gnu    /usr/local/bin/python3 -> python3.13
cpython-3.13.10-linux-x86_64-gnu    /usr/local/bin/python -> python3
[cache 2026-04-23T22:08:55.554+00:00] cache /builds/worker/.task-cache/uv is empty; writing requirements: gid=1000 uid=1000 version=1
[cache 2026-04-23T22:08:55.554+00:00] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-04-23T22:08:55.554+00:00] volume /builds/worker/.task-cache/uv is a cache
[volume 2026-04-23T22:08:55.554+00:00] volume /builds/worker/checkouts is a cache
[setup 2026-04-23T22:08:55.555+00:00] running as worker:worker
[vcs 2026-04-23T22:08:55.555+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-04-23T22:08:55.562+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/scriptworker', '/builds/worker/checkouts/vcs']
[vcs 2026-04-23T22:08:55.564+00:00] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-04-23T22:08:56.587+00:00] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-releng/scriptworker', 'hneiva/json-error']
[vcs 2026-04-23T22:08:56.850+00:00] From https://github.com/mozilla-releng/scriptworker
[vcs 2026-04-23T22:08:56.850+00:00]  * branch            hneiva/json-error -> FETCH_HEAD
[vcs 2026-04-23T22:08:56.860+00:00] executing ['git', 'checkout', '-f', '-B', 'hneiva/json-error', 'c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917']
[vcs 2026-04-23T22:08:56.933+00:00] Switched to a new branch 'hneiva/json-error'
[vcs 2026-04-23T22:08:56.934+00:00] cleaning git checkout...
[vcs 2026-04-23T22:08:56.934+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-04-23T22:08:56.936+00:00] removing []
[vcs 2026-04-23T22:08:56.936+00:00] successfully cleaned git checkout!
[vcs 2026-04-23T22:08:56.938+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:56.938+00:00] UV_CACHE_DIR is /builds/worker/.task-cache/uv
[task 2026-04-23T22:08:56.938+00:00] executing ['sh', '-lxce', 'uv run tox -e py313-cot']
[task 2026-04-23T22:08:56.939+00:00] + id -u
[task 2026-04-23T22:08:56.940+00:00] + [ 1000 -eq 0 ]
[task 2026-04-23T22:08:56.940+00:00] + PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[task 2026-04-23T22:08:56.940+00:00] + export PATH
[task 2026-04-23T22:08:56.940+00:00] + [ $  ]
[task 2026-04-23T22:08:56.940+00:00] + [  ]
[task 2026-04-23T22:08:56.940+00:00] + id -u
[task 2026-04-23T22:08:56.941+00:00] + [ 1000 -eq 0 ]
[task 2026-04-23T22:08:56.941+00:00] + PS1=$ 
[task 2026-04-23T22:08:56.941+00:00] + [ -d /etc/profile.d ]
[task 2026-04-23T22:08:56.941+00:00] + [ -r /etc/profile.d/*.sh ]
[task 2026-04-23T22:08:56.941+00:00] + unset i
[task 2026-04-23T22:08:56.941+00:00] + uv run tox -e py313-cot
[task 2026-04-23T22:08:57.026+00:00] Using CPython 3.13.10 interpreter at: /usr/local/bin/python3
[task 2026-04-23T22:08:57.026+00:00] Creating virtual environment at: .venv
[task 2026-04-23T22:08:57.808+00:00]    Building scriptworker @ file:///builds/worker/checkouts/vcs
[task 2026-04-23T22:08:57.868+00:00] Downloading mypy (14.0MiB)
[task 2026-04-23T22:08:57.870+00:00] Downloading virtualenv (5.6MiB)
[task 2026-04-23T22:08:57.870+00:00] Downloading aiohttp (1.7MiB)
[task 2026-04-23T22:08:57.871+00:00] Downloading cryptography (4.3MiB)
[task 2026-04-23T22:08:57.872+00:00] Downloading uv (23.8MiB)
[task 2026-04-23T22:08:57.873+00:00] Downloading black (1.7MiB)
[task 2026-04-23T22:08:57.875+00:00] Downloading pygments (1.2MiB)
[task 2026-04-23T22:08:58.778+00:00]  Downloaded virtualenv
[task 2026-04-23T22:08:58.949+00:00]  Downloaded aiohttp
[task 2026-04-23T22:08:58.950+00:00]  Downloaded uv
[task 2026-04-23T22:08:58.976+00:00]  Downloaded black
[task 2026-04-23T22:08:58.981+00:00]  Downloaded cryptography
[task 2026-04-23T22:08:59.041+00:00]  Downloaded pygments
[task 2026-04-23T22:08:59.303+00:00]  Downloaded mypy
[task 2026-04-23T22:08:59.507+00:00]       Built scriptworker @ file:///builds/worker/checkouts/vcs
[task 2026-04-23T22:08:59.510+00:00] warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
[task 2026-04-23T22:08:59.510+00:00]          If the cache and target directories are on different filesystems, hardlinking may not be supported.
[task 2026-04-23T22:08:59.510+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:59.708+00:00] Installed 108 packages in 199ms
[task 2026-04-23T22:09:00.427+00:00] py313-cot: venv> .venv/bin/uv venv -p cpython3.13 --allow-existing '--prompt=vcs[py313-cot]' --python-preference system /builds/worker/checkouts/vcs/.tox/py313-cot
[task 2026-04-23T22:09:00.716+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:09:00.769+00:00] .pkg: install_requires> .venv/bin/uv pip install hatchling
[task 2026-04-23T22:09:01.375+00:00] .pkg: _optional_hooks> python /builds/worker/checkouts/vcs/.venv/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2026-04-23T22:09:01.429+00:00] .pkg: get_requires_for_build_editable> python /builds/worker/checkouts/vcs/.venv/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2026-04-23T22:09:01.551+00:00] .pkg: install_requires_for_build_editable> .venv/bin/uv pip install 'editables~=0.3'
[task 2026-04-23T22:09:01.692+00:00] .pkg: build_editable> python /builds/worker/checkouts/vcs/.venv/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2026-04-23T22:09:01.794+00:00] py313-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:09:03.009+00:00] py313-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:09:03.082+00:00] py313-cot: commands[0]> py.test -k test_verify_production_cot --random-order-bucket=none
[task 2026-04-23T22:09:06.776+00:00] ============================= test session starts ==============================
[task 2026-04-23T22:09:06.776+00:00] platform linux -- Python 3.13.10, pytest-9.0.3, pluggy-1.6.0
[task 2026-04-23T22:09:06.776+00:00] cachedir: .tox/py313-cot/.pytest_cache
[task 2026-04-23T22:09:06.776+00:00] Using --random-order-bucket=none
[task 2026-04-23T22:09:06.776+00:00] Using --random-order-seed=897949
[task 2026-04-23T22:09:06.776+00:00] 
[task 2026-04-23T22:09:06.776+00:00] rootdir: /builds/worker/checkouts/vcs
[task 2026-04-23T22:09:06.776+00:00] configfile: pyproject.toml (WARNING: ignoring pytest config in tox.ini!)
[task 2026-04-23T22:09:06.776+00:00] plugins: mock-3.15.1, asyncio-1.3.0, random-order-1.2.0
[task 2026-04-23T22:09:06.776+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:06.776+00:00] collected 690 items / 679 deselected / 11 selected
[task 2026-04-23T22:09:06.776+00:00] 
[task 2026-04-23T22:10:52.751+00:00] tests/test_production.py ...........                                     [100%]
[task 2026-04-23T22:10:52.751+00:00] 
[task 2026-04-23T22:10:52.751+00:00] ================ 11 passed, 679 deselected in 107.69s (0:01:47) ================
[task 2026-04-23T22:10:53.200+00:00] .pkg: _exit> python /builds/worker/checkouts/vcs/.venv/lib/python3.13/site-packages/pyproject_api/_backend.py True hatchling.build
[task 2026-04-23T22:10:53.240+00:00]   py313-cot: OK (112.82=setup[2.70]+cmd[110.12] seconds)
[task 2026-04-23T22:10:53.240+00:00]   congratulations :) (112.91 seconds)
[taskcluster 2026-04-23T22:10:53.563Z]                        Exit Code: 0
[taskcluster 2026-04-23T22:10:53.563Z]                        User Time: 16.433ms
[taskcluster 2026-04-23T22:10:53.563Z]                      Kernel Time: 20.299ms
[taskcluster 2026-04-23T22:10:53.563Z]                        Wall Time: 2m0.570940611s
[taskcluster 2026-04-23T22:10:53.563Z]  Average Available System Memory: 13.97 GiB
[taskcluster 2026-04-23T22:10:53.563Z]       Average System Memory Used: 1.65 GiB
[taskcluster 2026-04-23T22:10:53.563Z]          Peak System Memory Used: 1.87 GiB
[taskcluster 2026-04-23T22:10:53.563Z]              Total System Memory: 15.61 GiB
[taskcluster 2026-04-23T22:10:53.563Z]                           Result: SUCCEEDED
[taskcluster 2026-04-23T22:10:53.565Z] === Task Finished ===
[taskcluster 2026-04-23T22:10:53.565Z] Task Duration: 2m0.573228209s
[taskcluster 2026-04-23T22:10:53.592Z] [mounts] Preserving cache: Moving "/home/task_177698211785327/cache0" to "/home/generic-worker/caches/eJe86nDiQAadWJqoPaJ6WA"
[taskcluster 2026-04-23T22:10:53.593Z] [mounts] Preserving cache: Moving "/home/task_177698211785327/cache1" to "/home/generic-worker/caches/HnG4ees5T3-gLsWz_A8R2g"