feat(python): switch from black to ruff-format for formatting #46
firefoxci-taskcluster / Decision Task
succeeded
Aug 6, 2024 in 17s
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
[taskcluster 2024-08-06 20:59:56.838Z] Task ID: JwnbBcPCR7aYOmd09A9hSg
[taskcluster 2024-08-06 20:59:56.839Z] Worker ID: 4071787677263803180
[taskcluster 2024-08-06 20:59:56.839Z] Worker Group: us-central1-b
[taskcluster 2024-08-06 20:59:56.839Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-2
[taskcluster 2024-08-06 20:59:56.839Z] Worker Pool: mozilla-1/decision-gcp
[taskcluster 2024-08-06 20:59:56.839Z] Worker Version: 38.0.5
[taskcluster 2024-08-06 20:59:56.839Z] Public IP: 34.72.6.147
[taskcluster 2024-08-06 20:59:56.839Z] Hostname: mozilla-1-decision-gcp-veza4rgbroomcuo3jsipjg
[taskcluster 2024-08-06 20:59:56.839Z] using cache "mozilla-project-reps-level-1-checkouts-sparse-v2" -> /builds/worker/checkouts
25d693efad98 - Started downloading
40b7eb60caff - Started downloading
e67bee4813b9 - Started downloading
40b7eb60caff - Downloaded in 0.149 seconds
25d693efad98 - Downloaded in 0.4 seconds
38870df8bd1d - Started downloading
38870df8bd1d - Downloaded in 0 seconds
e67bee4813b9 - Downloaded in 0.958 seconds
Digest: sha256:1d1364c01c13002a13863f0ef27dd7331ad1c7fe92bbb8b0b4019dc5a821461c
Status: Downloaded newer image for mozillareleases/taskgraph@sha256:1d1364c01c13002a13863f0ef27dd7331ad1c7fe92bbb8b0b4019dc5a821461c
[taskcluster 2024-08-06 21:00:06.666Z] === Task Starting ===
[setup 2024-08-06T21:00:07.845Z] run-task started in /
[setup 2024-08-06T21:00:07.845Z] Invoked by command: --reps-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='reps' --owner='[email protected]' --level='1' --repository-type=git --tasks-for='github-pull-request' --base-repository='https://github.com/mozilla-releng/reps' --base-ref='main' --base-rev='e04586e1ea260a4da0cfe4e01e30a93cd732a68a' --head-repository='https://github.com/ahal/reps' --head-ref='ruff-format' --head-rev='2a3d54ffaa3c7bceb6925035b2ed51991227d990'
[setup 2024-08-06T21:00:07.845Z] Python version: 3.11.2
[vcs 2024-08-06T21:00:07.847Z] WARNING: vcs checkout path (/builds/worker/checkouts/src) not in cache or volume; performance will likely suffer
[setup 2024-08-06T21:00:07.847Z] running as worker:worker
[vcs 2024-08-06T21:00:07.848Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/src']
[vcs 2024-08-06T21:00:07.851Z] executing ['git', 'clone', 'https://github.com/mozilla-releng/reps', '/builds/worker/checkouts/src']
[vcs 2024-08-06T21:00:07.853Z] Cloning into '/builds/worker/checkouts/src'...
[vcs 2024-08-06T21:00:08.324Z] executing ['git', 'fetch', 'origin', 'main']
[vcs 2024-08-06T21:00:08.539Z] From https://github.com/mozilla-releng/reps
[vcs 2024-08-06T21:00:08.539Z] * branch main -> FETCH_HEAD
[vcs 2024-08-06T21:00:08.545Z] executing ['git', 'checkout', 'main']
[vcs 2024-08-06T21:00:08.550Z] Already on 'main'
[vcs 2024-08-06T21:00:08.551Z] Your branch is up to date with 'origin/main'.
[vcs 2024-08-06T21:00:08.551Z] executing ['git', 'fetch', 'origin', 'e04586e1ea260a4da0cfe4e01e30a93cd732a68a']
[vcs 2024-08-06T21:00:08.730Z] From https://github.com/mozilla-releng/reps
[vcs 2024-08-06T21:00:08.730Z] * branch e04586e1ea260a4da0cfe4e01e30a93cd732a68a -> FETCH_HEAD
[vcs 2024-08-06T21:00:08.737Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/ahal/reps', 'ruff-format']
[vcs 2024-08-06T21:00:08.996Z] From https://github.com/ahal/reps
[vcs 2024-08-06T21:00:08.997Z] * branch ruff-format -> FETCH_HEAD
[vcs 2024-08-06T21:00:08.999Z] executing ['git', 'checkout', '-f', '-B', 'ruff-format', '2a3d54ffaa3c7bceb6925035b2ed51991227d990']
[vcs 2024-08-06T21:00:09.006Z] Switched to a new branch 'ruff-format'
[vcs 2024-08-06T21:00:09.006Z] cleaning git checkout...
[vcs 2024-08-06T21:00:09.006Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-08-06T21:00:09.009Z] removing []
[vcs 2024-08-06T21:00:09.009Z] successfully cleaned git checkout!
[vcs 2024-08-06T21:00:09.011Z] TinderboxPrint:<a href='https://github.com/ahal/reps/commit/2a3d54ffaa3c7bceb6925035b2ed51991227d990' title='Built from reps commit 2a3d54ffaa3c7bceb6925035b2ed51991227d990'>2a3d54ffaa3c7bceb6925035b2ed51991227d990</a>
[task 2024-08-06T21:00:09.011Z] executing ['bash', '-cx', "cd /builds/worker/checkouts/src && ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id='0' --pushdate='0' --project='reps' --owner='[email protected]' --level='1' --repository-type=git --tasks-for='github-pull-request' --base-repository='https://github.com/mozilla-releng/reps' --base-ref='main' --base-rev='e04586e1ea260a4da0cfe4e01e30a93cd732a68a' --head-repository='https://github.com/ahal/reps' --head-ref='ruff-format' --head-rev='2a3d54ffaa3c7bceb6925035b2ed51991227d990' \n"]
[task 2024-08-06T21:00:09.013Z] + cd /builds/worker/checkouts/src
[task 2024-08-06T21:00:09.014Z] + ln -s /builds/worker/artifacts artifacts
[task 2024-08-06T21:00:09.015Z] + taskgraph decision --pushlog-id=0 --pushdate=0 --project=reps [email protected] --level=1 --repository-type=git --tasks-for=github-pull-request --base-repository=https://github.com/mozilla-releng/reps --base-ref=main --base-rev=e04586e1ea260a4da0cfe4e01e30a93cd732a68a --head-repository=https://github.com/ahal/reps --head-ref=ruff-format --head-rev=2a3d54ffaa3c7bceb6925035b2ed51991227d990
[task 2024-08-06T21:00:09.567Z] 2024-08-06 21:00:09,566 - INFO - Loading graph configuration.
[task 2024-08-06T21:00:09.574Z] 2024-08-06 21:00:09,574 - WARNING - using default project parameters; add reps to PER_PROJECT_PARAMETERS in /usr/local/lib/python3.11/dist-packages/taskgraph/decision.py to customize behavior for this project
[task 2024-08-06T21:00:09.575Z] 2024-08-06 21:00:09,575 - INFO - Using Parameters(id=8b0873c7cd63) (from defaults)
[task 2024-08-06T21:00:09.576Z] 2024-08-06 21:00:09,575 - INFO - writing artifact file `parameters.yml`
[task 2024-08-06T21:00:09.586Z] 2024-08-06 21:00:09,585 - INFO - writing artifact file `actions.json`
[task 2024-08-06T21:00:09.587Z] 2024-08-06 21:00:09,587 - INFO - Loading kinds
[task 2024-08-06T21:00:09.596Z] 2024-08-06 21:00:09,596 - INFO - Generating full task set
[task 2024-08-06T21:00:09.616Z] 2024-08-06 21:00:09,616 - INFO - Writing docker-contexts/fetch.tar.gz for docker image fetch
[task 2024-08-06T21:00:09.633Z] 2024-08-06 21:00:09,633 - INFO - Writing docker-contexts/python.tar.gz for docker image python
[task 2024-08-06T21:00:09.651Z] 2024-08-06 21:00:09,651 - INFO - Generated 2 tasks for kind docker-image
[task 2024-08-06T21:00:09.669Z] 2024-08-06 21:00:09,669 - INFO - Generated 1 tasks for kind fetch
[task 2024-08-06T21:00:09.672Z] 2024-08-06 21:00:09,672 - INFO - Generated 2 tasks for kind test
[task 2024-08-06T21:00:09.674Z] 2024-08-06 21:00:09,674 - INFO - Generated 1 tasks for kind codecov
[task 2024-08-06T21:00:09.674Z] 2024-08-06 21:00:09,674 - INFO - Generating full task graph
[task 2024-08-06T21:00:09.674Z] 2024-08-06 21:00:09,674 - INFO - Full task graph contains 6 tasks and 6 dependencies
[task 2024-08-06T21:00:09.675Z] 2024-08-06 21:00:09,675 - INFO - writing artifact file `full-task-graph.json`
[task 2024-08-06T21:00:09.676Z] 2024-08-06 21:00:09,676 - INFO - writing artifact file `runnable-jobs.json`
[task 2024-08-06T21:00:09.677Z] 2024-08-06 21:00:09,677 - INFO - Generating target task set
[task 2024-08-06T21:00:09.677Z] 2024-08-06 21:00:09,677 - INFO - Filter filter_target_tasks pruned 3 tasks (3 remain)
[task 2024-08-06T21:00:09.677Z] 2024-08-06 21:00:09,677 - INFO - writing artifact file `target-tasks.json`
[task 2024-08-06T21:00:09.677Z] 2024-08-06 21:00:09,677 - INFO - Generating target task graph
[task 2024-08-06T21:00:09.677Z] 2024-08-06 21:00:09,677 - INFO - Adding 2 tasks with `always_target` attribute
[task 2024-08-06T21:00:09.678Z] 2024-08-06 21:00:09,678 - INFO - Generating optimized task graph
[task 2024-08-06T21:00:09.678Z] 2024-08-06 21:00:09,678 - INFO - No tasks removed during optimization
[task 2024-08-06T21:00:10.354Z] 2024-08-06 21:00:10,354 - INFO - Replaced 3 tasks by index-search (index-search) during optimization.
[task 2024-08-06T21:00:10.355Z] 2024-08-06 21:00:10,355 - INFO - writing artifact file `task-graph.json`
[task 2024-08-06T21:00:10.356Z] 2024-08-06 21:00:10,356 - INFO - writing artifact file `label-to-taskid.json`
[task 2024-08-06T21:00:10.358Z] 2024-08-06 21:00:10,358 - INFO - Creating task with taskId ZMUkSk7LQHiY3N83_rGWoQ for test-unit
[task 2024-08-06T21:00:10.360Z] 2024-08-06 21:00:10,358 - INFO - Creating task with taskId DZYyDHqJT8OPQf8J7JCiAA for test-type-check
[task 2024-08-06T21:00:10.479Z] 2024-08-06 21:00:10,479 - INFO - Creating task with taskId OIjfo72hQBujoncTlO1PFQ for codecov-upload
[taskcluster 2024-08-06 21:00:10.797Z] === Task Finished ===
[taskcluster 2024-08-06 21:00:12.765Z] Successful task run with exit code: 0 completed in 15.928 seconds
Loading