| Index: scripts/slave/recipe_modules/auto_bisect/example.expected/failed_build_test.json
|
| diff --git a/scripts/slave/recipe_modules/auto_bisect/example.expected/failed_build_test.json b/scripts/slave/recipe_modules/auto_bisect/example.expected/failed_build_test.json
|
| index b1f84e181c4870aefca5bf888b10970d11e63723..eed3fc5b860a0d7ac7ec72691a314c5c8f27ddec 100644
|
| --- a/scripts/slave/recipe_modules/auto_bisect/example.expected/failed_build_test.json
|
| +++ b/scripts/slave/recipe_modules/auto_bisect/example.expected/failed_build_test.json
|
| @@ -178,8 +178,16 @@
|
| "name": "buildbucket.put",
|
| "stdout": "/path/to/tmp/json",
|
| "~followup_annotations": [
|
| - "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
|
| - "@@@STEP_LOG_END@json.output (invalid)@@@"
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"results\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"build\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"id\": \"1201331270\"@@@",
|
| + "@@@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@@@"
|
| ]
|
| },
|
| {
|
| @@ -211,8 +219,16 @@
|
| "name": "buildbucket.put (2)",
|
| "stdout": "/path/to/tmp/json",
|
| "~followup_annotations": [
|
| - "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
|
| - "@@@STEP_LOG_END@json.output (invalid)@@@"
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"results\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"build\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"id\": \"1201331270\"@@@",
|
| + "@@@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@@@"
|
| ]
|
| },
|
| {
|
| @@ -233,25 +249,27 @@
|
| },
|
| {
|
| "cmd": [
|
| - "python",
|
| - "-u",
|
| - "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py",
|
| - "https://build.chromium.org/p/tryserver.chromium.perfjson/builders/linux_perf_bisect_builder?as_text=1",
|
| - "--outfile",
|
| - "/path/to/tmp/"
|
| - ],
|
| - "name": "fetch builder state"
|
| - },
|
| - {
|
| - "cmd": [
|
| - "python",
|
| - "-u",
|
| - "RECIPE_PACKAGE_REPO[build]/scripts/tools/pycurl.py",
|
| - "https://build.chromium.org/p/tryserver.chromium.perfjson/builders/linux_perf_bisect_builder/builds/2106?as_text=1",
|
| - "--outfile",
|
| - "/path/to/tmp/"
|
| + "/opt/infra-tools/buildbucket",
|
| + "get",
|
| + "--host",
|
| + "cr-buildbucket.appspot.com",
|
| + "1201331270"
|
| ],
|
| - "name": "fetch build details"
|
| + "name": "buildbucket.get",
|
| + "stdout": "/path/to/tmp/json",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"results\": [@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"build\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"result\": \"FAILED\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"status\": \"COMPLETED\"@@@",
|
| + "@@@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": [
|
|
|