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

Side by Side Diff: recipe_modules/bot_update/example.expected/tryjob_fail_patch.json

Issue 1917263002: Revert of depot_tools: add infra_paths recipe module for infra-specific paths (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/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 = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]", 14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': '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 "{\"src\": \"got_cr_revision\"}", 18 "{\"src\": \"got_cr_revision\"}",
19 "--git-cache-dir", 19 "--git-cache-dir",
20 "[GIT_CACHE]", 20 "[GIT_CACHE]",
21 "--patch_url", 21 "--patch_url",
22 "http://src.chromium.org/foo/bar", 22 "http://src.chromium.org/foo/bar",
23 "--output_json", 23 "--output_json",
24 "/path/to/tmp/json", 24 "/path/to/tmp/json",
25 "--revision", 25 "--revision",
26 "src@HEAD" 26 "src@HEAD"
27 ], 27 ],
28 "cwd": "[SLAVE_BUILD]",
28 "env": { 29 "env": {
29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 30 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
30 }, 31 },
31 "name": "bot_update", 32 "name": "bot_update",
32 "~followup_annotations": [ 33 "~followup_annotations": [
33 "@@@STEP_TEXT@Some step text@@@", 34 "@@@STEP_TEXT@Some step text@@@",
34 "@@@STEP_LOG_LINE@json.output@{@@@", 35 "@@@STEP_LOG_LINE@json.output@{@@@",
35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 36 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", 37 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
37 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@", 38 "@@@STEP_LOG_LINE@json.output@ \"src\": \"HEAD\"@@@",
(...skipping 21 matching lines...) Expand all
59 "@@@SET_BUILD_PROPERTY@got_cr_revision_cp@\"refs/heads/master@{#170242}\"@ @@", 60 "@@@SET_BUILD_PROPERTY@got_cr_revision_cp@\"refs/heads/master@{#170242}\"@ @@",
60 "@@@SET_BUILD_PROPERTY@failure_type@\"PATCH_FAILURE\"@@@" 61 "@@@SET_BUILD_PROPERTY@failure_type@\"PATCH_FAILURE\"@@@"
61 ] 62 ]
62 }, 63 },
63 { 64 {
64 "cmd": [ 65 "cmd": [
65 "python", 66 "python",
66 "-u", 67 "-u",
67 "import sys; sys.exit(1)" 68 "import sys; sys.exit(1)"
68 ], 69 ],
70 "cwd": "[SLAVE_BUILD]",
69 "name": "Patch failure", 71 "name": "Patch failure",
70 "~followup_annotations": [ 72 "~followup_annotations": [
71 "step returned non-zero exit code: 1", 73 "step returned non-zero exit code: 1",
72 "@@@STEP_TEXT@Check the bot_update step for details@@@", 74 "@@@STEP_TEXT@Check the bot_update step for details@@@",
73 "@@@STEP_FAILURE@@@" 75 "@@@STEP_FAILURE@@@"
74 ] 76 ]
75 }, 77 },
76 { 78 {
77 "name": "$result", 79 "name": "$result",
78 "reason": "Step('Patch failure') failed with return_code 1", 80 "reason": "Step('Patch failure') failed with return_code 1",
79 "status_code": 1 81 "status_code": 1
80 } 82 }
81 ] 83 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698