RS - Remove orphan attachments from db after a record is updated #7294
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-03-27T13:56:52.790Z
Resolved: 2026-03-27T13:57:01.461Z
Task Execution Time: 8 seconds, 671 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: b5QH1CA-QUGf6SdK2hrOIQ
RunId: 0
Artifacts
- public/actions.json
- public/chain-of-trust.json
- public/chain-of-trust.json.sig
- public/docker-contexts/linux2004.tar.gz
- public/docker-contexts/linux.tar.gz
- public/fetch-content
- public/full-task-graph.json
- public/label-to-taskid.json
- public/logs/certified.log
- 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-03-27T13:56:53.014Z] Worker Type (app-services-1/decision) settings:
[taskcluster 2026-03-27T13:56:53.014Z] {
[taskcluster 2026-03-27T13:56:53.014Z] "generic-worker": {
[taskcluster 2026-03-27T13:56:53.014Z] "config": {
[taskcluster 2026-03-27T13:56:53.014Z] "headlessTasks": true
[taskcluster 2026-03-27T13:56:53.014Z] },
[taskcluster 2026-03-27T13:56:53.014Z] "engine": "multiuser",
[taskcluster 2026-03-27T13:56:53.014Z] "go-arch": "amd64",
[taskcluster 2026-03-27T13:56:53.014Z] "go-os": "linux",
[taskcluster 2026-03-27T13:56:53.014Z] "go-version": "go1.26.0",
[taskcluster 2026-03-27T13:56:53.014Z] "release": "https://github.com/taskcluster/taskcluster/releases/tag/v97.0.1",
[taskcluster 2026-03-27T13:56:53.014Z] "revision": "6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-03-27T13:56:53.014Z] "source": "https://github.com/taskcluster/taskcluster/commits/6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-03-27T13:56:53.014Z] "version": "97.0.1"
[taskcluster 2026-03-27T13:56:53.014Z] },
[taskcluster 2026-03-27T13:56:53.014Z] "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-03-05",
[taskcluster 2026-03-27T13:56:53.014Z] "instance-id": "3331487748106169474",
[taskcluster 2026-03-27T13:56:53.014Z] "instance-type": "projects/887720501152/machineTypes/n2-standard-2",
[taskcluster 2026-03-27T13:56:53.014Z] "local-ipv4": "10.128.0.38",
[taskcluster 2026-03-27T13:56:53.014Z] "project-id": "fxci-production-level1-workers",
[taskcluster 2026-03-27T13:56:53.014Z] "public-hostname": "app-services-1-decision-aduryadwroaj6frtnxdlpa.c.fxci-production-level1-workers.internal",
[taskcluster 2026-03-27T13:56:53.014Z] "public-ipv4": "34.123.108.200",
[taskcluster 2026-03-27T13:56:53.014Z] "region": "us-central1",
[taskcluster 2026-03-27T13:56:53.014Z] "zone": "us-central1-b"
[taskcluster 2026-03-27T13:56:53.014Z] }
[taskcluster 2026-03-27T13:56:53.014Z] Task ID: b5QH1CA-QUGf6SdK2hrOIQ
[taskcluster 2026-03-27T13:56:53.014Z] === Task Starting ===
[taskcluster 2026-03-27T13:56:53.790Z] [mounts] Moving existing writable directory cache app-services-level-1-checkouts-v1 from /home/generic-worker/caches/YpMYS820QROkszdIDd1l8A to /home/task_177459392564399/cache0
[taskcluster 2026-03-27T13:56:53.790Z] [mounts] Creating directory /home/task_177459392564399
[taskcluster 2026-03-27T13:56:53.804Z] [mounts] Successfully mounted writable directory cache '/home/task_177459392564399/cache0'
[taskcluster 2026-03-27T13:56:53.806Z] [d2g] Loading docker image
[taskcluster 2026-03-27T13:56:53.932Z] [d2g] Loaded docker image "docker.io/mozillareleases/taskgraph:decision-v11.2.4@sha256:eb53b1ca6b86b1344d61f55aab77b130048c0ae007eef181ec82eec327e91e07"
[taskcluster 2026-03-27T13:56:53.954Z] Executing command 0: docker run -t --name taskcontainer_OG53dQwaSTq5J-vt4v5Z6Q --memory-swap -1 --pids-limit -1 '--add-host=localhost.localdomain:127.0.0.1' -v /home/task_177459392564399/cache0:/builds/worker/checkouts --add-host=taskcluster:host-gateway --env-file 'env.list' 'mozillareleases/taskgraph:decision-v11.2.4@sha256:eb53b1ca6b86b1344d61f55aab77b130048c0ae007eef181ec82eec327e91e07' /usr/local/bin/run-task --appservices-checkout=/builds/worker/checkouts/vcs --task-cwd=/builds/worker/checkouts/vcs -- bash -cx 'ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id='\''0'\'' --pushdate='\''0'\'' --project='\''application-services'\'' --message="" --owner='\''issammani@users.noreply.github.com'\'' --level='\''1'\'' --base-repository="$APPSERVICES_BASE_REPOSITORY" --head-repository="$APPSERVICES_HEAD_REPOSITORY" --head-ref="$APPSERVICES_HEAD_REF" --head-rev="$APPSERVICES_HEAD_REV" --repository-type="$APPSERVICES_REPOSITORY_TYPE" --tasks-for='\''github-pull-request'\''
[taskcluster 2026-03-27T13:56:53.954Z] '
[setup 2026-03-27T13:56:54.215Z] run-task started in /
[setup 2026-03-27T13:56:54.215Z] Invoked by command: --appservices-checkout=/builds/worker/checkouts/vcs --task-cwd=/builds/worker/checkouts/vcs -- bash -cx ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id='0' --pushdate='0' --project='application-services' --message="" --owner='issammani@users.noreply.github.com' --level='1' --base-repository="$APPSERVICES_BASE_REPOSITORY" --head-repository="$APPSERVICES_HEAD_REPOSITORY" --head-ref="$APPSERVICES_HEAD_REF" --head-rev="$APPSERVICES_HEAD_REV" --repository-type="$APPSERVICES_REPOSITORY_TYPE" --tasks-for='github-pull-request'
[setup 2026-03-27T13:56:54.215Z] Python version: 3.11.2
[cache 2026-03-27T13:56:54.217Z] cache /builds/worker/checkouts exists; requirements: gid=1000 uid=1000 version=1
[setup 2026-03-27T13:56:54.217Z] running as worker:worker
[vcs 2026-03-27T13:56:54.217Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-03-27T13:56:54.220Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla/application-services', 'fix/remove-orphan-attachments-on-record-update']
[vcs 2026-03-27T13:56:54.563Z] From https://github.com/mozilla/application-services
[vcs 2026-03-27T13:56:54.563Z] * branch fix/remove-orphan-attachments-on-record-update -> FETCH_HEAD
[vcs 2026-03-27T13:56:54.571Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla/application-services', 'fix/remove-orphan-attachments-on-record-update']
[vcs 2026-03-27T13:56:54.996Z] From https://github.com/mozilla/application-services
[vcs 2026-03-27T13:56:54.997Z] * branch fix/remove-orphan-attachments-on-record-update -> FETCH_HEAD
[vcs 2026-03-27T13:56:55.009Z] executing ['git', 'checkout', '-f', '-B', 'fix/remove-orphan-attachments-on-record-update', 'e4805783ff95de0c5365bcaa35d4bc129c107905']
[vcs 2026-03-27T13:56:55.058Z] Switched to a new branch 'fix/remove-orphan-attachments-on-record-update'
[vcs 2026-03-27T13:56:55.061Z] executing ['git', 'submodule', 'init']
[vcs 2026-03-27T13:56:55.100Z] executing ['git', 'submodule', 'update', '--force']
[vcs 2026-03-27T13:56:55.137Z] cleaning git checkout...
[vcs 2026-03-27T13:56:55.137Z] executing ['git', 'clean', '-nxdff']
[vcs 2026-03-27T13:56:55.153Z] removing ['/builds/worker/checkouts/vcs/artifacts', '/builds/worker/checkouts/vcs/docker-contexts/', '/builds/worker/checkouts/vcs/taskcluster/app_services_taskgraph/__pycache__/', '/builds/worker/checkouts/vcs/taskcluster/app_services_taskgraph/loader/__pycache__/', '/builds/worker/checkouts/vcs/taskcluster/app_services_taskgraph/transforms/__pycache__/']
[vcs 2026-03-27T13:56:55.155Z] successfully cleaned git checkout!
[vcs 2026-03-27T13:56:55.158Z] TinderboxPrint:<a href='https://github.com/mozilla/application-services/commit/e4805783ff95de0c5365bcaa35d4bc129c107905' title='Built from application-services commit e4805783ff95de0c5365bcaa35d4bc129c107905'>e4805783ff95de0c5365bcaa35d4bc129c107905</a>
[setup 2026-03-27T13:56:55.158Z] MOZ_FETCHES_DIR is /builds/worker/fetches
[pip-install 2026-03-27T13:56:55.188Z] executing ['uv', 'pip', 'install', '--python', '/usr/bin/python3', '--target', '/builds/worker/.local/lib/python3.11/site-packages', '--require-hashes', '-r', '/builds/worker/checkouts/vcs/taskcluster/requirements.txt']
[pip-install 2026-03-27T13:56:55.550Z] Resolved 33 packages in 269ms
[pip-install 2026-03-27T13:56:56.137Z] Prepared 33 packages in 583ms
[pip-install 2026-03-27T13:56:56.203Z] Installed 33 packages in 65ms
[pip-install 2026-03-27T13:56:56.203Z] + appdirs==1.4.4
[pip-install 2026-03-27T13:56:56.203Z] + arrow==1.3.0
[pip-install 2026-03-27T13:56:56.203Z] + binaryornot==0.4.4
[pip-install 2026-03-27T13:56:56.203Z] + certifi==2024.8.30
[pip-install 2026-03-27T13:56:56.203Z] + chardet==5.2.0
[pip-install 2026-03-27T13:56:56.203Z] + charset-normalizer==3.3.2
[pip-install 2026-03-27T13:56:56.203Z] + click==8.1.7
[pip-install 2026-03-27T13:56:56.203Z] + cookiecutter==2.6.0
[pip-install 2026-03-27T13:56:56.203Z] + giturlparse==0.12.0
[pip-install 2026-03-27T13:56:56.203Z] + idna==3.8
[pip-install 2026-03-27T13:56:56.203Z] + jinja2==3.1.4
[pip-install 2026-03-27T13:56:56.203Z] + json-e==4.7.1
[pip-install 2026-03-27T13:56:56.203Z] + markdown-it-py==3.0.0
[pip-install 2026-03-27T13:56:56.203Z] + markupsafe==2.1.5
[pip-install 2026-03-27T13:56:56.203Z] + mdurl==0.1.2
[pip-install 2026-03-27T13:56:56.203Z] + mozilla-repo-urls==0.1.1
[pip-install 2026-03-27T13:56:56.203Z] + mozilla-taskgraph==3.0.1
[pip-install 2026-03-27T13:56:56.203Z] + pygments==2.18.0
[pip-install 2026-03-27T13:56:56.203Z] + python-dateutil==2.9.0.post0
[pip-install 2026-03-27T13:56:56.203Z] + python-slugify==8.0.4
[pip-install 2026-03-27T13:56:56.203Z] + pyyaml==6.0.2
[pip-install 2026-03-27T13:56:56.203Z] + redo==3.0.0
[pip-install 2026-03-27T13:56:56.203Z] + requests==2.32.3
[pip-install 2026-03-27T13:56:56.203Z] + rich==13.8.0
[pip-install 2026-03-27T13:56:56.203Z] + six==1.16.0
[pip-install 2026-03-27T13:56:56.203Z] + slugid==2.0.0
[pip-install 2026-03-27T13:56:56.203Z] + taskcluster-taskgraph==11.2.4
[pip-install 2026-03-27T13:56:56.203Z] + taskcluster-urls==13.0.1
[pip-install 2026-03-27T13:56:56.203Z] + text-unidecode==1.3
[pip-install 2026-03-27T13:56:56.203Z] + types-python-dateutil==2.9.0.20240821
[pip-install 2026-03-27T13:56:56.204Z] + typing-extensions==4.12.2
[pip-install 2026-03-27T13:56:56.204Z] + urllib3==2.2.2
[pip-install 2026-03-27T13:56:56.204Z] + voluptuous==0.14.2
[task 2026-03-27T13:56:56.210Z] executing ['bash', '-cx', 'ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id=\'0\' --pushdate=\'0\' --project=\'application-services\' --message="" --owner=\'issammani@users.noreply.github.com\' --level=\'1\' --base-repository="$APPSERVICES_BASE_REPOSITORY" --head-repository="$APPSERVICES_HEAD_REPOSITORY" --head-ref="$APPSERVICES_HEAD_REF" --head-rev="$APPSERVICES_HEAD_REV" --repository-type="$APPSERVICES_REPOSITORY_TYPE" --tasks-for=\'github-pull-request\' \n']
[task 2026-03-27T13:56:56.212Z] + ln -s /builds/worker/artifacts artifacts
[task 2026-03-27T13:56:56.214Z] + taskgraph decision --pushlog-id=0 --pushdate=0 --project=application-services --message= --owner=issammani@users.noreply.github.com --level=1 --base-repository=https://github.com/mozilla/application-services --head-repository=https://github.com/mozilla/application-services --head-ref=fix/remove-orphan-attachments-on-record-update --head-rev=e4805783ff95de0c5365bcaa35d4bc129c107905 --repository-type=git --tasks-for=github-pull-request
[task 2026-03-27T13:56:57.136Z] 2026-03-27 13:56:57,136 - INFO - Loading graph configuration.
[task 2026-03-27T13:56:57.208Z] 2026-03-27 13:56:57,208 - INFO - base_ref has been reset from "" to "origin/main".
[task 2026-03-27T13:56:57.209Z] 2026-03-27 13:56:57,209 - INFO - base_rev is not set.
[task 2026-03-27T13:56:57.209Z] 2026-03-27 13:56:57,209 - INFO - Using base_ref "origin/main" to determine latest common revision...
[task 2026-03-27T13:56:57.213Z] 2026-03-27 13:56:57,213 - INFO - base_rev has been reset from "" to "6752eb061102c7b38eb2a32c6204b8e6c89fd2f2".
[task 2026-03-27T13:56:57.223Z] 2026-03-27 13:56:57,223 - WARNING - using default project parameters; add application-services to PER_PROJECT_PARAMETERS in /builds/worker/.local/lib/python3.11/site-packages/taskgraph/decision.py to customize behavior for this project
[task 2026-03-27T13:56:57.225Z] 2026-03-27 13:56:57,225 - INFO - Using Parameters(id=c0cd06c33c18) (from defaults)
[task 2026-03-27T13:56:57.227Z] 2026-03-27 13:56:57,227 - INFO - writing artifact file `parameters.yml`
[task 2026-03-27T13:56:57.247Z] 2026-03-27 13:56:57,246 - INFO - writing artifact file `actions.json`
[task 2026-03-27T13:56:57.251Z] 2026-03-27 13:56:57,250 - INFO - Loading kinds
[task 2026-03-27T13:56:57.262Z] 2026-03-27 13:56:57,261 - INFO - Generating full task set
[task 2026-03-27T13:56:57.272Z] 2026-03-27 13:56:57,272 - INFO - Writing docker-contexts/linux.tar.gz for docker image linux
[task 2026-03-27T13:56:57.298Z] 2026-03-27 13:56:57,298 - INFO - Writing docker-contexts/linux2004.tar.gz for docker image linux2004
[task 2026-03-27T13:56:57.320Z] 2026-03-27 13:56:57,320 - INFO - Generated 2 tasks for kind docker-image
[task 2026-03-27T13:56:57.343Z] 2026-03-27 13:56:57,343 - INFO - Generated 1 tasks for kind fetch
[task 2026-03-27T13:56:57.349Z] 2026-03-27 13:56:57,349 - INFO - Generated 2 tasks for kind lint
[task 2026-03-27T13:56:57.450Z] 2026-03-27 13:56:57,450 - INFO - Generated 6 tasks for kind toolchain
[task 2026-03-27T13:56:57.455Z] 2026-03-27 13:56:57,455 - INFO - Generated 1 tasks for kind android-build
[task 2026-03-27T13:56:57.461Z] 2026-03-27 13:56:57,461 - INFO - Generated 1 tasks for kind swift
[task 2026-03-27T13:56:57.506Z] 2026-03-27 13:56:57,506 - INFO - Generated 22 tasks for kind module-build
[task 2026-03-27T13:56:57.510Z] 2026-03-27 13:56:57,510 - INFO - Generated 2 tasks for kind branch-build
[task 2026-03-27T13:56:57.519Z] 2026-03-27 13:56:57,519 - INFO - Generated 22 tasks for kind signing
[task 2026-03-27T13:56:57.532Z] 2026-03-27 13:56:57,530 - INFO - Generated 11 tasks for kind nimbus-build
[task 2026-03-27T13:56:57.539Z] 2026-03-27 13:56:57,539 - INFO - Generated 6 tasks for kind server-megazord-build
[task 2026-03-27T13:56:57.545Z] 2026-03-27 13:56:57,545 - INFO - Generated 1 tasks for kind build-summary
[task 2026-03-27T13:56:57.550Z] 2026-03-27 13:56:57,550 - INFO - Generated 2 tasks for kind nimbus-binaries-assemble
[task 2026-03-27T13:56:57.554Z] 2026-03-27 13:56:57,554 - INFO - Generated 1 tasks for kind release-publish
[task 2026-03-27T13:56:57.559Z] 2026-03-27 13:56:57,559 - INFO - Generated 2 tasks for kind server-megazord-assemble
[task 2026-03-27T13:56:57.564Z] 2026-03-27 13:56:57,563 - INFO - Generated 1 tasks for kind upload-symbols
[task 2026-03-27T13:56:57.609Z] 2026-03-27 13:56:57,608 - INFO - Generated 28 tasks for kind beetmover
[task 2026-03-27T13:56:57.613Z] 2026-03-27 13:56:57,613 - INFO - Generated 1 tasks for kind mark-as-shipped
[task 2026-03-27T13:56:57.613Z] 2026-03-27 13:56:57,613 - INFO - Generating full task graph
[task 2026-03-27T13:56:57.614Z] 2026-03-27 13:56:57,614 - INFO - Full task graph contains 112 tasks and 310 dependencies
[task 2026-03-27T13:56:57.619Z] 2026-03-27 13:56:57,619 - INFO - writing artifact file `full-task-graph.json`
[task 2026-03-27T13:56:57.656Z] 2026-03-27 13:56:57,656 - INFO - writing artifact file `runnable-jobs.json`
[task 2026-03-27T13:56:57.657Z] 2026-03-27 13:56:57,657 - INFO - Generating target task set
[task 2026-03-27T13:56:57.658Z] 2026-03-27 13:56:57,657 - INFO - Filter filter_target_tasks pruned 97 tasks (15 remain)
[task 2026-03-27T13:56:57.658Z] 2026-03-27 13:56:57,658 - INFO - Filter filter_branch_build_tasks pruned 2 tasks (13 remain)
[task 2026-03-27T13:56:57.658Z] 2026-03-27 13:56:57,658 - INFO - writing artifact file `target-tasks.json`
[task 2026-03-27T13:56:57.659Z] 2026-03-27 13:56:57,659 - INFO - Generating target task graph
[task 2026-03-27T13:56:57.659Z] 2026-03-27 13:56:57,659 - INFO - Adding 0 tasks with `always_target` attribute
[task 2026-03-27T13:56:57.659Z] 2026-03-27 13:56:57,659 - INFO - Generating optimized task graph
[task 2026-03-27T13:56:57.660Z] 2026-03-27 13:56:57,660 - INFO - No tasks removed during optimization
[task 2026-03-27T13:56:58.062Z] 2026-03-27 13:56:58,043 - INFO - Replaced 9 tasks by index-search (index-search) during optimization.
[task 2026-03-27T13:56:58.062Z] 2026-03-27 13:56:58,044 - INFO - writing artifact file `task-graph.json`
[task 2026-03-27T13:56:58.062Z] 2026-03-27 13:56:58,045 - INFO - writing artifact file `label-to-taskid.json`
[task 2026-03-27T13:56:58.062Z] 2026-03-27 13:56:58,047 - INFO - Creating task with taskId T9OVnxVoRByvl574PkjHhA for Build summary task
[task 2026-03-27T13:56:58.062Z] 2026-03-27 13:56:58,049 - INFO - Creating task with taskId Bqdh3QXQQpKXMsZOYQJizA for lint-ktlint
[task 2026-03-27T13:56:58.062Z] 2026-03-27 13:56:58,056 - INFO - Creating task with taskId XUji2oBnTrKD5hwtRWUmcA for lint-detekt
[task 2026-03-27T13:56:58.062Z] 2026-03-27 13:56:58,058 - INFO - Creating task with taskId ZlT4z24XQ0OIQx-9zbskoA for android-build-pr
[taskcluster 2026-03-27T13:56:59.097Z] Exit Code: 0
[taskcluster 2026-03-27T13:56:59.097Z] User Time: 14.028ms
[taskcluster 2026-03-27T13:56:59.097Z] Kernel Time: 20.04ms
[taskcluster 2026-03-27T13:56:59.097Z] Wall Time: 5.143089629s
[taskcluster 2026-03-27T13:56:59.097Z] Average Available System Memory: 6.91 GiB
[taskcluster 2026-03-27T13:56:59.097Z] Average System Memory Used: 855.48 MiB
[taskcluster 2026-03-27T13:56:59.097Z] Peak System Memory Used: 932.04 MiB
[taskcluster 2026-03-27T13:56:59.097Z] Total System Memory: 7.75 GiB
[taskcluster 2026-03-27T13:56:59.097Z] Result: SUCCEEDED
[taskcluster 2026-03-27T13:56:59.099Z] === Task Finished ===
[taskcluster 2026-03-27T13:56:59.099Z] Task Duration: 5.145288726s
[taskcluster 2026-03-27T13:57:00.964Z] [mounts] Preserving cache: Moving "/home/task_177459392564399/cache0" to "/home/generic-worker/caches/YpMYS820QROkszdIDd1l8A"