OLD | NEW |
1 # -*- python -*- | 1 # -*- python -*- |
2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
6 | 6 |
7 # See master.experimental/slaves.cfg for documentation. | 7 # See master.experimental/slaves.cfg for documentation. |
8 | 8 |
9 | 9 |
10 def expand_extra_builders(extras, total): | 10 def expand_extra_builders(extras, total): |
(...skipping 28 matching lines...) Expand all Loading... |
39 linux_arm_cross_slaves = range(493, 496) | 39 linux_arm_cross_slaves = range(493, 496) |
40 linux_arm_testers = [9] | 40 linux_arm_testers = [9] |
41 | 41 |
42 # Have a dedicated pool for presubmit jobs - all CQ jobs | 42 # Have a dedicated pool for presubmit jobs - all CQ jobs |
43 # need a presubmit first and so must be responsive. | 43 # need a presubmit first and so must be responsive. |
44 presubmit_builders = ['chromium_presubmit', 'blink_presubmit'] | 44 presubmit_builders = ['chromium_presubmit', 'blink_presubmit'] |
45 | 45 |
46 # Configurations on every VM. | 46 # Configurations on every VM. |
47 base = presubmit_builders + [ | 47 base = presubmit_builders + [ |
48 # One line per shared directory. In decreasing usage: | 48 # One line per shared directory. In decreasing usage: |
49 'linux', 'linux_rel', | |
50 'linux_chromium_dbg', 'linux_chromium_rel', | 49 'linux_chromium_dbg', 'linux_chromium_rel', |
51 'linux_chromium_compile_dbg', 'linux_chromium_compile_rel', | 50 'linux_chromium_compile_dbg', 'linux_chromium_compile_rel', |
52 'linux_rel_naclmore', | 51 'linux_rel_naclmore', |
53 'linux_chromium_gn_dbg', 'linux_chromium_gn_rel', | 52 'linux_chromium_gn_dbg', 'linux_chromium_gn_rel', |
54 'android_chromium_gn_compile_dbg', 'android_chromium_gn_compile_rel', | 53 'android_chromium_gn_compile_dbg', 'android_chromium_gn_compile_rel', |
55 | 54 |
56 'linux_clang', 'linux_chromium_clang_dbg', 'linux_chromium_clang_rel', | 55 'linux_chromium_clang_dbg', 'linux_chromium_clang_rel', |
57 | 56 |
58 'linux_chromeos', | |
59 'linux_chromium_chromeos_dbg', 'linux_chromium_chromeos_rel', | 57 'linux_chromium_chromeos_dbg', 'linux_chromium_chromeos_rel', |
60 'linux_nacl_sdk_build', | 58 'linux_nacl_sdk_build', |
61 | 59 |
62 'tools_build_presubmit', | 60 'tools_build_presubmit', |
63 ] | 61 ] |
64 | 62 |
65 # One of the extra configuration per VM. | 63 # One of the extra configuration per VM. |
66 # First the ones barely used. By reducing the number of available slaves, we | 64 # First the ones barely used. By reducing the number of available slaves, we |
67 # increase the "cache locally" of having a checkout already recent on the | 65 # increase the "cache locally" of having a checkout already recent on the |
68 # slave. | 66 # slave. |
69 extras = [ | 67 extras = [ |
70 [['linux_chromeos_clang', | 68 [['linux_chromium_chromeos_clang_dbg', |
71 'linux_chromium_chromeos_clang_dbg', | |
72 'linux_chromium_chromeos_clang_rel'], 15], | 69 'linux_chromium_chromeos_clang_rel'], 15], |
73 [['linux_chromeos_valgrind'], 2], | 70 [['linux_chromeos_valgrind'], 2], |
74 [['linux_valgrind', 'linux_tsan'], 4], | 71 [['linux_valgrind', 'linux_tsan'], 4], |
75 [['linux_chromeos_asan', 'linux_chromeos_browser_asan'], 6], | 72 [['linux_chromeos_asan', 'linux_chromeos_browser_asan'], 6], |
76 [['linux_redux'], 2], | 73 [['linux_redux'], 2], |
77 [['linux_nacl_sdk'], 3], | 74 [['linux_nacl_sdk'], 3], |
78 [['linux_ecs_ozone'], 3], | 75 [['linux_ecs_ozone'], 3], |
79 # These ones below are significantly used ones. They use all the remaining | 76 # These ones below are significantly used ones. They use all the remaining |
80 # slaves. | 77 # slaves. |
81 [['linux_asan', 'linux_browser_asan'], -1], | 78 [['linux_asan', 'linux_browser_asan'], -1], |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 'os': 'mac', | 275 'os': 'mac', |
279 'version': '10.6', | 276 'version': '10.6', |
280 'bits': '64', | 277 'bits': '64', |
281 } for index, number in enumerate(all_old_slaves) | 278 } for index, number in enumerate(all_old_slaves) |
282 ] | 279 ] |
283 out.extend( | 280 out.extend( |
284 { | 281 { |
285 'master': 'TryServer', | 282 'master': 'TryServer', |
286 'builder': [ | 283 'builder': [ |
287 # One line per shared directory: | 284 # One line per shared directory: |
288 'mac', 'mac_rel', 'mac_rel_naclmore', | 285 'mac_rel_naclmore', |
289 'mac_chromium_dbg', 'mac_chromium_rel', | 286 'mac_chromium_dbg', 'mac_chromium_rel', |
290 'mac_chromium_compile_dbg', 'mac_chromium_compile_rel', | 287 'mac_chromium_compile_dbg', 'mac_chromium_compile_rel', |
291 | 288 |
292 'mac_valgrind_alt', | 289 'mac_valgrind_alt', |
293 'mac_asan', | 290 'mac_asan', |
294 'mac_nacl_sdk_alt', | 291 'mac_nacl_sdk_alt', |
295 'mac_nacl_sdk_build' | 292 'mac_nacl_sdk_build' |
296 ], | 293 ], |
297 'hostname': 'vm%d-m4' % i, | 294 'hostname': 'vm%d-m4' % i, |
298 'os': 'mac', | 295 'os': 'mac', |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 # The split is because the combined binaries of both rel and debug is | 494 # The split is because the combined binaries of both rel and debug is |
498 # 40GB, but they're just 15GB/25GB individually, and splitting them will | 495 # 40GB, but they're just 15GB/25GB individually, and splitting them will |
499 # help us mitigate disk space issues on our 60GB bots. | 496 # help us mitigate disk space issues on our 60GB bots. |
500 win7_rel = win7[:len(win7)*5/6] | 497 win7_rel = win7[:len(win7)*5/6] |
501 win7_dbg = win7[len(win7)*5/6:] | 498 win7_dbg = win7[len(win7)*5/6:] |
502 | 499 |
503 normal_slaves_rel = [ | 500 normal_slaves_rel = [ |
504 { | 501 { |
505 'master': 'TryServer', | 502 'master': 'TryServer', |
506 'builder': [ | 503 'builder': [ |
507 'win', 'win_rel_naclmore', 'win_rel', | 504 'win_rel_naclmore', |
508 'win_chromium_rel', 'win_chromium_compile_rel', | 505 'win_chromium_rel', 'win_chromium_compile_rel', |
509 'win_nacl_sdk_build' | 506 'win_nacl_sdk_build' |
510 ], | 507 ], |
511 'hostname': 'vm%d-m4' % number, | 508 'hostname': 'vm%d-m4' % number, |
512 'os': 'win', | 509 'os': 'win', |
513 'version': 'win7', | 510 'version': 'win7', |
514 'bits': '64', | 511 'bits': '64', |
515 } for number in win7_rel | 512 } for number in win7_rel |
516 ] | 513 ] |
517 normal_slaves_dbg = [ | 514 normal_slaves_dbg = [ |
518 { | 515 { |
519 'master': 'TryServer', | 516 'master': 'TryServer', |
520 'builder': ['win_chromium_dbg', 'win_chromium_compile_dbg'], | 517 'builder': ['win_chromium_dbg', 'win_chromium_compile_dbg'], |
521 'hostname': 'vm%d-m4' % number, | 518 'hostname': 'vm%d-m4' % number, |
522 'os': 'win', | 519 'os': 'win', |
523 'version': 'win7', | 520 'version': 'win7', |
524 'bits': '64', | 521 'bits': '64', |
525 } for number in win7_dbg | 522 } for number in win7_dbg |
526 ] | 523 ] |
527 win_x64_slaves = [ | 524 win_x64_slaves = [ |
528 { | 525 { |
529 'master': 'TryServer', | 526 'master': 'TryServer', |
530 'builder': [ | 527 'builder': [ |
531 'win_x64_rel', 'win_chromium_x64_dbg', 'win_chromium_x64_rel' | 528 'win_chromium_x64_dbg', 'win_chromium_x64_rel' |
532 ], | 529 ], |
533 'hostname': 'vm%d-m4' % number, | 530 'hostname': 'vm%d-m4' % number, |
534 'os': 'win', | 531 'os': 'win', |
535 'version': 'win7', | 532 'version': 'win7', |
536 'bits': '64', | 533 'bits': '64', |
537 } for number in win7_x64 | 534 } for number in win7_x64 |
538 ] | 535 ] |
539 nacl_sdk_slaves = [ | 536 nacl_sdk_slaves = [ |
540 { | 537 { |
541 'master': 'TryServer', | 538 'master': 'TryServer', |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 swarm_slaves + | 698 swarm_slaves + |
702 win_tsan_slave + | 699 win_tsan_slave + |
703 win_x64_slaves + | 700 win_x64_slaves + |
704 swarm_win7_dumb_slaves + | 701 swarm_win7_dumb_slaves + |
705 swarm_winxp_dumb_slaves + | 702 swarm_winxp_dumb_slaves + |
706 perf_bisect_slaves + | 703 perf_bisect_slaves + |
707 perf_bisect_builders) | 704 perf_bisect_builders) |
708 | 705 |
709 | 706 |
710 slaves = linux() + mac() + windows() + android() + ios() | 707 slaves = linux() + mac() + windows() + android() + ios() |
OLD | NEW |