Index: recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json |
diff --git a/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json b/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3c0deb405d5fdc7deb05a70461288ca47e51f52d |
--- /dev/null |
+++ b/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json |
@@ -0,0 +1,90 @@ |
+[ |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_MODULE[git]/resources/git_setup.py", |
+ "--path", |
+ "[SLAVE_BUILD]/src", |
+ "--url", |
+ "https://chromium.googlesource.com/chromium/src.git" |
+ ], |
+ "cwd": "[SLAVE_BUILD]", |
+ "name": "git setup" |
+ }, |
+ { |
+ "cmd": [ |
+ "git", |
+ "retry", |
+ "fetch", |
+ "origin", |
+ "master", |
+ "--recurse-submodules" |
+ ], |
+ "cwd": "[SLAVE_BUILD]/src", |
+ "name": "git fetch" |
+ }, |
+ { |
+ "cmd": [ |
+ "git", |
+ "checkout", |
+ "-f", |
+ "FETCH_HEAD" |
+ ], |
+ "cwd": "[SLAVE_BUILD]/src", |
+ "name": "git checkout" |
+ }, |
+ { |
+ "cmd": [ |
+ "git", |
+ "clean", |
+ "-f", |
+ "-d", |
+ "-x" |
+ ], |
+ "cwd": "[SLAVE_BUILD]/src", |
+ "name": "git clean" |
+ }, |
+ { |
+ "cmd": [ |
+ "git", |
+ "submodule", |
+ "sync" |
+ ], |
+ "cwd": "[SLAVE_BUILD]/src", |
+ "name": "submodule sync" |
+ }, |
+ { |
+ "cmd": [ |
+ "git", |
+ "submodule", |
+ "update", |
+ "--init", |
+ "--recursive" |
+ ], |
+ "cwd": "[SLAVE_BUILD]/src", |
+ "name": "submodule update" |
+ }, |
+ { |
+ "cmd": [ |
+ "git", |
+ "-c", |
+ "foo=bar", |
+ "count-objects", |
+ "-v" |
+ ], |
+ "cwd": "[SLAVE_BUILD]/src", |
+ "name": "count-objects", |
+ "stdout": "/path/to/tmp/", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@exception@ValueError(\"invalid literal for long() with base 10: 'xxx'\",)@@@", |
+ "@@@STEP_LOG_END@exception@@@", |
+ "@@@STEP_WARNINGS@@@" |
+ ] |
+ }, |
+ { |
+ "name": "$result", |
+ "reason": "count-objects failed: invalid literal for long() with base 10: 'xxx'", |
+ "status_code": 1 |
+ } |
+] |