Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: add tests that operate at the API level #1097

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from

WIP: replace almost fully mocked script tests with more thorough ones

6e179ab
Select commit
Loading
Failed to load commit list.
Draft

WIP: add tests that operate at the API level #1097

WIP: replace almost fully mocked script tests with more thorough ones
6e179ab
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / Decision Task succeeded Dec 3, 2024 in 2m 19s

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-03T02:05:25.989Z
Resolved: 2024-12-03T02:06:13.664Z
Task Execution Time: 47 seconds, 675 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/addonscript.tar.gz
- public/docker-contexts/balrogscript.tar.gz
- public/docker-contexts/base.tar.gz
- public/docker-contexts/beetmoverscript.tar.gz
- public/docker-contexts/bitrisescript.tar.gz
- public/docker-contexts/bouncerscript.tar.gz
- public/docker-contexts/githubscript.tar.gz
- public/docker-contexts/pushapkscript.tar.gz
- public/docker-contexts/pushapkscript-test-py311.tar.gz
- public/docker-contexts/pushflatpakscript.tar.gz
- public/docker-contexts/pushflatpakscript-test-py311.tar.gz
- public/docker-contexts/pushmsixscript.tar.gz
- public/docker-contexts/python311.tar.gz
- public/docker-contexts/python38.tar.gz
- public/docker-contexts/shipitscript.tar.gz
- public/docker-contexts/signingscript.tar.gz
- public/docker-contexts/signingscript-test-py311.tar.gz
- public/docker-contexts/skopeo.tar.gz
- public/docker-contexts/treescript.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/parameters.yml
- public/runnable-jobs.json
- public/run-task
- public/target-tasks.json
- public/task-graph.json


[taskcluster 2024-12-03 02:05:26.068Z] Task ID: Hj7Zr-nNQNO70ItnnUDYnQ
[taskcluster 2024-12-03 02:05:26.069Z] Worker ID: 1079995505660123645
[taskcluster 2024-12-03 02:05:26.069Z] Worker Group: us-central1-c
[taskcluster 2024-12-03 02:05:26.069Z] Worker Node Type: projects/887720501152/machineTypes/n2-standard-2
[taskcluster 2024-12-03 02:05:26.069Z] Worker Pool: scriptworker-1/decision-gcp
[taskcluster 2024-12-03 02:05:26.069Z] Worker Version: 38.0.5
[taskcluster 2024-12-03 02:05:26.069Z] Public IP: 34.66.200.200
[taskcluster 2024-12-03 02:05:26.069Z] Hostname: scriptworker-1-decision-gcp-pmspx4xcqnw9tvdmzomj4w

d9147c4b3bca - Started downloading
d9147c4b3bca - Downloaded in 0 seconds
dd806a532179 - Started downloading
25d693efad98 - Started downloading
25d693efad98 - Downloaded in 0.693 seconds
dd806a532179 - Downloaded in 2.492 seconds
Digest: sha256:f954e54d427d08b18954a4ff4541d43c76c476d0738f341e4fa82a959939d3fa
Status: Downloaded newer image for mozillareleases/taskgraph@sha256:f954e54d427d08b18954a4ff4541d43c76c476d0738f341e4fa82a959939d3fa
[taskcluster 2024-12-03 02:05:39.491Z] === Task Starting ===
[setup 2024-12-03T02:05:39.892Z] run-task started in /
[setup 2024-12-03T02:05:39.892Z] Invoked by command: --scriptworker-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='scriptworker-scripts' --message="" --owner='[email protected]' --level='1' --base-repository="$SCRIPTWORKER_BASE_REPOSITORY" --head-repository="$SCRIPTWORKER_HEAD_REPOSITORY" --head-ref="$SCRIPTWORKER_HEAD_REF" --head-rev="$SCRIPTWORKER_HEAD_REV" --repository-type="$SCRIPTWORKER_REPOSITORY_TYPE" --tasks-for='github-pull-request' 

