| [ |
| { |
| "cmd": [], |
| "name": "checkout" |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.ensure jiri", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd/jiri", |
| "-ensure-file", |
| "fuchsia/tools/jiri/${platform} git_revision:4bbab8725bd3c64b56e70af3d973d526cd894b49", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "checkout.ensure jiri.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:4bb\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/jiri/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "init", |
| "-vv", |
| "-time", |
| "-j=50", |
| "-analytics-opt=false", |
| "-rewrite-sso-to-https=true", |
| "-cache", |
| "[CACHE]/git", |
| "-shared", |
| "[START_DIR]" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "import", |
| "-vv", |
| "-time", |
| "-j=50", |
| "-name", |
| "garnet", |
| "-revision", |
| "HEAD", |
| "manifest/garnet", |
| "https://fuchsia.googlesource.com/garnet" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri import", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "override", |
| "-vv", |
| "-time", |
| "-j=50", |
| "-revision", |
| "2d72510e447ab60a9728aeea2362d8be2cbd7789", |
| "infra/recipes", |
| "https://fuchsia.googlesource.com/infra/recipes" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri override", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "update", |
| "-vv", |
| "-time", |
| "-j=50", |
| "-autoupdate=false", |
| "-attempts=3", |
| "-run-hooks=false" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "run-hooks", |
| "-vv", |
| "-time", |
| "-j=50", |
| "-attempts=3" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri run-hooks", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd/jiri/jiri", |
| "source-manifest", |
| "-vv", |
| "-time", |
| "-j=50", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "checkout.jiri source-manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@{@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ \"directories\": {@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ \"manifest\": {@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ \"git_checkout\": {@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ \"repo_url\": \"https://fuchsia.googlesource.com/manifest\", @@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ \"revision\": \"4c2b0da3c06341db5cebe4d02c78c93c3b2bd78b\"@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ }@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ }@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@ }@@@", |
| "@@@STEP_LOG_LINE@json.output[source manifest]@}@@@", |
| "@@@STEP_LOG_END@json.output[source manifest]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/infra/recipes/recipes.py", |
| "test", |
| "run" |
| ], |
| "cwd": "[START_DIR]/infra/recipes", |
| "name": "test" |
| }, |
| { |
| "cmd": [], |
| "name": "get commit-queue" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| "--url", |
| "https://luci-config.appspot.com/_ah/api/config/v1/config_sets/projects/fuchsia/config/commit-queue.cfg", |
| "--status-json", |
| "/path/to/tmp/json", |
| "--outfile", |
| "/path/to/tmp/json" |
| ], |
| "name": "get commit-queue.get", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "get commit-queue.response", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@raw@OrderedDict([('content', 'CiAgICBzdWJtaXRfb3B0aW9uczogPAogICAgICBtYXhfYnVyc3Q6IDQKICAgICAgYnVyc3RfZGVsYXk6IDwKICAgICAgICBzZWNvbmRzOiA0ODAKICAgICAgPgogICAgPgoKICAgIGNvbmZpZ19ncm91cHM6IDwKICAgICAgZ2Vycml0OiA8CiAgICAgICAgdXJsOiAiaHR0cHM6Ly9mdWNoc2lhLXJldmlldy5nb29nbGVzb3VyY2UuY29tIgogICAgICAgIHByb2plY3RzOiA8CiAgICAgICAgICBuYW1lOiAiZXhwZXJpZW5jZXMiCiAgICAgICAgICByZWZfcmVnZXhwOiAicmVmcy9oZWFkcy8uKyIKICAgICAgICA+CiAgICAgID4KICAgICAgdmVyaWZpZXJzOiA8CiAgICAgICAgZ2Vycml0X2NxX2FiaWxpdHk6IDwKICAgICAgICAgIGNvbW1pdHRlcl9saXN0OiAicHJvamVjdC1mdWNoc2lhLWNvbW1pdHRlcnMiCiAgICAgICAgICBkcnlfcnVuX2FjY2Vzc19saXN0OiAicHJvamVjdC1mdWNoc2lhLXRyeWpvYi1hY2Nlc3MiCiAgICAgICAgPgogICAgICAgIHRyZWVfc3RhdHVzOiA8CiAgICAgICAgICB1cmw6ICJodHRwczovL2Z1Y2hzaWEtc3RlbS1zdGF0dXMuYXBwc3BvdC5jb20iCiAgICAgICAgPgogICAgICA+CiAgICA+CiAgICA=')])@@@", |
| "@@@STEP_LOG_END@raw@@@", |
| "@@@STEP_LOG_LINE@decoded@@@@", |
| "@@@STEP_LOG_LINE@decoded@ submit_options: <@@@", |
| "@@@STEP_LOG_LINE@decoded@ max_burst: 4@@@", |
| "@@@STEP_LOG_LINE@decoded@ burst_delay: <@@@", |
| "@@@STEP_LOG_LINE@decoded@ seconds: 480@@@", |
| "@@@STEP_LOG_LINE@decoded@ >@@@", |
| "@@@STEP_LOG_LINE@decoded@ >@@@", |
| "@@@STEP_LOG_LINE@decoded@@@@", |
| "@@@STEP_LOG_LINE@decoded@ config_groups: <@@@", |
| "@@@STEP_LOG_LINE@decoded@ gerrit: <@@@", |
| "@@@STEP_LOG_LINE@decoded@ url: \"https://fuchsia-review.googlesource.com\"@@@", |
| "@@@STEP_LOG_LINE@decoded@ projects: <@@@", |
| "@@@STEP_LOG_LINE@decoded@ name: \"experiences\"@@@", |
| "@@@STEP_LOG_LINE@decoded@ ref_regexp: \"refs/heads/.+\"@@@", |
| "@@@STEP_LOG_LINE@decoded@ >@@@", |
| "@@@STEP_LOG_LINE@decoded@ >@@@", |
| "@@@STEP_LOG_LINE@decoded@ verifiers: <@@@", |
| "@@@STEP_LOG_LINE@decoded@ gerrit_cq_ability: <@@@", |
| "@@@STEP_LOG_LINE@decoded@ committer_list: \"project-fuchsia-committers\"@@@", |
| "@@@STEP_LOG_LINE@decoded@ dry_run_access_list: \"project-fuchsia-tryjob-access\"@@@", |
| "@@@STEP_LOG_LINE@decoded@ >@@@", |
| "@@@STEP_LOG_LINE@decoded@ tree_status: <@@@", |
| "@@@STEP_LOG_LINE@decoded@ url: \"https://fuchsia-stem-status.appspot.com\"@@@", |
| "@@@STEP_LOG_LINE@decoded@ >@@@", |
| "@@@STEP_LOG_LINE@decoded@ >@@@", |
| "@@@STEP_LOG_LINE@decoded@ >@@@", |
| "@@@STEP_LOG_LINE@decoded@ @@@", |
| "@@@STEP_LOG_END@decoded@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "all_tryjobs", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_END@tryjobs@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "normalized_tryjobs", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_END@tryjobs@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "get_affected_recipes", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@all recipes@a@@@", |
| "@@@STEP_LOG_LINE@all recipes@b@@@", |
| "@@@STEP_LOG_LINE@all recipes@c@@@", |
| "@@@STEP_LOG_LINE@all recipes@d@@@", |
| "@@@STEP_LOG_LINE@all recipes@e@@@", |
| "@@@STEP_LOG_END@all recipes@@@", |
| "@@@STEP_LOG_LINE@changed files (raw)@infra/config/recipes.cfg@@@", |
| "@@@STEP_LOG_END@changed files (raw)@@@", |
| "@@@STEP_LOG_LINE@changed files (filtered)@infra/config/recipes.cfg@@@", |
| "@@@STEP_LOG_END@changed files (filtered)@@@", |
| "@@@STEP_LOG_LINE@affected recipes@a@@@", |
| "@@@STEP_LOG_LINE@affected recipes@b@@@", |
| "@@@STEP_LOG_LINE@affected recipes@c@@@", |
| "@@@STEP_LOG_LINE@affected recipes@d@@@", |
| "@@@STEP_LOG_LINE@affected recipes@e@@@", |
| "@@@STEP_LOG_END@affected recipes@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[START_DIR]/infra/recipes/recipes", |
| "--recursive" |
| ], |
| "infra_step": true, |
| "name": "get_affected_recipes.ls-recipes", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@listdir@[START_DIR]/infra/recipes/recipes/a.py@@@", |
| "@@@STEP_LOG_LINE@listdir@[START_DIR]/infra/recipes/recipes/b.py@@@", |
| "@@@STEP_LOG_LINE@listdir@[START_DIR]/infra/recipes/recipes/c.py@@@", |
| "@@@STEP_LOG_LINE@listdir@[START_DIR]/infra/recipes/recipes/d.py@@@", |
| "@@@STEP_LOG_LINE@listdir@[START_DIR]/infra/recipes/recipes/e.py@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "diff-tree", |
| "--no-commit-id", |
| "--name-only", |
| "-r", |
| "HEAD", |
| "-z" |
| ], |
| "cwd": "[START_DIR]/infra/recipes", |
| "name": "get_affected_recipes.git diff-tree", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@files@infra/config/recipes.cfg@@@", |
| "@@@STEP_LOG_END@files@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/infra/recipes/recipes.py", |
| "analyze", |
| "{\"files\": [\"infra/config/recipes.cfg\"], \"recipes\": [\"a\", \"b\", \"c\", \"d\", \"e\"]}", |
| "/path/to/tmp/json" |
| ], |
| "name": "get_affected_recipes.recipes-analyze", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"error\": \"\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"invalidRecipes\": [], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"recipes\": []@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "get_affected_recipes.mark all recipes as affected", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@<br/>infra/config/recipes.cfg@@@", |
| "@@@STEP_SUMMARY_TEXT@because these files were changed:@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "get builders", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@selected 0 builds@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |