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

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

Issue 211473006: Add GN (the build tool) to the chromium.linux buildbots and try jobs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: make recipe actually work Created 6 years, 9 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
(Empty)
1 [
2 {
3 "abort_on_failure": false,
4 "can_fail_build": false,
5 "cmd": [
6 "python",
7 "-u",
8 "[DEPOT_TOOLS]/gclient.py",
9 "config",
10 "--spec",
11 "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'}]"
12 ],
13 "name": "gclient setup"
14 },
15 {
16 "abort_on_failure": false,
17 "can_fail_build": false,
18 "cmd": [
19 "python",
20 "-u",
21 "[BUILD]/scripts/slave/gclient_safe_revert.py",
22 ".",
23 "[DEPOT_TOOLS]/gclient"
24 ],
25 "name": "gclient revert"
26 },
27 {
28 "abort_on_failure": false,
29 "can_fail_build": false,
30 "cmd": [
31 "python",
32 "-u",
33 "[DEPOT_TOOLS]/gclient.py",
34 "sync",
35 "--nohooks",
36 "--delete_unversioned_trees",
37 "--force",
38 "--revision",
39 "src@HEAD",
40 "--output-json",
41 "/path/to/tmp/json"
42 ],
43 "name": "gclient sync",
44 "~followup_annotations": [
45 "@@@STEP_LOG_LINE@json.output@{@@@",
46 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
47 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
48 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
49 "@@@STEP_LOG_LINE@json.output@ }, @@@",
50 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
51 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
52 "@@@STEP_LOG_LINE@json.output@ }, @@@",
53 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/WebKit/\": {@@@",
54 "@@@STEP_LOG_LINE@json.output@ \"revision\": 124383@@@",
55 "@@@STEP_LOG_LINE@json.output@ }, @@@",
56 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc/\": {@@@",
57 "@@@STEP_LOG_LINE@json.output@ \"revision\": 120644@@@",
58 "@@@STEP_LOG_LINE@json.output@ }, @@@",
59 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarm_client/\": {@@@",
60 "@@@STEP_LOG_LINE@json.output@ \"revision\": 200767@@@",
61 "@@@STEP_LOG_LINE@json.output@ }, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client/\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"revision\": 276089@@@",
64 "@@@STEP_LOG_LINE@json.output@ }@@@",
65 "@@@STEP_LOG_LINE@json.output@ }@@@",
66 "@@@STEP_LOG_LINE@json.output@}@@@",
67 "@@@STEP_LOG_END@json.output@@@",
68 "@@@SET_BUILD_PROPERTY@got_nacl_revision@274981@@@",
69 "@@@SET_BUILD_PROPERTY@got_webkit_revision@124383@@@",
70 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@",
71 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@",
72 "@@@SET_BUILD_PROPERTY@got_revision@170242@@@",
73 "@@@SET_BUILD_PROPERTY@got_swarm_client_revision@200767@@@"
74 ]
75 },
76 {
77 "abort_on_failure": true,
78 "cmd": [
79 "python",
80 "-u",
81 "[DEPOT_TOOLS]/apply_issue.py",
82 "-r",
83 "[SLAVE_BUILD]/src",
84 "-i",
85 "12853011",
86 "-p",
87 "1",
88 "-s",
89 "https://codereview.chromium.org",
90 "--no-auth"
91 ],
92 "name": "apply_issue",
93 "seed_steps": [
94 "apply_issue",
95 "read test spec"
96 ]
97 },
98 {
99 "cmd": [
100 "python",
101 "-u",
102 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
103 "[SLAVE_BUILD]/src/testing/buildbot/chromium_trybot.json",
104 "/path/to/tmp/json"
105 ],
106 "name": "read test spec",
107 "~followup_annotations": [
108 "@@@STEP_LOG_LINE@json.output@[]@@@",
109 "@@@STEP_LOG_END@json.output@@@"
110 ]
111 },
112 {
113 "abort_on_failure": false,
114 "can_fail_build": false,
115 "cmd": [
116 "python",
117 "-u",
118 "[DEPOT_TOOLS]/gclient.py",
119 "runhooks"
120 ],
121 "env": {
122 "GYP_DEFINES": "component=shared_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 use_goma=1"
123 },
124 "name": "gclient runhooks"
125 },
126 {
127 "abort_on_failure": false,
128 "can_fail_build": false,
129 "cmd": [
130 "python",
131 "-u",
132 "[BUILD]/scripts/slave/compile.py",
133 "--target",
134 "Debug",
135 "--src-dir",
136 "[SLAVE_BUILD]/src",
137 "--build-tool",
138 "ninja",
139 "--compiler",
140 "goma",
141 "--goma-dir",
142 "[BUILD]/goma",
143 "--",
144 "base_unittests",
145 "cacheinvalidation_unittests",
146 "cc_unittests",
147 "chromedriver_unittests",
148 "components_unittests",
149 "content_unittests",
150 "crypto_unittests",
151 "google_apis_unittests",
152 "gpu_unittests",
153 "ipc_tests",
154 "jingle_unittests",
155 "media_unittests",
156 "net_unittests",
157 "ppapi_unittests",
158 "printing_unittests",
159 "remoting_unittests",
160 "sql_unittests",
161 "sync_unit_tests",
162 "ui_unittests",
163 "unit_tests",
164 "browser_tests",
165 "content_browsertests",
166 "interactive_ui_tests",
167 "sync_integration_tests",
168 "chrome"
169 ],
170 "name": "compile (with patch)"
171 },
172 {
173 "cmd": [
174 "python",
175 "-u",
176 "[DEPOT_TOOLS]/gn.py",
177 "gen",
178 "-o",
179 "[SLAVE_BUILD]/Debug_gn",
180 "--args=is_debug=true"
181 ],
182 "name": "gn"
183 },
184 {
185 "cmd": [
186 "[DEPOT_TOOLS]/ninja",
187 "-C",
188 "[SLAVE_BUILD]/Debug_gn"
189 ],
190 "name": "compile (gn with patch)",
191 "~followup_annotations": [
192 "step returned non-zero exit code: 1",
193 "@@@STEP_FAILURE@@@"
194 ]
195 },
196 {
197 "cmd": [
198 "python",
199 "-u",
200 "[DEPOT_TOOLS]/gclient.py",
201 "config",
202 "--spec",
203 "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', 'safesync_url': 'https://bui ld.chromium.org/p/chromium/lkcr-status/lkgr', 'url': 'svn://svn-mirror.golo.chro mium.org/chrome/trunk/src'}]"
204 ],
205 "name": "gclient setup (2)",
206 "skip": true
207 },
208 {
209 "abort_on_failure": true,
210 "cmd": [
211 "python",
212 "-u",
213 "[BUILD]/scripts/slave/gclient_safe_revert.py",
214 ".",
215 "[DEPOT_TOOLS]/gclient"
216 ],
217 "name": "gclient revert (2)",
218 "skip": true
219 },
220 {
221 "abort_on_failure": true,
222 "cmd": [
223 "python",
224 "-u",
225 "[DEPOT_TOOLS]/gclient.py",
226 "sync",
227 "--nohooks",
228 "--delete_unversioned_trees",
229 "--force",
230 "--revision",
231 "src@HEAD",
232 "--output-json",
233 "/path/to/tmp/json"
234 ],
235 "name": "gclient sync (2)",
236 "skip": true
237 },
238 {
239 "abort_on_failure": true,
240 "cmd": [
241 "python",
242 "-u",
243 "[DEPOT_TOOLS]/apply_issue.py",
244 "-r",
245 "[SLAVE_BUILD]/src",
246 "-i",
247 "12853011",
248 "-p",
249 "1",
250 "-s",
251 "https://codereview.chromium.org",
252 "--no-auth"
253 ],
254 "name": "apply_issue (2)",
255 "skip": true
256 },
257 {
258 "abort_on_failure": false,
259 "can_fail_build": false,
260 "cmd": [
261 "python",
262 "-u",
263 "[BUILD]/scripts/slave/compile.py",
264 "--target",
265 "Debug",
266 "--src-dir",
267 "[SLAVE_BUILD]/src",
268 "--build-tool",
269 "ninja",
270 "--compiler",
271 "goma",
272 "--goma-dir",
273 "[BUILD]/goma",
274 "--clobber",
275 "--",
276 "base_unittests",
277 "cacheinvalidation_unittests",
278 "cc_unittests",
279 "chromedriver_unittests",
280 "components_unittests",
281 "content_unittests",
282 "crypto_unittests",
283 "google_apis_unittests",
284 "gpu_unittests",
285 "ipc_tests",
286 "jingle_unittests",
287 "media_unittests",
288 "net_unittests",
289 "ppapi_unittests",
290 "printing_unittests",
291 "remoting_unittests",
292 "sql_unittests",
293 "sync_unit_tests",
294 "ui_unittests",
295 "unit_tests",
296 "browser_tests",
297 "content_browsertests",
298 "interactive_ui_tests",
299 "sync_integration_tests",
300 "chrome"
301 ],
302 "name": "compile (with patch, lkcr, clobber)",
303 "skip": true
304 },
305 {
306 "cmd": [
307 "python",
308 "-u",
309 "\nimport os, shutil, sys\nfor p in [os.path.join(sys.argv[1], x) for x in os.listdir(sys.argv[1])]:\n if os.path.isdir(p):\n shutil.rmtree(p)\n else :\n os.unlink(p)\n",
310 "[SLAVE_BUILD]"
311 ],
312 "name": "rmcontents slave build directory",
313 "seed_steps": [
314 "rmcontents slave build directory",
315 "gclient setup (3)"
316 ],
317 "skip": true
318 },
319 {
320 "cmd": [
321 "python",
322 "-u",
323 "[DEPOT_TOOLS]/gclient.py",
324 "config",
325 "--spec",
326 "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', 'safesync_url': 'https://bui ld.chromium.org/p/chromium/lkcr-status/lkgr', 'url': 'svn://svn-mirror.golo.chro mium.org/chrome/trunk/src'}]"
327 ],
328 "name": "gclient setup (3)",
329 "skip": true
330 },
331 {
332 "abort_on_failure": true,
333 "cmd": [
334 "python",
335 "-u",
336 "[BUILD]/scripts/slave/gclient_safe_revert.py",
337 ".",
338 "[DEPOT_TOOLS]/gclient"
339 ],
340 "name": "gclient revert (3)",
341 "skip": true
342 },
343 {
344 "abort_on_failure": true,
345 "cmd": [
346 "python",
347 "-u",
348 "[DEPOT_TOOLS]/gclient.py",
349 "sync",
350 "--nohooks",
351 "--delete_unversioned_trees",
352 "--force",
353 "--revision",
354 "src@HEAD",
355 "--output-json",
356 "/path/to/tmp/json"
357 ],
358 "name": "gclient sync (3)",
359 "skip": true
360 },
361 {
362 "abort_on_failure": true,
363 "cmd": [
364 "python",
365 "-u",
366 "[DEPOT_TOOLS]/apply_issue.py",
367 "-r",
368 "[SLAVE_BUILD]/src",
369 "-i",
370 "12853011",
371 "-p",
372 "1",
373 "-s",
374 "https://codereview.chromium.org",
375 "--no-auth"
376 ],
377 "name": "apply_issue (3)",
378 "seed_steps": [
379 "apply_issue (3)",
380 "gclient runhooks (2)",
381 "compile (with patch, lkcr, clobber, nuke)"
382 ],
383 "skip": true
384 },
385 {
386 "cmd": [
387 "python",
388 "-u",
389 "[DEPOT_TOOLS]/gclient.py",
390 "runhooks"
391 ],
392 "env": {
393 "GYP_DEFINES": "component=shared_library dcheck_always_on=1 fastbuild=1 go madir='[BUILD]/goma' target_arch=x64 use_goma=1"
394 },
395 "name": "gclient runhooks (2)",
396 "skip": true
397 },
398 {
399 "abort_on_failure": true,
400 "cmd": [
401 "python",
402 "-u",
403 "[BUILD]/scripts/slave/compile.py",
404 "--target",
405 "Debug",
406 "--src-dir",
407 "[SLAVE_BUILD]/src",
408 "--build-tool",
409 "ninja",
410 "--compiler",
411 "goma",
412 "--goma-dir",
413 "[BUILD]/goma",
414 "--clobber",
415 "--",
416 "base_unittests",
417 "cacheinvalidation_unittests",
418 "cc_unittests",
419 "chromedriver_unittests",
420 "components_unittests",
421 "content_unittests",
422 "crypto_unittests",
423 "google_apis_unittests",
424 "gpu_unittests",
425 "ipc_tests",
426 "jingle_unittests",
427 "media_unittests",
428 "net_unittests",
429 "ppapi_unittests",
430 "printing_unittests",
431 "remoting_unittests",
432 "sql_unittests",
433 "sync_unit_tests",
434 "ui_unittests",
435 "unit_tests",
436 "browser_tests",
437 "content_browsertests",
438 "interactive_ui_tests",
439 "sync_integration_tests",
440 "chrome"
441 ],
442 "name": "compile (with patch, lkcr, clobber, nuke)",
443 "skip": true
444 },
445 {
446 "cmd": [
447 "python",
448 "-u",
449 "\nimport os, shutil, sys\nfor p in [os.path.join(sys.argv[1], x) for x in os.listdir(sys.argv[1])]:\n if os.path.isdir(p):\n shutil.rmtree(p)\n else :\n os.unlink(p)\n",
450 "[SLAVE_BUILD]/Debug_gn"
451 ],
452 "name": "rmcontents slave gn build directory",
453 "skip": true
454 },
455 {
456 "cmd": [
457 "python",
458 "-u",
459 "[DEPOT_TOOLS]/gn.py",
460 "gen",
461 "-o",
462 "[SLAVE_BUILD]/Debug_gn",
463 "--args=is_debug=true"
464 ],
465 "name": "gn (2)",
466 "skip": true
467 },
468 {
469 "cmd": [
470 "[DEPOT_TOOLS]/ninja",
471 "-C",
472 "[SLAVE_BUILD]/Debug_gn"
473 ],
474 "name": "compile (gn with patch, lkcr, clobber)",
475 "skip": true
476 }
477 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698