| 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 # READ THIS: | 7 # READ THIS: |
| 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure | 8 # See http://dev.chromium.org/developers/testing/chromium-build-infrastructure |
| 9 | 9 |
| 10 from buildbot.scheduler import Triggerable | 10 from buildbot.scheduler import Triggerable |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 | 92 |
| 93 def NextJob(builder, requests): | 93 def NextJob(builder, requests): |
| 94 """Always prioritize commit queue jobs over try jobs.""" | 94 """Always prioritize commit queue jobs over try jobs.""" |
| 95 for req in requests: | 95 for req in requests: |
| 96 if any(c.who == 'commit-bot@chromium.org' for c in req.source.changes): | 96 if any(c.who == 'commit-bot@chromium.org' for c in req.source.changes): |
| 97 return req | 97 return req |
| 98 return requests[0] | 98 return requests[0] |
| 99 | 99 |
| 100 | 100 |
| 101 def CreateBuilder(platform, builder_name, target, | 101 def CreateBuilder(platform, builder_name, target, |
| 102 tests=None, options=None, | 102 options, tests, |
| 103 slavebuilddir=None, | 103 slavebuilddir=None, |
| 104 factory_properties=None, annotation_script=None, | 104 factory_properties=None, |
| 105 annotation_script=None, |
| 105 ninja=True, | 106 ninja=True, |
| 106 goma=False, | 107 goma=False, |
| 107 clang=False): | 108 clang=False): |
| 108 """Generates and register a builder along with its slave(s).""" | 109 """Generates and register a builder along with its slave(s).""" |
| 109 if platform not in ('win32', 'win64', 'linux', 'mac', 'android', 'ios'): | 110 if platform not in ('win32', 'win64', 'linux', 'mac', 'android', 'ios'): |
| 110 raise Exception(platform + ' is not a known os type') | 111 raise Exception(platform + ' is not a known os type') |
| 111 assert tests is not None or annotation_script, ( | 112 assert tests is not None or annotation_script, ( |
| 112 'Must either specify tests or use an annotation script') | 113 'Must either specify tests or use an annotation script') |
| 113 | 114 |
| 114 factory_properties = (factory_properties or {}).copy() | 115 factory_properties = (factory_properties or {}).copy() |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 # TODO(ilevy): The script should be changed to use the canonical value. | 167 # TODO(ilevy): The script should be changed to use the canonical value. |
| 167 factory_properties['extra_gyp_defines'] = ( | 168 factory_properties['extra_gyp_defines'] = ( |
| 168 factory_properties['gclient_env']['GYP_DEFINES']) | 169 factory_properties['gclient_env']['GYP_DEFINES']) |
| 169 | 170 |
| 170 options = build_tool + ['--clobber-post-fail'] + (options or []) | 171 options = build_tool + ['--clobber-post-fail'] + (options or []) |
| 171 | 172 |
| 172 enable_swarm_tests = builder_name in ('linux', 'linux_rel', 'mac', 'mac_rel', | 173 enable_swarm_tests = builder_name in ('linux', 'linux_rel', 'mac', 'mac_rel', |
| 173 'mac_alt', 'mac_rel_alt', 'win', | 174 'mac_alt', 'mac_rel_alt', 'win', |
| 174 'win_rel') | 175 'win_rel') |
| 175 | 176 |
| 176 # Ensure that all targets are build when compiling with swarm enabled. | |
| 177 if enable_swarm_tests: | |
| 178 options.append('all') | |
| 179 | |
| 180 compile_timeout = 2400 | 177 compile_timeout = 2400 |
| 181 if annotation_script: | 178 if annotation_script: |
| 182 # Note new slave type AnnotatedTrybot; we don't want a compile step added | 179 # Note new slave type AnnotatedTrybot; we don't want a compile step added |
| 183 # in gclient_factory.py. | 180 # in gclient_factory.py. |
| 184 # TODO(maruel): Support enable_swarm_tests | 181 # TODO(maruel): Support enable_swarm_tests |
| 185 builder_factory = factory.ChromiumAnnotationFactory( | 182 builder_factory = factory.ChromiumAnnotationFactory( |
| 186 slave_type='AnnotatedTrybot', target=target, tests=tests, | 183 slave_type='AnnotatedTrybot', target=target, tests=tests, |
| 187 options=options, | 184 options=options, |
| 188 compile_timeout=compile_timeout, | 185 compile_timeout=compile_timeout, |
| 189 factory_properties=factory_properties, | 186 factory_properties=factory_properties, |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 'unit_tests', | 331 'unit_tests', |
| 335 'webkit_compositor_bindings_unittests', | 332 'webkit_compositor_bindings_unittests', |
| 336 'webkit_lint', | 333 'webkit_lint', |
| 337 'webkit_unit_tests', | 334 'webkit_unit_tests', |
| 338 ] | 335 ] |
| 339 | 336 |
| 340 b_linux = CreateBuilder( | 337 b_linux = CreateBuilder( |
| 341 platform='linux', | 338 platform='linux', |
| 342 target='Debug', | 339 target='Debug', |
| 343 goma=True, | 340 goma=True, |
| 341 options=['chromium_builder_tests'], |
| 344 tests=linux_tests, | 342 tests=linux_tests, |
| 345 builder_name='linux', | 343 builder_name='linux', |
| 346 factory_properties={'sharded_tests': linux_sharded}) | 344 factory_properties={'sharded_tests': linux_sharded}) |
| 347 | 345 |
| 348 b_linux_futura = CreateBuilder( | 346 b_linux_futura = CreateBuilder( |
| 349 platform='linux', | 347 platform='linux', |
| 350 target='Release', | 348 target='Release', |
| 351 goma=True, | 349 goma=True, |
| 350 options=['chromium_builder_tests'], |
| 352 tests=linux_tests, | 351 tests=linux_tests, |
| 353 builder_name='linux_futura', | 352 builder_name='linux_futura', |
| 354 factory_properties={ | 353 factory_properties={ |
| 355 'sharded_tests': linux_sharded, | 354 'sharded_tests': linux_sharded, |
| 356 'gclient_env': { | 355 'gclient_env': { |
| 357 'GYP_DEFINES': 'use_aura=1', | 356 'GYP_DEFINES': 'use_aura=1', |
| 358 }, | 357 }, |
| 359 }, | 358 }, |
| 360 slavebuilddir='linux_aura') | 359 slavebuilddir='linux_aura') |
| 361 | 360 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 }, | 424 }, |
| 426 slavebuilddir='linux_aura') | 425 slavebuilddir='linux_aura') |
| 427 | 426 |
| 428 | 427 |
| 429 pools['chrome'].append('linux') | 428 pools['chrome'].append('linux') |
| 430 | 429 |
| 431 b_linux_rel = CreateBuilder( | 430 b_linux_rel = CreateBuilder( |
| 432 platform='linux', | 431 platform='linux', |
| 433 target='Release', | 432 target='Release', |
| 434 goma=True, | 433 goma=True, |
| 434 options=['chromium_builder_tests'], |
| 435 tests=linux_tests + ['sizes'], | 435 tests=linux_tests + ['sizes'], |
| 436 builder_name='linux_rel', | 436 builder_name='linux_rel', |
| 437 slavebuilddir='linux', | 437 slavebuilddir='linux', |
| 438 factory_properties={ | 438 factory_properties={ |
| 439 'sharded_tests': linux_sharded, | 439 'sharded_tests': linux_sharded, |
| 440 'use_xvfb_on_linux': True, | 440 'use_xvfb_on_linux': True, |
| 441 }) | 441 }) |
| 442 | 442 |
| 443 b_linux_rel_naclmore = CreateBuilder( | 443 b_linux_rel_naclmore = CreateBuilder( |
| 444 platform='linux', | 444 platform='linux', |
| 445 target='Release', | 445 target='Release', |
| 446 goma=True, | 446 goma=True, |
| 447 options=['nacl_integration'], |
| 447 tests=['nacl_integration'], | 448 tests=['nacl_integration'], |
| 448 builder_name='linux_rel_naclmore', | 449 builder_name='linux_rel_naclmore', |
| 449 slavebuilddir='linux', | 450 slavebuilddir='linux', |
| 450 factory_properties={'use_xvfb_on_linux': True}) | 451 factory_properties={'use_xvfb_on_linux': True}) |
| 451 | 452 |
| 452 b_linux_rel_alt = CreateBuilder( | 453 b_linux_rel_alt = CreateBuilder( |
| 453 platform='linux', | 454 platform='linux', |
| 454 target='Release', | 455 target='Release', |
| 455 goma=True, | 456 goma=True, |
| 457 options=['chromium_builder_tests'], |
| 456 tests=linux_tests + ['sizes'], | 458 tests=linux_tests + ['sizes'], |
| 457 builder_name='linux_rel_alt', | 459 builder_name='linux_rel_alt', |
| 458 slavebuilddir='linux', | 460 slavebuilddir='linux', |
| 459 factory_properties={ | 461 factory_properties={ |
| 460 'use_xvfb_on_linux': True, | 462 'use_xvfb_on_linux': True, |
| 461 'sharded_tests': linux_sharded, | 463 'sharded_tests': linux_sharded, |
| 462 }) | 464 }) |
| 463 | 465 |
| 464 b_linux_rel_precise = CreateBuilder( | 466 b_linux_rel_precise = CreateBuilder( |
| 465 platform='linux', | 467 platform='linux', |
| 466 target='Release', | 468 target='Release', |
| 467 goma=True, | 469 goma=True, |
| 470 options=['chromium_builder_tests'], |
| 468 tests=linux_tests + ['sizes'], | 471 tests=linux_tests + ['sizes'], |
| 469 builder_name='linux_rel_precise', | 472 builder_name='linux_rel_precise', |
| 470 slavebuilddir='linux_precise', | 473 slavebuilddir='linux_precise', |
| 471 factory_properties={ | 474 factory_properties={ |
| 472 'sharded_tests': linux_sharded, | 475 'sharded_tests': linux_sharded, |
| 473 'use_xvfb_on_linux': True, | 476 'use_xvfb_on_linux': True, |
| 474 }) | 477 }) |
| 475 | 478 |
| 476 # Tests that are single-machine shard-safe on MacOS | 479 # Tests that are single-machine shard-safe on MacOS |
| 477 mac_sharded = [ | 480 mac_sharded = [ |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 'test_shell', | 523 'test_shell', |
| 521 'unit', | 524 'unit', |
| 522 'webkit_compositor_bindings_unittests', | 525 'webkit_compositor_bindings_unittests', |
| 523 #'webkit_lint', | 526 #'webkit_lint', |
| 524 #'webkit_unit', | 527 #'webkit_unit', |
| 525 ] | 528 ] |
| 526 | 529 |
| 527 b_mac = CreateBuilder( | 530 b_mac = CreateBuilder( |
| 528 platform='mac', | 531 platform='mac', |
| 529 target='Debug', | 532 target='Debug', |
| 533 options=['chromium_builder_tests'], |
| 530 tests=mac_tests, | 534 tests=mac_tests, |
| 531 builder_name='mac', | 535 builder_name='mac', |
| 532 goma=True, | 536 goma=True, |
| 533 clang=True, | 537 clang=True, |
| 534 factory_properties={'sharded_tests': mac_sharded}) | 538 factory_properties={'sharded_tests': mac_sharded}) |
| 535 | 539 |
| 536 pools['chrome'].append('mac') | 540 pools['chrome'].append('mac') |
| 537 | 541 |
| 538 b_mac_alt = CreateBuilder( | 542 b_mac_alt = CreateBuilder( |
| 539 platform='mac', | 543 platform='mac', |
| 540 target='Debug', | 544 target='Debug', |
| 545 options=['chromium_builder_tests'], |
| 541 tests=mac_tests, | 546 tests=mac_tests, |
| 542 builder_name='mac_alt', | 547 builder_name='mac_alt', |
| 543 goma=True, | 548 goma=True, |
| 544 clang=True, | 549 clang=True, |
| 545 factory_properties={'sharded_tests': mac_sharded}) | 550 factory_properties={'sharded_tests': mac_sharded}) |
| 546 | 551 |
| 547 b_mac_rel = CreateBuilder( | 552 b_mac_rel = CreateBuilder( |
| 548 platform='mac', | 553 platform='mac', |
| 549 target='Release', | 554 target='Release', |
| 555 options=['chromium_builder_tests'], |
| 550 tests=mac_tests + ['sizes'], | 556 tests=mac_tests + ['sizes'], |
| 551 builder_name='mac_rel', | 557 builder_name='mac_rel', |
| 552 slavebuilddir='mac', | 558 slavebuilddir='mac', |
| 553 goma=True, | 559 goma=True, |
| 554 clang=True, | 560 clang=True, |
| 555 factory_properties={'sharded_tests': mac_sharded}) | 561 factory_properties={'sharded_tests': mac_sharded}) |
| 556 | 562 |
| 557 b_mac_rel_alt = CreateBuilder( | 563 b_mac_rel_alt = CreateBuilder( |
| 558 platform='mac', | 564 platform='mac', |
| 559 target='Release', | 565 target='Release', |
| 566 options=['chromium_builder_tests'], |
| 560 tests=mac_tests + ['sizes'], | 567 tests=mac_tests + ['sizes'], |
| 561 builder_name='mac_rel_alt', | 568 builder_name='mac_rel_alt', |
| 562 slavebuilddir='mac', | 569 slavebuilddir='mac', |
| 563 goma=True, | 570 goma=True, |
| 564 clang=True, | 571 clang=True, |
| 565 factory_properties={'sharded_tests': mac_sharded}) | 572 factory_properties={'sharded_tests': mac_sharded}) |
| 566 | 573 |
| 567 b_mac_rel_naclmore = CreateBuilder( | 574 b_mac_rel_naclmore = CreateBuilder( |
| 568 platform='mac', | 575 platform='mac', |
| 569 target='Release', | 576 target='Release', |
| 577 options=['nacl_integration'], |
| 570 tests=['nacl_integration'], | 578 tests=['nacl_integration'], |
| 571 builder_name='mac_rel_naclmore', | 579 builder_name='mac_rel_naclmore', |
| 572 slavebuilddir='mac', | 580 slavebuilddir='mac', |
| 573 goma=True, | 581 goma=True, |
| 574 clang=True) | 582 clang=True) |
| 575 | 583 |
| 576 b_mac_rel_naclmore_alt = CreateBuilder( | 584 b_mac_rel_naclmore_alt = CreateBuilder( |
| 577 platform='mac', | 585 platform='mac', |
| 578 target='Release', | 586 target='Release', |
| 587 options=['nacl_integration'], |
| 579 tests=['nacl_integration'], | 588 tests=['nacl_integration'], |
| 580 builder_name='mac_rel_naclmore_alt', | 589 builder_name='mac_rel_naclmore_alt', |
| 581 slavebuilddir='mac', | 590 slavebuilddir='mac', |
| 582 goma=True, | 591 goma=True, |
| 583 clang=True) | 592 clang=True) |
| 584 | 593 |
| 585 | 594 |
| 586 # Tests that are single-machine shard-safe on Windows | 595 # Tests that are single-machine shard-safe on Windows |
| 587 win_sharded = [ | 596 win_sharded = [ |
| 588 'base_unittests', | 597 'base_unittests', |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 'test_shell', | 642 'test_shell', |
| 634 'unit', | 643 'unit', |
| 635 'webkit_compositor_bindings_unittests', | 644 'webkit_compositor_bindings_unittests', |
| 636 #'webkit_lint', | 645 #'webkit_lint', |
| 637 #'webkit_unit', | 646 #'webkit_unit', |
| 638 ] | 647 ] |
| 639 | 648 |
| 640 b_win = CreateBuilder( | 649 b_win = CreateBuilder( |
| 641 target='Debug', | 650 target='Debug', |
| 642 platform='win32', | 651 platform='win32', |
| 652 options=['chromium_builder_tests'], |
| 643 tests=win_tests, | 653 tests=win_tests, |
| 644 builder_name='win', | 654 builder_name='win', |
| 645 factory_properties={ | 655 factory_properties={ |
| 646 'sharded_tests': win_sharded, | 656 'sharded_tests': win_sharded, |
| 647 'gclient_env': { | 657 'gclient_env': { |
| 648 'GYP_GENERATOR_FLAGS': 'msvs_error_on_missing_sources=1', | 658 'GYP_GENERATOR_FLAGS': 'msvs_error_on_missing_sources=1', |
| 649 }, | 659 }, |
| 650 }, | 660 }, |
| 651 goma=True) | 661 goma=True) |
| 652 | 662 |
| 653 pools['chrome'].append('win') | 663 pools['chrome'].append('win') |
| 654 | 664 |
| 655 b_win_rel = CreateBuilder( | 665 b_win_rel = CreateBuilder( |
| 656 target='Release', | 666 target='Release', |
| 657 platform='win32', | 667 platform='win32', |
| 668 options=['chromium_builder_tests'], |
| 658 tests=win_tests + ['sizes'], | 669 tests=win_tests + ['sizes'], |
| 659 builder_name='win_rel', | 670 builder_name='win_rel', |
| 660 slavebuilddir='win', | 671 slavebuilddir='win', |
| 661 factory_properties={ | 672 factory_properties={ |
| 662 'sharded_tests': win_sharded, | 673 'sharded_tests': win_sharded, |
| 663 'gclient_env': { | 674 'gclient_env': { |
| 664 'GYP_GENERATOR_FLAGS': 'msvs_error_on_missing_sources=1', | 675 'GYP_GENERATOR_FLAGS': 'msvs_error_on_missing_sources=1', |
| 665 }, | 676 }, |
| 666 }, | 677 }, |
| 667 goma=True) | 678 goma=True) |
| 668 | 679 |
| 669 b_win_rel_naclmore = CreateBuilder( | 680 b_win_rel_naclmore = CreateBuilder( |
| 670 target='Release', | 681 target='Release', |
| 671 platform='win32', | 682 platform='win32', |
| 683 options=['chromium_builder_tests'], |
| 672 tests=win_tests, | 684 tests=win_tests, |
| 673 builder_name='win_rel_naclmore', | 685 builder_name='win_rel_naclmore', |
| 674 slavebuilddir='win', | 686 slavebuilddir='win', |
| 675 goma=True, | 687 goma=True, |
| 676 factory_properties={ | 688 factory_properties={ |
| 677 'gclient_env': { | 689 'gclient_env': { |
| 678 'GYP_GENERATOR_FLAGS': 'msvs_error_on_missing_sources=1', | 690 'GYP_GENERATOR_FLAGS': 'msvs_error_on_missing_sources=1', |
| 679 }, | 691 }, |
| 680 }) | 692 }) |
| 681 | 693 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 754 ' ffmpeg_branding=ChromeOS' | 766 ' ffmpeg_branding=ChromeOS' |
| 755 ' component=shared_library' | 767 ' component=shared_library' |
| 756 ' proprietary_codecs=1')}}) | 768 ' proprietary_codecs=1')}}) |
| 757 } | 769 } |
| 758 | 770 |
| 759 # Compile and zip build, triggers testers | 771 # Compile and zip build, triggers testers |
| 760 b_android_dbg = CreateBuilder( | 772 b_android_dbg = CreateBuilder( |
| 761 platform='android', | 773 platform='android', |
| 762 target='Debug', | 774 target='Debug', |
| 763 builder_name='android_dbg', | 775 builder_name='android_dbg', |
| 776 options=[], |
| 777 tests=[], |
| 764 annotation_script='src/build/android/buildbot/bb_try_builder.sh', | 778 annotation_script='src/build/android/buildbot/bb_try_builder.sh', |
| 765 factory_properties={ | 779 factory_properties={ |
| 766 'trigger': 'android_dbg', | 780 'trigger': 'android_dbg', |
| 767 'build_url': android_dbg_archive}) | 781 'build_url': android_dbg_archive}) |
| 768 | 782 |
| 769 # Download and extract build, run tests. | 783 # Download and extract build, run tests. |
| 770 b_android_dbg_triggered_tests = CreateBuilder( | 784 b_android_dbg_triggered_tests = CreateBuilder( |
| 771 platform='android', | 785 platform='android', |
| 772 target='Debug', | 786 target='Debug', |
| 773 builder_name='android_dbg_triggered_tests', | 787 builder_name='android_dbg_triggered_tests', |
| 788 options=[], |
| 789 tests=[], |
| 774 annotation_script='src/build/android/buildbot/bb_try_tester.sh', | 790 annotation_script='src/build/android/buildbot/bb_try_tester.sh', |
| 775 factory_properties={ | 791 factory_properties={ |
| 776 'halt_on_missing_build': True, | 792 'halt_on_missing_build': True, |
| 777 'build_url': android_dbg_archive}) | 793 'build_url': android_dbg_archive}) |
| 778 | 794 |
| 779 # Compile and zip build, triggers testers | 795 # Compile and zip build, triggers testers |
| 780 b_android_fyi_dbg = CreateBuilder( | 796 b_android_fyi_dbg = CreateBuilder( |
| 781 platform='android', | 797 platform='android', |
| 782 target='Debug', | 798 target='Debug', |
| 783 builder_name='android_fyi_dbg', | 799 builder_name='android_fyi_dbg', |
| 800 options=[], |
| 801 tests=[], |
| 784 annotation_script='src/build/android/buildbot/bb_try_fyi_builder.sh', | 802 annotation_script='src/build/android/buildbot/bb_try_fyi_builder.sh', |
| 785 factory_properties={ | 803 factory_properties={ |
| 786 'trigger': 'android_fyi_dbg', | 804 'trigger': 'android_fyi_dbg', |
| 787 'build_url': android_fyi_dbg_archive, | 805 'build_url': android_fyi_dbg_archive, |
| 788 'buildtool': 'ninja', | 806 'buildtool': 'ninja', |
| 789 }) | 807 }) |
| 790 | 808 |
| 791 # Download and extract build, run tests. | 809 # Download and extract build, run tests. |
| 792 b_android_fyi_dbg_triggered_tests = CreateBuilder( | 810 b_android_fyi_dbg_triggered_tests = CreateBuilder( |
| 793 platform='android', | 811 platform='android', |
| 794 target='Debug', | 812 target='Debug', |
| 795 builder_name='android_fyi_dbg_triggered_tests', | 813 builder_name='android_fyi_dbg_triggered_tests', |
| 814 options=[], |
| 815 tests=[], |
| 796 annotation_script='src/build/android/buildbot/bb_try_fyi_tester.sh', | 816 annotation_script='src/build/android/buildbot/bb_try_fyi_tester.sh', |
| 797 factory_properties={ | 817 factory_properties={ |
| 798 'halt_on_missing_build': True, | 818 'halt_on_missing_build': True, |
| 799 'build_url': android_fyi_dbg_archive}) | 819 'build_url': android_fyi_dbg_archive}) |
| 800 | 820 |
| 801 # Android clang ninja builder | 821 # Android clang ninja builder |
| 802 b_android_clang_dbg = CreateBuilder( | 822 b_android_clang_dbg = CreateBuilder( |
| 803 platform='android', | 823 platform='android', |
| 804 target='Debug', | 824 target='Debug', |
| 805 builder_name='android_clang_dbg', | 825 builder_name='android_clang_dbg', |
| 826 options=[], |
| 827 tests=[], |
| 806 annotation_script='src/build/android/buildbot/bb_try_clang_builder.sh', | 828 annotation_script='src/build/android/buildbot/bb_try_clang_builder.sh', |
| 807 clang=True) | 829 clang=True) |
| 808 | 830 |
| 809 b_ios_rel_device = CreateBuilder( | 831 b_ios_rel_device = CreateBuilder( |
| 810 platform='ios', | 832 platform='ios', |
| 811 builder_name='ios_rel_device', | 833 builder_name='ios_rel_device', |
| 812 target='Release', | 834 target='Release', |
| 813 options=[ | 835 options=[ |
| 814 '--', | 836 '--', |
| 815 '-project', '../build/all.xcodeproj', | 837 '-project', '../build/all.xcodeproj', |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1218 'webkit_lint', | 1240 'webkit_lint', |
| 1219 'webkit_unit', | 1241 'webkit_unit', |
| 1220 ]), | 1242 ]), |
| 1221 } | 1243 } |
| 1222 | 1244 |
| 1223 | 1245 |
| 1224 # Chrome Frame builder | 1246 # Chrome Frame builder |
| 1225 b_win_chrome_frame = CreateBuilder( | 1247 b_win_chrome_frame = CreateBuilder( |
| 1226 platform='win32', | 1248 platform='win32', |
| 1227 target='Debug', | 1249 target='Debug', |
| 1250 builder_name='win_cf', |
| 1251 options=['chromium_builder_win_cf'], |
| 1228 tests=[ | 1252 tests=[ |
| 1229 'chrome_frame_net_tests', | 1253 'chrome_frame_net_tests', |
| 1230 'chrome_frame_tests', | 1254 'chrome_frame_tests', |
| 1231 ], | 1255 ], |
| 1232 builder_name='win_cf', | |
| 1233 options=['chromium_builder_win_cf'], | |
| 1234 slavebuilddir='win', | 1256 slavebuilddir='win', |
| 1235 factory_properties={ | 1257 factory_properties={ |
| 1236 'gclient_env': { | 1258 'gclient_env': { |
| 1237 'GYP_DEFINES': 'fastbuild=0', | 1259 'GYP_DEFINES': 'fastbuild=0', |
| 1238 }, | 1260 }, |
| 1239 }) | 1261 }) |
| 1240 | 1262 |
| 1241 # Swarm Builder | 1263 # Swarm Builder |
| 1242 b_swarm = { | 1264 b_swarm = { |
| 1243 'name': 'swarm_triggered', | 1265 'name': 'swarm_triggered', |
| 1244 'factory': swarm_factory.SwarmTestBuilder( | 1266 'factory': swarm_factory.SwarmTestBuilder( |
| 1245 config.Master.swarm_server_internal_url, | 1267 config.Master.swarm_server_internal_url, |
| 1246 tests=[ | 1268 tests=[ |
| 1247 'base_unittests', | 1269 'base_unittests', |
| 1248 'browser_tests', | 1270 'browser_tests', |
| 1249 'net_unittests', | 1271 'net_unittests', |
| 1250 'sync_integration_tests', | 1272 'sync_integration_tests', |
| 1251 'unit_tests', | 1273 'unit_tests', |
| 1252 ]), | 1274 ]), |
| 1253 } | 1275 } |
| 1254 | 1276 |
| 1255 # Clang builders | 1277 # Clang builders |
| 1256 b_linux_clang = CreateBuilder( | 1278 b_linux_clang = CreateBuilder( |
| 1257 platform='linux', | 1279 platform='linux', |
| 1258 target='Debug', | 1280 target='Debug', |
| 1281 options=['chromium_builder_tests'], |
| 1259 tests=linux_tests, | 1282 tests=linux_tests, |
| 1260 builder_name='linux_clang', | 1283 builder_name='linux_clang', |
| 1261 goma=True, | 1284 goma=True, |
| 1262 clang=True, | 1285 clang=True, |
| 1263 # Keep all tests off by default. | 1286 # Keep all tests off by default. |
| 1264 factory_properties={ | 1287 factory_properties={ |
| 1265 'non_default': linux_tests_full_name, | 1288 'non_default': linux_tests_full_name, |
| 1266 'gclient_env': { | 1289 'gclient_env': { |
| 1267 'GYP_DEFINES': 'clang_use_chrome_plugins=1', | 1290 'GYP_DEFINES': 'clang_use_chrome_plugins=1', |
| 1268 }, | 1291 }, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 1284 ' clang=1 clang_use_chrome_plugins=1' | 1307 ' clang=1 clang_use_chrome_plugins=1' |
| 1285 ' fastbuild=1' | 1308 ' fastbuild=1' |
| 1286 ' ffmpeg_branding=ChromeOS proprietary_codecs=1' | 1309 ' ffmpeg_branding=ChromeOS proprietary_codecs=1' |
| 1287 ' component=shared_library')}}) | 1310 ' component=shared_library')}}) |
| 1288 } | 1311 } |
| 1289 | 1312 |
| 1290 b_win_aura = CreateBuilder( | 1313 b_win_aura = CreateBuilder( |
| 1291 platform='win32', | 1314 platform='win32', |
| 1292 target='Debug', | 1315 target='Debug', |
| 1293 builder_name='win_aura', | 1316 builder_name='win_aura', |
| 1317 options=['aura_builder'], |
| 1294 tests=[ | 1318 tests=[ |
| 1295 'ash_unittests', | 1319 'ash_unittests', |
| 1296 'aura', | 1320 'aura', |
| 1297 'browser_tests', | 1321 'browser_tests', |
| 1298 'compositor', | 1322 'compositor', |
| 1299 'content_browsertests', | 1323 'content_browsertests', |
| 1300 'content_unittests', | 1324 'content_unittests', |
| 1301 'device_unittests', | 1325 'device_unittests', |
| 1302 'interactive_ui', | 1326 'interactive_ui', |
| 1303 'unit_unit', | 1327 'unit_unit', |
| 1304 'views', | 1328 'views', |
| 1305 ], | 1329 ], |
| 1306 options=['aura_builder'], | |
| 1307 goma=True, | 1330 goma=True, |
| 1308 factory_properties={ | 1331 factory_properties={ |
| 1309 'sharded_tests': win_sharded, | 1332 'sharded_tests': win_sharded, |
| 1310 'gclient_env': { | 1333 'gclient_env': { |
| 1311 'GYP_DEFINES': 'use_aura=1', | 1334 'GYP_DEFINES': 'use_aura=1', |
| 1312 }, | 1335 }, |
| 1313 }) | 1336 }) |
| 1314 | 1337 |
| 1315 # this matches the bot on the main waterfall soon | 1338 # this matches the bot on the main waterfall soon |
| 1316 b_win_ash = CreateBuilder( | 1339 b_win_ash = CreateBuilder( |
| 1317 platform='win32', | 1340 platform='win32', |
| 1318 target='Debug', | 1341 target='Debug', |
| 1319 builder_name='win_ash', | 1342 builder_name='win_ash', |
| 1343 options=['aura_builder'], |
| 1320 tests=[ | 1344 tests=[ |
| 1321 'ash_unittests', | 1345 'ash_unittests', |
| 1322 'aura', | 1346 'aura', |
| 1323 'compositor', | 1347 'compositor', |
| 1324 'views', | 1348 'views', |
| 1325 ], | 1349 ], |
| 1326 goma=True, | 1350 goma=True, |
| 1327 factory_properties={ | 1351 factory_properties={ |
| 1328 'gclient_env': { | 1352 'gclient_env': { |
| 1329 'GYP_DEFINES': 'use_ash=1', | 1353 'GYP_DEFINES': 'use_ash=1', |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1404 mac_asan_tests = list( | 1428 mac_asan_tests = list( |
| 1405 set(mac_tests) - set(['nacl_integration']) | 1429 set(mac_tests) - set(['nacl_integration']) |
| 1406 ) | 1430 ) |
| 1407 | 1431 |
| 1408 b_mac_asan = CreateBuilder( | 1432 b_mac_asan = CreateBuilder( |
| 1409 platform='mac', | 1433 platform='mac', |
| 1410 target='Release', | 1434 target='Release', |
| 1411 tests=mac_asan_tests, | 1435 tests=mac_asan_tests, |
| 1412 options=[ | 1436 options=[ |
| 1413 '--disable-aslr', | 1437 '--disable-aslr', |
| 1438 'chromium_builder_tests', |
| 1414 ], | 1439 ], |
| 1415 builder_name='mac_asan', | 1440 builder_name='mac_asan', |
| 1416 slavebuilddir='mac_asan', | 1441 slavebuilddir='mac_asan', |
| 1417 goma=True, | 1442 goma=True, |
| 1418 clang=True, | 1443 clang=True, |
| 1419 factory_properties={ | 1444 factory_properties={ |
| 1420 'sharded_tests': mac_sharded, | 1445 'sharded_tests': mac_sharded, |
| 1421 'asan': True, | 1446 'asan': True, |
| 1422 'gclient_env': { | 1447 'gclient_env': { |
| 1423 'GYP_DEFINES': 'asan=1', | 1448 'GYP_DEFINES': 'asan=1', |
| 1424 }, | 1449 }, |
| 1425 }) | 1450 }) |
| 1426 | 1451 |
| 1427 b_mac_asan_alt = CreateBuilder( | 1452 b_mac_asan_alt = CreateBuilder( |
| 1428 platform='mac', | 1453 platform='mac', |
| 1429 target='Release', | 1454 target='Release', |
| 1430 tests=mac_asan_tests, | 1455 tests=mac_asan_tests, |
| 1431 options=[ | 1456 options=[ |
| 1432 '--disable-aslr', | 1457 '--disable-aslr', |
| 1458 'chromium_builder_tests', |
| 1433 ], | 1459 ], |
| 1434 builder_name='mac_asan_alt', | 1460 builder_name='mac_asan_alt', |
| 1435 slavebuilddir='mac_asan', | 1461 slavebuilddir='mac_asan', |
| 1436 goma=True, | 1462 goma=True, |
| 1437 clang=True, | 1463 clang=True, |
| 1438 factory_properties={ | 1464 factory_properties={ |
| 1439 'sharded_tests': mac_sharded, | 1465 'sharded_tests': mac_sharded, |
| 1440 'asan': True, | 1466 'asan': True, |
| 1441 'gclient_env': { | 1467 'gclient_env': { |
| 1442 'GYP_DEFINES': 'asan=1', | 1468 'GYP_DEFINES': 'asan=1', |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1572 factory_properties={ | 1598 factory_properties={ |
| 1573 'gclient_env': { | 1599 'gclient_env': { |
| 1574 'GYP_DEFINES': 'internal_gles2_conform_tests=1', | 1600 'GYP_DEFINES': 'internal_gles2_conform_tests=1', |
| 1575 }, | 1601 }, |
| 1576 }, | 1602 }, |
| 1577 builder_name='linux_gpu') | 1603 builder_name='linux_gpu') |
| 1578 | 1604 |
| 1579 b_win_gpu = CreateBuilder( | 1605 b_win_gpu = CreateBuilder( |
| 1580 target='Debug', | 1606 target='Debug', |
| 1581 platform='win32', | 1607 platform='win32', |
| 1608 options=['chromium_gpu_debug_builder'], |
| 1582 tests=[ | 1609 tests=[ |
| 1583 'gpu_tests', | 1610 'gpu_tests', |
| 1584 'gles2_conform_test', | 1611 'gles2_conform_test', |
| 1585 'gl_tests', | 1612 'gl_tests', |
| 1586 ], | 1613 ], |
| 1587 factory_properties={ | 1614 factory_properties={ |
| 1588 'gclient_env': { | 1615 'gclient_env': { |
| 1589 'GYP_DEFINES': 'internal_gles2_conform_tests=1', | 1616 'GYP_DEFINES': 'internal_gles2_conform_tests=1', |
| 1590 }, | 1617 }, |
| 1591 }, | 1618 }, |
| 1592 builder_name='win_gpu', | 1619 builder_name='win_gpu') |
| 1593 options=['chromium_gpu_debug_builder']) | |
| 1594 | 1620 |
| 1595 b_mac_gpu = CreateBuilder( | 1621 b_mac_gpu = CreateBuilder( |
| 1596 platform='mac', | 1622 platform='mac', |
| 1597 target='Debug', | 1623 target='Debug', |
| 1598 options=[ | 1624 options=[ |
| 1599 'chromium_gpu_debug_builder', | 1625 'chromium_gpu_debug_builder', |
| 1600 ], | 1626 ], |
| 1601 tests=[ | 1627 tests=[ |
| 1602 'gpu_tests', | 1628 'gpu_tests', |
| 1603 'gles2_conform_test', | 1629 'gles2_conform_test', |
| (...skipping 26 matching lines...) Expand all Loading... |
| 1630 }, | 1656 }, |
| 1631 builder_name='mac_gpu_retina', | 1657 builder_name='mac_gpu_retina', |
| 1632 goma=True, | 1658 goma=True, |
| 1633 clang=True) | 1659 clang=True) |
| 1634 | 1660 |
| 1635 # NaCl SDK try bots | 1661 # NaCl SDK try bots |
| 1636 nacl_sdk_script = 'nacl_sdk_buildbot_run.py' | 1662 nacl_sdk_script = 'nacl_sdk_buildbot_run.py' |
| 1637 b_linux_nacl_sdk = CreateBuilder( | 1663 b_linux_nacl_sdk = CreateBuilder( |
| 1638 platform='linux', | 1664 platform='linux', |
| 1639 target='Debug', | 1665 target='Debug', |
| 1666 options=['chromium_builder_qa'], |
| 1640 tests=['annotated_steps'], | 1667 tests=['annotated_steps'], |
| 1641 factory_properties={'annotated_script':nacl_sdk_script}, | 1668 factory_properties={'annotated_script': nacl_sdk_script}, |
| 1642 builder_name='linux_nacl_sdk', | 1669 builder_name='linux_nacl_sdk', |
| 1643 goma=True) | 1670 goma=True) |
| 1644 b_win_nacl_sdk = CreateBuilder( | 1671 b_win_nacl_sdk = CreateBuilder( |
| 1645 target='Debug', | 1672 target='Debug', |
| 1646 platform='win32', | 1673 platform='win32', |
| 1674 options=['chromium_builder_qa'], |
| 1647 tests=['annotated_steps'], | 1675 tests=['annotated_steps'], |
| 1648 factory_properties={'annotated_script':nacl_sdk_script}, | 1676 factory_properties={'annotated_script': nacl_sdk_script}, |
| 1649 builder_name='win_nacl_sdk', | 1677 builder_name='win_nacl_sdk', |
| 1650 slavebuilddir='win', | 1678 slavebuilddir='win', |
| 1651 goma=True) | 1679 goma=True) |
| 1652 b_mac_nacl_sdk = CreateBuilder( | 1680 b_mac_nacl_sdk = CreateBuilder( |
| 1653 platform='mac', | 1681 platform='mac', |
| 1654 target='Debug', | 1682 target='Debug', |
| 1683 options=['chromium_builder_qa'], |
| 1655 tests=['annotated_steps'], | 1684 tests=['annotated_steps'], |
| 1656 builder_name='mac_nacl_sdk', | 1685 builder_name='mac_nacl_sdk', |
| 1657 factory_properties={'annotated_script':nacl_sdk_script}, | 1686 factory_properties={'annotated_script': nacl_sdk_script}, |
| 1658 goma=True, | 1687 goma=True, |
| 1659 clang=True) | 1688 clang=True) |
| 1660 b_mac_nacl_sdk_alt = CreateBuilder( | 1689 b_mac_nacl_sdk_alt = CreateBuilder( |
| 1661 platform='mac', | 1690 platform='mac', |
| 1662 target='Debug', | 1691 target='Debug', |
| 1692 options=['chromium_builder_qa'], |
| 1663 tests=['annotated_steps'], | 1693 tests=['annotated_steps'], |
| 1664 builder_name='mac_nacl_sdk_alt', | 1694 builder_name='mac_nacl_sdk_alt', |
| 1665 factory_properties={'annotated_script':nacl_sdk_script}, | 1695 factory_properties={'annotated_script':nacl_sdk_script}, |
| 1666 goma=True, | 1696 goma=True, |
| 1667 clang=True) | 1697 clang=True) |
| 1668 | 1698 |
| 1669 # Perf try bots | 1699 # Perf try bots |
| 1670 b_linux_perf = CreateBuilder( | 1700 b_linux_perf = CreateBuilder( |
| 1671 platform='linux', | 1701 platform='linux', |
| 1672 target='Release', | 1702 target='Release', |
| 1703 options=['all'], |
| 1673 tests=[ | 1704 tests=[ |
| 1674 # From f_cr_rel_linux_lowmem in master.chromium.perf/master.cfg, | 1705 # From f_cr_rel_linux_lowmem in master.chromium.perf/master.cfg, |
| 1675 'page_cycler_moz', | 1706 'page_cycler_moz', |
| 1676 'page_cycler_morejs', | 1707 'page_cycler_morejs', |
| 1677 'page_cycler_intl1', | 1708 'page_cycler_intl1', |
| 1678 'page_cycler_intl2', | 1709 'page_cycler_intl2', |
| 1679 'page_cycler_dhtml', | 1710 'page_cycler_dhtml', |
| 1680 'page_cycler_database', | 1711 'page_cycler_database', |
| 1681 'page_cycler_indexeddb', | 1712 'page_cycler_indexeddb', |
| 1682 'startup', | 1713 'startup', |
| 1683 'dom_perf', | 1714 'dom_perf', |
| 1684 'tab_switching', | 1715 'tab_switching', |
| 1685 'memory', | 1716 'memory', |
| 1686 'sunspider', | 1717 'sunspider', |
| 1687 'v8_benchmark', | 1718 'v8_benchmark', |
| 1688 'page_cycler_moz-http', | 1719 'page_cycler_moz-http', |
| 1689 'page_cycler_bloat-http', | 1720 'page_cycler_bloat-http', |
| 1690 'page_cycler_2012Q2-netsim', | 1721 'page_cycler_2012Q2-netsim', |
| 1691 'frame_rate', | 1722 'frame_rate', |
| 1692 'sync', | 1723 'sync', |
| 1693 ], | 1724 ], |
| 1694 builder_name='linux_perf', | 1725 builder_name='linux_perf', |
| 1695 goma=True) | 1726 goma=True) |
| 1696 | 1727 |
| 1697 b_win_perf = CreateBuilder( | 1728 b_win_perf = CreateBuilder( |
| 1698 platform='win32', | 1729 platform='win32', |
| 1699 target='Release', | 1730 target='Release', |
| 1731 options=['all'], |
| 1700 tests=[ | 1732 tests=[ |
| 1701 # From f_cr_rel_perf_win7_jank in master.chromium.perf/master.cfg, | 1733 # From f_cr_rel_perf_win7_jank in master.chromium.perf/master.cfg, |
| 1702 'page_cycler_moz', | 1734 'page_cycler_moz', |
| 1703 'page_cycler_morejs', | 1735 'page_cycler_morejs', |
| 1704 'page_cycler_intl1', | 1736 'page_cycler_intl1', |
| 1705 'page_cycler_intl2', | 1737 'page_cycler_intl2', |
| 1706 'page_cycler_dhtml', | 1738 'page_cycler_dhtml', |
| 1707 'page_cycler_database', | 1739 'page_cycler_database', |
| 1708 'page_cycler_indexeddb', | 1740 'page_cycler_indexeddb', |
| 1709 'startup', | 1741 'startup', |
| 1710 'sunspider', | 1742 'sunspider', |
| 1711 'v8_benchmark', | 1743 'v8_benchmark', |
| 1712 'dromaeo', | 1744 'dromaeo', |
| 1713 ], | 1745 ], |
| 1714 builder_name='win_perf', | 1746 builder_name='win_perf', |
| 1715 goma=True) | 1747 goma=True) |
| 1716 | 1748 |
| 1717 b_mac_perf = CreateBuilder( | 1749 b_mac_perf = CreateBuilder( |
| 1718 platform='mac', | 1750 platform='mac', |
| 1719 target='Release', | 1751 target='Release', |
| 1752 options=['all'], |
| 1720 tests=[ | 1753 tests=[ |
| 1721 # From f_cr_rel_mac6_perf_1 in master.chromium.perf/master.cfg, | 1754 # From f_cr_rel_mac6_perf_1 in master.chromium.perf/master.cfg, |
| 1722 'page_cycler_moz', | 1755 'page_cycler_moz', |
| 1723 'page_cycler_morejs', | 1756 'page_cycler_morejs', |
| 1724 'page_cycler_intl1', | 1757 'page_cycler_intl1', |
| 1725 'page_cycler_intl2', | 1758 'page_cycler_intl2', |
| 1726 'page_cycler_dhtml', | 1759 'page_cycler_dhtml', |
| 1727 'page_cycler_database', | 1760 'page_cycler_database', |
| 1728 'page_cycler_indexeddb', | 1761 'page_cycler_indexeddb', |
| 1729 'page_cycler_moz-http', | 1762 'page_cycler_moz-http', |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1940 ####### PROJECT IDENTITY | 1973 ####### PROJECT IDENTITY |
| 1941 | 1974 |
| 1942 # The 'projectURL' string will be used to provide a link | 1975 # The 'projectURL' string will be used to provide a link |
| 1943 # from buildbot HTML pages to your project's home page. | 1976 # from buildbot HTML pages to your project's home page. |
| 1944 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' | 1977 c['projectURL'] = 'http://dev.chromium.org/developers/testing/try-server-usage' |
| 1945 | 1978 |
| 1946 # Buildbot master url: | 1979 # Buildbot master url: |
| 1947 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' | 1980 c['buildbotURL'] = 'http://build.chromium.org/p/tryserver.chromium/' |
| 1948 | 1981 |
| 1949 # vi: set ts=4 sts=2 sw=2 et: | 1982 # vi: set ts=4 sts=2 sw=2 et: |
| OLD | NEW |