| OLD | NEW |
| 1 # vim: ft=python: | 1 # vim: ft=python: |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 from buildbot.scheduler import Dependent | 6 from buildbot.scheduler import Dependent |
| 7 from buildbot.scheduler import Nightly | 7 from buildbot.scheduler import Nightly |
| 8 from buildbot.scheduler import Periodic | 8 from buildbot.scheduler import Periodic |
| 9 from buildbot.scheduler import Scheduler | 9 from buildbot.scheduler import Scheduler |
| 10 from buildbot.scheduler import Triggerable | 10 from buildbot.scheduler import Triggerable |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 'archive_build': False, | 542 'archive_build': False, |
| 543 'generate_gtest_json': True | 543 'generate_gtest_json': True |
| 544 }) | 544 }) |
| 545 | 545 |
| 546 | 546 |
| 547 def without(these, notthese): | 547 def without(these, notthese): |
| 548 return [x for x in these if x not in notthese] | 548 return [x for x in these if x not in notthese] |
| 549 | 549 |
| 550 tests_win_1 = ['base_unittests', | 550 tests_win_1 = ['base_unittests', |
| 551 'cacheinvalidation_unittests', | 551 'cacheinvalidation_unittests', |
| 552 'chrome_elf_unittests_br', | 552 'chrome_elf_unittests', |
| 553 'components_unittests', | 553 'components_unittests', |
| 554 'courgette_unittests', | 554 'courgette_unittests', |
| 555 'crypto_unittests', | 555 'crypto_unittests', |
| 556 'device_unittests', | 556 'device_unittests', |
| 557 'extensions_unittests', | 557 'extensions_unittests', |
| 558 'gcm_unit_tests', | 558 'gcm_unit_tests', |
| 559 'google_apis_unittests', | 559 'google_apis_unittests', |
| 560 'gpu', | 560 'gpu', |
| 561 'installer', | 561 'installer', |
| 562 'jingle', | 562 'jingle', |
| 563 'media', | 563 'media', |
| 564 'net', | 564 'net', |
| 565 'ppapi_unittests', | 565 'ppapi_unittests', |
| 566 'printing', | 566 'printing', |
| 567 'remoting', | 567 'remoting', |
| 568 'sandbox', | 568 'sandbox', |
| 569 'unit', | 569 'unit', |
| 570 'url_unittests', | 570 'url_unittests', |
| 571 'buildrunner_tests', | |
| 572 ] | 571 ] |
| 573 tests_win_2 = ['browser_tests', | 572 tests_win_2 = ['browser_tests', |
| 574 'content_browsertests'] | 573 'content_browsertests'] |
| 575 | 574 |
| 576 f_chromium_dbg_tests_1 = win_build().ChromiumFactory( | 575 f_chromium_dbg_tests_1 = win_build().ChromiumFactory( |
| 577 slave_type='Tester', | 576 slave_type='Tester', |
| 578 target='Debug', | 577 target='Debug', |
| 579 build_url=chromium_dbg_archive, | 578 build_url=chromium_dbg_archive, |
| 580 tests=tests_win_1, | 579 tests=tests_win_1, |
| 581 factory_properties={'process_dumps': True, | 580 factory_properties={'process_dumps': True, |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 ], | 686 ], |
| 688 factory_properties={ | 687 factory_properties={ |
| 689 'asan': True, | 688 'asan': True, |
| 690 'cluster_size': 1, | 689 'cluster_size': 1, |
| 691 'gclient_env': { | 690 'gclient_env': { |
| 692 'GYP_DEFINES': ('asan=1 ' | 691 'GYP_DEFINES': ('asan=1 ' |
| 693 'chromeos=1 ' | 692 'chromeos=1 ' |
| 694 'lsan=1 ' | 693 'lsan=1 ' |
| 695 'use_aura=1 ' | 694 'use_aura=1 ' |
| 696 'use_allocator=none '), | 695 'use_allocator=none '), |
| 697 'GYP_GENERATORS': 'ninja', }, | 696 }, |
| 698 'lsan': True, | 697 'lsan': True, |
| 699 'sharded_tests': sharded_tests, | 698 'sharded_tests': sharded_tests, |
| 700 'retry_failed': False, | 699 'retry_failed': False, |
| 701 }, | 700 }, |
| 702 tests=[ | 701 tests=[ |
| 703 'browser_tests', | 702 'browser_tests', |
| 704 'content_browsertests', | 703 'content_browsertests', |
| 705 'interactive_ui_tests', | 704 'interactive_ui_tests', |
| 706 ], | 705 ], |
| 707 ) | 706 ) |
| 708 | 707 |
| 709 # DrMemory Builder | 708 # DrMemory Builder |
| 710 f_chromium_windows_drmemory_builder = win_out().ChromiumFactory( | 709 f_chromium_windows_drmemory_builder = win_out().ChromiumFactory( |
| 711 target='Release', | 710 target='Release', |
| 712 slave_type='Builder', | 711 slave_type='Builder', |
| 713 # TODO(bruening): remove "_dbg" from this name in all.gyp as it is | 712 # TODO(bruening): remove "_dbg" from this name in all.gyp as it is |
| 714 # not limited to just Debug. | 713 # not limited to just Debug. |
| 715 options=['--build-tool=ninja', '--', 'chromium_builder_dbg_drmemory_win'], | 714 options=['--build-tool=ninja', '--', 'chromium_builder_dbg_drmemory_win'], |
| 716 factory_properties={ | 715 factory_properties={ |
| 717 'gclient_env': { 'GYP_DEFINES' : ('build_for_tool=drmemory ' | 716 'gclient_env': { 'GYP_DEFINES' : ('build_for_tool=drmemory ' |
| 718 'component=shared_library'), | 717 'component=shared_library'), |
| 719 'GYP_GENERATORS': 'ninja'}, | 718 }, |
| 720 'package_pdb_files': True, | 719 'package_pdb_files': True, |
| 721 'trigger': 'chromium_windows_drmemory'}) | 720 'trigger': 'chromium_windows_drmemory'}) |
| 722 | 721 |
| 723 # Windows Tests (DrMemory XP) | 722 # Windows Tests (DrMemory XP) |
| 724 f_chromium_rel_win_drmemory = win_out().ChromiumFactory( | 723 f_chromium_rel_win_drmemory = win_out().ChromiumFactory( |
| 725 slave_type='Tester', | 724 slave_type='Tester', |
| 726 target='Release', | 725 target='Release', |
| 727 build_url=chromium_windows_drmemory_archive, | 726 build_url=chromium_windows_drmemory_archive, |
| 728 tests=[ | 727 tests=[ |
| 729 'drmemory_light_url', | 728 'drmemory_light_url', |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 820 'gclient_env': { | 819 'gclient_env': { |
| 821 'GYP_DEFINES': 'target_arch=x64', | 820 'GYP_DEFINES': 'target_arch=x64', |
| 822 }}) | 821 }}) |
| 823 | 822 |
| 824 win_clang_tests = tests_win_1 + tests_win_2 + ['content_unittests'] | 823 win_clang_tests = tests_win_1 + tests_win_2 + ['content_unittests'] |
| 825 | 824 |
| 826 f_chromium_win_clang = win_out().ChromiumFactory( | 825 f_chromium_win_clang = win_out().ChromiumFactory( |
| 827 slave_type='BuilderTester', | 826 slave_type='BuilderTester', |
| 828 target='Release', | 827 target='Release', |
| 829 tests=win_clang_tests, | 828 tests=win_clang_tests, |
| 830 options=['--build-tool=ninja', '--', 'chromium_builder_tests'], | 829 options=['chromium_builder_tests'], |
| 831 factory_properties={ | 830 factory_properties={ |
| 832 'gclient_env': { | 831 'gclient_env': { |
| 833 'GYP_DEFINES': 'clang=1', | 832 'GYP_DEFINES': 'clang=1', |
| 834 }}) | 833 }}) |
| 835 | 834 |
| 836 f_chromium_win_clang_dbg = win_out().ChromiumFactory( | 835 f_chromium_win_clang_dbg = win_out().ChromiumFactory( |
| 837 slave_type='BuilderTester', | 836 slave_type='BuilderTester', |
| 838 target='Debug', | 837 target='Debug', |
| 839 tests=win_clang_tests, | 838 tests=win_clang_tests, |
| 840 options=['--build-tool=ninja', '--', 'chromium_builder_tests'], | 839 options=['chromium_builder_tests'], |
| 841 factory_properties={ | 840 factory_properties={ |
| 842 'gclient_env': { | 841 'gclient_env': { |
| 843 'GYP_DEFINES': 'clang=1', | 842 'GYP_DEFINES': 'clang=1', |
| 844 }}) | 843 }}) |
| 845 | 844 |
| 846 f_chromium_win_clang_shared = win_out().ChromiumFactory( | 845 f_chromium_win_clang_shared = win_out().ChromiumFactory( |
| 847 slave_type='BuilderTester', | 846 slave_type='BuilderTester', |
| 848 target='Release', | 847 target='Release', |
| 849 tests=win_clang_tests, | 848 tests=win_clang_tests, |
| 850 options=['--build-tool=ninja', '--', 'chromium_builder_tests'], | 849 options=['chromium_builder_tests'], |
| 851 factory_properties={ | 850 factory_properties={ |
| 852 'gclient_env': { | 851 'gclient_env': { |
| 853 'GYP_DEFINES': 'clang=1 component=shared_library', | 852 'GYP_DEFINES': 'clang=1 component=shared_library', |
| 854 }}) | 853 }}) |
| 855 | 854 |
| 856 f_chromium_win_clang_asan = win_out().ChromiumFactory( | 855 f_chromium_win_clang_asan = win_out().ChromiumFactory( |
| 857 slave_type='BuilderTester', | 856 slave_type='BuilderTester', |
| 858 target='Release', | 857 target='Release', |
| 859 # ASan doesn't support sandboxing on Windows yet (http://crbug.com/382867). | 858 # ASan doesn't support sandboxing on Windows yet (http://crbug.com/382867). |
| 860 tests=without(win_clang_tests, ['sandbox']), | 859 tests=without(win_clang_tests, ['sandbox']), |
| 861 options=['--build-tool=ninja', '--', 'chromium_builder_tests'], | 860 options=['chromium_builder_tests'], |
| 862 factory_properties={ | 861 factory_properties={ |
| 863 'asan': True, | 862 'asan': True, |
| 864 'gclient_env': { | 863 'gclient_env': { |
| 865 'GYP_DEFINES': 'clang=1 asan=1 component=static_library disable_nacl=1', | 864 'GYP_DEFINES': 'clang=1 asan=1 component=static_library disable_nacl=1', |
| 866 'LLVM_FORCE_HEAD_REVISION': 'yes', | 865 'LLVM_FORCE_HEAD_REVISION': 'yes', |
| 867 }}) | 866 }}) |
| 868 | 867 |
| 869 f_chromium_win_ninja_shared_2013_dbg = win_out().ChromiumFactory( | 868 f_chromium_win_ninja_shared_2013_dbg = win_out().ChromiumFactory( |
| 870 slave_type='BuilderTester', | 869 slave_type='BuilderTester', |
| 871 options=['--build-tool=ninja', 'chromium_builder_tests'], | 870 options=['chromium_builder_tests'], |
| 872 tests=tests_win_1, | 871 tests=tests_win_1, |
| 873 target='Debug', | 872 target='Debug', |
| 874 factory_properties={ | 873 factory_properties={ |
| 875 'gclient_env': { | 874 'gclient_env': { |
| 876 'GYP_DEFINES': 'component=shared_library fastbuild=1', | 875 'GYP_DEFINES': 'component=shared_library fastbuild=1', |
| 877 }}) | 876 }}) |
| 878 | 877 |
| 879 f_chromium_win_ninja_shared_2013 = win_out().ChromiumFactory( | 878 f_chromium_win_ninja_shared_2013 = win_out().ChromiumFactory( |
| 880 slave_type='BuilderTester', | 879 slave_type='BuilderTester', |
| 881 options=['--build-tool=ninja', 'chromium_builder_tests'], | 880 options=['chromium_builder_tests'], |
| 882 tests=tests_win_1, | 881 tests=tests_win_1, |
| 883 target='Release', | 882 target='Release', |
| 884 factory_properties={ | 883 factory_properties={ |
| 885 'gclient_env': { | 884 'gclient_env': { |
| 886 'GYP_DEFINES': 'component=shared_library fastbuild=1', | 885 'GYP_DEFINES': 'component=shared_library fastbuild=1', |
| 887 }}) | 886 }}) |
| 888 | 887 |
| 889 f_chromium_win_ninja_goma_shared_2013_dbg = win_out().ChromiumFactory( | 888 f_chromium_win_ninja_goma_shared_2013_dbg = win_out().ChromiumFactory( |
| 890 slave_type='BuilderTester', | 889 slave_type='BuilderTester', |
| 891 options=[ | 890 options=[ |
| 892 '--build-tool=ninja', '--compiler=goma', '--', | 891 '--compiler=goma', '--', |
| 893 'chromium_builder_tests' | 892 'chromium_builder_tests' |
| 894 ], | 893 ], |
| 895 tests=tests_win_1 + ['diagnose_goma'], | 894 tests=tests_win_1 + ['diagnose_goma'], |
| 896 target='Debug', | 895 target='Debug', |
| 897 factory_properties={ | 896 factory_properties={ |
| 898 'goma_canary': True, | 897 'goma_canary': True, |
| 899 'slave_internal_url': config.Master.slave_internal_url, | 898 'slave_internal_url': config.Master.slave_internal_url, |
| 900 'gclient_env': { | 899 'gclient_env': { |
| 901 'GYP_DEFINES': ( | 900 'GYP_DEFINES': ( |
| 902 'component=shared_library win_z7=1 chromium_win_pch=0' | 901 'component=shared_library win_z7=1 chromium_win_pch=0' |
| 903 ), | 902 ), |
| 904 }}) | 903 }}) |
| 905 | 904 |
| 906 f_chromium_win_ninja_goma_shared_2013 = win_out().ChromiumFactory( | 905 f_chromium_win_ninja_goma_shared_2013 = win_out().ChromiumFactory( |
| 907 slave_type='BuilderTester', | 906 slave_type='BuilderTester', |
| 908 options=[ | 907 options=[ |
| 909 '--build-tool=ninja', '--compiler=goma', '--', | 908 '--compiler=goma', '--', |
| 910 'chromium_builder_tests' | 909 'chromium_builder_tests' |
| 911 ], | 910 ], |
| 912 tests=tests_win_1 + ['diagnose_goma'], | 911 tests=tests_win_1 + ['diagnose_goma'], |
| 913 target='Release', | 912 target='Release', |
| 914 factory_properties={ | 913 factory_properties={ |
| 915 'goma_canary': True, | 914 'goma_canary': True, |
| 916 'slave_internal_url': config.Master.slave_internal_url, | 915 'slave_internal_url': config.Master.slave_internal_url, |
| 917 'gclient_env': { | 916 'gclient_env': { |
| 918 'GYP_DEFINES': ( | 917 'GYP_DEFINES': ( |
| 919 'component=shared_library fastbuild=1 chromium_win_pch=0' | 918 'component=shared_library fastbuild=1 chromium_win_pch=0' |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1110 'slave_internal_url': config.Master.slave_internal_url, | 1109 'slave_internal_url': config.Master.slave_internal_url, |
| 1111 'lkgr': True, | 1110 'lkgr': True, |
| 1112 }, | 1111 }, |
| 1113 tests=['diagnose_goma']) | 1112 tests=['diagnose_goma']) |
| 1114 | 1113 |
| 1115 f_chromium_mac_ninja_goma_canary = mac().ChromiumFactory( | 1114 f_chromium_mac_ninja_goma_canary = mac().ChromiumFactory( |
| 1116 slave_type='BuilderTester', | 1115 slave_type='BuilderTester', |
| 1117 clobber=True, | 1116 clobber=True, |
| 1118 target='Release', | 1117 target='Release', |
| 1119 options=[ | 1118 options=[ |
| 1120 '--build-tool=ninja', | |
| 1121 '--compiler=goma-clang', | 1119 '--compiler=goma-clang', |
| 1122 ], | 1120 ], |
| 1123 factory_properties={ | 1121 factory_properties={ |
| 1124 'goma_canary': True, | 1122 'goma_canary': True, |
| 1125 'slave_internal_url': config.Master.slave_internal_url, | 1123 'slave_internal_url': config.Master.slave_internal_url, |
| 1126 'lkgr': True, | 1124 'lkgr': True, |
| 1127 }, | 1125 }, |
| 1128 tests=['diagnose_goma']) | 1126 tests=['diagnose_goma']) |
| 1129 | 1127 |
| 1130 f_chromium_mac_108_x64_experimental = mac().ChromiumFactory( | 1128 f_chromium_mac_108_x64_experimental = mac().ChromiumFactory( |
| (...skipping 1077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2208 sendToInterestedUsers=False)) | 2206 sendToInterestedUsers=False)) |
| 2209 | 2207 |
| 2210 c['status'].append(MailNotifier( | 2208 c['status'].append(MailNotifier( |
| 2211 fromaddr=ActiveMaster.from_address, # Reply-To address | 2209 fromaddr=ActiveMaster.from_address, # Reply-To address |
| 2212 mode='problem', | 2210 mode='problem', |
| 2213 relayhost=config.Master.smtp, | 2211 relayhost=config.Master.smtp, |
| 2214 subject='Cronet build failed on %(builder)s', | 2212 subject='Cronet build failed on %(builder)s', |
| 2215 extraRecipients=['cronet+buildproblem@google.com'], | 2213 extraRecipients=['cronet+buildproblem@google.com'], |
| 2216 sendToInterestedUsers=False, | 2214 sendToInterestedUsers=False, |
| 2217 builders=['Android Cronet Builder', 'Android Cronet Builder (dbg)'])) | 2215 builders=['Android Cronet Builder', 'Android Cronet Builder (dbg)'])) |
| OLD | NEW |