[setup 2024-12-03T02:05:39.892Z] Python version: 3.11.2
[vcs 2024-12-03T02:05:39.893Z] WARNING: vcs checkout path (/builds/worker/checkouts/src) not in cache or volume; performance will likely suffer
[setup 2024-12-03T02:05:39.894Z] running as worker:worker
[vcs 2024-12-03T02:05:39.894Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/src']
[vcs 2024-12-03T02:05:39.899Z] executing ['git', 'clone', 'https://github.com/mozilla-releng/scriptworker-scripts', '/builds/worker/checkouts/src']
[vcs 2024-12-03T02:05:39.901Z] Cloning into '/builds/worker/checkouts/src'...
[vcs 2024-12-03T02:05:46.449Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/bhearsum/scriptworker-scripts', 'api-level-tests']
[vcs 2024-12-03T02:05:46.703Z] From https://github.com/bhearsum/scriptworker-scripts
[vcs 2024-12-03T02:05:46.703Z]  * branch              api-level-tests -> FETCH_HEAD
[vcs 2024-12-03T02:05:46.706Z] executing ['git', 'checkout', '-f', '-B', 'api-level-tests', '6e179abc86e3b9e23ce2850714046e90ccd383e8']
[vcs 2024-12-03T02:05:47.978Z] Switched to a new branch 'api-level-tests'
[vcs 2024-12-03T02:05:47.978Z] cleaning git checkout...
[vcs 2024-12-03T02:05:47.978Z] executing ['git', 'clean', '-nxdff']
[vcs 2024-12-03T02:05:47.993Z] removing []
[vcs 2024-12-03T02:05:47.993Z] successfully cleaned git checkout!
[vcs 2024-12-03T02:05:47.995Z] TinderboxPrint:<a href='https://github.com/bhearsum/scriptworker-scripts/commit/6e179abc86e3b9e23ce2850714046e90ccd383e8' title='Built from scriptworker-scripts commit 6e179abc86e3b9e23ce2850714046e90ccd383e8'>6e179abc86e3b9e23ce2850714046e90ccd383e8</a>
[task 2024-12-03T02:05:47.995Z] executing ['bash', '-cx', 'ln -s /builds/worker/artifacts artifacts && taskgraph decision --pushlog-id=\'0\' --pushdate=\'0\' --project=\'scriptworker-scripts\' --message="" --owner=\'[email protected]\' --level=\'1\' --base-repository="$SCRIPTWORKER_BASE_REPOSITORY" --head-repository="$SCRIPTWORKER_HEAD_REPOSITORY" --head-ref="$SCRIPTWORKER_HEAD_REF" --head-rev="$SCRIPTWORKER_HEAD_REV" --repository-type="$SCRIPTWORKER_REPOSITORY_TYPE" --tasks-for=\'github-pull-request\' \n']
[task 2024-12-03T02:05:47.997Z] + ln -s /builds/worker/artifacts artifacts
[task 2024-12-03T02:05:47.998Z] + taskgraph decision --pushlog-id=0 --pushdate=0 --project=scriptworker-scripts --message= [email protected] --level=1 --base-repository=https://github.com/mozilla-releng/scriptworker-scripts --head-repository=https://github.com/bhearsum/scriptworker-scripts --head-ref=api-level-tests --head-rev=6e179abc86e3b9e23ce2850714046e90ccd383e8 --repository-type=git --tasks-for=github-pull-request
[task 2024-12-03T02:05:48.566Z] 2024-12-03 02:05:48,566 - INFO - Loading graph configuration.
[task 2024-12-03T02:05:48.579Z] 2024-12-03 02:05:48,579 - INFO - base_ref has been reset from "" to "origin/master".
[task 2024-12-03T02:05:48.580Z] 2024-12-03 02:05:48,579 - INFO - base_rev is not set.
[task 2024-12-03T02:05:48.580Z] 2024-12-03 02:05:48,579 - INFO - Using base_ref "origin/master" to determine latest common revision...
[task 2024-12-03T02:05:48.582Z] 2024-12-03 02:05:48,582 - INFO - base_rev has been reset from "" to "57c268d8842029dba60b48d76dfc39fc9d1dd8aa".
[task 2024-12-03T02:05:48.582Z] 2024-12-03 02:05:48,582 - WARNING - using default project parameters; add scriptworker-scripts to PER_PROJECT_PARAMETERS in /usr/local/lib/python3.11/dist-packages/taskgraph/decision.py to customize behavior for this project
[task 2024-12-03T02:05:48.584Z] 2024-12-03 02:05:48,584 - INFO - Using Parameters(id=ca8a4f656aea) (from defaults)
[task 2024-12-03T02:05:48.585Z] 2024-12-03 02:05:48,585 - INFO - writing artifact file `parameters.yml`
[task 2024-12-03T02:05:48.595Z] 2024-12-03 02:05:48,595 - INFO - writing artifact file `actions.json`
[task 2024-12-03T02:05:48.598Z] 2024-12-03 02:05:48,597 - INFO - Loading kinds
[task 2024-12-03T02:05:48.625Z] 2024-12-03 02:05:48,625 - INFO - Generating full task set
[task 2024-12-03T02:05:48.651Z] 2024-12-03 02:05:48,651 - INFO - Writing docker-contexts/python311.tar.gz for docker image python311
[task 2024-12-03T02:05:48.672Z] 2024-12-03 02:05:48,672 - INFO - Writing docker-contexts/python38.tar.gz for docker image python38
[task 2024-12-03T02:05:48.689Z] 2024-12-03 02:05:48,688 - INFO - Writing docker-contexts/skopeo.tar.gz for docker image skopeo
[task 2024-12-03T02:05:48.707Z] 2024-12-03 02:05:48,707 - INFO - Writing docker-contexts/base.tar.gz for docker image base
[task 2024-12-03T02:05:48.736Z] 2024-12-03 02:05:48,736 - INFO - Writing docker-contexts/addonscript.tar.gz for docker image addonscript
[task 2024-12-03T02:05:48.752Z] 2024-12-03 02:05:48,752 - INFO - Writing docker-contexts/balrogscript.tar.gz for docker image balrogscript
[task 2024-12-03T02:05:48.782Z] 2024-12-03 02:05:48,782 - INFO - Writing docker-contexts/bitrisescript.tar.gz for docker image bitrisescript
[task 2024-12-03T02:05:48.796Z] 2024-12-03 02:05:48,796 - INFO - Writing docker-contexts/beetmoverscript.tar.gz for docker image beetmoverscript
[task 2024-12-03T02:05:48.834Z] 2024-12-03 02:05:48,834 - INFO - Writing docker-contexts/bouncerscript.tar.gz for docker image bouncerscript
[task 2024-12-03T02:05:48.859Z] 2024-12-03 02:05:48,859 - INFO - Writing docker-contexts/githubscript.tar.gz for docker image githubscript
[task 2024-12-03T02:05:48.872Z] 2024-12-03 02:05:48,872 - INFO - Writing docker-contexts/shipitscript.tar.gz for docker image shipitscript
[task 2024-12-03T02:05:48.890Z] 2024-12-03 02:05:48,890 - INFO - Writing docker-contexts/pushapkscript.tar.gz for docker image pushapkscript
[task 2024-12-03T02:05:54.285Z] 2024-12-03 02:05:54,285 - INFO - Writing docker-contexts/pushflatpakscript.tar.gz for docker image pushflatpakscript
[task 2024-12-03T02:05:54.408Z] 2024-12-03 02:05:54,408 - INFO - Writing docker-contexts/pushmsixscript.tar.gz for docker image pushmsixscript
[task 2024-12-03T02:05:54.427Z] 2024-12-03 02:05:54,427 - INFO - Writing docker-contexts/signingscript.tar.gz for docker image signingscript
[task 2024-12-03T02:05:58.919Z] 2024-12-03 02:05:58,919 - INFO - Writing docker-contexts/treescript.tar.gz for docker image treescript
[task 2024-12-03T02:05:58.959Z] 2024-12-03 02:05:58,959 - INFO - Writing docker-contexts/pushapkscript-test-py311.tar.gz for docker image pushapkscript-test-py311
[task 2024-12-03T02:05:58.978Z] 2024-12-03 02:05:58,978 - INFO - Writing docker-contexts/pushflatpakscript-test-py311.tar.gz for docker image pushflatpakscript-test-py311
[task 2024-12-03T02:05:58.996Z] 2024-12-03 02:05:58,996 - INFO - Writing docker-contexts/signingscript-test-py311.tar.gz for docker image signingscript-test-py311
[task 2024-12-03T02:05:59.020Z] 2024-12-03 02:05:59,020 - INFO - Generated 19 tasks for kind docker-image
[task 2024-12-03T02:05:59.055Z] 2024-12-03 02:05:59,055 - INFO - Generated 12 tasks for kind push-image
[task 2024-12-03T02:06:00.166Z] 2024-12-03 02:06:00,166 - INFO - Generated 19 tasks for kind tox
[task 2024-12-03T02:06:00.172Z] 2024-12-03 02:06:00,172 - INFO - Generated 3 tasks for kind check
[task 2024-12-03T02:06:00.174Z] 2024-12-03 02:06:00,174 - INFO - Generated 1 tasks for kind pr
[task 2024-12-03T02:06:00.175Z] 2024-12-03 02:06:00,175 - INFO - Generating full task graph
[task 2024-12-03T02:06:00.176Z] 2024-12-03 02:06:00,176 - INFO - Full task graph contains 54 tasks and 58 dependencies
[task 2024-12-03T02:06:00.179Z] 2024-12-03 02:06:00,179 - INFO - writing artifact file `full-task-graph.json`
[task 2024-12-03T02:06:00.196Z] 2024-12-03 02:06:00,196 - INFO - writing artifact file `runnable-jobs.json`
[task 2024-12-03T02:06:00.198Z] 2024-12-03 02:06:00,197 - INFO - Generating target task set
[task 2024-12-03T02:06:00.199Z] 2024-12-03 02:06:00,199 - INFO - Filter filter_target_tasks pruned 31 tasks (23 remain)
[task 2024-12-03T02:06:00.199Z] 2024-12-03 02:06:00,199 - INFO - writing artifact file `target-tasks.json`
[task 2024-12-03T02:06:00.200Z] 2024-12-03 02:06:00,200 - INFO - Generating target task graph
[task 2024-12-03T02:06:00.200Z] 2024-12-03 02:06:00,200 - INFO - Adding 19 tasks with `always_target` attribute
[task 2024-12-03T02:06:00.201Z] 2024-12-03 02:06:00,201 - INFO - Generating optimized task graph
[task 2024-12-03T02:06:00.202Z] 2024-12-03 02:06:00,201 - INFO - No tasks removed during optimization
[task 2024-12-03T02:06:05.213Z] 2024-12-03 02:06:05,213 - INFO - Replaced 36 tasks by index-search (index-search) during optimization.
[task 2024-12-03T02:06:05.215Z] 2024-12-03 02:06:05,215 - INFO - writing artifact file `task-graph.json`
[task 2024-12-03T02:06:05.217Z] 2024-12-03 02:06:05,217 - INFO - writing artifact file `label-to-taskid.json`
[task 2024-12-03T02:06:05.219Z] 2024-12-03 02:06:05,219 - INFO - Creating task with taskId SESLIOb4SOW34s0UnTaygQ for tox-signingscript-python311
[task 2024-12-03T02:06:05.220Z] 2024-12-03 02:06:05,220 - INFO - Creating task with taskId XSHm0JTHRfKzcNrP54jlMQ for check-ruff-format
[task 2024-12-03T02:06:05.222Z] 2024-12-03 02:06:05,221 - INFO - Creating task with taskId fAAooeotQ1OUo3xnkAIvSw for check-yamllint
[task 2024-12-03T02:06:05.226Z] 2024-12-03 02:06:05,226 - INFO - Creating task with taskId YFy-FAwsQ2CbGaZ8JRFT1w for check-ruff-lint
[task 2024-12-03T02:06:05.230Z] 2024-12-03 02:06:05,230 - INFO - Creating task with taskId URgzAy4VQqG_kQ38GjEl2Q for build-docker-image-signingscript
[task 2024-12-03T02:06:05.367Z] 2024-12-03 02:06:05,366 - INFO - Creating task with taskId UJkqYfsYQI2TsTjZIy2nRQ for pr-complete
[taskcluster 2024-12-03 02:06:05.671Z] === Task Finished ===
[taskcluster 2024-12-03 02:06:12.821Z] Successful task run with exit code: 0 completed in 46.754 seconds