| 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 30 matching lines...) Expand all Loading... |
| 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', 'linux_rel_naclmore', 'linux_clang', | 49 'linux', 'linux_rel', 'linux_rel_naclmore', 'linux_clang', |
| 50 'linux_chromeos', 'linux_aura', | 50 'linux_chromeos', 'linux_aura', |
| 51 'linux_nacl_sdk_build', |
| 51 | 52 |
| 52 'blink_bare_presubmit', | 53 'blink_bare_presubmit', |
| 53 | 54 |
| 54 'tools_presubmit', | 55 'tools_presubmit', |
| 55 ] | 56 ] |
| 57 |
| 56 # One of the extra configuration per VM. | 58 # One of the extra configuration per VM. |
| 57 # First the ones barely used. By reducing the number of available slaves, we | 59 # First the ones barely used. By reducing the number of available slaves, we |
| 58 # increase the "cache locally" of having a checkout already recent on the | 60 # increase the "cache locally" of having a checkout already recent on the |
| 59 # slave. | 61 # slave. |
| 60 extras = [ | 62 extras = [ |
| 61 [['linux_chromeos_clang'], 15], | 63 [['linux_chromeos_clang'], 15], |
| 62 [['linux_futura'], 15], | 64 [['linux_futura'], 15], |
| 63 [['linux_blink_git', 'linux_blink_rel_git'], 7], | 65 [['linux_blink_git', 'linux_blink_rel_git'], 7], |
| 64 [['linux_chromeos_valgrind'], 2], | 66 [['linux_chromeos_valgrind'], 2], |
| 65 [['linux_valgrind', 'linux_tsan'], 4], | 67 [['linux_valgrind', 'linux_tsan'], 4], |
| 66 [['linux_chromeos_asan'], 3], | 68 [['linux_chromeos_asan'], 3], |
| 67 [['linux_redux'], 2], | 69 [['linux_redux'], 2], |
| 68 [['linux_heapcheck'], 2], | 70 [['linux_heapcheck'], 2], |
| 69 [['linux_nacl_sdk'], 3], | 71 [['linux_nacl_sdk'], 3], |
| 70 [['linux_nacl_sdk_build'], 3], | |
| 71 # These ones below are significantly used ones. They use all the remaining | 72 # These ones below are significantly used ones. They use all the remaining |
| 72 # slaves. | 73 # slaves. |
| 73 [['linux_asan', 'linux_browser_asan'], -1], | 74 [['linux_asan', 'linux_browser_asan'], -1], |
| 74 [['linux_chromium_dbg', 'linux_chromium_rel'], -1], | 75 [['linux_chromium_dbg', 'linux_chromium_rel'], -1], |
| 75 [['linux_layout', 'linux_layout_rel', | 76 [['linux_layout', 'linux_layout_rel', |
| 76 'linux_blink', 'linux_blink_rel',], -1], | 77 'linux_blink', 'linux_blink_rel',], -1], |
| 77 ] | 78 ] |
| 78 | 79 |
| 79 extras_expanded = expand_extra_builders(extras, len(all_slaves)) | 80 extras_expanded = expand_extra_builders(extras, len(all_slaves)) |
| 80 | 81 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 ]) | 228 ]) |
| 228 | 229 |
| 229 return result | 230 return result |
| 230 | 231 |
| 231 | 232 |
| 232 def mac(): | 233 def mac(): |
| 233 extras = [ | 234 extras = [ |
| 234 # One line per shared directory: | 235 # One line per shared directory: |
| 235 [['mac_valgrind'], 6], | 236 [['mac_valgrind'], 6], |
| 236 [['mac_nacl_sdk'], 6], | 237 [['mac_nacl_sdk'], 6], |
| 237 [['mac_nacl_sdk_build'], 6], | |
| 238 # These ones below are significantly used ones. They use all the remaining | 238 # These ones below are significantly used ones. They use all the remaining |
| 239 # slaves. | 239 # slaves. |
| 240 [['mac_chromium_dbg', 'mac_chromium_rel'], -1], | 240 [['mac_chromium_dbg', 'mac_chromium_rel'], -1], |
| 241 [['mac_layout', 'mac_layout_rel', 'mac_blink', 'mac_blink_rel', | 241 [['mac_layout', 'mac_layout_rel', 'mac_blink', 'mac_blink_rel', |
| 242 'mac_blink_git', 'mac_blink_rel_git'], -1], | 242 'mac_blink_git', 'mac_blink_rel_git'], -1], |
| 243 ] | 243 ] |
| 244 all_old_slaves = range(600, 655) | 244 all_old_slaves = range(600, 655) |
| 245 extras_expanded = expand_extra_builders(extras, len(all_old_slaves)) | 245 extras_expanded = expand_extra_builders(extras, len(all_old_slaves)) |
| 246 perf_bisect_slaves = [1, 2] | 246 perf_bisect_slaves = [1, 2] |
| 247 out = [ | 247 out = [ |
| (...skipping 13 matching lines...) Expand all Loading... |
| 261 out += [ | 261 out += [ |
| 262 { | 262 { |
| 263 'master': 'TryServer', | 263 'master': 'TryServer', |
| 264 'builder': [ | 264 'builder': [ |
| 265 # One line per shared directory: | 265 # One line per shared directory: |
| 266 'mac', 'mac_rel', 'mac_rel_naclmore', | 266 'mac', 'mac_rel', 'mac_rel_naclmore', |
| 267 'mac_layout_alt', 'mac_layout_rel_alt', | 267 'mac_layout_alt', 'mac_layout_rel_alt', |
| 268 'mac_valgrind_alt', | 268 'mac_valgrind_alt', |
| 269 'mac_asan', | 269 'mac_asan', |
| 270 'mac_nacl_sdk_alt', | 270 'mac_nacl_sdk_alt', |
| 271 'mac_nacl_sdk_build' |
| 271 ], | 272 ], |
| 272 'hostname': 'vm%d-m4' % i, | 273 'hostname': 'vm%d-m4' % i, |
| 273 'os': 'mac', | 274 'os': 'mac', |
| 274 'version': '10.7', | 275 'version': '10.7', |
| 275 'bits': '64', | 276 'bits': '64', |
| 276 } for i in sorted(range(666, 737)) | 277 } for i in sorted(range(666, 737)) |
| 277 ] | 278 ] |
| 278 out += [ | 279 out += [ |
| 279 # 64-bit Mac ASan | 280 # 64-bit Mac ASan |
| 280 { | 281 { |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 494 perf_a4_slaves = [2, 3] | 495 perf_a4_slaves = [2, 3] |
| 495 perf_xp_a4_slaves = [11] | 496 perf_xp_a4_slaves = [11] |
| 496 perf_8_a4_slaves = [12] | 497 perf_8_a4_slaves = [12] |
| 497 | 498 |
| 498 normal_slaves = [ | 499 normal_slaves = [ |
| 499 { | 500 { |
| 500 'master': 'TryServer', | 501 'master': 'TryServer', |
| 501 'builder': [ | 502 'builder': [ |
| 502 'win', 'win_rel_naclmore', 'win_rel', | 503 'win', 'win_rel_naclmore', 'win_rel', |
| 503 'win_chromium_dbg', 'win_chromium_rel', | 504 'win_chromium_dbg', 'win_chromium_rel', |
| 505 'win_nacl_sdk_build' |
| 504 ], | 506 ], |
| 505 'hostname': 'vm%d-m4' % number, | 507 'hostname': 'vm%d-m4' % number, |
| 506 'os': 'win', | 508 'os': 'win', |
| 507 'version': 'win7', | 509 'version': 'win7', |
| 508 'bits': '64', | 510 'bits': '64', |
| 509 } for number in win7 | 511 } for number in win7 |
| 510 ] | 512 ] |
| 511 win_x64_slaves = [ | 513 win_x64_slaves = [ |
| 512 { | 514 { |
| 513 'master': 'TryServer', | 515 'master': 'TryServer', |
| 514 'builder': ['win_x64_rel'], | 516 'builder': ['win_x64_rel'], |
| 515 'hostname': 'vm%d-m4' % number, | 517 'hostname': 'vm%d-m4' % number, |
| 516 'os': 'win', | 518 'os': 'win', |
| 517 'version': 'win7', | 519 'version': 'win7', |
| 518 'bits': '64', | 520 'bits': '64', |
| 519 } for number in win7_x64 | 521 } for number in win7_x64 |
| 520 ] | 522 ] |
| 521 nacl_sdk_slaves = [ | 523 nacl_sdk_slaves = [ |
| 522 { | 524 { |
| 523 'master': 'TryServer', | 525 'master': 'TryServer', |
| 524 'builder': [ | 526 'builder': [ |
| 525 'win_nacl_sdk', 'win_nacl_sdk_build' | 527 'win_nacl_sdk', |
| 526 ], | 528 ], |
| 527 'hostname': 'vm%d-m4' % number, | 529 'hostname': 'vm%d-m4' % number, |
| 528 'os': 'win', | 530 'os': 'win', |
| 529 'version': 'win7', | 531 'version': 'win7', |
| 530 'bits': '64', | 532 'bits': '64', |
| 531 } for number in range(519, 521) | 533 } for number in range(519, 521) |
| 532 ] | 534 ] |
| 533 layout_slaves = [ | 535 layout_slaves = [ |
| 534 { | 536 { |
| 535 'master': 'TryServer', | 537 'master': 'TryServer', |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 chromeframe_slave + | 684 chromeframe_slave + |
| 683 gpu_slaves + | 685 gpu_slaves + |
| 684 swarm_slaves + | 686 swarm_slaves + |
| 685 win_tsan_slave + | 687 win_tsan_slave + |
| 686 win_x64_slaves + | 688 win_x64_slaves + |
| 687 swarm_dumb_slaves + | 689 swarm_dumb_slaves + |
| 688 perf_bisect_slaves) | 690 perf_bisect_slaves) |
| 689 | 691 |
| 690 | 692 |
| 691 slaves = linux() + mac() + windows() + cros() + android() + ios() | 693 slaves = linux() + mac() + windows() + cros() + android() + ios() |
| OLD | NEW |