Index: scripts/slave/recipe_modules/git/example.expected/count-objects_failed_build.json |
diff --git a/scripts/slave/recipe_modules/git/example.expected/count-objects_failed_build.json b/scripts/slave/recipe_modules/git/example.expected/count-objects_failed_build.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e618c122be7d8889a5f0d71a6d1569a4b431a4c7 |
--- /dev/null |
+++ b/scripts/slave/recipe_modules/git/example.expected/count-objects_failed_build.json |
@@ -0,0 +1,86 @@ |
+[ |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[BUILD]/scripts/slave/git_setup.py", |
+ "--path", |
+ "[SLAVE_BUILD]/src", |
+ "--url", |
+ "https://chromium.googlesource.com/chromium/src.git" |
+ ], |
+ "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", |
+ "count-objects", |
+ "-v" |
+ ], |
+ "cwd": "[SLAVE_BUILD]/src", |
+ "name": "count-objects", |
+ "stdout": "/path/to/tmp/", |
+ "~followup_annotations": [ |
+ "step returned non-zero exit code: 1", |
+ "@@@STEP_EXCEPTION@@@" |
+ ] |
+ }, |
+ { |
+ "name": "$final_result", |
+ "reason": "Infra Failure: Step('count-objects') returned 1", |
+ "status_code": 1 |
+ } |
+] |