OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from master import master_config | 5 from master import master_config |
6 from master.factory import chromium_factory | 6 from master.factory import chromium_factory |
7 | 7 |
8 defaults = {} | 8 defaults = {} |
9 | 9 |
10 helper = master_config.Helper(defaults) | 10 helper = master_config.Helper(defaults) |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
83 'webkit_compositor_bindings_unittests', | 83 'webkit_compositor_bindings_unittests', |
84 ] | 84 ] |
85 | 85 |
86 | 86 |
87 ################################################################################ | 87 ################################################################################ |
88 ## Release | 88 ## Release |
89 ################################################################################ | 89 ################################################################################ |
90 | 90 |
91 defaults['category'] = '4linux' | 91 defaults['category'] = '4linux' |
92 | 92 |
93 rel_archive = master_config.GetArchiveUrl('ChromiumLinux', 'Linux Builder x64', | |
94 'Linux_Builder_x64', 'linux') | |
95 rel_precise_archive = master_config.GetArchiveUrl( | 93 rel_precise_archive = master_config.GetArchiveUrl( |
Marc-Antoine Ruel (Google)
2013/03/05 02:34:56
Why not remove "precise" from everywhere?
| |
96 'ChromiumLinux', 'Linux Builder (Precise)', | 94 'ChromiumLinux', 'Linux Builder (Precise)', |
97 'Linux_Builder__Precise_', 'linux') | 95 'Linux_Builder__Precise_', 'linux') |
98 | 96 |
99 # | 97 # |
100 # Main release scheduler for src/ | 98 # Main release scheduler for src/ |
101 # | 99 # |
102 S('linux_rel', branch='src', treeStableTimer=60) | 100 S('linux_rel', branch='src', treeStableTimer=60) |
103 | 101 |
104 # | 102 # |
105 # Triggerable scheduler for the rel builder | 103 # Triggerable scheduler for the rel builder |
106 # | 104 # |
107 T('linux_rel_trigger') | |
108 T('linux_rel_precise_trigger') | 105 T('linux_rel_precise_trigger') |
109 | 106 |
110 # | 107 # |
111 # Linux Rel Builder | 108 # Linux Rel Builder |
112 # | 109 # |
113 B('Linux Builder x64', 'rel', 'compile', 'linux_rel', | |
114 auto_reboot=False, notify_on_missing=True) | |
115 F('rel', linux().ChromiumFactory( | |
116 slave_type='Builder', | |
117 options=['--compiler=goma',] + linux_all_test_targets + | |
118 ['sync_integration_tests'], | |
119 tests=['check_deps'], | |
120 factory_properties={'trigger': 'linux_rel_trigger'})) | |
121 | |
122 B('Linux Builder (Precise)', 'rel_precise', 'compile', 'linux_rel', | 110 B('Linux Builder (Precise)', 'rel_precise', 'compile', 'linux_rel', |
iannucci
2013/03/05 03:30:41
General comment... should these bots keep their ex
| |
123 auto_reboot=False, notify_on_missing=True) | 111 auto_reboot=False, notify_on_missing=True) |
124 F('rel_precise', linux().ChromiumFactory( | 112 F('rel_precise', linux().ChromiumFactory( |
125 slave_type='Builder', | 113 slave_type='Builder', |
126 options=['--compiler=goma',] + linux_all_test_targets + | 114 options=['--compiler=goma',] + linux_all_test_targets + |
127 ['sync_integration_tests'], | 115 ['sync_integration_tests'], |
128 tests=['check_deps'], | 116 tests=['check_deps'], |
129 factory_properties={'trigger': 'linux_rel_precise_trigger'})) | 117 factory_properties={'trigger': 'linux_rel_precise_trigger'})) |
130 | 118 |
131 # | 119 # |
132 # Linux Rel testers | 120 # Linux Rel testers |
133 # | 121 # |
134 B('Linux Tests x64', 'rel_unit', 'testers', 'linux_rel_trigger', | |
135 notify_on_missing=True) | |
136 F('rel_unit', linux_tester().ChromiumFactory( | |
137 slave_type='Tester', | |
138 build_url=rel_archive, | |
139 tests=[ | |
140 'base_unittests', | |
141 'browser_tests', | |
142 'cacheinvalidation', | |
143 'cc_unittests', | |
144 'chromedriver2_unittests', | |
145 'components_unittests', | |
146 'content_browsertests', | |
147 'content_unittests', | |
148 'crypto', | |
149 'dbus', | |
150 'device_unittests', | |
151 'googleurl', | |
152 'gpu', | |
153 'interactive_ui_tests', | |
154 'ipc_tests', | |
155 'jingle', | |
156 'media', | |
157 'net', | |
158 'ppapi_unittests', | |
159 'printing', | |
160 'remoting', | |
161 'sandbox_linux_unittests', | |
162 'ui_unittests', | |
163 'unit_sql', | |
164 'unit_sync', | |
165 'unit_unit', | |
166 'webkit_compositor_bindings_unittests', | |
167 ], | |
168 factory_properties={'sharded_tests': sharded_tests, | |
169 'generate_gtest_json': True})) | |
170 | |
171 B('Linux Tests (Precise)', | 122 B('Linux Tests (Precise)', |
172 'rel_precise_unit', | 123 'rel_precise_unit', |
173 'testers', | 124 'testers', |
174 'linux_rel_precise_trigger', | 125 'linux_rel_precise_trigger', |
175 notify_on_missing=True) | 126 notify_on_missing=True) |
176 F('rel_precise_unit', linux_tester().ChromiumFactory( | 127 F('rel_precise_unit', linux_tester().ChromiumFactory( |
177 slave_type='Tester', | 128 slave_type='Tester', |
178 build_url=rel_precise_archive, | 129 build_url=rel_precise_archive, |
179 tests=[ | 130 tests=[ |
180 'base_unittests', | 131 'base_unittests', |
(...skipping 20 matching lines...) Expand all Loading... | |
201 'sandbox_linux_unittests', | 152 'sandbox_linux_unittests', |
202 'ui_unittests', | 153 'ui_unittests', |
203 'unit_sql', | 154 'unit_sql', |
204 'unit_sync', | 155 'unit_sync', |
205 'unit_unit', | 156 'unit_unit', |
206 'webkit_compositor_bindings_unittests', | 157 'webkit_compositor_bindings_unittests', |
207 ], | 158 ], |
208 factory_properties={'sharded_tests': sharded_tests, | 159 factory_properties={'sharded_tests': sharded_tests, |
209 'generate_gtest_json': True})) | 160 'generate_gtest_json': True})) |
210 | 161 |
211 B('Linux Sync', 'rel_sync', 'testers', 'linux_rel_trigger', | |
212 notify_on_missing=True) | |
213 F('rel_sync', linux_tester().ChromiumFactory( | |
214 slave_type='Tester', | |
215 build_url=rel_archive, | |
216 tests=['sync_integration'], | |
217 factory_properties={'generate_gtest_json': True})) | |
218 | |
219 B('Linux Sync (Precise)', | 162 B('Linux Sync (Precise)', |
220 'rel_precise_sync', | 163 'rel_precise_sync', |
221 'testers', | 164 'testers', |
222 'linux_rel_precise_trigger', | 165 'linux_rel_precise_trigger', |
223 notify_on_missing=True) | 166 notify_on_missing=True) |
224 F('rel_precise_sync', linux_tester().ChromiumFactory( | 167 F('rel_precise_sync', linux_tester().ChromiumFactory( |
225 slave_type='Tester', | 168 slave_type='Tester', |
226 build_url=rel_precise_archive, | 169 build_url=rel_precise_archive, |
227 tests=['sync_integration'], | 170 tests=['sync_integration'], |
228 factory_properties={ | 171 factory_properties={ |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
281 'media_unittests', | 224 'media_unittests', |
282 'net_unittests', | 225 'net_unittests', |
283 'ppapi_unittests', | 226 'ppapi_unittests', |
284 'printing_unittests', | 227 'printing_unittests', |
285 'remoting_unittests', | 228 'remoting_unittests', |
286 'sandbox_linux_unittests', | 229 'sandbox_linux_unittests', |
287 'sql_unittests', | 230 'sql_unittests', |
288 'ui_unittests', | 231 'ui_unittests', |
289 ] | 232 ] |
290 | 233 |
291 B('Linux Aura', 'f_linux_rel_aura', 'compile', 'linux_rel', | |
292 notify_on_missing=True) | |
293 B('Linux Aura (Precise)', 'f_linux_rel_aura', 'compile', 'linux_rel', | 234 B('Linux Aura (Precise)', 'f_linux_rel_aura', 'compile', 'linux_rel', |
294 notify_on_missing=True) | 235 notify_on_missing=True) |
295 F('f_linux_rel_aura', linux().ChromiumFactory( | 236 F('f_linux_rel_aura', linux().ChromiumFactory( |
296 target='Release', | 237 target='Release', |
297 slave_type='BuilderTester', | 238 slave_type='BuilderTester', |
298 options=['--compiler=goma'] + linux_aura_options, | 239 options=['--compiler=goma'] + linux_aura_options, |
299 tests=linux_aura_tests, | 240 tests=linux_aura_tests, |
300 factory_properties={ | 241 factory_properties={ |
301 'gclient_env': {'GYP_DEFINES': 'use_aura=1'}, | 242 'gclient_env': {'GYP_DEFINES': 'use_aura=1'}, |
302 'sharded_tests': sharded_tests, | 243 'sharded_tests': sharded_tests, |
303 'window_manager': 'False', | 244 'window_manager': 'False', |
304 })) | 245 })) |
305 | 246 |
306 | 247 |
307 ################################################################################ | 248 ################################################################################ |
308 ## Debug | 249 ## Debug |
309 ################################################################################ | 250 ################################################################################ |
310 | 251 |
311 # | 252 # |
312 # Main debug scheduler for src/ | 253 # Main debug scheduler for src/ |
313 # | 254 # |
314 S('linux_dbg', branch='src', treeStableTimer=60) | 255 S('linux_dbg', branch='src', treeStableTimer=60) |
315 | 256 |
316 dbg_archive = master_config.GetArchiveUrl('ChromiumLinux', | |
317 'Linux Builder (dbg)', | |
318 'Linux_Builder__dbg_', 'linux') | |
319 dbg_precise_archive = master_config.GetArchiveUrl( | 257 dbg_precise_archive = master_config.GetArchiveUrl( |
320 'ChromiumLinux', | 258 'ChromiumLinux', |
321 'Linux Builder (dbg)(Precise)', | 259 'Linux Builder (dbg)(Precise)', |
322 'Linux_Builder__dbg__Precise_', 'linux') | 260 'Linux_Builder__dbg__Precise_', 'linux') |
261 dbg_precise32_archive = master_config.GetArchiveUrl( | |
262 'ChromiumLinux', | |
263 'Linux Builder (dbg)(Precise 32)', | |
264 'Linux_Builder__dbg__Precise_32_', 'linux') | |
323 | 265 |
324 # | 266 # |
325 # Triggerable scheduler for the dbg builders | 267 # Triggerable scheduler for the dbg builders |
326 # | 268 # |
327 T('linux_dbg_trigger') | |
328 T('linux_dbg_precise_trigger') | 269 T('linux_dbg_precise_trigger') |
329 | 270 T('linux_dbg_precise32_trigger') |
330 # | |
331 # Linux Dbg Builder | |
332 # | |
333 B('Linux Builder (dbg)', 'dbg', 'compile', 'linux_dbg', | |
334 auto_reboot=False, notify_on_missing=True) | |
335 F('dbg', linux().ChromiumFactory( | |
336 slave_type='Builder', | |
337 target='Debug', | |
338 options=['--compiler=goma'] + linux_all_test_targets, | |
339 factory_properties={'trigger': 'linux_dbg_trigger', | |
340 'gclient_env': {'GYP_DEFINES':'target_arch=ia32'},})) | |
341 | 271 |
342 # | 272 # |
343 # Linux Dbg Unit testers | 273 # Linux Dbg Unit testers |
344 # | 274 # |
345 | 275 |
346 B('Linux Tests (dbg)(1)', 'dbg_unit_1', 'testers', 'linux_dbg_trigger', | |
347 notify_on_missing=True) | |
348 # TODO(phajdan.jr): Add the Precise bot to gatekeeper. | |
349 B('Linux Tests (dbg)(1)(Precise 32)', | 276 B('Linux Tests (dbg)(1)(Precise 32)', |
350 factory='dbg_unit_1', | 277 factory='dbg_unit_1', |
351 scheduler='linux_dbg_trigger', | 278 gatekeeper='testers', |
279 scheduler='linux_dbg_precise32_trigger', | |
352 notify_on_missing=True) | 280 notify_on_missing=True) |
353 F('dbg_unit_1', linux_tester().ChromiumFactory( | 281 F('dbg_unit_1', linux_tester().ChromiumFactory( |
354 slave_type='Tester', | 282 slave_type='Tester', |
355 build_url=dbg_archive, | 283 build_url=dbg_precise32_archive, |
356 target='Debug', | 284 target='Debug', |
357 tests=[ | 285 tests=[ |
358 'browser_tests', | 286 'browser_tests', |
359 'content_browsertests', | 287 'content_browsertests', |
360 'net', | 288 'net', |
361 ], | 289 ], |
362 factory_properties={'sharded_tests': sharded_tests, | 290 factory_properties={'sharded_tests': sharded_tests, |
363 'generate_gtest_json': True})) | 291 'generate_gtest_json': True})) |
364 | 292 |
365 B('Linux Tests (dbg)(2)', 'dbg_unit_2', 'testers', 'linux_dbg_trigger', | |
366 notify_on_missing=True) | |
367 # TODO(phajdan.jr): Add the Precise bot to gatekeeper. | |
368 B('Linux Tests (dbg)(2)(Precise 32)', | 293 B('Linux Tests (dbg)(2)(Precise 32)', |
369 factory='dbg_unit_2', | 294 factory='dbg_unit_2', |
370 scheduler='linux_dbg_trigger', | 295 gatekeeper='testers', |
296 scheduler='linux_dbg_precise32_trigger', | |
371 notify_on_missing=True) | 297 notify_on_missing=True) |
372 F('dbg_unit_2', linux_tester().ChromiumFactory( | 298 F('dbg_unit_2', linux_tester().ChromiumFactory( |
373 slave_type='Tester', | 299 slave_type='Tester', |
374 build_url=dbg_archive, | 300 build_url=dbg_precise32_archive, |
375 target='Debug', | 301 target='Debug', |
376 tests=[ | 302 tests=[ |
377 'base_unittests', | 303 'base_unittests', |
378 'cacheinvalidation', | 304 'cacheinvalidation', |
379 'cc_unittests', | 305 'cc_unittests', |
380 'chromedriver2_unittests', | 306 'chromedriver2_unittests', |
381 'components_unittests', | 307 'components_unittests', |
382 'content_unittests', | 308 'content_unittests', |
383 'crypto', | 309 'crypto', |
384 'dbus', | 310 'dbus', |
(...skipping 19 matching lines...) Expand all Loading... | |
404 'generate_gtest_json': True})) | 330 'generate_gtest_json': True})) |
405 | 331 |
406 B('Linux Builder (dbg)(Precise)', 'dbg_precise', 'compile', 'linux_dbg', | 332 B('Linux Builder (dbg)(Precise)', 'dbg_precise', 'compile', 'linux_dbg', |
407 auto_reboot=False, notify_on_missing=True) | 333 auto_reboot=False, notify_on_missing=True) |
408 F('dbg_precise', linux().ChromiumFactory( | 334 F('dbg_precise', linux().ChromiumFactory( |
409 slave_type='Builder', | 335 slave_type='Builder', |
410 target='Debug', | 336 target='Debug', |
411 options=['--compiler=goma'] + linux_all_test_targets, | 337 options=['--compiler=goma'] + linux_all_test_targets, |
412 factory_properties={'trigger': 'linux_dbg_precise_trigger'})) | 338 factory_properties={'trigger': 'linux_dbg_precise_trigger'})) |
413 | 339 |
414 # TODO(phajdan.jr): Add the Precise bot to gatekeeper. | 340 B('Linux Builder (dbg)(Precise 32)', 'dbg_precise32', 'compile', 'linux_dbg', |
341 auto_reboot=False, notify_on_missing=True) | |
342 F('dbg_precise32', linux().ChromiumFactory( | |
343 slave_type='Builder', | |
344 target='Debug', | |
345 options=['--compiler=goma'] + linux_all_test_targets, | |
346 factory_properties={'trigger': 'linux_dbg_precise32_trigger'})) | |
347 | |
415 B('Linux Tests (dbg)(1)(Precise)', | 348 B('Linux Tests (dbg)(1)(Precise)', |
416 factory='dbg_precise_unit_1', | 349 factory='dbg_precise_unit_1', |
350 gatekeeper='testers', | |
417 scheduler='linux_dbg_precise_trigger', | 351 scheduler='linux_dbg_precise_trigger', |
418 notify_on_missing=True) | 352 notify_on_missing=True) |
419 F('dbg_precise_unit_1', linux_tester().ChromiumFactory( | 353 F('dbg_precise_unit_1', linux_tester().ChromiumFactory( |
420 slave_type='Tester', | 354 slave_type='Tester', |
421 build_url=dbg_precise_archive, | 355 build_url=dbg_precise_archive, |
422 target='Debug', | 356 target='Debug', |
423 tests=[ | 357 tests=[ |
424 'browser_tests', | 358 'browser_tests', |
425 'content_browsertests', | 359 'content_browsertests', |
426 'net', | 360 'net', |
427 ], | 361 ], |
428 factory_properties={'sharded_tests': sharded_tests, | 362 factory_properties={'sharded_tests': sharded_tests, |
429 'generate_gtest_json': True})) | 363 'generate_gtest_json': True})) |
430 | 364 |
431 # TODO(phajdan.jr): Add the Precise bot to gatekeeper. | |
432 B('Linux Tests (dbg)(2)(Precise)', | 365 B('Linux Tests (dbg)(2)(Precise)', |
433 factory='dbg_precise_unit_2', | 366 factory='dbg_precise_unit_2', |
367 gatekeeper='testers', | |
434 scheduler='linux_dbg_precise_trigger', | 368 scheduler='linux_dbg_precise_trigger', |
435 notify_on_missing=True) | 369 notify_on_missing=True) |
436 F('dbg_precise_unit_2', linux_tester().ChromiumFactory( | 370 F('dbg_precise_unit_2', linux_tester().ChromiumFactory( |
437 slave_type='Tester', | 371 slave_type='Tester', |
438 build_url=dbg_precise_archive, | 372 build_url=dbg_precise_archive, |
439 target='Debug', | 373 target='Debug', |
440 tests=[ | 374 tests=[ |
441 'base_unittests', | 375 'base_unittests', |
442 'cacheinvalidation', | 376 'cacheinvalidation', |
443 'cc_unittests', | 377 'cc_unittests', |
(...skipping 17 matching lines...) Expand all Loading... | |
461 'ui_unittests', | 395 'ui_unittests', |
462 'unit_sql', | 396 'unit_sql', |
463 'unit_sync', | 397 'unit_sync', |
464 'unit_unit', | 398 'unit_unit', |
465 'webkit_compositor_bindings_unittests', | 399 'webkit_compositor_bindings_unittests', |
466 ], | 400 ], |
467 factory_properties={'sharded_tests': sharded_tests, | 401 factory_properties={'sharded_tests': sharded_tests, |
468 'generate_gtest_json': True})) | 402 'generate_gtest_json': True})) |
469 | 403 |
470 # | 404 # |
471 # Linux Precise bot. Running Ubuntu 12.04, used for testing sandboxing with | |
472 # seccomp-bpf. | |
473 # | |
474 | |
475 B('Linux Precise (dbg)', 'dbg_precise_1', 'testers', 'linux_dbg_trigger', | |
476 auto_reboot=True, notify_on_missing=True) | |
477 F('dbg_precise_1', linux_tester().ChromiumFactory( | |
478 slave_type='Tester', | |
479 build_url=dbg_archive, | |
480 target='Debug', | |
481 tests=[ | |
482 'base_unittests', | |
483 'browser_tests', | |
484 'content_browsertests', | |
485 'sandbox_linux_unittests', | |
486 ], | |
487 factory_properties={'sharded_tests': sharded_tests, | |
488 'generate_gtest_json': True})) | |
489 | |
490 B('Linux Precise x64', 'rel_precise_1', 'testers', 'linux_rel_trigger', | |
491 auto_reboot=True, notify_on_missing=True) | |
492 F('rel_precise_1', linux_tester().ChromiumFactory( | |
493 slave_type='Tester', | |
494 build_url=rel_archive, | |
495 tests=[ | |
496 'base_unittests', | |
497 'browser_tests', | |
498 'content_browsertests', | |
499 'sandbox_linux_unittests', | |
500 ], | |
501 factory_properties={'sharded_tests': sharded_tests, | |
502 'generate_gtest_json': True})) | |
503 | |
504 # | |
505 # Linux Dbg Clang bot | 405 # Linux Dbg Clang bot |
506 # | 406 # |
507 | |
508 B('Linux Clang (dbg)', 'dbg_linux_clang', 'compile', 'linux_dbg', | |
509 notify_on_missing=True) | |
510 F('dbg_linux_clang', linux().ChromiumFactory( | |
511 target='Debug', | |
512 options=['--build-tool=ninja', '--compiler=goma-clang'], | |
513 tests=[ | |
514 'base_unittests', | |
515 'components_unittests', | |
516 'content_unittests', | |
517 'crypto', | |
518 'device_unittests', | |
519 'ipc_tests', | |
520 'sandbox_linux_unittests', | |
521 'ui_unittests', | |
522 'unit_sql', | |
523 'unit_sync', | |
524 'unit_unit', | |
525 ], | |
526 factory_properties={ | |
527 'gclient_env': { | |
528 'GYP_GENERATORS':'ninja', | |
529 'GYP_DEFINES': | |
530 'clang=1 clang_use_chrome_plugins=1 fastbuild=1 ' | |
531 'test_isolation_mode=noop', | |
532 }})) | |
533 | |
534 B('Linux Clang (dbg)(Precise)', | 407 B('Linux Clang (dbg)(Precise)', |
535 'dbg_precise_linux_clang', | 408 'dbg_precise_linux_clang', |
536 'compile', | 409 'compile', |
537 'linux_dbg', | 410 'linux_dbg', |
538 notify_on_missing=True) | 411 notify_on_missing=True) |
539 F('dbg_precise_linux_clang', linux().ChromiumFactory( | 412 F('dbg_precise_linux_clang', linux().ChromiumFactory( |
540 target='Debug', | 413 target='Debug', |
541 options=['--build-tool=ninja', '--compiler=goma-clang'], | 414 options=['--build-tool=ninja', '--compiler=goma-clang'], |
542 tests=[ | 415 tests=[ |
543 'base_unittests', | 416 'base_unittests', |
(...skipping 14 matching lines...) Expand all Loading... | |
558 'GYP_DEFINES': | 431 'GYP_DEFINES': |
559 'clang=1 clang_use_chrome_plugins=1 fastbuild=1 ' | 432 'clang=1 clang_use_chrome_plugins=1 fastbuild=1 ' |
560 'test_isolation_mode=noop', | 433 'test_isolation_mode=noop', |
561 }, | 434 }, |
562 'sharded_tests': sharded_tests, | 435 'sharded_tests': sharded_tests, |
563 })) | 436 })) |
564 | 437 |
565 | 438 |
566 def Update(config, active_master, c): | 439 def Update(config, active_master, c): |
567 return helper.Update(c) | 440 return helper.Update(c) |
OLD | NEW |