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

Side by Side Diff: scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_compile_targets.json

Issue 485873004: Adds ability for builders to only compile targets affected by change (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: merge 2 trunk Created 6 years, 4 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
(Empty)
1 [
2 {
3 "cmd": [
4 "python",
5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master",
8 "tryserver.chromium.linux",
9 "--builder",
10 "linux_chromium_rel",
11 "--slave",
12 "TestSlavename",
13 "--spec",
14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]",
15 "--root",
16 "src",
17 "--revision_mapping_file",
18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}",
19 "--issue",
20 "12853011",
21 "--patchset",
22 "1",
23 "--output_json",
24 "/path/to/tmp/json",
25 "--revision",
26 "src@HEAD",
27 "--force"
28 ],
29 "name": "bot_update",
30 "~followup_annotations": [
31 "@@@STEP_TEXT@Some step text@@@",
32 "@@@STEP_LOG_LINE@json.output@{@@@",
33 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
34 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
35 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
36 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
37 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": 274981, @@@",
38 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_git\": \"d998e125e82 53980d76e269b7982aeeefc1b9b50\", @@@",
39 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": 170242, @@@",
40 "@@@STEP_LOG_LINE@json.output@ \"got_revision_git\": \"f27fede2220bcd32 6aee3e86ddfd4ebd0fe58cb9\", @@@",
41 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": 276089 , @@@",
42 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_git\": \" a0ee5d99f1d4b38ddaa4c759c837980b63b99566\", @@@",
43 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": 43426, @@@",
44 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_git\": \"801ada225ddc2 71c132c3a35f03975671d43e399\", @@@",
45 "@@@STEP_LOG_LINE@json.output@ \"got_webkit_revision\": 124383, @@@",
46 "@@@STEP_LOG_LINE@json.output@ \"got_webkit_revision_git\": \"5e2293dff c3cd07d37fbedea3b500f0eb650614d\", @@@",
47 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": 120644, @@@",
48 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_git\": \"0f9062843 3546e61d9268596da93418c623137f4\"@@@",
49 "@@@STEP_LOG_LINE@json.output@ }, @@@",
50 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
51 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
52 "@@@STEP_LOG_LINE@json.output@}@@@",
53 "@@@STEP_LOG_END@json.output@@@",
54 "@@@SET_BUILD_PROPERTY@got_nacl_revision@274981@@@",
55 "@@@SET_BUILD_PROPERTY@got_webkit_revision@124383@@@",
56 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@",
57 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@",
58 "@@@SET_BUILD_PROPERTY@got_revision@170242@@@",
59 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@",
60 "@@@SET_BUILD_PROPERTY@got_nacl_revision_git@\"d998e125e8253980d76e269b798 2aeeefc1b9b50\"@@@",
61 "@@@SET_BUILD_PROPERTY@got_webkit_revision_git@\"5e2293dffc3cd07d37fbedea3 b500f0eb650614d\"@@@",
62 "@@@SET_BUILD_PROPERTY@got_v8_revision_git@\"801ada225ddc271c132c3a35f0397 5671d43e399\"@@@",
63 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_git@\"0f90628433546e61d9268596d a93418c623137f4\"@@@",
64 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_git@\"a0ee5d99f1d4b38d daa4c759c837980b63b99566\"@@@",
65 "@@@SET_BUILD_PROPERTY@got_revision_git@\"f27fede2220bcd326aee3e86ddfd4ebd 0fe58cb9\"@@@"
66 ]
67 },
68 {
69 "cmd": [
70 "python",
71 "-u",
72 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
73 "[SLAVE_BUILD]/src/testing/buildbot/chromium_trybot.json",
74 "/path/to/tmp/json"
75 ],
76 "name": "read test spec",
77 "~followup_annotations": [
78 "@@@STEP_TEXT@path: testing/buildbot/chromium_trybot.json@@@",
79 "@@@STEP_LOG_LINE@json.output@{@@@",
80 "@@@STEP_LOG_LINE@json.output@ \"filter_compile_builders\": \"linux_chrom ium_rel\", @@@",
81 "@@@STEP_LOG_LINE@json.output@ \"gtest_tests\": [@@@",
82 "@@@STEP_LOG_LINE@json.output@ {@@@",
83 "@@@STEP_LOG_LINE@json.output@ \"swarming\": {@@@",
84 "@@@STEP_LOG_LINE@json.output@ \"can_use_on_swarming_builders\": tr ue@@@",
85 "@@@STEP_LOG_LINE@json.output@ }, @@@",
86 "@@@STEP_LOG_LINE@json.output@ \"test\": \"base_unittests\"@@@",
87 "@@@STEP_LOG_LINE@json.output@ }, @@@",
88 "@@@STEP_LOG_LINE@json.output@ {@@@",
89 "@@@STEP_LOG_LINE@json.output@ \"test\": \"browser_tests\"@@@",
90 "@@@STEP_LOG_LINE@json.output@ }, @@@",
91 "@@@STEP_LOG_LINE@json.output@ {@@@",
92 "@@@STEP_LOG_LINE@json.output@ \"test\": \"unittests\"@@@",
93 "@@@STEP_LOG_LINE@json.output@ }@@@",
94 "@@@STEP_LOG_LINE@json.output@ ]@@@",
95 "@@@STEP_LOG_LINE@json.output@}@@@",
96 "@@@STEP_LOG_END@json.output@@@"
97 ]
98 },
99 {
100 "cmd": [
101 "python",
102 "-u",
103 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
104 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json",
105 "/path/to/tmp/json"
106 ],
107 "name": "read analyze test spec",
108 "~followup_annotations": [
109 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
110 "@@@STEP_LOG_LINE@json.output@{@@@",
111 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
112 "@@@STEP_LOG_LINE@json.output@}@@@",
113 "@@@STEP_LOG_END@json.output@@@"
114 ]
115 },
116 {
117 "cmd": [
118 "git",
119 "diff",
120 "--cached",
121 "--name-only"
122 ],
123 "cwd": "[SLAVE_BUILD]/src",
124 "name": "git diff to analyze patch",
125 "stdout": "/path/to/tmp/"
126 },
127 {
128 "cmd": [
129 "python",
130 "-u",
131 "[SLAVE_BUILD]/src/build/gyp_chromium",
132 "--analyzer",
133 "{\"files\": [\"foo.cc\"], \"targets\": [\"base_unittests\", \"browser_tes ts\", \"unittests\"]}",
134 "/path/to/tmp/json"
135 ],
136 "env": {
137 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 use_goma=1"
138 },
139 "name": "analyze",
140 "~followup_annotations": [
141 "@@@STEP_LOG_LINE@json.output@{@@@",
142 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
143 "@@@STEP_LOG_LINE@json.output@ \"chrome\", @@@",
144 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\", @@@",
145 "@@@STEP_LOG_LINE@json.output@ \"base_unittests\"@@@",
146 "@@@STEP_LOG_LINE@json.output@ ], @@@",
147 "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency\", @@@",
148 "@@@STEP_LOG_LINE@json.output@ \"targets\": [@@@",
149 "@@@STEP_LOG_LINE@json.output@ \"browser_tests\", @@@",
150 "@@@STEP_LOG_LINE@json.output@ \"base_unittests\"@@@",
151 "@@@STEP_LOG_LINE@json.output@ ]@@@",
152 "@@@STEP_LOG_LINE@json.output@}@@@",
153 "@@@STEP_LOG_END@json.output@@@"
154 ]
155 },
156 {
157 "cmd": [
158 "python",
159 "-u",
160 "[DEPOT_TOOLS]/gclient.py",
161 "runhooks"
162 ],
163 "env": {
164 "GYP_DEFINES": "component=static_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 use_goma=1"
165 },
166 "name": "gclient runhooks"
167 },
168 {
169 "cmd": [
170 "python",
171 "-u",
172 "[BUILD]/scripts/slave/compile.py",
173 "--target",
174 "Release",
175 "--src-dir",
176 "[SLAVE_BUILD]/src",
177 "--build-tool",
178 "ninja",
179 "--compiler",
180 "goma",
181 "--goma-dir",
182 "[BUILD]/goma",
183 "--",
184 "chrome",
185 "browser_tests",
186 "base_unittests",
187 "chrome",
188 "chrome",
189 "base_unittests",
190 "browser_tests",
191 "chrome"
192 ],
193 "name": "compile (with patch)"
194 },
195 {
196 "cmd": [
197 "python",
198 "-u",
199 "[SLAVE_BUILD]/src/buildtools/checkdeps/checkdeps.py",
200 "--json",
201 "/path/to/tmp/json"
202 ],
203 "name": "checkdeps (with patch)",
204 "~followup_annotations": [
205 "@@@STEP_LOG_LINE@json.output@[]@@@",
206 "@@@STEP_LOG_END@json.output@@@"
207 ]
208 },
209 {
210 "cmd": [
211 "python",
212 "-u",
213 "[SLAVE_BUILD]/src/tools/checkperms/checkperms.py",
214 "--root",
215 "[SLAVE_BUILD]/src",
216 "--json",
217 "/path/to/tmp/json"
218 ],
219 "name": "checkperms (with patch)",
220 "~followup_annotations": [
221 "@@@STEP_LOG_LINE@json.output@[]@@@",
222 "@@@STEP_LOG_END@json.output@@@"
223 ]
224 },
225 {
226 "cmd": [
227 "python",
228 "-u",
229 "[SLAVE_BUILD]/src/tools/checklicenses/checklicenses.py",
230 "--root",
231 "[SLAVE_BUILD]/src",
232 "--json",
233 "/path/to/tmp/json"
234 ],
235 "name": "checklicenses (with patch)",
236 "~followup_annotations": [
237 "@@@STEP_LOG_LINE@json.output@[]@@@",
238 "@@@STEP_LOG_END@json.output@@@"
239 ]
240 },
241 {
242 "cmd": [
243 "python",
244 "-u",
245 "[SLAVE_BUILD]/src/tools/deps2git/deps2git.py",
246 "-d",
247 "[SLAVE_BUILD]/src/DEPS",
248 "-o",
249 "[SLAVE_BUILD]/src/.DEPS.git",
250 "--verify",
251 "--json",
252 "/path/to/tmp/json"
253 ],
254 "name": "deps2git (with patch)",
255 "~followup_annotations": [
256 "@@@STEP_LOG_LINE@json.output@[]@@@",
257 "@@@STEP_LOG_END@json.output@@@"
258 ]
259 },
260 {
261 "cmd": [
262 "python",
263 "-u",
264 "[SLAVE_BUILD]/src/tools/deps2git/deps2submodules.py",
265 "--gitless",
266 "[SLAVE_BUILD]/src/.DEPS.git"
267 ],
268 "name": "deps2submodules"
269 },
270 {
271 "allow_subannotations": true,
272 "cmd": [
273 "python",
274 "-u",
275 "[BUILD]/scripts/slave/runtest.py",
276 "--target",
277 "Release",
278 "--xvfb",
279 "--factory-properties",
280 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium.linux\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromiu m_trybot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \" revision\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \ "src\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSl avename\"}",
281 "--build-properties",
282 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium.linux\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromiu m_trybot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \" revision\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \ "src\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSl avename\"}",
283 "--annotate=gtest",
284 "--test-type=telemetry_unittests",
285 "--builder-name=linux_chromium_rel",
286 "--slave-name=TestSlavename",
287 "--build-number=571",
288 "--run-python-script",
289 "[SLAVE_BUILD]/src/tools/telemetry/run_tests",
290 "--browser=release",
291 "--retry-limit=3",
292 "--write-full-results-to",
293 "/path/to/tmp/json"
294 ],
295 "name": "telemetry_unittests (with patch)"
296 },
297 {
298 "allow_subannotations": true,
299 "cmd": [
300 "python",
301 "-u",
302 "[BUILD]/scripts/slave/runtest.py",
303 "--target",
304 "Release",
305 "--xvfb",
306 "--factory-properties",
307 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium.linux\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromiu m_trybot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \" revision\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \ "src\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSl avename\"}",
308 "--build-properties",
309 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium.linux\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromiu m_trybot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \" revision\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \ "src\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSl avename\"}",
310 "--annotate=gtest",
311 "--test-type=telemetry_perf_unittests",
312 "--builder-name=linux_chromium_rel",
313 "--slave-name=TestSlavename",
314 "--build-number=571",
315 "--run-python-script",
316 "[SLAVE_BUILD]/src/tools/perf/run_tests",
317 "--browser=release",
318 "--retry-limit=3",
319 "--write-full-results-to",
320 "/path/to/tmp/json"
321 ],
322 "name": "telemetry_perf_unittests (with patch)"
323 },
324 {
325 "allow_subannotations": true,
326 "cmd": [
327 "python",
328 "-u",
329 "[BUILD]/scripts/slave/runtest.py",
330 "--target",
331 "Release",
332 "--xvfb",
333 "--factory-properties",
334 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium.linux\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromiu m_trybot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \" revision\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \ "src\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSl avename\"}",
335 "--build-properties",
336 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium.linux\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromiu m_trybot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \" revision\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \ "src\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSl avename\"}",
337 "--annotate=gtest",
338 "--test-type=base_unittests",
339 "--test-launcher-summary-output",
340 "/path/to/tmp/json",
341 "--builder-name=linux_chromium_rel",
342 "--slave-name=TestSlavename",
343 "--build-number=571",
344 "base_unittests"
345 ],
346 "name": "base_unittests (with patch)"
347 },
348 {
349 "allow_subannotations": true,
350 "cmd": [
351 "python",
352 "-u",
353 "[BUILD]/scripts/slave/runtest.py",
354 "--target",
355 "Release",
356 "--xvfb",
357 "--factory-properties",
358 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium.linux\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromiu m_trybot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \" revision\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \ "src\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSl avename\"}",
359 "--build-properties",
360 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \" branch\": \"\", \"build_config\": \"Release\", \"buildername\": \"linux_chromium _rel\", \"buildnumber\": 571, \"issue\": 12853011, \"mastername\": \"tryserver.c hromium.linux\", \"patchset\": 1, \"project\": \"chrome\", \"recipe\": \"chromiu m_trybot\", \"repository\": \"\", \"requester\": \"commit-bot@chromium.org\", \" revision\": null, \"rietveld\": \"https://codereview.chromium.org\", \"root\": \ "src\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSl avename\"}",
361 "--annotate=gtest",
362 "--test-type=browser_tests",
363 "--test-launcher-summary-output",
364 "/path/to/tmp/json",
365 "--builder-name=linux_chromium_rel",
366 "--slave-name=TestSlavename",
367 "--build-number=571",
368 "browser_tests"
369 ],
370 "name": "browser_tests (with patch)"
371 },
372 {
373 "cmd": [
374 "python",
375 "-u",
376 "[SLAVE_BUILD]/src/chrome/test/nacl_test_injection/buildbot_nacl_integrati on.py",
377 "--mode",
378 "Release",
379 "--json_build_results_output_file",
380 "/path/to/tmp/json"
381 ],
382 "name": "nacl_integration (with patch)",
383 "~followup_annotations": [
384 "@@@STEP_LOG_LINE@json.output@[]@@@",
385 "@@@STEP_LOG_END@json.output@@@"
386 ]
387 },
388 {
389 "cmd": [
390 "python",
391 "-u",
392 "[SLAVE_BUILD]/src/mojo/tools/run_mojo_python_tests.py",
393 "--write-full-results-to",
394 "/path/to/tmp/json"
395 ],
396 "name": "mojo_python_tests (with patch)"
397 }
398 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698