| [ |
| { |
| "cmd": [], |
| "name": "resolve base commit" |
| }, |
| { |
| "cmd": [], |
| "name": "checkout", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@checkout_info@{\"base_manifest_revision\": \"h3ll0\", \"manifest\": \"fuchsia/topaz/topaz\", \"manifest_remote\": \"https://fuchsia.googlesource.com/integration\", \"patches\": []}@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/fuchsia" |
| ], |
| "infra_step": true, |
| "name": "checkout.ensure checkout dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://fuchsia.googlesource.com/integration", |
| "main" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.resolve head of 'main' branch", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout.install fuchsia/tools/jiri", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.install fuchsia/tools/jiri.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version", |
| "-ensure-file", |
| "fuchsia/tools/jiri/${platform} pinned-jiri-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.install fuchsia/tools/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-pinned-jiri-vers\", @@@", |
| "@@@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": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "init", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-analytics-opt=false", |
| "-rewrite-sso-to-https=true", |
| "-cache", |
| "[CACHE]/git", |
| "[START_DIR]/fuchsia" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.jiri init", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "import", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-name", |
| "integration", |
| "-revision", |
| "h3ll0", |
| "fuchsia/topaz/topaz", |
| "https://fuchsia.googlesource.com/integration" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.jiri import", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "override", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-revision", |
| "c22471f4e3f842ae18dd9adec82ed9eb78ed1127", |
| "topaz", |
| "https://fuchsia.googlesource.com/topaz" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.jiri override", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.write guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@.GUARD_FILE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "update", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-autoupdate=false", |
| "-attempts=1", |
| "-run-hooks=false", |
| "-fetch-packages=false" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.jiri update", |
| "timeout": 2700, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.remove guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "run-hooks", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-attempts=3", |
| "-hook-timeout=9" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "env": { |
| "HOME": "[START_DIR]/fuchsia", |
| "INFRA_RECIPES": "1" |
| }, |
| "infra_step": true, |
| "name": "checkout.jiri run-hooks", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "project", |
| "-vv", |
| "-time", |
| "-j=8", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.source-info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "snapshot", |
| "-vv", |
| "-time", |
| "-j=8", |
| "[CLEANUP]/jiri_snapshot.xml" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.jiri snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/jiri_snapshot.xml", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "checkout.read snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@jiri_snapshot.xml@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "launch SDK subbuilds", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@sdk-core-linux-arm64-build_only@https://ci.chromium.org/b/123@@@", |
| "@@@STEP_LINK@sdk-core-linux-x64-build_only@https://ci.chromium.org/b/456@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "batch", |
| "-host", |
| "cr-buildbucket.appspot.com" |
| ], |
| "infra_step": true, |
| "name": "launch SDK subbuilds.schedule", |
| "stdin": "{\"requests\": [{\"scheduleBuild\": {\"builder\": {\"bucket\": \"###global-integration-bucket###\", \"builder\": \"builder-arm64-build_only\", \"project\": \"project\"}, \"experimental\": \"NO\", \"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", \"gitilesCommit\": {\"host\": \"fuchsia.googlesource.com\", \"id\": \"c22471f4e3f842ae18dd9adec82ed9eb78ed1127\", \"project\": \"topaz\", \"ref\": \"refs/heads/main\"}, \"properties\": {\"parent_id\": \"8945511751514863184\"}, \"requestId\": \"8945511751514863184-00000000-0000-0000-0000-000000001337\", \"tags\": [{\"key\": \"hide-in-gerrit\", \"value\": \"subbuild\"}, {\"key\": \"skip-retry-in-gerrit\", \"value\": \"subbuild\"}, {\"key\": \"user_agent\", \"value\": \"recipe\"}]}}, {\"scheduleBuild\": {\"builder\": {\"bucket\": \"###global-integration-bucket###\", \"builder\": \"builder-x64-build_only\", \"project\": \"project\"}, \"experimental\": \"NO\", \"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", \"gitilesCommit\": {\"host\": \"fuchsia.googlesource.com\", \"id\": \"c22471f4e3f842ae18dd9adec82ed9eb78ed1127\", \"project\": \"topaz\", \"ref\": \"refs/heads/main\"}, \"properties\": {\"parent_id\": \"8945511751514863184\"}, \"requestId\": \"8945511751514863184-00000000-0000-0000-0000-00000000133a\", \"tags\": [{\"key\": \"hide-in-gerrit\", \"value\": \"subbuild\"}, {\"key\": \"skip-retry-in-gerrit\", \"value\": \"subbuild\"}, {\"key\": \"user_agent\", \"value\": \"recipe\"}]}}]}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"responses\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"scheduleBuild\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bucket\": \"ci\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": \"sdk-core-linux-arm64-build_only\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"project\": \"fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"123\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"scheduleBuild\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bucket\": \"ci\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": \"sdk-core-linux-x64-build_only\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"project\": \"fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"456\"@@@", |
| "@@@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@@@", |
| "@@@STEP_LOG_LINE@request@{@@@", |
| "@@@STEP_LOG_LINE@request@ \"requests\": [@@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"scheduleBuild\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"builder\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"bucket\": \"###global-integration-bucket###\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"builder\": \"builder-arm64-build_only\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"project\": \"project\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"experimental\": \"NO\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"gitilesCommit\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"host\": \"fuchsia.googlesource.com\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"id\": \"c22471f4e3f842ae18dd9adec82ed9eb78ed1127\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"project\": \"topaz\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"ref\": \"refs/heads/main\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"properties\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"parent_id\": \"8945511751514863184\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"requestId\": \"8945511751514863184-00000000-0000-0000-0000-000000001337\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"key\": \"hide-in-gerrit\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"value\": \"subbuild\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"key\": \"skip-retry-in-gerrit\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"value\": \"subbuild\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"key\": \"user_agent\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"value\": \"recipe\"@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ ]@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"scheduleBuild\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"builder\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"bucket\": \"###global-integration-bucket###\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"builder\": \"builder-x64-build_only\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"project\": \"project\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"experimental\": \"NO\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"gitilesCommit\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"host\": \"fuchsia.googlesource.com\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"id\": \"c22471f4e3f842ae18dd9adec82ed9eb78ed1127\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"project\": \"topaz\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"ref\": \"refs/heads/main\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"properties\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"parent_id\": \"8945511751514863184\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"requestId\": \"8945511751514863184-00000000-0000-0000-0000-00000000133a\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"key\": \"hide-in-gerrit\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"value\": \"subbuild\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"key\": \"skip-retry-in-gerrit\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"value\": \"subbuild\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"key\": \"user_agent\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"value\": \"recipe\"@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ ]@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ ]@@@", |
| "@@@STEP_LOG_LINE@request@}@@@", |
| "@@@STEP_LOG_END@request@@@", |
| "@@@STEP_LINK@123@https://cr-buildbucket.appspot.com/build/123@@@", |
| "@@@STEP_LINK@456@https://cr-buildbucket.appspot.com/build/456@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "collect SDK subbuilds" |
| }, |
| { |
| "cmd": [], |
| "name": "collect SDK subbuilds.collect", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "collect", |
| "-host", |
| "cr-buildbucket.appspot.com", |
| "-interval", |
| "20s", |
| "123", |
| "456" |
| ], |
| "infra_step": true, |
| "name": "collect SDK subbuilds.collect.wait", |
| "timeout": 86400, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "batch", |
| "-host", |
| "cr-buildbucket.appspot.com" |
| ], |
| "infra_step": true, |
| "name": "collect SDK subbuilds.collect.get", |
| "stdin": "{\"requests\": [{\"getBuild\": {\"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,summaryMarkdown,updateTime\", \"id\": \"123\"}}, {\"getBuild\": {\"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,summaryMarkdown,updateTime\", \"id\": \"456\"}}]}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"responses\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"getBuild\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bucket\": \"ci\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": \"sdk-core-linux-arm64-build_only\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"project\": \"fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"createTime\": \"2018-05-25T23:50:17Z\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"createdBy\": \"user:luci-scheduler@appspot.gserviceaccount.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"123\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"infra\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"resultdb\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"invocation\": \"invocations/build:123\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"priority\": 30@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"input\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"gitilesCommit\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"host\": \"chromium.googlesource.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"project\": \"fuchsia\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/heads/main\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"output\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"isolated_output_hash\": \"###HASH###\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"status\": \"SUCCESS\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"getBuild\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bucket\": \"ci\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": \"sdk-core-linux-x64-build_only\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"project\": \"fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"createTime\": \"2018-05-25T23:50:17Z\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"createdBy\": \"user:luci-scheduler@appspot.gserviceaccount.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"456\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"infra\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"resultdb\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"invocation\": \"invocations/build:456\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"priority\": 30@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"input\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"gitilesCommit\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"host\": \"chromium.googlesource.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"project\": \"fuchsia\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/heads/main\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"output\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"isolated_output_hash\": \"###HASH###\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"status\": \"SUCCESS\"@@@", |
| "@@@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@@@", |
| "@@@STEP_LOG_LINE@request@{@@@", |
| "@@@STEP_LOG_LINE@request@ \"requests\": [@@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"getBuild\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,summaryMarkdown,updateTime\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"id\": \"123\"@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"getBuild\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,summaryMarkdown,updateTime\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"id\": \"456\"@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ ]@@@", |
| "@@@STEP_LOG_LINE@request@}@@@", |
| "@@@STEP_LOG_END@request@@@", |
| "@@@STEP_LINK@123@https://cr-buildbucket.appspot.com/build/123@@@", |
| "@@@STEP_LINK@456@https://cr-buildbucket.appspot.com/build/456@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "display SDK subbuilds" |
| }, |
| { |
| "cmd": [], |
| "name": "display SDK subbuilds.sdk-core-linux-x64-build_only", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@456@https://cr-buildbucket.appspot.com/build/456@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "display SDK subbuilds.sdk-core-linux-arm64-build_only", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@123@https://cr-buildbucket.appspot.com/build/123@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "fetch sdk artifacts" |
| }, |
| { |
| "cmd": [], |
| "name": "fetch sdk artifacts.456", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/fuchsia/archives/456" |
| ], |
| "infra_step": true, |
| "name": "fetch sdk artifacts.456.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[recipe_engine::cas]/resources/infra.sha1", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "fetch sdk artifacts.456.read infra revision", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@", |
| "@@@STEP_LOG_END@infra.sha1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "fetch sdk artifacts.456.install infra/tools/luci/cas", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision" |
| ], |
| "infra_step": true, |
| "name": "fetch sdk artifacts.456.install infra/tools/luci/cas.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision", |
| "-ensure-file", |
| "infra/tools/luci/cas/${platform} git_revision:mock_infra_git_revision", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "fetch sdk artifacts.456.install infra/tools/luci/cas.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@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:moc\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cas/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": [ |
| "[CACHE]/cipd/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision/cas", |
| "download", |
| "-cas-instance", |
| "projects/example-cas-server/instances/default_instance", |
| "-digest", |
| "###HASH###", |
| "-dir", |
| "[START_DIR]/fuchsia/archives/456" |
| ], |
| "infra_step": true, |
| "name": "fetch sdk artifacts.456.download 456 archive", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "fetch sdk artifacts.123", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/fuchsia/archives/123" |
| ], |
| "infra_step": true, |
| "name": "fetch sdk artifacts.123.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision/cas", |
| "download", |
| "-cas-instance", |
| "projects/example-cas-server/instances/default_instance", |
| "-digest", |
| "###HASH###", |
| "-dir", |
| "[START_DIR]/fuchsia/archives/123" |
| ], |
| "infra_step": true, |
| "name": "fetch sdk artifacts.123.download 123 archive", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "merge archives" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/fuchsia/archives", |
| "*/*.tar.gz" |
| ], |
| "infra_step": true, |
| "name": "merge archives.get sdk paths", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/fuchsia/archives/123/core.tar.gz@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/fuchsia/archives/456/core.tar.gz@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "move", |
| "[START_DIR]/fuchsia/archives/123/core.tar.gz", |
| "[CLEANUP]/merged_sdk_archive.tar.gz" |
| ], |
| "infra_step": true, |
| "name": "merge archives.create merged_sdk_archive.tar.gz", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/fuchsia/scripts/sdk/merger/merge.py", |
| "--first-archive", |
| "[START_DIR]/fuchsia/archives/456/core.tar.gz", |
| "--second-archive", |
| "[CLEANUP]/merged_sdk_archive.tar.gz", |
| "--output-archive", |
| "[CLEANUP]/merged_sdk_archive.tar.gz" |
| ], |
| "name": "merge archives.merge [START_DIR]/fuchsia/archives/456/core.tar.gz", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/fuchsia/scripts/sdk/bazel/generate.py", |
| "--archive", |
| "[CLEANUP]/merged_sdk_archive.tar.gz", |
| "--output", |
| "[CLEANUP]/sdk-bazel", |
| "--tests", |
| "[CLEANUP]/tests" |
| ], |
| "name": "create bazel sdk" |
| }, |
| { |
| "cmd": [], |
| "name": "test sdk" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/fuchsia/tools/integration/bootstrap.sh", |
| "-o", |
| "[CLEANUP]/fint_tmp_1/fint" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "test sdk.bootstrap fint", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CLEANUP]/fint_tmp_1/fint", |
| "set", |
| "-static", |
| "[START_DIR]/fuchsia/specs/sdk.fint.textproto", |
| "-context", |
| "checkout_dir: \"[START_DIR]/fuchsia\"\nbuild_dir: \"[START_DIR]/fuchsia/out/not-default\"\nartifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"\ncache_dir: \"[CACHE]\"\ngoma_job_count: 80\n" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "test sdk.gn gen", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@run by `fint set`@@@", |
| "@@@STEP_LOG_LINE@context.textproto@checkout_dir: \"[START_DIR]/fuchsia\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@build_dir: \"[START_DIR]/fuchsia/out/not-default\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@artifact_dir: \"[CLEANUP]/fint_artifacts_tmp_1\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@cache_dir: \"[CACHE]\"@@@", |
| "@@@STEP_LOG_LINE@context.textproto@goma_job_count: 80@@@", |
| "@@@STEP_LOG_END@context.textproto@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/fint_artifacts_tmp_1/set_artifacts.json", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "test sdk.read fint set artifacts", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@gn_trace_path: \"[CLEANUP]/fint_artifacts_tmp_1/mock-gn-trace.json\"@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@use_goma: true@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@metadata {@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ board: \"boards/x64.gni\"@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ optimize: \"debug\"@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ product: \"products/core.gni\"@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ target_arch: \"x64\"@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@ variants: \"asan\"@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@}@@@", |
| "@@@STEP_LOG_LINE@set_artifacts.json@enable_rbe: true@@@", |
| "@@@STEP_LOG_END@set_artifacts.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/fuchsia/out/not-default/tool_paths.json", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "infra_step": true, |
| "name": "test sdk.read tool_paths manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@[@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ {@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"cpu\": \"x64\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"name\": \"foo\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"os\": \"linux\",@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ \"path\": \"linux_x64/foo\"@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@ }@@@", |
| "@@@STEP_LOG_LINE@tool_paths.json@]@@@", |
| "@@@STEP_LOG_END@tool_paths.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CLEANUP]/tests/run.py", |
| "--output_user_root", |
| "[CLEANUP]/bazel", |
| "--bazel", |
| "[START_DIR]/fuchsia/out/not-default/linux_x64/bazel" |
| ], |
| "name": "test sdk.run bazel tests", |
| "timeout": 3600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "generate gn sdk" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/fuchsia/scripts/sdk/gn/generate.py", |
| "--archive", |
| "[CLEANUP]/merged_sdk_archive.tar.gz", |
| "--output", |
| "[CLEANUP]/sdk-gn", |
| "--output-archive", |
| "[CLEANUP]/gn.tar.gz", |
| "--tests", |
| "[CLEANUP]/tests" |
| ], |
| "name": "generate gn sdk.create gn sdk", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "test gn sdk" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CLEANUP]/tests/run.py" |
| ], |
| "name": "test gn sdk.run gn tests", |
| "timeout": 3600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "extract core" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]/core" |
| ], |
| "infra_step": true, |
| "name": "extract core.create sdk dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "extract core.install fuchsia/tools/bsdtar", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/fuchsia/tools/bsdtar/latest" |
| ], |
| "infra_step": true, |
| "name": "extract core.install fuchsia/tools/bsdtar.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/fuchsia/tools/bsdtar/latest", |
| "-ensure-file", |
| "fuchsia/tools/bsdtar/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "extract core.install fuchsia/tools/bsdtar.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-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/bsdtar/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": [ |
| "[CACHE]/cipd/fuchsia/tools/bsdtar/latest/bsdtar", |
| "--extract", |
| "--verbose", |
| "-f", |
| "[CLEANUP]/merged_sdk_archive.tar.gz", |
| "-C", |
| "[CLEANUP]/core" |
| ], |
| "name": "extract core.unpack sdk archive", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "upload core" |
| }, |
| { |
| "cmd": [], |
| "name": "upload core.install infra/3pp/tools/gsutil", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/infra/3pp/tools/gsutil/version%3A4.60" |
| ], |
| "infra_step": true, |
| "name": "upload core.install infra/3pp/tools/gsutil.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/3pp/tools/gsutil/version%3A4.60", |
| "-ensure-file", |
| "infra/3pp/tools/gsutil version:4.60", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "upload core.install infra/3pp/tools/gsutil.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-version:4.60----\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/3pp/tools/gsutil\"@@@", |
| "@@@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": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "-u", |
| "[CACHE]/cipd/infra/3pp/tools/gsutil/version%3A4.60/gsutil", |
| "-h", |
| "Custom-Time:2012-05-14T12:53:21.500000Z", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "cp", |
| "[CLEANUP]/merged_sdk_archive.tar.gz", |
| "gs://fuchsia/development/8945511751514863184/sdk/linux-amd64/core.tar.gz" |
| ], |
| "infra_step": true, |
| "name": "upload core.upload core fuchsia-sdk 8945511751514863184", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@archive@https://storage.googleapis.com/fuchsia/development/8945511751514863184/sdk/linux-amd64/core.tar.gz@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/tools/jiri/pinned-jiri-version/jiri", |
| "snapshot", |
| "-vv", |
| "-time", |
| "-j=8", |
| "[CLEANUP]/jiri.snapshot" |
| ], |
| "cwd": "[START_DIR]/fuchsia", |
| "name": "upload core.jiri snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "-u", |
| "[CACHE]/cipd/infra/3pp/tools/gsutil/version%3A4.60/gsutil", |
| "-h", |
| "Custom-Time:2012-05-14T12:53:23.000000Z", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "cp", |
| "[CLEANUP]/jiri.snapshot", |
| "gs://fuchsia-snapshots/8945511751514863184" |
| ], |
| "infra_step": true, |
| "name": "upload core.upload jiri.snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@jiri.snapshot@https://storage.cloud.google.com/fuchsia-snapshots/8945511751514863184@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "publish gn sdk" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "-u", |
| "[CACHE]/cipd/infra/3pp/tools/gsutil/version%3A4.60/gsutil", |
| "-h", |
| "Custom-Time:2012-05-14T12:53:24.500000Z", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "cp", |
| "[CLEANUP]/gn.tar.gz", |
| "gs://fuchsia/development/8945511751514863184/sdk/linux-amd64/gn.tar.gz" |
| ], |
| "infra_step": true, |
| "name": "publish gn sdk.upload gn fuchsia-sdk 8945511751514863184", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@gsutil.upload@https://storage.googleapis.com/fuchsia/development/8945511751514863184/sdk/linux-amd64/gn.tar.gz@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "run external tests" |
| }, |
| { |
| "cmd": [], |
| "name": "run external tests.install fuchsia/infra/cl-util", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/fuchsia/infra/cl-util/git_revision%3A72959a38896fc76d7fb2074f917ca2aa4b676776" |
| ], |
| "infra_step": true, |
| "name": "run external tests.install fuchsia/infra/cl-util.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/fuchsia/infra/cl-util/git_revision%3A72959a38896fc76d7fb2074f917ca2aa4b676776", |
| "-ensure-file", |
| "fuchsia/infra/cl-util/${platform} git_revision:72959a38896fc76d7fb2074f917ca2aa4b676776", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "run external tests.install fuchsia/infra/cl-util.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:729\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/infra/cl-util/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": [ |
| "[CACHE]/cipd/fuchsia/infra/cl-util/git_revision%3A72959a38896fc76d7fb2074f917ca2aa4b676776/cl-util", |
| "create-cl", |
| "-gerrit-host", |
| "chromium-review.googlesource.com", |
| "-gerrit-project", |
| "chromium/src", |
| "-subject", |
| "[test] Dryrun SDK version 8945511751514863184", |
| "-json-output", |
| "/path/to/tmp/json", |
| "-file-edit", |
| "build/fuchsia/sdk-bucket.txt:fuchsia", |
| "-file-edit", |
| "build/fuchsia/sdk.version:8945511751514863184", |
| "-file-edit", |
| "build/fuchsia/sdk.list:sdk.version" |
| ], |
| "infra_step": true, |
| "name": "run external tests.create CL", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@proto.output@{@@@", |
| "@@@STEP_LOG_LINE@proto.output@ \"current_revision\": \"foo\", @@@", |
| "@@@STEP_LOG_LINE@proto.output@ \"number\": \"123456\", @@@", |
| "@@@STEP_LOG_LINE@proto.output@ \"revisions\": {@@@", |
| "@@@STEP_LOG_LINE@proto.output@ \"foo\": {@@@", |
| "@@@STEP_LOG_LINE@proto.output@ \"number\": 1@@@", |
| "@@@STEP_LOG_LINE@proto.output@ }@@@", |
| "@@@STEP_LOG_LINE@proto.output@ }@@@", |
| "@@@STEP_LOG_LINE@proto.output@}@@@", |
| "@@@STEP_LOG_END@proto.output@@@", |
| "@@@STEP_LINK@gerrit_link@https://chromium-review.googlesource.com/c/chromium/src/+/123456@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/infra/cl-util/git_revision%3A72959a38896fc76d7fb2074f917ca2aa4b676776/cl-util", |
| "trigger-cq", |
| "-gerrit-host", |
| "chromium-review.googlesource.com", |
| "-gerrit-project", |
| "chromium/src", |
| "-change-num", |
| "123456", |
| "-dryrun" |
| ], |
| "name": "run external tests.trigger CQ+1", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport sys\nimport time\ntime.sleep(int(sys.argv[1]))\n", |
| "180" |
| ], |
| "name": "run external tests.sleep", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@python.inline@@@@", |
| "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| "@@@STEP_LOG_LINE@python.inline@import time@@@", |
| "@@@STEP_LOG_LINE@python.inline@time.sleep(int(sys.argv[1]))@@@", |
| "@@@STEP_LOG_END@python.inline@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "run external tests.collect tryjobs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "ls", |
| "-host", |
| "cr-buildbucket.appspot.com", |
| "-json", |
| "-nopage", |
| "-n", |
| "1000", |
| "-fields", |
| "builder,create_time,created_by,critical,end_time,id,input,number,output,start_time,status,update_time", |
| "-predicate", |
| "{\"builder\": {\"bucket\": \"try\", \"builder\": \"fuchsia_x64\", \"project\": \"chromium\"}, \"gerritChanges\": [{\"change\": \"123456\", \"host\": \"chromium-review.googlesource.com\", \"patchset\": \"1\", \"project\": \"chromium/src\"}]}" |
| ], |
| "infra_step": true, |
| "name": "run external tests.collect tryjobs.search", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text@{\"status\": \"SUCCESS\", \"tags\": [{\"value\": \"false\", \"key\": \"cq_experimental\"}], \"builder\": {\"project\": \"chromium\", \"builder\": \"fuchsia_x64\", \"bucket\": \"try\"}, \"createTime\": \"2018-05-25T23:50:17Z\", \"createdBy\": \"user:commit-bot@chromium.org\", \"input\": {\"gerritChanges\": [{\"project\": \"chromium\", \"host\": \"chromium-review.googlesource.com\", \"patchset\": \"7\", \"change\": \"123456\"}]}, \"infra\": {\"swarming\": {\"priority\": 30}, \"resultdb\": {\"invocation\": \"invocations/build:1234567890\"}}, \"id\": \"1234567890\"}@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@", |
| "@@@STEP_LINK@1234567890@https://cr-buildbucket.appspot.com/build/1234567890@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "run external tests.collect tryjobs.collect", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "collect", |
| "-host", |
| "cr-buildbucket.appspot.com", |
| "-interval", |
| "60s", |
| "1234567890" |
| ], |
| "infra_step": true, |
| "name": "run external tests.collect tryjobs.collect.wait", |
| "timeout": 7200, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "batch", |
| "-host", |
| "cr-buildbucket.appspot.com" |
| ], |
| "infra_step": true, |
| "name": "run external tests.collect tryjobs.collect.get", |
| "stdin": "{\"requests\": [{\"getBuild\": {\"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", \"id\": \"1234567890\"}}]}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"responses\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"getBuild\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bucket\": \"try\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"builder\": \"fuchsia_x64\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"project\": \"chromium\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"createTime\": \"2018-05-25T23:50:17Z\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"createdBy\": \"user:commit-bot@chromium.org\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"1234567890\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"infra\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"resultdb\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"invocation\": \"invocations/build:1234567890\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"priority\": 30@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"input\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"gerritChanges\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"change\": \"123456\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"host\": \"chromium-review.googlesource.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"patchset\": \"7\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"project\": \"chromium\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"status\": \"SUCCESS\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"key\": \"cq_experimental\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"value\": \"false\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@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@@@", |
| "@@@STEP_LOG_LINE@request@{@@@", |
| "@@@STEP_LOG_LINE@request@ \"requests\": [@@@", |
| "@@@STEP_LOG_LINE@request@ {@@@", |
| "@@@STEP_LOG_LINE@request@ \"getBuild\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"id\": \"1234567890\"@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ ]@@@", |
| "@@@STEP_LOG_LINE@request@}@@@", |
| "@@@STEP_LOG_END@request@@@", |
| "@@@STEP_LINK@1234567890@https://cr-buildbucket.appspot.com/build/1234567890@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "run external tests.collect tryjobs.display", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "run external tests.collect tryjobs.display.fuchsia_x64", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LINK@1234567890@https://cr-buildbucket.appspot.com/build/1234567890@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/infra/cl-util/git_revision%3A72959a38896fc76d7fb2074f917ca2aa4b676776/cl-util", |
| "abandon-cl", |
| "-gerrit-host", |
| "chromium-review.googlesource.com", |
| "-gerrit-project", |
| "chromium/src", |
| "-change-num", |
| "123456" |
| ], |
| "infra_step": true, |
| "name": "run external tests.abandon CL", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |