| [ |
| { |
| "cmd": [], |
| "name": "schedule builders" |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "batch", |
| "-host", |
| "cr-buildbucket.appspot.com" |
| ], |
| "infra_step": true, |
| "name": "schedule builders.schedule", |
| "stdin": "{\"requests\": [{\"scheduleBuild\": {\"builder\": {\"builder\": \"clang-linux-x64\", \"project\": \"project\"}, \"experimental\": \"NO\", \"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", \"gitilesCommit\": {\"host\": \"fuchsia.googlesource.com\", \"id\": \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\", \"project\": \"example\", \"ref\": \"refs/heads/master\"}, \"priority\": 30, \"requestId\": \"8945511751514863184-00000000-0000-0000-0000-000000001337\", \"swarming\": {\"parentRunId\": \"fake-task-id\"}, \"tags\": [{\"key\": \"user_agent\", \"value\": \"recipe\"}]}}, {\"scheduleBuild\": {\"builder\": {\"builder\": \"clang-mac-x64\", \"project\": \"project\"}, \"experimental\": \"NO\", \"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", \"gitilesCommit\": {\"host\": \"fuchsia.googlesource.com\", \"id\": \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\", \"project\": \"example\", \"ref\": \"refs/heads/master\"}, \"priority\": 30, \"requestId\": \"8945511751514863184-00000000-0000-0000-0000-00000000133a\", \"swarming\": {\"parentRunId\": \"fake-task-id\"}, \"tags\": [{\"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@ \"id\": \"8945511751514863184\"@@@", |
| "@@@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@ \"builder\": \"clang-linux-x64\", @@@", |
| "@@@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\": \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"project\": \"example\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"ref\": \"refs/heads/master\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"priority\": 30, @@@", |
| "@@@STEP_LOG_LINE@request@ \"requestId\": \"8945511751514863184-00000000-0000-0000-0000-000000001337\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"swarming\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"parentRunId\": \"fake-task-id\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"tags\": [@@@", |
| "@@@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@ \"builder\": \"clang-mac-x64\", @@@", |
| "@@@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\": \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"project\": \"example\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"ref\": \"refs/heads/master\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"priority\": 30, @@@", |
| "@@@STEP_LOG_LINE@request@ \"requestId\": \"8945511751514863184-00000000-0000-0000-0000-00000000133a\", @@@", |
| "@@@STEP_LOG_LINE@request@ \"swarming\": {@@@", |
| "@@@STEP_LOG_LINE@request@ \"parentRunId\": \"fake-task-id\"@@@", |
| "@@@STEP_LOG_LINE@request@ }, @@@", |
| "@@@STEP_LOG_LINE@request@ \"tags\": [@@@", |
| "@@@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@8945511751514863184@https://cr-buildbucket.appspot.com/build/8945511751514863184@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "schedule builders.collect", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "collect", |
| "-host", |
| "cr-buildbucket.appspot.com", |
| "-interval", |
| "60s", |
| "8945511751514863184" |
| ], |
| "infra_step": true, |
| "name": "schedule builders.collect.wait", |
| "timeout": 3600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "batch", |
| "-host", |
| "cr-buildbucket.appspot.com" |
| ], |
| "infra_step": true, |
| "name": "schedule builders.collect.get", |
| "stdin": "{\"requests\": [{\"getBuild\": {\"fields\": \"builder,createTime,createdBy,critical,endTime,id,input,number,output,startTime,status,updateTime\", \"id\": \"8945511751514863184\"}}]}", |
| "~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\": \"builder\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"project\": \"project\"@@@", |
| "@@@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\": \"8945511751514863184\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"infra\": {@@@", |
| "@@@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\": \"project\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/heads/master\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"status\": \"FAILURE\"@@@", |
| "@@@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\": \"8945511751514863184\"@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ }@@@", |
| "@@@STEP_LOG_LINE@request@ ]@@@", |
| "@@@STEP_LOG_LINE@request@}@@@", |
| "@@@STEP_LOG_END@request@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "display builds", |
| "~followup_annotations": [ |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "display builds.builder", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@8945511751514863184@https://cr-buildbucket.appspot.com/build/8945511751514863184@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "import sys; sys.exit(1)" |
| ], |
| "name": "display builds.build(s) failed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@step failures: builder@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "failure": { |
| "failure": {}, |
| "humanReason": "Step('display builds.build(s) failed') (retcode: 1)" |
| }, |
| "name": "$result" |
| } |
| ] |