Index: scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json |
diff --git a/scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json b/scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json |
deleted file mode 100644 |
index 097dcf3e4c02e0e8c1a8fae0a18df1c8de548e77..0000000000000000000000000000000000000000 |
--- a/scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json |
+++ /dev/null |
@@ -1,128 +0,0 @@ |
-[ |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", |
- "--platform", |
- "linux-amd64", |
- "--dest-directory", |
- "[SLAVE_BUILD]/cipd", |
- "--json-output", |
- "/path/to/tmp/json" |
- ], |
- "name": "install cipd", |
- "~followup_annotations": [ |
- "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@", |
- "@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@", |
- "@@@STEP_LOG_LINE@json.output@}@@@", |
- "@@@STEP_LOG_END@json.output@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", |
- "--platform", |
- "linux-amd64", |
- "--dest-directory", |
- "[SLAVE_BUILD]/cipd", |
- "--json-output", |
- "/path/to/tmp/json", |
- "--version", |
- "deadbeaf" |
- ], |
- "name": "install cipd (2)", |
- "~followup_annotations": [ |
- "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@", |
- "@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@", |
- "@@@STEP_LOG_LINE@json.output@}@@@", |
- "@@@STEP_LOG_END@json.output@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "[SLAVE_BUILD]/cipd/cipd", |
- "ensure", |
- "--root", |
- "[SLAVE_BUILD]/packages", |
- "--list", |
- "public/package/linux-amd64 7f751b2237df2fdf3c1405be00590fefffbaea2d", |
- "--json-output", |
- "/path/to/tmp/json", |
- "--service-account-json", |
- "/creds/service_accounts/service-account-cipd-builder.json" |
- ], |
- "name": "ensure_installed", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
- "@@@STEP_LOG_LINE@json.output@ {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"7f751b2237df2fdf3c1405be00590fefffbaea2d\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"public/package/linux-amd64\"@@@", |
- "@@@STEP_LOG_LINE@json.output@ }@@@", |
- "@@@STEP_LOG_LINE@json.output@ ]@@@", |
- "@@@STEP_LOG_LINE@json.output@}@@@", |
- "@@@STEP_LOG_END@json.output@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "[SLAVE_BUILD]/cipd/cipd", |
- "search", |
- "public/package/linux-amd64", |
- "--tag", |
- "git_revision:40-chars-long-hash", |
- "--json-output", |
- "/path/to/tmp/json", |
- "--service-account-json", |
- "/creds/service_accounts/service-account-cipd-builder.json" |
- ], |
- "name": "cipd search public/package/linux-amd64 git_revision:40-chars-long-hash", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
- "@@@STEP_LOG_LINE@json.output@ {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"public/package/linux-amd64\"@@@", |
- "@@@STEP_LOG_LINE@json.output@ }@@@", |
- "@@@STEP_LOG_LINE@json.output@ ]@@@", |
- "@@@STEP_LOG_LINE@json.output@}@@@", |
- "@@@STEP_LOG_END@json.output@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "[SLAVE_BUILD]/cipd/cipd", |
- "describe", |
- "public/package/linux-amd64", |
- "--version", |
- "40-chars-fake-of-the-package-instance_id", |
- "--json-output", |
- "/path/to/tmp/json", |
- "--service-account-json", |
- "/creds/service_accounts/service-account-cipd-builder.json" |
- ], |
- "name": "cipd describe public/package/linux-amd64", |
- "~followup_annotations": [ |
- "step returned non-zero exit code: 1", |
- "@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"error\": \"package \\\"public/package/linux-amd64-ubuntu14_04\\\" not registered\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"result\": null@@@", |
- "@@@STEP_LOG_LINE@json.output@}@@@", |
- "@@@STEP_LOG_END@json.output@@@", |
- "@@@STEP_FAILURE@@@" |
- ] |
- }, |
- { |
- "name": "$result", |
- "reason": "Step('cipd describe public/package/linux-amd64') failed with return_code 1", |
- "recipe_result": null, |
- "status_code": 1 |
- } |
-] |