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

Side by Side Diff: scripts/slave/recipes/chromium_trybot_legacy.expected/compile_because_of_analyze.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 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 | 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_chromium_asan_rel", 10 "linux_chromium_asan_rel",
(...skipping 10 matching lines...) Expand all
21 "--patchset", 21 "--patchset",
22 "1", 22 "1",
23 "--rietveld_server", 23 "--rietveld_server",
24 "https://codereview.chromium.org", 24 "https://codereview.chromium.org",
25 "--output_json", 25 "--output_json",
26 "/path/to/tmp/json", 26 "/path/to/tmp/json",
27 "--revision", 27 "--revision",
28 "src@HEAD", 28 "src@HEAD",
29 "--force" 29 "--force"
30 ], 30 ],
31 "cwd": "[SLAVE_BUILD]",
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@ \"patch_failure\": false, @@@", 37 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
37 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", 38 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
38 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 39 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
39 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@", 40 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@",
40 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@", 41 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@",
(...skipping 27 matching lines...) Expand all
68 ] 69 ]
69 }, 70 },
70 { 71 {
71 "cmd": [ 72 "cmd": [
72 "python", 73 "python",
73 "-u", 74 "-u",
74 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 75 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
75 "[SLAVE_BUILD]/src/testing/buildbot/chromium_memory_trybot.json", 76 "[SLAVE_BUILD]/src/testing/buildbot/chromium_memory_trybot.json",
76 "/path/to/tmp/json" 77 "/path/to/tmp/json"
77 ], 78 ],
79 "cwd": "[SLAVE_BUILD]",
78 "name": "read test spec", 80 "name": "read test spec",
79 "~followup_annotations": [ 81 "~followup_annotations": [
80 "@@@STEP_TEXT@path: testing/buildbot/chromium_memory_trybot.json@@@", 82 "@@@STEP_TEXT@path: testing/buildbot/chromium_memory_trybot.json@@@",
81 "@@@STEP_LOG_LINE@json.output@{}@@@", 83 "@@@STEP_LOG_LINE@json.output@{}@@@",
82 "@@@STEP_LOG_END@json.output@@@" 84 "@@@STEP_LOG_END@json.output@@@"
83 ] 85 ]
84 }, 86 },
85 { 87 {
86 "cmd": [ 88 "cmd": [
87 "python", 89 "python",
88 "-u", 90 "-u",
89 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", 91 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
90 "--output", 92 "--output",
91 "/path/to/tmp/json", 93 "/path/to/tmp/json",
92 "--", 94 "--",
93 "--build-config-fs", 95 "--build-config-fs",
94 "Release", 96 "Release",
95 "--paths", 97 "--paths",
96 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}", 98 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}",
97 "--properties", 99 "--properties",
98 "{\"buildername\": \"linux_chromium_asan_rel\", \"buildnumber\": 571, \"ma stername\": \"tryserver.chromium.linux\", \"slavename\": \"TestSlavename\", \"ta rget_platform\": \"linux\"}" 100 "{\"buildername\": \"linux_chromium_asan_rel\", \"buildnumber\": 571, \"ma stername\": \"tryserver.chromium.linux\", \"slavename\": \"TestSlavename\", \"ta rget_platform\": \"linux\"}"
99 ], 101 ],
102 "cwd": "[SLAVE_BUILD]",
100 "name": "get compile targets for scripts", 103 "name": "get compile targets for scripts",
101 "~followup_annotations": [ 104 "~followup_annotations": [
102 "@@@STEP_LOG_LINE@json.output@{}@@@", 105 "@@@STEP_LOG_LINE@json.output@{}@@@",
103 "@@@STEP_LOG_END@json.output@@@" 106 "@@@STEP_LOG_END@json.output@@@"
104 ] 107 ]
105 }, 108 },
106 { 109 {
107 "cmd": [ 110 "cmd": [
108 "git", 111 "git",
109 "diff", 112 "diff",
110 "--cached", 113 "--cached",
111 "--name-only" 114 "--name-only"
112 ], 115 ],
113 "cwd": "[SLAVE_BUILD]/src", 116 "cwd": "[SLAVE_BUILD]/src",
114 "name": "git diff to analyze patch", 117 "name": "git diff to analyze patch",
115 "stdout": "/path/to/tmp/", 118 "stdout": "/path/to/tmp/",
116 "~followup_annotations": [ 119 "~followup_annotations": [
117 "@@@STEP_LOG_LINE@files@foo.cc@@@", 120 "@@@STEP_LOG_LINE@files@foo.cc@@@",
118 "@@@STEP_LOG_END@files@@@" 121 "@@@STEP_LOG_END@files@@@"
119 ] 122 ]
120 }, 123 },
121 { 124 {
122 "cmd": [ 125 "cmd": [
123 "python", 126 "python",
124 "-u", 127 "-u",
125 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 128 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
126 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json", 129 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json",
127 "/path/to/tmp/json" 130 "/path/to/tmp/json"
128 ], 131 ],
132 "cwd": "[SLAVE_BUILD]",
129 "name": "read filter exclusion spec", 133 "name": "read filter exclusion spec",
130 "~followup_annotations": [ 134 "~followup_annotations": [
131 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@", 135 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
132 "@@@STEP_LOG_LINE@json.output@{@@@", 136 "@@@STEP_LOG_LINE@json.output@{@@@",
133 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@", 137 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@",
134 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@", 138 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
135 "@@@STEP_LOG_LINE@json.output@ }, @@@", 139 "@@@STEP_LOG_LINE@json.output@ }, @@@",
136 "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@", 140 "@@@STEP_LOG_LINE@json.output@ \"chromium\": {@@@",
137 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@", 141 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
138 "@@@STEP_LOG_LINE@json.output@ }, @@@", 142 "@@@STEP_LOG_LINE@json.output@ }, @@@",
139 "@@@STEP_LOG_LINE@json.output@ \"ios\": {@@@", 143 "@@@STEP_LOG_LINE@json.output@ \"ios\": {@@@",
140 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@", 144 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
141 "@@@STEP_LOG_LINE@json.output@ }@@@", 145 "@@@STEP_LOG_LINE@json.output@ }@@@",
142 "@@@STEP_LOG_LINE@json.output@}@@@", 146 "@@@STEP_LOG_LINE@json.output@}@@@",
143 "@@@STEP_LOG_END@json.output@@@" 147 "@@@STEP_LOG_END@json.output@@@"
144 ] 148 ]
145 }, 149 },
146 { 150 {
147 "cmd": [ 151 "cmd": [
148 "python", 152 "python",
149 "-u", 153 "-u",
150 "[SLAVE_BUILD]/src/build/gyp_chromium", 154 "[SLAVE_BUILD]/src/build/gyp_chromium",
151 "--analyzer", 155 "--analyzer",
152 "{\"files\": [\"foo.cc\"], \"targets\": []}", 156 "{\"files\": [\"foo.cc\"], \"targets\": []}",
153 "/path/to/tmp/json" 157 "/path/to/tmp/json"
154 ], 158 ],
159 "cwd": "[SLAVE_BUILD]",
155 "env": { 160 "env": {
156 "GYP_DEFINES": "asan=1 clang=1 component=static_library dcheck_always_on=1 fastbuild=1 gomadir='[BUILD]/goma' lsan=1 target_arch=x64 use_goma=1" 161 "GYP_DEFINES": "asan=1 clang=1 component=static_library dcheck_always_on=1 fastbuild=1 gomadir='[BUILD]/goma' lsan=1 target_arch=x64 use_goma=1"
157 }, 162 },
158 "name": "analyze", 163 "name": "analyze",
159 "~followup_annotations": [ 164 "~followup_annotations": [
160 "@@@STEP_LOG_LINE@json.output@{@@@", 165 "@@@STEP_LOG_LINE@json.output@{@@@",
161 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [], @@@", 166 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [], @@@",
162 "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency\", @@@", 167 "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency\", @@@",
163 "@@@STEP_LOG_LINE@json.output@ \"targets\": []@@@", 168 "@@@STEP_LOG_LINE@json.output@ \"targets\": []@@@",
164 "@@@STEP_LOG_LINE@json.output@}@@@", 169 "@@@STEP_LOG_LINE@json.output@}@@@",
165 "@@@STEP_LOG_END@json.output@@@", 170 "@@@STEP_LOG_END@json.output@@@",
166 "@@@STEP_LOG_LINE@analyze_details@{@@@", 171 "@@@STEP_LOG_LINE@analyze_details@{@@@",
167 "@@@STEP_LOG_LINE@analyze_details@ \"compile_targets\": [], @@@", 172 "@@@STEP_LOG_LINE@analyze_details@ \"compile_targets\": [], @@@",
168 "@@@STEP_LOG_LINE@analyze_details@ \"original_compile_targets\": [], @@@" , 173 "@@@STEP_LOG_LINE@analyze_details@ \"original_compile_targets\": [], @@@" ,
169 "@@@STEP_LOG_LINE@analyze_details@ \"original_exes\": [], @@@", 174 "@@@STEP_LOG_LINE@analyze_details@ \"original_exes\": [], @@@",
170 "@@@STEP_LOG_LINE@analyze_details@ \"self.m.filter.compile_targets\": [], @@@", 175 "@@@STEP_LOG_LINE@analyze_details@ \"self.m.filter.compile_targets\": [], @@@",
171 "@@@STEP_LOG_LINE@analyze_details@ \"self.m.filter.matching_exes\": []@@@ ", 176 "@@@STEP_LOG_LINE@analyze_details@ \"self.m.filter.matching_exes\": []@@@ ",
172 "@@@STEP_LOG_LINE@analyze_details@}@@@", 177 "@@@STEP_LOG_LINE@analyze_details@}@@@",
173 "@@@STEP_LOG_END@analyze_details@@@" 178 "@@@STEP_LOG_END@analyze_details@@@"
174 ] 179 ]
175 }, 180 },
176 { 181 {
177 "cmd": [ 182 "cmd": [
178 "python", 183 "python",
179 "-u", 184 "-u",
180 "[DEPOT_TOOLS]/gclient.py", 185 "[DEPOT_TOOLS]/gclient.py",
181 "runhooks" 186 "runhooks"
182 ], 187 ],
188 "cwd": "[SLAVE_BUILD]",
183 "env": { 189 "env": {
184 "GYP_DEFINES": "asan=1 clang=1 component=static_library dcheck_always_on=1 fastbuild=1 gomadir='[BUILD]/goma' lsan=1 target_arch=x64 use_goma=1" 190 "GYP_DEFINES": "asan=1 clang=1 component=static_library dcheck_always_on=1 fastbuild=1 gomadir='[BUILD]/goma' lsan=1 target_arch=x64 use_goma=1"
185 }, 191 },
186 "name": "gclient runhooks (with patch)" 192 "name": "gclient runhooks (with patch)"
187 }, 193 },
188 { 194 {
189 "cmd": [ 195 "cmd": [
190 "python", 196 "python",
191 "-u", 197 "-u",
192 "[BUILD]/scripts/slave/compile.py", 198 "[BUILD]/scripts/slave/compile.py",
193 "--target", 199 "--target",
194 "Release", 200 "Release",
195 "--src-dir", 201 "--src-dir",
196 "[SLAVE_BUILD]/src", 202 "[SLAVE_BUILD]/src",
197 "--build-tool", 203 "--build-tool",
198 "ninja", 204 "ninja",
199 "--compiler", 205 "--compiler",
200 "goma-clang", 206 "goma-clang",
201 "--goma-dir", 207 "--goma-dir",
202 "[BUILD]/goma", 208 "[BUILD]/goma",
203 "--" 209 "--"
204 ], 210 ],
211 "cwd": "[SLAVE_BUILD]",
205 "name": "compile (with patch)" 212 "name": "compile (with patch)"
206 }, 213 },
207 { 214 {
208 "cmd": [ 215 "cmd": [
209 "python", 216 "python",
210 "-u", 217 "-u",
211 "[SLAVE_BUILD]/src/testing/scripts/nacl_integration.py", 218 "[SLAVE_BUILD]/src/testing/scripts/nacl_integration.py",
212 "--build-config-fs", 219 "--build-config-fs",
213 "Release", 220 "Release",
214 "--paths", 221 "--paths",
215 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}", 222 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}",
216 "--properties", 223 "--properties",
217 "{\"buildername\": \"linux_chromium_asan_rel\", \"buildnumber\": 571, \"ma stername\": \"tryserver.chromium.linux\", \"slavename\": \"TestSlavename\", \"ta rget_platform\": \"linux\"}", 224 "{\"buildername\": \"linux_chromium_asan_rel\", \"buildnumber\": 571, \"ma stername\": \"tryserver.chromium.linux\", \"slavename\": \"TestSlavename\", \"ta rget_platform\": \"linux\"}",
218 "run", 225 "run",
219 "--output", 226 "--output",
220 "/path/to/tmp/json" 227 "/path/to/tmp/json"
221 ], 228 ],
229 "cwd": "[SLAVE_BUILD]",
222 "name": "nacl_integration (with patch)", 230 "name": "nacl_integration (with patch)",
223 "~followup_annotations": [ 231 "~followup_annotations": [
224 "@@@STEP_LOG_LINE@json.output@{@@@", 232 "@@@STEP_LOG_LINE@json.output@{@@@",
225 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@", 233 "@@@STEP_LOG_LINE@json.output@ \"failures\": [], @@@",
226 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@", 234 "@@@STEP_LOG_LINE@json.output@ \"valid\": true@@@",
227 "@@@STEP_LOG_LINE@json.output@}@@@", 235 "@@@STEP_LOG_LINE@json.output@}@@@",
228 "@@@STEP_LOG_END@json.output@@@" 236 "@@@STEP_LOG_END@json.output@@@"
229 ] 237 ]
230 } 238 }
231 ] 239 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698