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