Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Side by Side Diff: scripts/slave/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json

Issue 1382203002: bot_update (+recipe_module): treat patch download as infra failure. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: REfactor + fixes. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "tryserver.chromium.linux", 8 "tryserver.chromium.linux",
9 "--builder", 9 "--builder",
10 "linux_rel", 10 "linux_rel",
11 "--slave", 11 "--slave",
12 "totallyaslave-c4", 12 "totallyaslave-c4",
13 "--spec", 13 "--spec",
14 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na me': 'src', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]", 14 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na me': 'src', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]",
15 "--root", 15 "--root",
16 "src", 16 "src",
17 "--revision_mapping_file", 17 "--revision_mapping_file",
18 "{}", 18 "{}",
19 "--patch_url", 19 "--patch_url",
20 "http://src.chromium.org/foo/bar", 20 "http://src.chromium.org/foo/bar",
21 "--output_json", 21 "--output_json",
22 "/path/to/tmp/json", 22 "/path/to/tmp/json",
23 "--revision", 23 "--revision",
24 "src@HEAD" 24 "src@HEAD"
25 ], 25 ],
26 "cwd": "[SLAVE_BUILD]", 26 "cwd": "[SLAVE_BUILD]",
27 "name": "bot_update", 27 "name": "bot_update",
28 "~followup_annotations": [ 28 "~followup_annotations": [
29 "step returned non-zero exit code: 3",
tandrii(chromium) 2015/10/02 12:59:52 where does this come from?
29 "@@@STEP_TEXT@Some step text@@@", 30 "@@@STEP_TEXT@Some step text@@@",
30 "@@@STEP_LOG_LINE@json.output@{@@@", 31 "@@@STEP_LOG_LINE@json.output@{@@@",
31 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 32 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
32 "@@@STEP_LOG_LINE@json.output@ \"log_lines\": [@@@", 33 "@@@STEP_LOG_LINE@json.output@ \"log_lines\": [@@@",
33 "@@@STEP_LOG_LINE@json.output@ [@@@", 34 "@@@STEP_LOG_LINE@json.output@ [@@@",
34 "@@@STEP_LOG_LINE@json.output@ \"patch error\", @@@", 35 "@@@STEP_LOG_LINE@json.output@ \"patch error\", @@@",
35 "@@@STEP_LOG_LINE@json.output@ \"Patch failed to apply\"@@@", 36 "@@@STEP_LOG_LINE@json.output@ \"Patch failed to apply\"@@@",
36 "@@@STEP_LOG_LINE@json.output@ ]@@@", 37 "@@@STEP_LOG_LINE@json.output@ ]@@@",
37 "@@@STEP_LOG_LINE@json.output@ ], @@@", 38 "@@@STEP_LOG_LINE@json.output@ ], @@@",
39 "@@@STEP_LOG_LINE@json.output@ \"patch_apply_return_code\": 3, @@@",
38 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": true, @@@", 40 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": true, @@@",
39 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", 41 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
40 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", 42 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@",
41 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", 43 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
42 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", 44 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
43 "@@@STEP_LOG_LINE@json.output@}@@@", 45 "@@@STEP_LOG_LINE@json.output@}@@@",
44 "@@@STEP_LOG_END@json.output@@@", 46 "@@@STEP_LOG_END@json.output@@@",
45 "@@@STEP_LOG_LINE@patch error@Patch failed to apply@@@", 47 "@@@STEP_LOG_LINE@patch error@Patch failed to apply@@@",
46 "@@@STEP_LOG_END@patch error@@@", 48 "@@@STEP_LOG_END@patch error@@@",
47 "@@@SET_BUILD_PROPERTY@failure_type@\"PATCH_FAILURE\"@@@" 49 "@@@STEP_EXCEPTION@@@"
48 ] 50 ]
49 }, 51 },
50 { 52 {
51 "cmd": [ 53 "cmd": [
52 "python", 54 "python",
53 "-u", 55 "-u",
54 "import sys; sys.exit(1)" 56 "import sys; sys.exit(1)"
55 ], 57 ],
56 "cwd": "[SLAVE_BUILD]", 58 "cwd": "[SLAVE_BUILD]",
57 "name": "Patch failure", 59 "name": "Patch failure",
58 "~followup_annotations": [ 60 "~followup_annotations": [
59 "step returned non-zero exit code: 1", 61 "step returned non-zero exit code: 1",
60 "@@@STEP_TEXT@Check the bot_update step for details@@@", 62 "@@@STEP_TEXT@Check the bot_update step for details@@@",
61 "@@@STEP_FAILURE@@@" 63 "@@@STEP_FAILURE@@@"
62 ] 64 ]
63 }, 65 },
64 { 66 {
65 "name": "$final_result", 67 "name": "$final_result",
66 "reason": "Step('Patch failure') failed with return_code 1", 68 "reason": "Step('Patch failure') failed with return_code 1",
67 "status_code": 1 69 "status_code": 1
68 } 70 }
69 ] 71 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698