| [ |
| { |
| "cmd": [], |
| "name": "client path" |
| }, |
| { |
| "cmd": [], |
| "name": "ensure swarming" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/swarming_client", |
| "-ensure-file", |
| "infra/tools/luci/swarming/${platform} git_revision:25958d48e89e980e2a97daeddc977fb5e2e1fb8c", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure swarming.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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:259\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/swarming/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": [], |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/swarming_client" |
| ] |
| }, |
| "name": "on path" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| "--path", |
| "[START_DIR]/swarming.client", |
| "--url", |
| "https://chromium.googlesource.com/infra/luci/client-py.git" |
| ], |
| "name": "git setup (swarming_client)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "retry", |
| "fetch", |
| "origin", |
| "sample_sha", |
| "--progress" |
| ], |
| "cwd": "[START_DIR]/swarming.client", |
| "env": { |
| "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>" |
| }, |
| "infra_step": true, |
| "name": "git fetch (swarming_client)" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/swarming.client", |
| "infra_step": true, |
| "name": "git checkout (swarming_client)", |
| "~followup_annotations": [ |
| "step returned non-zero exit code: 1", |
| "@@@STEP_EXCEPTION@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/swarming.client/swarming.py", |
| "--version" |
| ], |
| "name": "swarming.py --version", |
| "stdout": "/path/to/tmp/", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@0.4.4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[START_DIR]/swarming.client/isolate.py", |
| "--version" |
| ], |
| "name": "isolate.py --version", |
| "stdout": "/path/to/tmp/", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@0.3.1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "import sys; sys.exit(1)" |
| ], |
| "name": "swarming.py is too old", |
| "~followup_annotations": [ |
| "step returned non-zero exit code: 1", |
| "@@@STEP_TEXT@Expecting at least v20.0.0, got v0.4.4@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "failure": { |
| "failure": { |
| "step": "swarming.py is too old" |
| }, |
| "humanReason": "Step('swarming.py is too old') failed with return_code 1" |
| }, |
| "name": "$result" |
| } |
| ] |