Set scopes properly in push-image tasks #442
Merged
firefoxci-taskcluster / Decision Task
succeeded
Feb 7, 2024 in 13s
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-02-07 14:23:44.742Z] Task ID: Vv7-kwYGQS-HiXPVFifmYQ
[taskcluster 2024-02-07 14:23:44.742Z] Worker ID: 2254801651077362305
[taskcluster 2024-02-07 14:23:44.742Z] Worker Group: us-central1
[taskcluster 2024-02-07 14:23:44.742Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-2
[taskcluster 2024-02-07 14:23:44.742Z] Worker Pool: taskgraph-1/decision-gcp
[taskcluster 2024-02-07 14:23:44.742Z] Worker Version: 38.0.5
[taskcluster 2024-02-07 14:23:44.742Z] Public IP: 34.72.65.6
[taskcluster 2024-02-07 14:23:44.742Z] Hostname: taskgraph-1-decision-gcp-x6l1qaalqeiyss0k2jla3g
[taskcluster 2024-02-07 14:23:44.742Z] using cache "taskgraph-level-1-checkouts-sparse-v2" -> /builds/worker/checkouts
[taskcluster 2024-02-07 14:23:45.224Z] === Task Starting ===
[setup 2024-02-07T14:23:45.498Z] run-task started in /
[vcs 2024-02-07T14:23:45.500Z] WARNING: vcs checkout path (/builds/worker/checkouts/src) not in cache or volume; performance will likely suffer
[setup 2024-02-07T14:23:45.500Z] running as worker:worker
[vcs 2024-02-07T14:23:45.501Z] executing ['git', 'fetch', '--tags', 'https://github.com/ahal/taskgraph', 'test']
[vcs 2024-02-07T14:23:45.715Z] From https://github.com/ahal/taskgraph
[vcs 2024-02-07T14:23:45.716Z] * branch test -> FETCH_HEAD
[vcs 2024-02-07T14:23:45.720Z] executing ['git', 'checkout', '-f', 'd3fdb618f3519cb71890cceb14c93e0909dd67d9']
[vcs 2024-02-07T14:23:45.725Z] Warning: you are leaving 1 commit behind, not connected to
[vcs 2024-02-07T14:23:45.725Z] any of your branches:
[vcs 2024-02-07T14:23:45.725Z]
[vcs 2024-02-07T14:23:45.725Z] 7d261e9 TEST
[vcs 2024-02-07T14:23:45.725Z]
[vcs 2024-02-07T14:23:45.725Z] If you want to keep it by creating a new branch, this may be a good time
[vcs 2024-02-07T14:23:45.725Z] to do so with:
[vcs 2024-02-07T14:23:45.725Z]
[vcs 2024-02-07T14:23:45.725Z] git branch <new-branch-name> 7d261e9
[vcs 2024-02-07T14:23:45.725Z]
[vcs 2024-02-07T14:23:45.726Z] HEAD is now at d3fdb61 ci: define scopes in push-image tasks
[vcs 2024-02-07T14:23:45.726Z] executing ['git', 'clean', '-xdff']
[vcs 2024-02-07T14:23:45.729Z] Removing artifacts
[vcs 2024-02-07T14:23:45.729Z] Removing docker-contexts/
[vcs 2024-02-07T14:23:45.729Z] Removing taskcluster/self_taskgraph/transforms/__pycache__/
[vcs 2024-02-07T14:23:45.732Z] TinderboxPrint:<a href='https://github.com/ahal/taskgraph/commit/d3fdb618f3519cb71890cceb14c93e0909dd67d9' title='Built from taskgraph commit d3fdb618f3519cb71890cceb14c93e0909dd67d9'>d3fdb618f3519cb71890cceb14c93e0909dd67d9</a>
[task 2024-02-07T14:23:45.732Z] executing ['bash', '-cx', "cd /builds/worker/checkouts/src && ln -s /builds/worker/artifacts artifacts && pip3 install --user . && ~/.local/bin/taskgraph decision --pushlog-id='0' --pushdate='0' --project='taskgraph' --owner='[email protected]' --level='1' --repository-type=git --tasks-for='github-pull-request' --base-repository='https://github.com/taskcluster/taskgraph' --base-ref='main' --base-rev='31e06092d5a4aa25e741885492ee7f7b270c5cc4' --head-repository='https://github.com/ahal/taskgraph' --head-ref='test' --head-rev='d3fdb618f3519cb71890cceb14c93e0909dd67d9' \n"]
[task 2024-02-07T14:23:45.735Z] + cd /builds/worker/checkouts/src
[task 2024-02-07T14:23:45.735Z] + ln -s /builds/worker/artifacts artifacts
[task 2024-02-07T14:23:45.737Z] + pip3 install --user .
[task 2024-02-07T14:23:46.361Z] Processing /builds/worker/checkouts/src
[task 2024-02-07T14:23:46.363Z] DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
[task 2024-02-07T14:23:46.364Z] pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
[task 2024-02-07T14:23:46.486Z] Installing build dependencies: started
[task 2024-02-07T14:23:48.994Z] Installing build dependencies: finished with status 'done'
[task 2024-02-07T14:23:48.998Z] Getting requirements to build wheel: started
[task 2024-02-07T14:23:49.143Z] Getting requirements to build wheel: finished with status 'done'
[task 2024-02-07T14:23:49.146Z] Preparing wheel metadata: started
[task 2024-02-07T14:23:49.311Z] Preparing wheel metadata: finished with status 'done'
[task 2024-02-07T14:23:49.323Z] Requirement already satisfied: redo>=2.0 in /usr/local/lib/python3.8/dist-packages (from taskcluster-taskgraph==7.1.2) (2.0.4)
[task 2024-02-07T14:23:49.400Z] Collecting mozilla-repo-urls
[task 2024-02-07T14:23:49.510Z] Downloading mozilla_repo_urls-0.1.1-py3-none-any.whl (6.2 kB)
[task 2024-02-07T14:23:49.515Z] Requirement already satisfied: voluptuous>=0.12.1 in /usr/local/lib/python3.8/dist-packages (from taskcluster-taskgraph==7.1.2) (0.12.2)
[task 2024-02-07T14:23:49.516Z] Requirement already satisfied: taskcluster-urls>=11.0 in /usr/local/lib/python3.8/dist-packages (from taskcluster-taskgraph==7.1.2) (13.0.1)
[task 2024-02-07T14:23:49.517Z] Requirement already satisfied: appdirs>=1.4 in /usr/local/lib/python3.8/dist-packages (from taskcluster-taskgraph==7.1.2) (1.4.4)
[task 2024-02-07T14:23:49.518Z] Requirement already satisfied: requests>=2.25 in /usr/local/lib/python3.8/dist-packages (from taskcluster-taskgraph==7.1.2) (2.27.1)
[task 2024-02-07T14:23:49.569Z] Collecting cookiecutter~=2.1
[task 2024-02-07T14:23:49.604Z] Downloading cookiecutter-2.5.0-py3-none-any.whl (39 kB)
[task 2024-02-07T14:23:49.623Z] Requirement already satisfied: slugid>=2.0 in /usr/local/lib/python3.8/dist-packages (from taskcluster-taskgraph==7.1.2) (2.0.0)
[task 2024-02-07T14:23:49.624Z] Requirement already satisfied: json-e>=2.7 in /usr/local/lib/python3.8/dist-packages (from taskcluster-taskgraph==7.1.2) (4.4.3)
[task 2024-02-07T14:23:49.626Z] Requirement already satisfied: PyYAML>=5.3.1 in /usr/local/lib/python3.8/dist-packages (from taskcluster-taskgraph==7.1.2) (6.0)
[task 2024-02-07T14:23:49.684Z] Collecting click<9.0.0,>=7.0
[task 2024-02-07T14:23:49.720Z] Downloading click-8.1.7-py3-none-any.whl (97 kB)
[task 2024-02-07T14:23:49.804Z] Collecting python-slugify>=4.0.0
[task 2024-02-07T14:23:49.843Z] Downloading python_slugify-8.0.3-py2.py3-none-any.whl (10 kB)
[task 2024-02-07T14:23:49.871Z] Collecting binaryornot>=0.4.4
[task 2024-02-07T14:23:49.906Z] Downloading binaryornot-0.4.4-py2.py3-none-any.whl (9.0 kB)
[task 2024-02-07T14:23:49.963Z] Collecting arrow
[task 2024-02-07T14:23:49.999Z] Downloading arrow-1.3.0-py3-none-any.whl (66 kB)
[task 2024-02-07T14:23:50.173Z] Collecting rich
[task 2024-02-07T14:23:50.208Z] Downloading rich-13.7.0-py3-none-any.whl (240 kB)
[task 2024-02-07T14:23:50.300Z] Collecting Jinja2<4.0.0,>=2.7
[task 2024-02-07T14:23:50.335Z] Downloading Jinja2-3.1.3-py3-none-any.whl (133 kB)
[task 2024-02-07T14:23:50.374Z] Collecting chardet>=3.0.2
[task 2024-02-07T14:23:50.409Z] Downloading chardet-5.2.0-py3-none-any.whl (199 kB)
[task 2024-02-07T14:23:50.612Z] Collecting MarkupSafe>=2.0
[task 2024-02-07T14:23:50.648Z] Downloading MarkupSafe-2.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26 kB)
[task 2024-02-07T14:23:50.684Z] Collecting text-unidecode>=1.3
[task 2024-02-07T14:23:50.719Z] Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
[task 2024-02-07T14:23:50.738Z] Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.8/dist-packages (from requests>=2.25->taskcluster-taskgraph==7.1.2) (2.0.10)
[task 2024-02-07T14:23:50.740Z] Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.8/dist-packages (from requests>=2.25->taskcluster-taskgraph==7.1.2) (3.3)
[task 2024-02-07T14:23:50.742Z] Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.8/dist-packages (from requests>=2.25->taskcluster-taskgraph==7.1.2) (1.26.8)
[task 2024-02-07T14:23:50.743Z] Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/dist-packages (from requests>=2.25->taskcluster-taskgraph==7.1.2) (2021.10.8)
[task 2024-02-07T14:23:50.808Z] Collecting python-dateutil>=2.7.0
[task 2024-02-07T14:23:50.843Z] Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
[task 2024-02-07T14:23:50.898Z] Collecting types-python-dateutil>=2.8.10
[task 2024-02-07T14:23:50.933Z] Downloading types_python_dateutil-2.8.19.20240106-py3-none-any.whl (9.7 kB)
[task 2024-02-07T14:23:50.972Z] Collecting six>=1.5
[task 2024-02-07T14:23:51.008Z] Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
[task 2024-02-07T14:23:51.044Z] Collecting giturlparse
[task 2024-02-07T14:23:51.079Z] Downloading giturlparse-0.12.0-py2.py3-none-any.whl (15 kB)
[task 2024-02-07T14:23:51.140Z] Collecting markdown-it-py>=2.2.0
[task 2024-02-07T14:23:51.176Z] Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
[task 2024-02-07T14:23:51.226Z] Collecting typing-extensions<5.0,>=4.0.0
[task 2024-02-07T14:23:51.264Z] Downloading typing_extensions-4.9.0-py3-none-any.whl (32 kB)
[task 2024-02-07T14:23:51.329Z] Collecting pygments<3.0.0,>=2.13.0
[task 2024-02-07T14:23:51.365Z] Downloading pygments-2.17.2-py3-none-any.whl (1.2 MB)
[task 2024-02-07T14:23:51.472Z] Collecting mdurl~=0.1
[task 2024-02-07T14:23:51.508Z] Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
[task 2024-02-07T14:23:51.526Z] Building wheels for collected packages: taskcluster-taskgraph
[task 2024-02-07T14:23:51.527Z] Building wheel for taskcluster-taskgraph (PEP 517): started
[task 2024-02-07T14:23:51.771Z] Building wheel for taskcluster-taskgraph (PEP 517): finished with status 'done'
[task 2024-02-07T14:23:51.773Z] Created wheel for taskcluster-taskgraph: filename=taskcluster_taskgraph-7.1.2-py3-none-any.whl size=186383 sha256=bc5b66b63fdf9e99e6d2d793b516d76e49d69b9325f5b5ee7a81073b0e7a9fd4
[task 2024-02-07T14:23:51.774Z] Stored in directory: /tmp/pip-ephem-wheel-cache-rvgha903/wheels/3d/9c/5c/08e6dc631243fa1df3e7e4e76e0b14cbc87193477027186156
[task 2024-02-07T14:23:51.776Z] Successfully built taskcluster-taskgraph
[task 2024-02-07T14:23:51.889Z] Installing collected packages: six, mdurl, typing-extensions, types-python-dateutil, text-unidecode, python-dateutil, pygments, MarkupSafe, markdown-it-py, chardet, rich, python-slugify, Jinja2, giturlparse, click, binaryornot, arrow, mozilla-repo-urls, cookiecutter, taskcluster-taskgraph
[task 2024-02-07T14:23:52.491Z] WARNING: The script pygmentize is installed in '/builds/worker/.local/bin' which is not on PATH.
[task 2024-02-07T14:23:52.491Z] Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[task 2024-02-07T14:23:52.555Z] WARNING: The script markdown-it is installed in '/builds/worker/.local/bin' which is not on PATH.
[task 2024-02-07T14:23:52.556Z] Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[task 2024-02-07T14:23:52.705Z] WARNING: The script chardetect is installed in '/builds/worker/.local/bin' which is not on PATH.
[task 2024-02-07T14:23:52.706Z] Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[task 2024-02-07T14:23:52.849Z] WARNING: The script slugify is installed in '/builds/worker/.local/bin' which is not on PATH.
[task 2024-02-07T14:23:52.850Z] Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[task 2024-02-07T14:23:53.044Z] WARNING: The script cookiecutter is installed in '/builds/worker/.local/bin' which is not on PATH.
[task 2024-02-07T14:23:53.045Z] Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[task 2024-02-07T14:23:53.120Z] WARNING: The script taskgraph is installed in '/builds/worker/.local/bin' which is not on PATH.
[task 2024-02-07T14:23:53.121Z] Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
[task 2024-02-07T14:23:53.129Z] Successfully installed Jinja2-3.1.3 MarkupSafe-2.1.5 arrow-1.3.0 binaryornot-0.4.4 chardet-5.2.0 click-8.1.7 cookiecutter-2.5.0 giturlparse-0.12.0 markdown-it-py-3.0.0 mdurl-0.1.2 mozilla-repo-urls-0.1.1 pygments-2.17.2 python-dateutil-2.8.2 python-slugify-8.0.3 rich-13.7.0 six-1.16.0 taskcluster-taskgraph-7.1.2 text-unidecode-1.3 types-python-dateutil-2.8.19.20240106 typing-extensions-4.9.0
[task 2024-02-07T14:23:53.132Z] WARNING: You are using pip version 21.1.3; however, version 24.0 is available.
[task 2024-02-07T14:23:53.133Z] You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
[task 2024-02-07T14:23:53.201Z] + /builds/worker/.local/bin/taskgraph decision --pushlog-id=0 --pushdate=0 --project=taskgraph [email protected] --level=1 --repository-type=git --tasks-for=github-pull-request --base-repository=https://github.com/taskcluster/taskgraph --base-ref=main --base-rev=31e06092d5a4aa25e741885492ee7f7b270c5cc4 --head-repository=https://github.com/ahal/taskgraph --head-ref=test --head-rev=d3fdb618f3519cb71890cceb14c93e0909dd67d9
[task 2024-02-07T14:23:53.444Z] /usr/local/lib/python3.8/dist-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (5.2.0)/charset_normalizer (2.0.10) doesn't match a supported version!
[task 2024-02-07T14:23:53.444Z] warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
[task 2024-02-07T14:23:53.445Z] 2024-02-07 14:23:53,444 - INFO - Loading graph configuration.
[task 2024-02-07T14:23:53.454Z] fatal: git cat-file: could not get object info
[task 2024-02-07T14:23:53.455Z] 2024-02-07 14:23:53,455 - WARNING - base_rev does not exist locally. It is likely because the branch was force-pushed. taskgraph is not able to assess how many commits were changed and assumes it is only the last one. Please set the CI_BASE_REV environment variable in the decision task and provide `--base-rev` to taskgraph.
[task 2024-02-07T14:23:53.456Z] 2024-02-07 14:23:53,455 - INFO - Using base_ref "main" to determine latest common revision...
[task 2024-02-07T14:23:53.458Z] 2024-02-07 14:23:53,458 - INFO - base_rev has been reset from "31e06092d5a4aa25e741885492ee7f7b270c5cc4" to "1b012f13b54ee17bc04d76256c7187e41b409d27".
[task 2024-02-07T14:23:53.458Z] 2024-02-07 14:23:53,458 - WARNING - using default project parameters; add taskgraph to PER_PROJECT_PARAMETERS in /builds/worker/.local/lib/python3.8/site-packages/taskgraph/decision.py to customize behavior for this project
[task 2024-02-07T14:23:53.459Z] 2024-02-07 14:23:53,459 - INFO - Using Parameters(id=d354fd3e03ed) (from defaults)
[task 2024-02-07T14:23:53.460Z] 2024-02-07 14:23:53,460 - INFO - writing artifact file `parameters.yml`
[task 2024-02-07T14:23:53.465Z] 2024-02-07 14:23:53,465 - INFO - writing artifact file `actions.json`
[task 2024-02-07T14:23:53.467Z] 2024-02-07 14:23:53,467 - INFO - Loading kinds
[task 2024-02-07T14:23:53.489Z] 2024-02-07 14:23:53,489 - INFO - Generating full task set
[task 2024-02-07T14:23:53.506Z] 2024-02-07 14:23:53,506 - INFO - Generated 1 tasks for kind doc
[task 2024-02-07T14:23:53.507Z] 2024-02-07 14:23:53,507 - INFO - Writing docker-contexts/decision.tar.gz for docker image decision
[task 2024-02-07T14:23:53.590Z] 2024-02-07 14:23:53,590 - INFO - Writing docker-contexts/fetch.tar.gz for docker image fetch
[task 2024-02-07T14:23:53.601Z] 2024-02-07 14:23:53,601 - INFO - Writing docker-contexts/index-task.tar.gz for docker image index-task
[task 2024-02-07T14:23:53.603Z] 2024-02-07 14:23:53,603 - INFO - Writing docker-contexts/python.tar.gz for docker image python
[task 2024-02-07T14:23:53.619Z] 2024-02-07 14:23:53,619 - INFO - Writing docker-contexts/skopeo.tar.gz for docker image skopeo
[task 2024-02-07T14:23:53.637Z] 2024-02-07 14:23:53,637 - INFO - Generated 5 tasks for kind docker-image
[task 2024-02-07T14:23:53.641Z] 2024-02-07 14:23:53,641 - INFO - Generated 1 tasks for kind fetch
[task 2024-02-07T14:23:53.643Z] 2024-02-07 14:23:53,643 - INFO - Generated 1 tasks for kind push-image
[task 2024-02-07T14:23:53.646Z] 2024-02-07 14:23:53,645 - INFO - Generated 2 tasks for kind tests
[task 2024-02-07T14:23:53.647Z] 2024-02-07 14:23:53,647 - INFO - Generated 1 tasks for kind codecov
[task 2024-02-07T14:23:53.647Z] 2024-02-07 14:23:53,647 - INFO - Generating full task graph
[task 2024-02-07T14:23:53.648Z] 2024-02-07 14:23:53,647 - INFO - Full task graph contains 11 tasks and 9 dependencies
[task 2024-02-07T14:23:53.648Z] 2024-02-07 14:23:53,648 - INFO - writing artifact file `full-task-graph.json`
[task 2024-02-07T14:23:53.651Z] 2024-02-07 14:23:53,651 - INFO - writing artifact file `runnable-jobs.json`
[task 2024-02-07T14:23:53.652Z] 2024-02-07 14:23:53,652 - INFO - Generating target task set
[task 2024-02-07T14:23:53.652Z] 2024-02-07 14:23:53,652 - INFO - Filter filter_target_tasks pruned 7 tasks (4 remain)
[task 2024-02-07T14:23:53.652Z] 2024-02-07 14:23:53,652 - INFO - writing artifact file `target-tasks.json`
[task 2024-02-07T14:23:53.652Z] 2024-02-07 14:23:53,652 - INFO - Generating target task graph
[task 2024-02-07T14:23:53.652Z] 2024-02-07 14:23:53,652 - INFO - Adding 5 tasks with `always_target` attribute
[task 2024-02-07T14:23:53.652Z] 2024-02-07 14:23:53,652 - INFO - Generating optimized task graph
[task 2024-02-07T14:23:53.653Z] 2024-02-07 14:23:53,652 - INFO - No tasks removed during optimization
[task 2024-02-07T14:23:54.356Z] 2024-02-07 14:23:54,356 - INFO - Replaced 6 tasks by index-search (index-search) during optimization.
[task 2024-02-07T14:23:54.357Z] 2024-02-07 14:23:54,357 - INFO - writing artifact file `task-graph.json`
[task 2024-02-07T14:23:54.359Z] 2024-02-07 14:23:54,358 - INFO - writing artifact file `label-to-taskid.json`
[task 2024-02-07T14:23:54.360Z] 2024-02-07 14:23:54,360 - INFO - Creating task with taskId SOHrobD6SDmwaU_bEKYjcQ for tests-unit
[task 2024-02-07T14:23:54.362Z] 2024-02-07 14:23:54,362 - INFO - Creating task with taskId dtIcLZ9fSsWBLX-dtlYOjw for tests-type-check
[task 2024-02-07T14:23:54.364Z] 2024-02-07 14:23:54,364 - INFO - Creating task with taskId aol1fDxjQ1Sb0bpnbREWgw for doc-generate
[task 2024-02-07T14:23:54.484Z] 2024-02-07 14:23:54,484 - INFO - Creating task with taskId bpUJZ2C1SJyyUzC_yGibbQ for codecov-upload
[taskcluster 2024-02-07 14:23:54.831Z] === Task Finished ===
[taskcluster 2024-02-07 14:23:56.561Z] Successful task run with exit code: 0 completed in 11.819 seconds
Loading