Index: scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/bad_version_yaml.json |
diff --git a/scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/bad_version_yaml.json b/scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/bad_version_yaml.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..61283257e89bcf6ae055ce326754f0dfb9527e4b |
--- /dev/null |
+++ b/scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/bad_version_yaml.json |
@@ -0,0 +1,35 @@ |
+[ |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
+ "--", |
+ "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
+ "----", |
+ "cat", |
+ "gs://appengine-sdks/featured/VERSION" |
+ ], |
+ "name": "gsutil Get Latest", |
+ "stdout": "/path/to/tmp/" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "import sys; sys.exit(1)" |
+ ], |
+ "name": "Version Fetch", |
+ "~followup_annotations": [ |
+ "step returned non-zero exit code: 1", |
+ "@@@STEP_TEXT@Failed to fetch latest version: Could not parse release version from YAML.@@@", |
+ "@@@STEP_FAILURE@@@" |
+ ] |
+ }, |
+ { |
+ "name": "$result", |
+ "reason": "Step('Version Fetch') failed with return_code 1", |
+ "recipe_result": null, |
+ "status_code": 1 |
+ } |
+] |