Skip to content

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

Open
hneiva wants to merge 2 commits into
mainfrom
hneiva/json-error
Open

feat(cot): Bug 2034520 improve json download and parsing error handling#791
hneiva wants to merge 2 commits into
mainfrom
hneiva/json-error

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

c5ca4ce
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / Decision Task succeeded Apr 23, 2026 in 3m 8s

FirefoxCI (pull_request)

The task that creates all of the other tasks in the task graph

Details

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

Task Status

Started: 2026-04-23T22:06:42.731Z
Resolved: 2026-04-23T22:07:04.398Z
Task Execution Time: 21 seconds, 667 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: Rz8fzjn2SQWsuxvRt7lFFw
RunId: 0

Artifacts

- public/actions.json
- public/docker-contexts/python3.11.tar.gz
- public/docker-contexts/python3.12.tar.gz
- public/docker-contexts/python3.13.tar.gz
- public/docker-contexts/python3.14.tar.gz
- public/fetch-content
- public/full-task-graph.json
- public/label-to-taskid.json
- public/logs/live_backing.log
- public/logs/live.log
- public/optimizations.log
- public/parameters.yml
- public/runnable-jobs.json
- public/run-task
- public/target-tasks.json
- public/task-graph.json


[taskcluster 2026-04-23T22:06:42.844Z] Worker Type (scriptworker-1/decision) settings:
[taskcluster 2026-04-23T22:06:42.844Z]   {
[taskcluster 2026-04-23T22:06:42.844Z]     "generic-worker": {
[taskcluster 2026-04-23T22:06:42.844Z]       "config": {
[taskcluster 2026-04-23T22:06:42.844Z]         "headlessTasks": true
[taskcluster 2026-04-23T22:06:42.844Z]       },
[taskcluster 2026-04-23T22:06:42.844Z]       "engine": "multiuser",
[taskcluster 2026-04-23T22:06:42.844Z]       "go-arch": "amd64",
[taskcluster 2026-04-23T22:06:42.844Z]       "go-os": "linux",
[taskcluster 2026-04-23T22:06:42.844Z]       "go-version": "go1.26.0",
[taskcluster 2026-04-23T22:06:42.844Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v97.0.1",
[taskcluster 2026-04-23T22:06:42.844Z]       "revision": "6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-04-23T22:06:42.844Z]       "source": "https://github.com/taskcluster/taskcluster/commits/6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-04-23T22:06:42.844Z]       "version": "97.0.1"
[taskcluster 2026-04-23T22:06:42.844Z]     },
[taskcluster 2026-04-23T22:06:42.844Z]     "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-03-05",
[taskcluster 2026-04-23T22:06:42.844Z]     "instance-id": "6744942869507156384",
[taskcluster 2026-04-23T22:06:42.844Z]     "instance-type": "projects/887720501152/machineTypes/n2-standard-2",
[taskcluster 2026-04-23T22:06:42.844Z]     "local-ipv4": "10.128.0.248",
[taskcluster 2026-04-23T22:06:42.844Z]     "project-id": "fxci-production-level1-workers",
[taskcluster 2026-04-23T22:06:42.844Z]     "public-hostname": "scriptworker-1-decision-typdcm0ltnc-eapjsvgeva.c.fxci-production-level1-workers.internal",
[taskcluster 2026-04-23T22:06:42.844Z]     "public-ipv4": "34.72.98.244",
[taskcluster 2026-04-23T22:06:42.844Z]     "region": "us-central1",
[taskcluster 2026-04-23T22:06:42.844Z]     "zone": "us-central1-c"
[taskcluster 2026-04-23T22:06:42.844Z]   }
[taskcluster 2026-04-23T22:06:42.844Z] Task ID: Rz8fzjn2SQWsuxvRt7lFFw
[taskcluster 2026-04-23T22:06:42.844Z] === Task Starting ===
[taskcluster 2026-04-23T22:06:44.895Z] [d2g] Loading docker image
[taskcluster 2026-04-23T22:06:55.819Z] [d2g] Loaded docker image "docker.io/mozillareleases/taskgraph:decision-v21.0.0@sha256:79091767b31dff55b1d4e89851afe77f387139c4699e008245b14fa08b51c0ff"
[taskcluster 2026-04-23T22:06:55.819Z] Executing command 0: docker run -t --name taskcontainer_Jmwa3M4lReaUIHS612Kikg --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' --add-host=taskcluster:host-gateway --env-file 'env.list' 'mozillareleases/taskgraph:decision-v21.0.0@sha256:79091767b31dff55b1d4e89851afe77f387139c4699e008245b14fa08b51c0ff' run-task --scriptworker-checkout=/builds/worker/checkouts/src -- bash -cx 'cd /builds/worker/checkouts/src && ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id='\''0'\'' --pushdate='\''0'\'' --project='\''scriptworker'\'' --owner='\''hneiva@users.noreply.github.com'\'' --level='\''1'\'' --repository-type=git --tasks-for='\''github-pull-request'\'' --base-repository='\''https://github.com/mozilla-releng/scriptworker'\'' --base-ref='\''main'\'' --base-rev='\''2c8456b9b9a0038c5a7ccfda1a94fb335cfc6949'\'' --head-repository='\''https://github.com/mozilla-releng/scriptworker'\'' --head-ref='\''hneiva/json-error'\'' --head-rev='\''c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917'\'' 
[taskcluster 2026-04-23T22:06:55.819Z] '
[setup 2026-04-23T22:06:57.722+00:00] run-task started in /
[setup 2026-04-23T22:06:57.722+00:00] Invoked by command: --scriptworker-checkout=/builds/worker/checkouts/src -- bash -cx cd /builds/worker/checkouts/src && ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id='0' --pushdate='0' --project='scriptworker' --owner='hneiva@users.noreply.github.com' --level='1' --repository-type=git --tasks-for='github-pull-request' --base-repository='https://github.com/mozilla-releng/scriptworker' --base-ref='main' --base-rev='2c8456b9b9a0038c5a7ccfda1a94fb335cfc6949' --head-repository='https://github.com/mozilla-releng/scriptworker' --head-ref='hneiva/json-error' --head-rev='c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917' 

[setup 2026-04-23T22:06:57.723+00:00] Python version: 3.13.5
[setup 2026-04-23T22:06:57.723+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
[vcs 2026-04-23T22:06:57.815+00:00] WARNING: vcs checkout path (/builds/worker/checkouts/src) not in cache or volume; performance will likely suffer
[setup 2026-04-23T22:06:57.816+00:00] running as worker:worker
[vcs 2026-04-23T22:06:57.817+00:00] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/src']
[vcs 2026-04-23T22:06:57.819+00:00] executing ['git', 'clone', 'https://github.com/mozilla-releng/scriptworker', '/builds/worker/checkouts/src']
[vcs 2026-04-23T22:06:57.820+00:00] Cloning into '/builds/worker/checkouts/src'...
[vcs 2026-04-23T22:06:59.245+00:00] executing ['git', 'fetch', 'origin', '2c8456b9b9a0038c5a7ccfda1a94fb335cfc6949']
[vcs 2026-04-23T22:06:59.560+00:00] From https://github.com/mozilla-releng/scriptworker
[vcs 2026-04-23T22:06:59.560+00:00]  * branch            2c8456b9b9a0038c5a7ccfda1a94fb335cfc6949 -> FETCH_HEAD
[vcs 2026-04-23T22:06:59.568+00:00] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla-releng/scriptworker', 'hneiva/json-error']
[vcs 2026-04-23T22:06:59.797+00:00] From https://github.com/mozilla-releng/scriptworker
[vcs 2026-04-23T22:06:59.797+00:00]  * branch            hneiva/json-error -> FETCH_HEAD
[vcs 2026-04-23T22:06:59.813+00:00] executing ['git', 'checkout', '-f', '-B', 'hneiva/json-error', 'c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917']
[vcs 2026-04-23T22:06:59.948+00:00] Switched to a new branch 'hneiva/json-error'
[vcs 2026-04-23T22:06:59.950+00:00] cleaning git checkout...
[vcs 2026-04-23T22:06:59.950+00:00] executing ['git', 'clean', '-nxdff']
[vcs 2026-04-23T22:06:59.954+00:00] removing []
[vcs 2026-04-23T22:06:59.954+00:00] successfully cleaned git checkout!
[vcs 2026-04-23T22:06:59.957+00:00] TinderboxPrint:<a href='https://github.com/mozilla-releng/scriptworker/commit/c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917' title='Built from scriptworker commit c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917'>c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917</a>
[task 2026-04-23T22:06:59.957+00:00] executing ['bash', '-cx', "cd /builds/worker/checkouts/src && ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id='0' --pushdate='0' --project='scriptworker' --owner='hneiva@users.noreply.github.com' --level='1' --repository-type=git --tasks-for='github-pull-request' --base-repository='https://github.com/mozilla-releng/scriptworker' --base-ref='main' --base-rev='2c8456b9b9a0038c5a7ccfda1a94fb335cfc6949' --head-repository='https://github.com/mozilla-releng/scriptworker' --head-ref='hneiva/json-error' --head-rev='c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917' \n"]
[task 2026-04-23T22:06:59.959+00:00] + cd /builds/worker/checkouts/src
[task 2026-04-23T22:06:59.960+00:00] + ln -s /builds/worker/artifacts artifacts
[task 2026-04-23T22:06:59.961+00:00] + taskgraph decision --pushlog-id=0 --pushdate=0 --project=scriptworker --owner=hneiva@users.noreply.github.com --level=1 --repository-type=git --tasks-for=github-pull-request --base-repository=https://github.com/mozilla-releng/scriptworker --base-ref=main --base-rev=2c8456b9b9a0038c5a7ccfda1a94fb335cfc6949 --head-repository=https://github.com/mozilla-releng/scriptworker --head-ref=hneiva/json-error --head-rev=c5ca4ceb2f5a9dea3e789cae0e2cfc23228ae917
[task 2026-04-23T22:07:00.786+00:00] 2026-04-23 22:07:00,786 - INFO - Loading graph configuration.
[task 2026-04-23T22:07:00.794+00:00] 2026-04-23 22:07:00,794 - WARNING - using default project parameters; add scriptworker to PER_PROJECT_PARAMETERS in /usr/local/lib/python3.13/dist-packages/taskgraph/decision.py to customize behavior for this project
[task 2026-04-23T22:07:00.794+00:00] 2026-04-23 22:07:00,794 - INFO - Using Parameters(id=ae1cb723b2ff) (from defaults)
[task 2026-04-23T22:07:00.795+00:00] 2026-04-23 22:07:00,795 - INFO - writing artifact file `parameters.yml`
[task 2026-04-23T22:07:00.806+00:00] 2026-04-23 22:07:00,806 - INFO - writing artifact file `actions.json`
[task 2026-04-23T22:07:00.806+00:00] 2026-04-23 22:07:00,806 - INFO - Loading kinds
[task 2026-04-23T22:07:00.808+00:00] 2026-04-23 22:07:00,808 - INFO - Generating full task set
[task 2026-04-23T22:07:00.827+00:00] 2026-04-23 22:07:00,826 - INFO - Writing docker-contexts/python3.14.tar.gz for docker image python3.14
[task 2026-04-23T22:07:00.845+00:00] 2026-04-23 22:07:00,845 - INFO - Writing docker-contexts/python3.13.tar.gz for docker image python3.13
[task 2026-04-23T22:07:00.864+00:00] 2026-04-23 22:07:00,864 - INFO - Writing docker-contexts/python3.12.tar.gz for docker image python3.12
[task 2026-04-23T22:07:00.883+00:00] 2026-04-23 22:07:00,883 - INFO - Writing docker-contexts/python3.11.tar.gz for docker image python3.11
[task 2026-04-23T22:07:00.903+00:00] 2026-04-23 22:07:00,903 - INFO - Generated 4 tasks for kind docker-image
[task 2026-04-23T22:07:00.936+00:00] 2026-04-23 22:07:00,935 - INFO - Generated 9 tasks for kind tox
[task 2026-04-23T22:07:00.940+00:00] 2026-04-23 22:07:00,939 - INFO - Generated 1 tasks for kind pr
[task 2026-04-23T22:07:00.946+00:00] 2026-04-23 22:07:00,946 - INFO - Generating full task graph
[task 2026-04-23T22:07:00.947+00:00] 2026-04-23 22:07:00,946 - INFO - Full task graph contains 14 tasks and 9 dependencies
[task 2026-04-23T22:07:00.948+00:00] 2026-04-23 22:07:00,948 - INFO - writing artifact file `full-task-graph.json`
[task 2026-04-23T22:07:00.949+00:00] 2026-04-23 22:07:00,949 - INFO - writing artifact file `runnable-jobs.json`
[task 2026-04-23T22:07:00.950+00:00] 2026-04-23 22:07:00,949 - INFO - Generating target task set
[task 2026-04-23T22:07:00.950+00:00] 2026-04-23 22:07:00,950 - INFO - Filter filter_target_tasks pruned 4 tasks (10 remain)
[task 2026-04-23T22:07:00.950+00:00] 2026-04-23 22:07:00,950 - INFO - writing artifact file `target-tasks.json`
[task 2026-04-23T22:07:00.951+00:00] 2026-04-23 22:07:00,951 - INFO - Generating target task graph
[task 2026-04-23T22:07:00.951+00:00] 2026-04-23 22:07:00,951 - INFO - Adding 4 tasks with `always_target` attribute
[task 2026-04-23T22:07:00.952+00:00] 2026-04-23 22:07:00,952 - INFO - Generating optimized task graph
[task 2026-04-23T22:07:00.953+00:00] 2026-04-23 22:07:00,952 - INFO - No tasks removed during optimization
[task 2026-04-23T22:07:01.654+00:00] 2026-04-23 22:07:01,654 - INFO - Replaced 4 tasks by index-search (index-search) during optimization.
[task 2026-04-23T22:07:01.655+00:00] 2026-04-23 22:07:01,655 - INFO - writing artifact file `task-graph.json`
[task 2026-04-23T22:07:01.655+00:00] 2026-04-23 22:07:01,655 - INFO - writing artifact file `label-to-taskid.json`
[task 2026-04-23T22:07:01.656+00:00] 2026-04-23 22:07:01,656 - INFO - Creating task with taskId PvyhFTjeQk-gIIfGiC6Szw for tox-py313-cot
[task 2026-04-23T22:07:01.659+00:00] 2026-04-23 22:07:01,657 - INFO - Creating task with taskId FGoQ-tKuTXabEH7tS3eSkA for tox-py312-cot
[task 2026-04-23T22:07:01.659+00:00] 2026-04-23 22:07:01,659 - INFO - Creating task with taskId U08I0K8lSXCTA-m-t2uF8g for tox-py314
[task 2026-04-23T22:07:01.662+00:00] 2026-04-23 22:07:01,661 - INFO - Creating task with taskId R4NEw2E7SYaoPdqWcHmA1A for tox-py311-cot
[task 2026-04-23T22:07:01.664+00:00] 2026-04-23 22:07:01,663 - INFO - Creating task with taskId CUpHK_8LRjuhVqY1KfsPTA for tox-check
[task 2026-04-23T22:07:01.665+00:00] 2026-04-23 22:07:01,665 - INFO - Creating task with taskId BbLyhsrQQSmKFpwhSrVgXg for tox-py311
[task 2026-04-23T22:07:01.668+00:00] 2026-04-23 22:07:01,665 - INFO - Creating task with taskId Y_pwpsGwSIWf5EAL9VpL-Q for tox-py313
[task 2026-04-23T22:07:01.670+00:00] 2026-04-23 22:07:01,665 - INFO - Creating task with taskId ac2ZbbAHQT6zy6kQKqNpJw for tox-py314-cot
[task 2026-04-23T22:07:01.671+00:00] 2026-04-23 22:07:01,666 - INFO - Creating task with taskId Xy4vozwHTE2N33MffW8YUg for tox-py312
[task 2026-04-23T22:07:02.025+00:00] 2026-04-23 22:07:02,025 - INFO - Creating task with taskId AJEClc-LT8GfNFJ4pNoo8A for pr-complete
[taskcluster 2026-04-23T22:07:02.760Z]                        Exit Code: 0
[taskcluster 2026-04-23T22:07:02.760Z]                        User Time: 16.427ms
[taskcluster 2026-04-23T22:07:02.760Z]                      Kernel Time: 16.427ms
[taskcluster 2026-04-23T22:07:02.760Z]                        Wall Time: 6.940446119s
[taskcluster 2026-04-23T22:07:02.760Z]  Average Available System Memory: 6.52 GiB
[taskcluster 2026-04-23T22:07:02.760Z]       Average System Memory Used: 1.23 GiB
[taskcluster 2026-04-23T22:07:02.760Z]          Peak System Memory Used: 1.29 GiB
[taskcluster 2026-04-23T22:07:02.760Z]              Total System Memory: 7.75 GiB
[taskcluster 2026-04-23T22:07:02.760Z]                           Result: SUCCEEDED
[taskcluster 2026-04-23T22:07:02.761Z] === Task Finished ===
[taskcluster 2026-04-23T22:07:02.761Z] Task Duration: 6.941566816s