refactor: get rid of hardcoded attribute filtering in find_tasks #225
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: 2024-12-16T15:55:36.951Z
Resolved: 2024-12-16T15:55:58.910Z
Task Execution Time: 21 seconds, 959 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0
Artifacts
- public/actions.json
- public/chain-of-trust.json
- public/chain-of-trust.json.sig
- public/docker-contexts/build-decision.tar.gz
- public/docker-contexts/python3.11.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 2024-12-16 15:55:37.003Z] Task ID: d0XIds01RtmEbgmY5HcSnQ
[taskcluster 2024-12-16 15:55:37.003Z] Worker ID: 3374401364855485399
[taskcluster 2024-12-16 15:55:37.003Z] Worker Group: us-west1-b
[taskcluster 2024-12-16 15:55:37.003Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-2
[taskcluster 2024-12-16 15:55:37.003Z] Worker Pool: ci-1/decision-gcp
[taskcluster 2024-12-16 15:55:37.003Z] Worker Version: 38.0.5
[taskcluster 2024-12-16 15:55:37.003Z] Public IP: 34.169.88.13
[taskcluster 2024-12-16 15:55:37.003Z] Hostname: ci-1-decision-gcp-f4yv6hfataqkdz3twfzmkg
[taskcluster 2024-12-16 15:55:37.003Z] using cache "ci-level-1-checkouts-sparse-v1" -> /builds/worker/checkouts
51ef4d363c0b - Started downloading
eb45b407d1cc - Started downloading
258767289e45 - Started downloading
51ef4d363c0b - Downloaded in 0.064 seconds
eb45b407d1cc - Downloaded in 0.265 seconds
2a936e0a7084 - Started downloading
2a936e0a7084 - Downloaded in 0 seconds
258767289e45 - Downloaded in 0.837 seconds
Digest: sha256:756d6edd4c60e1c58132a667273e3cb6113bde3d7a4a3f7b326b375caf53eb81
Status: Downloaded newer image for mozillareleases/taskgraph@sha256:756d6edd4c60e1c58132a667273e3cb6113bde3d7a4a3f7b326b375caf53eb81
[taskcluster 2024-12-16 15:55:50.720Z] === Task Starting ===
[setup 2024-12-16T15:55:51.361Z] run-task started in /
[setup 2024-12-16T15:55:51.361Z] Invoked by command: --fxci-checkout=/builds/worker/checkouts/src --task-cwd=/builds/worker/checkouts/src -- bash -cx ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id='0' --pushdate='0' --project='fxci-config' --owner='[email protected]' --level='1' --repository-type=git --tasks-for='github-pull-request' --base-repository='https://github.com/mozilla-releng/fxci-config' --base-ref='main' --base-rev='fd3b621ac336bc63bc610b3cf806946271ab7a86' --head-repository='https://github.com/bhearsum/fxci-config' --head-ref='hardcoded-attrs' --head-rev='70a27fd0124485a056c112f5d3ac08f19acff69d' ${TRY_TASK_CONFIG_FILE+--try-task-config-file="${TRY_TASK_CONFIG_FILE}"}
[setup 2024-12-16T15:55:51.361Z] Python version: 3.11.2
[vcs 2024-12-16T15:55:51.364Z] WARNING: vcs checkout path (/builds/worker/checkouts/src) not in cache or volume; performance will likely suffer
[setup 2024-12-16T15:55:51.364Z] running as worker:worker
[vcs 2024-12-16T15:55:51.365Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/src']
[vcs 2024-12-16T15:55:51.367Z] executing ['git', 'clone', 'https://github.com/bhearsum/fxci-config', '/builds/worker/checkouts/src']
[vcs 2024-12-16T15:55:51.369Z] Cloning into '/builds/worker/checkouts/src'...
[vcs 2024-12-16T15:55:53.160Z] executing ['git', 'fetch', 'origin', 'main']
[vcs 2024-12-16T15:55:53.469Z] From https://github.com/bhearsum/fxci-config
[vcs 2024-12-16T15:55:53.469Z] * branch main -> FETCH_HEAD
[vcs 2024-12-16T15:55:53.476Z] executing ['git', 'checkout', 'main']
[vcs 2024-12-16T15:55:53.483Z] Already on 'main'
[vcs 2024-12-16T15:55:53.483Z] Your branch is up to date with 'origin/main'.
[vcs 2024-12-16T15:55:53.484Z] executing ['git', 'fetch', 'origin', 'fd3b621ac336bc63bc610b3cf806946271ab7a86']
[vcs 2024-12-16T15:55:53.807Z] From https://github.com/bhearsum/fxci-config
[vcs 2024-12-16T15:55:53.809Z] * branch fd3b621ac336bc63bc610b3cf806946271ab7a86 -> FETCH_HEAD
[vcs 2024-12-16T15:55:53.813Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/bhearsum/fxci-config', 'hardcoded-attrs']
[vcs 2024-12-16T15:55:54.122Z] From https://github.com/bhearsum/fxci-config
[vcs 2024-12-16T15:55:54.124Z] * branch hardcoded-attrs -> FETCH_HEAD
[vcs 2024-12-16T15:55:54.128Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/bhearsum/fxci-config', 'hardcoded-attrs']
[vcs 2024-12-16T15:55:54.435Z] From https://github.com/bhearsum/fxci-config
[vcs 2024-12-16T15:55:54.435Z] * branch hardcoded-attrs -> FETCH_HEAD
[vcs 2024-12-16T15:55:54.442Z] executing ['git', 'checkout', '-f', '-B', 'hardcoded-attrs', '70a27fd0124485a056c112f5d3ac08f19acff69d']
[vcs 2024-12-16T15:55:54.457Z] Switched to a new branch 'hardcoded-attrs'
[vcs 2024-12-16T15:55:54.458Z] cleaning git checkout...
[vcs 2024-12-16T15:55:54.458Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-12-16T15:55:54.461Z] removing []
[vcs 2024-12-16T15:55:54.461Z] successfully cleaned git checkout!
[vcs 2024-12-16T15:55:54.463Z] TinderboxPrint:<a href='https://github.com/bhearsum/fxci-config/commit/70a27fd0124485a056c112f5d3ac08f19acff69d' title='Built from fxci-config commit 70a27fd0124485a056c112f5d3ac08f19acff69d'>70a27fd0124485a056c112f5d3ac08f19acff69d</a>
[pip-install 2024-12-16T15:55:54.482Z] executing ['uv', 'pip', 'install', '--python', '/usr/bin/python3', '--target', '/builds/worker/.local/lib/python3.11/site-packages', '--require-hashes', '-r', '/builds/worker/checkouts/src/taskcluster/requirements.txt']
[pip-install 2024-12-16T15:55:54.855Z] Resolved 20 packages in 315ms
[pip-install 2024-12-16T15:55:54.987Z] Prepared 20 packages in 129ms
[pip-install 2024-12-16T15:55:55.001Z] Installed 20 packages in 13ms
[pip-install 2024-12-16T15:55:55.001Z] + aiohappyeyeballs==2.4.3
[pip-install 2024-12-16T15:55:55.003Z] + aiohttp==3.11.2
[pip-install 2024-12-16T15:55:55.003Z] + aiosignal==1.3.1
[pip-install 2024-12-16T15:55:55.004Z] + async-timeout==5.0.1
[pip-install 2024-12-16T15:55:55.004Z] + attrs==24.2.0
[pip-install 2024-12-16T15:55:55.004Z] + certifi==2024.8.30
[pip-install 2024-12-16T15:55:55.004Z] + charset-normalizer==3.4.0
[pip-install 2024-12-16T15:55:55.004Z] + frozenlist==1.5.0
[pip-install 2024-12-16T15:55:55.004Z] + idna==3.10
[pip-install 2024-12-16T15:55:55.004Z] + mohawk==1.1.0
[pip-install 2024-12-16T15:55:55.004Z] + multidict==6.1.0
[pip-install 2024-12-16T15:55:55.004Z] + propcache==0.2.0
[pip-install 2024-12-16T15:55:55.004Z] + python-dateutil==2.9.0.post0
[pip-install 2024-12-16T15:55:55.004Z] + requests==2.32.3
[pip-install 2024-12-16T15:55:55.004Z] + six==1.16.0
[pip-install 2024-12-16T15:55:55.004Z] + slugid==2.0.0
[pip-install 2024-12-16T15:55:55.004Z] + taskcluster==74.0.1
[pip-install 2024-12-16T15:55:55.004Z] + taskcluster-urls==13.0.1
[pip-install 2024-12-16T15:55:55.004Z] + urllib3==2.2.3
[pip-install 2024-12-16T15:55:55.006Z] + yarl==1.17.2
[task 2024-12-16T15:55:55.011Z] executing ['bash', '-cx', 'ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id=\'0\' --pushdate=\'0\' --project=\'fxci-config\' --owner=\'[email protected]\' --level=\'1\' --repository-type=git --tasks-for=\'github-pull-request\' --base-repository=\'https://github.com/mozilla-releng/fxci-config\' --base-ref=\'main\' --base-rev=\'fd3b621ac336bc63bc610b3cf806946271ab7a86\' --head-repository=\'https://github.com/bhearsum/fxci-config\' --head-ref=\'hardcoded-attrs\' --head-rev=\'70a27fd0124485a056c112f5d3ac08f19acff69d\' ${TRY_TASK_CONFIG_FILE+--try-task-config-file="${TRY_TASK_CONFIG_FILE}"} \n']
[task 2024-12-16T15:55:55.014Z] + ln -s /builds/worker/artifacts artifacts
[task 2024-12-16T15:55:55.016Z] + taskgraph decision --pushlog-id=0 --pushdate=0 --project=fxci-config [email protected] --level=1 --repository-type=git --tasks-for=github-pull-request --base-repository=https://github.com/mozilla-releng/fxci-config --base-ref=main --base-rev=fd3b621ac336bc63bc610b3cf806946271ab7a86 --head-repository=https://github.com/bhearsum/fxci-config --head-ref=hardcoded-attrs --head-rev=70a27fd0124485a056c112f5d3ac08f19acff69d
[task 2024-12-16T15:55:55.670Z] 2024-12-16 15:55:55,670 - INFO - Loading graph configuration.
[task 2024-12-16T15:55:55.679Z] 2024-12-16 15:55:55,679 - WARNING - using default project parameters; add fxci-config to PER_PROJECT_PARAMETERS in /usr/local/lib/python3.11/dist-packages/taskgraph/decision.py to customize behavior for this project
[task 2024-12-16T15:55:55.680Z] 2024-12-16 15:55:55,680 - INFO - Using Parameters(id=df9f4053cc5f) (from defaults)
[task 2024-12-16T15:55:55.681Z] 2024-12-16 15:55:55,681 - INFO - writing artifact file `parameters.yml`
[task 2024-12-16T15:55:55.692Z] 2024-12-16 15:55:55,692 - INFO - writing artifact file `actions.json`
[task 2024-12-16T15:55:55.694Z] 2024-12-16 15:55:55,694 - INFO - Loading kinds
[task 2024-12-16T15:55:55.696Z] 2024-12-16 15:55:55,696 - INFO - Generating full task set
[task 2024-12-16T15:55:55.719Z] 2024-12-16 15:55:55,718 - INFO - Writing docker-contexts/build-decision.tar.gz for docker image build-decision
[task 2024-12-16T15:55:55.730Z] 2024-12-16 15:55:55,730 - INFO - Writing docker-contexts/python3.11.tar.gz for docker image python3.11
[task 2024-12-16T15:55:55.748Z] 2024-12-16 15:55:55,748 - INFO - Generated 2 tasks for kind docker-image
[task 2024-12-16T15:55:55.809Z] 2024-12-16 15:55:55,809 - INFO - Generated 0 tasks for kind firefoxci-artifact
[task 2024-12-16T15:55:55.812Z] 2024-12-16 15:55:55,812 - INFO - Generated 1 tasks for kind tc-admin
[task 2024-12-16T15:55:55.815Z] 2024-12-16 15:55:55,815 - INFO - Generated 3 tasks for kind tests
[task 2024-12-16T15:55:55.818Z] 2024-12-16 15:55:55,818 - INFO - Generated 0 tasks for kind integration-test
[task 2024-12-16T15:55:55.818Z] 2024-12-16 15:55:55,818 - INFO - Generating full task graph
[task 2024-12-16T15:55:55.818Z] 2024-12-16 15:55:55,818 - INFO - Full task graph contains 6 tasks and 4 dependencies
[task 2024-12-16T15:55:55.818Z] 2024-12-16 15:55:55,818 - INFO - writing artifact file `full-task-graph.json`
[task 2024-12-16T15:55:55.820Z] 2024-12-16 15:55:55,820 - INFO - writing artifact file `runnable-jobs.json`
[task 2024-12-16T15:55:55.820Z] 2024-12-16 15:55:55,820 - INFO - Generating target task set
[task 2024-12-16T15:55:55.821Z] 2024-12-16 15:55:55,821 - INFO - Filter filter_target_tasks pruned 3 tasks (3 remain)
[task 2024-12-16T15:55:55.821Z] 2024-12-16 15:55:55,821 - INFO - writing artifact file `target-tasks.json`
[task 2024-12-16T15:55:55.821Z] 2024-12-16 15:55:55,821 - INFO - Generating target task graph
[task 2024-12-16T15:55:55.821Z] 2024-12-16 15:55:55,821 - INFO - Adding 2 tasks with `always_target` attribute
[task 2024-12-16T15:55:55.821Z] 2024-12-16 15:55:55,821 - INFO - Generating optimized task graph
[task 2024-12-16T15:55:55.822Z] 2024-12-16 15:55:55,822 - INFO - Removed 1 tasks by skip-unless-changed (skip-unless-changed) during optimization.
[task 2024-12-16T15:55:55.888Z] 2024-12-16 15:55:55,888 - INFO - Replaced 2 tasks by index-search (index-search) during optimization.
[task 2024-12-16T15:55:55.889Z] 2024-12-16 15:55:55,889 - INFO - writing artifact file `task-graph.json`
[task 2024-12-16T15:55:55.889Z] 2024-12-16 15:55:55,889 - INFO - writing artifact file `label-to-taskid.json`
[task 2024-12-16T15:55:55.891Z] 2024-12-16 15:55:55,891 - INFO - Creating task with taskId b3dVtenVTUKq-KEXrHEX_w for tests-unit-fxci-config-taskgraph
[task 2024-12-16T15:55:55.893Z] 2024-12-16 15:55:55,893 - INFO - Creating task with taskId DqO7FsGGSBuE1ZaoO2m0vw for tests-unit-ciadmin
[taskcluster 2024-12-16 15:55:56.270Z] === Task Finished ===
[taskcluster 2024-12-16 15:55:58.255Z] Successful task run with exit code: 0 completed in 21.256 seconds