Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from master import gitiles_poller | 5 from master import gitiles_poller |
| 6 from master import master_config | 6 from master import master_config |
| 7 from master.factory import annotator_factory | 7 from master.factory import annotator_factory |
| 8 from master.factory import chromium_factory | 8 from master.factory import chromium_factory |
| 9 | 9 |
| 10 import master_site_config | 10 import master_site_config |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 85 ## Mac | 85 ## Mac |
| 86 ################################################################################ | 86 ################################################################################ |
| 87 | 87 |
| 88 B('Mac', 'mac_full', 'compile|testers', 'chromium_lkgr') | 88 B('Mac', 'mac_full', 'compile|testers', 'chromium_lkgr') |
| 89 F('mac_full', mac().ChromiumFactory( | 89 F('mac_full', mac().ChromiumFactory( |
| 90 clobber=True, | 90 clobber=True, |
| 91 factory_properties={'archive_build': ActiveMaster.is_production_host, | 91 factory_properties={'archive_build': ActiveMaster.is_production_host, |
| 92 'gs_bucket': 'gs://chromium-browser-continuous', | 92 'gs_bucket': 'gs://chromium-browser-continuous', |
| 93 'gs_acl': 'public-read',})) | 93 'gs_acl': 'public-read',})) |
| 94 | 94 |
| 95 mac_asan_rel_gyp = ('asan=1 enable_ipc_fuzzer=1 v8_enable_verify_heap=1 ') | |
|
earthdok
2015/02/24 16:46:14
You're making a functional change (v8_enable_verif
| |
| 96 | |
| 95 B('Mac ASAN Release', 'mac_asan_rel', 'compile', 'chromium_lkgr') | 97 B('Mac ASAN Release', 'mac_asan_rel', 'compile', 'chromium_lkgr') |
| 96 F('mac_asan_rel', linux().ChromiumASANFactory( | 98 F('mac_asan_rel', linux().ChromiumASANFactory( |
| 97 clobber=True, | 99 clobber=True, |
| 98 options=['--compiler=goma-clang', '--', '-target', 'chromium_builder_asan'], | 100 options=['--compiler=goma-clang', '--', '-target', 'chromium_builder_asan'], |
| 99 factory_properties={ | 101 factory_properties={ |
| 100 'cf_archive_build': ActiveMaster.is_production_host, | 102 'cf_archive_build': ActiveMaster.is_production_host, |
| 101 'cf_archive_name': 'asan', | 103 'cf_archive_name': 'asan', |
| 102 'gs_bucket': 'gs://chromium-browser-asan', | 104 'gs_bucket': 'gs://chromium-browser-asan', |
| 103 'gs_acl': 'public-read', | 105 'gs_acl': 'public-read', |
| 104 'gclient_env': {'GYP_DEFINES': 'asan=1 '}})) | 106 'gclient_env': {'GYP_DEFINES': mac_asan_rel_gyp}})) |
| 107 | |
| 108 mac_asan_debug_gyp = ('asan=1 component=static_library enable_ipc_fuzzer=1 ') | |
|
earthdok
2015/02/24 16:46:14
As a side note, it would be nice to have a comment
| |
| 105 | 109 |
| 106 B('Mac ASAN Debug', 'mac_asan_dbg', 'compile', 'chromium_lkgr') | 110 B('Mac ASAN Debug', 'mac_asan_dbg', 'compile', 'chromium_lkgr') |
| 107 F('mac_asan_dbg', linux().ChromiumASANFactory( | 111 F('mac_asan_dbg', linux().ChromiumASANFactory( |
| 108 clobber=True, | 112 clobber=True, |
| 109 target='Debug', | 113 target='Debug', |
| 110 options=['--compiler=goma-clang', '--', '-target', 'chromium_builder_asan'], | 114 options=['--compiler=goma-clang', '--', '-target', 'chromium_builder_asan'], |
| 111 factory_properties={ | 115 factory_properties={ |
| 112 'cf_archive_build': ActiveMaster.is_production_host, | 116 'cf_archive_build': ActiveMaster.is_production_host, |
| 113 'cf_archive_name': 'asan', | 117 'cf_archive_name': 'asan', |
| 114 'gs_bucket': 'gs://chromium-browser-asan', | 118 'gs_bucket': 'gs://chromium-browser-asan', |
| 115 'gs_acl': 'public-read', | 119 'gs_acl': 'public-read', |
| 116 'gclient_env': {'GYP_DEFINES': 'asan=1 component=static_library '}})) | 120 'gclient_env': {'GYP_DEFINES': mac_asan_debug_gyp}})) |
| 117 | 121 |
| 118 ################################################################################ | 122 ################################################################################ |
| 119 ## Linux | 123 ## Linux |
| 120 ################################################################################ | 124 ################################################################################ |
| 121 | 125 |
| 122 B('Linux', 'linux_full', 'compile|testers', 'chromium_lkgr') | 126 B('Linux', 'linux_full', 'compile|testers', 'chromium_lkgr') |
| 123 F('linux_full', linux().ChromiumFactory( | 127 F('linux_full', linux().ChromiumFactory( |
| 124 clobber=True, | 128 clobber=True, |
| 125 factory_properties={'archive_build': ActiveMaster.is_production_host, | 129 factory_properties={'archive_build': ActiveMaster.is_production_host, |
| 126 'gs_bucket': 'gs://chromium-browser-continuous', | 130 'gs_bucket': 'gs://chromium-browser-continuous', |
| 127 'gs_acl': 'public-read',})) | 131 'gs_acl': 'public-read',})) |
| 128 | 132 |
| 129 B('Linux x64', 'linux64_full', 'compile|testers', 'chromium_lkgr') | 133 B('Linux x64', 'linux64_full', 'compile|testers', 'chromium_lkgr') |
| 130 F('linux64_full', linux().ChromiumFactory( | 134 F('linux64_full', linux().ChromiumFactory( |
| 131 clobber=True, | 135 clobber=True, |
| 132 factory_properties={ | 136 factory_properties={ |
| 133 'archive_build': ActiveMaster.is_production_host, | 137 'archive_build': ActiveMaster.is_production_host, |
| 134 'gs_bucket': 'gs://chromium-browser-continuous', | 138 'gs_bucket': 'gs://chromium-browser-continuous', |
| 135 'gs_acl': 'public-read', | 139 'gs_acl': 'public-read', |
| 136 'gclient_env': {'GYP_DEFINES':'target_arch=x64'}})) | 140 'gclient_env': {'GYP_DEFINES':'target_arch=x64'}})) |
| 137 | 141 |
| 138 asan_rel_gyp = ('asan=1 lsan=1 asan_coverage=1 ' | 142 asan_rel_gyp = ('asan=1 lsan=1 sanitizer_coverage=3 ' |
| 139 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1 ') | 143 'enable_ipc_fuzzer=1 v8_enable_verify_heap=1 ') |
| 140 | 144 |
| 141 B('ASAN Release', 'linux_asan_rel', 'compile', 'chromium_lkgr') | 145 B('ASAN Release', 'linux_asan_rel', 'compile', 'chromium_lkgr') |
| 142 F('linux_asan_rel', linux().ChromiumASANFactory( | 146 F('linux_asan_rel', linux().ChromiumASANFactory( |
| 143 compile_timeout=2400, # We started seeing 29 minute links, bug 360158 | 147 compile_timeout=2400, # We started seeing 29 minute links, bug 360158 |
| 144 clobber=True, | 148 clobber=True, |
| 145 options=['--compiler=clang', 'chromium_builder_asan'], | 149 options=['--compiler=clang', 'chromium_builder_asan'], |
| 146 factory_properties={ | 150 factory_properties={ |
| 147 'cf_archive_build': ActiveMaster.is_production_host, | 151 'cf_archive_build': ActiveMaster.is_production_host, |
| 148 'cf_archive_name': 'asan', | 152 'cf_archive_name': 'asan', |
| 149 'gs_bucket': 'gs://chromium-browser-asan', | 153 'gs_bucket': 'gs://chromium-browser-asan', |
| 150 'gs_acl': 'public-read', | 154 'gs_acl': 'public-read', |
| 151 'gclient_env': {'GYP_DEFINES': asan_rel_gyp}})) | 155 'gclient_env': {'GYP_DEFINES': asan_rel_gyp}})) |
| 152 | 156 |
| 153 asan_rel_sym_gyp = ('asan=1 lsan=1 asan_coverage=1 ' | 157 asan_rel_sym_gyp = ('asan=1 lsan=1 sanitizer_coverage=3 ' |
| 154 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1 ' | 158 'enable_ipc_fuzzer=1 v8_enable_verify_heap=1 ' |
| 155 'release_extra_cflags="-O1 -fno-inline-functions ' | 159 'release_extra_cflags="-O1 -fno-inline-functions ' |
| 156 '-fno-inline" ') | 160 '-fno-inline" ') |
| 157 | 161 |
| 158 B('ASAN Release (symbolized)', 'linux_asan_rel_sym', 'compile', 'chromium_lkgr') | 162 B('ASAN Release (symbolized)', 'linux_asan_rel_sym', 'compile', 'chromium_lkgr') |
| 159 F('linux_asan_rel_sym', linux().ChromiumASANFactory( | 163 F('linux_asan_rel_sym', linux().ChromiumASANFactory( |
| 160 clobber=True, | 164 clobber=True, |
| 161 options=['--compiler=clang', 'chromium_builder_asan'], | 165 options=['--compiler=clang', 'chromium_builder_asan'], |
| 162 factory_properties={ | 166 factory_properties={ |
| 163 'cf_archive_build': ActiveMaster.is_production_host, | 167 'cf_archive_build': ActiveMaster.is_production_host, |
| 164 'cf_archive_name': 'asan-symbolized', | 168 'cf_archive_name': 'asan-symbolized', |
| 165 'gs_bucket': 'gs://chromium-browser-asan', | 169 'gs_bucket': 'gs://chromium-browser-asan', |
| 166 'gs_acl': 'public-read', | 170 'gs_acl': 'public-read', |
| 167 'gclient_env': {'GYP_DEFINES': asan_rel_sym_gyp}})) | 171 'gclient_env': {'GYP_DEFINES': asan_rel_sym_gyp}})) |
| 168 | 172 |
| 169 asan_debug_gyp = ('asan=1 lsan=1 asan_coverage=1 enable_ipc_fuzzer=1') | 173 asan_debug_gyp = ('asan=1 lsan=1 sanitizer_coverage=3 enable_ipc_fuzzer=1 ') |
| 170 | 174 |
| 171 B('ASAN Debug', 'linux_asan_dbg', 'compile', 'chromium_lkgr') | 175 B('ASAN Debug', 'linux_asan_dbg', 'compile', 'chromium_lkgr') |
| 172 F('linux_asan_dbg', linux().ChromiumASANFactory( | 176 F('linux_asan_dbg', linux().ChromiumASANFactory( |
| 173 clobber=True, | 177 clobber=True, |
| 174 target='Debug', | 178 target='Debug', |
| 175 options=['--compiler=clang', 'chromium_builder_asan'], | 179 options=['--compiler=clang', 'chromium_builder_asan'], |
| 176 factory_properties={ | 180 factory_properties={ |
| 177 'cf_archive_build': ActiveMaster.is_production_host, | 181 'cf_archive_build': ActiveMaster.is_production_host, |
| 178 'cf_archive_name': 'asan', | 182 'cf_archive_name': 'asan', |
| 179 'gs_bucket': 'gs://chromium-browser-asan', | 183 'gs_bucket': 'gs://chromium-browser-asan', |
| 180 'gs_acl': 'public-read', | 184 'gs_acl': 'public-read', |
| 181 'gclient_env': {'GYP_DEFINES': asan_debug_gyp}})) | 185 'gclient_env': {'GYP_DEFINES': asan_debug_gyp}})) |
| 182 | 186 |
| 183 asan_chromiumos_rel_gyp = ('%s chromeos=1' % asan_rel_gyp) | 187 asan_chromiumos_rel_gyp = ('%s chromeos=1' % asan_rel_gyp) |
| 184 | 188 |
| 185 B('ChromiumOS ASAN Release', 'linux_chromiumos_asan_rel', 'compile', | 189 B('ChromiumOS ASAN Release', 'linux_chromiumos_asan_rel', 'compile', |
| 186 'chromium_lkgr') | 190 'chromium_lkgr') |
| 187 F('linux_chromiumos_asan_rel', linux().ChromiumASANFactory( | 191 F('linux_chromiumos_asan_rel', linux().ChromiumASANFactory( |
| 188 compile_timeout=2400, # We started seeing 29 minute links, bug 360158 | 192 compile_timeout=2400, # We started seeing 29 minute links, bug 360158 |
| 189 clobber=True, | 193 clobber=True, |
| 190 options=['--compiler=clang', 'chromium_builder_asan'], | 194 options=['--compiler=clang', 'chromium_builder_asan'], |
| 191 factory_properties={ | 195 factory_properties={ |
| 192 'cf_archive_build': ActiveMaster.is_production_host, | 196 'cf_archive_build': ActiveMaster.is_production_host, |
| 193 'cf_archive_name': 'asan', | 197 'cf_archive_name': 'asan', |
| 194 'cf_archive_subdir_suffix': 'chromeos', | 198 'cf_archive_subdir_suffix': 'chromeos', |
| 195 'gs_bucket': 'gs://chromium-browser-asan', | 199 'gs_bucket': 'gs://chromium-browser-asan', |
| 196 'gs_acl': 'public-read', | 200 'gs_acl': 'public-read', |
| 197 'gclient_env': {'GYP_DEFINES': asan_chromiumos_rel_gyp}})) | 201 'gclient_env': {'GYP_DEFINES': asan_chromiumos_rel_gyp}})) |
| 198 | 202 |
| 199 asan_ia32_v8_arm = ('asan=1 asan_coverage=1 disable_nacl=1 ' | 203 asan_ia32_v8_arm = ('asan=1 sanitizer_coverage=3 disable_nacl=1 ' |
| 200 'v8_target_arch=arm host_arch=x86_64 target_arch=ia32 ' | 204 'v8_target_arch=arm host_arch=x86_64 target_arch=ia32 ' |
| 201 'sysroot=/var/lib/chroot/precise32bit chroot_cmd=precise32 ' | 205 'sysroot=/var/lib/chroot/precise32bit chroot_cmd=precise32 ' |
| 202 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1') | 206 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1 ') |
| 203 | 207 |
| 204 asan_ia32_v8_arm_rel_sym = ('%s release_extra_cflags="-O1 ' | 208 asan_ia32_v8_arm_rel_sym = ('%s release_extra_cflags="-O1 ' |
| 205 '-fno-inline-functions -fno-inline"' % | 209 '-fno-inline-functions -fno-inline"' % |
| 206 asan_ia32_v8_arm) | 210 asan_ia32_v8_arm) |
| 207 asan_ia32_v8_arm_rel = asan_ia32_v8_arm | 211 asan_ia32_v8_arm_rel = asan_ia32_v8_arm |
| 208 | 212 |
| 209 # The build process is described at | 213 # The build process is described at |
| 210 # https://sites.google.com/a/chromium.org/dev/developers/testing/addresssanitize r#TOC-Building-with-v8_target_arch-arm | 214 # https://sites.google.com/a/chromium.org/dev/developers/testing/addresssanitize r#TOC-Building-with-v8_target_arch-arm |
| 211 B('ASan Debug (32-bit x86 with V8-ARM)', | 215 B('ASan Debug (32-bit x86 with V8-ARM)', |
| 212 'linux_asan_dbg_ia32_v8_arm', | 216 'linux_asan_dbg_ia32_v8_arm', |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 276 factory_properties={ | 280 factory_properties={ |
| 277 'cf_archive_build': ActiveMaster.is_production_host, | 281 'cf_archive_build': ActiveMaster.is_production_host, |
| 278 'cf_archive_name': 'tsan', | 282 'cf_archive_name': 'tsan', |
| 279 'gs_bucket': 'gs://chromium-browser-tsan', | 283 'gs_bucket': 'gs://chromium-browser-tsan', |
| 280 'gs_acl': 'public-read', | 284 'gs_acl': 'public-read', |
| 281 'tsan': True, | 285 'tsan': True, |
| 282 'gclient_env': {'GYP_DEFINES': tsan_gyp}})) | 286 'gclient_env': {'GYP_DEFINES': tsan_gyp}})) |
| 283 | 287 |
| 284 # The build process for MSan is described at | 288 # The build process for MSan is described at |
| 285 # http://dev.chromium.org/developers/testing/memorysanitizer | 289 # http://dev.chromium.org/developers/testing/memorysanitizer |
| 286 msan_gyp = ('msan=1 use_instrumented_libraries=1 ' | 290 msan_gyp = ('msan=1 sanitizer_coverage=3 ' |
| 287 'instrumented_libraries_jobs=5 ') | 291 'use_instrumented_libraries=1 instrumented_libraries_jobs=5 ') |
| 288 | 292 |
| 289 B('MSAN Release (no origins)', 'linux_msan_rel_no_origins', 'compile', | 293 B('MSAN Release (no origins)', 'linux_msan_rel_no_origins', 'compile', |
| 290 'chromium_lkgr') | 294 'chromium_lkgr') |
| 291 F('linux_msan_rel_no_origins', linux().ChromiumFactory( | 295 F('linux_msan_rel_no_origins', linux().ChromiumFactory( |
| 292 clobber=True, | 296 clobber=True, |
| 293 target='Release', | 297 target='Release', |
| 294 options=['--compiler=goma-clang', 'chromium_builder_asan'], | 298 options=['--compiler=goma-clang', 'chromium_builder_asan'], |
| 295 factory_properties={ | 299 factory_properties={ |
| 296 'cf_archive_build': ActiveMaster.is_production_host, | 300 'cf_archive_build': ActiveMaster.is_production_host, |
| 297 'cf_archive_name': 'msan-no-origins', | 301 'cf_archive_name': 'msan-no-origins', |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 312 'gs_acl': 'public-read', | 316 'gs_acl': 'public-read', |
| 313 'gclient_env': {'GYP_DEFINES': msan_gyp + 'msan_track_origins=2 '}})) | 317 'gclient_env': {'GYP_DEFINES': msan_gyp + 'msan_track_origins=2 '}})) |
| 314 | 318 |
| 315 # This is a bot that uploads LKGR telemetry harnesses to Google Storage. | 319 # This is a bot that uploads LKGR telemetry harnesses to Google Storage. |
| 316 B('Telemetry Harness Upload', 'telemetry_harness_upload', None, 'chromium_lkgr') | 320 B('Telemetry Harness Upload', 'telemetry_harness_upload', None, 'chromium_lkgr') |
| 317 F('telemetry_harness_upload', | 321 F('telemetry_harness_upload', |
| 318 m_annotator.BaseFactory('perf/telemetry_harness_upload')) | 322 m_annotator.BaseFactory('perf/telemetry_harness_upload')) |
| 319 | 323 |
| 320 # The build process for UBSan vptr is described at | 324 # The build process for UBSan vptr is described at |
| 321 # http://dev.chromium.org/developers/testing/undefinedbehaviorsanitizer | 325 # http://dev.chromium.org/developers/testing/undefinedbehaviorsanitizer |
| 322 ubsan_gyp = ('ubsan=1') | 326 ubsan_gyp = ('ubsan=1 sanitizer_coverage=3 ') |
| 323 | 327 |
| 324 B('UBSan Release', 'linux_ubsan_rel', 'compile', 'chromium_lkgr') | 328 B('UBSan Release', 'linux_ubsan_rel', 'compile', 'chromium_lkgr') |
| 325 F('linux_ubsan_rel', linux().ChromiumFactory( | 329 F('linux_ubsan_rel', linux().ChromiumFactory( |
| 326 clobber=True, | 330 clobber=True, |
| 327 target='Release', | 331 target='Release', |
| 328 options=['--compiler=goma-clang', 'chromium_builder_asan'], | 332 options=['--compiler=goma-clang', 'chromium_builder_asan'], |
| 329 factory_properties={ | 333 factory_properties={ |
| 330 'cf_archive_build': ActiveMaster.is_production_host, | 334 'cf_archive_build': ActiveMaster.is_production_host, |
| 331 'cf_archive_name': 'ubsan', | 335 'cf_archive_name': 'ubsan', |
| 332 'gs_bucket': 'gs://chromium-browser-ubsan', | 336 'gs_bucket': 'gs://chromium-browser-ubsan', |
| 333 'gs_acl': 'public-read', | 337 'gs_acl': 'public-read', |
| 334 'gclient_env': {'GYP_DEFINES': ubsan_gyp}})) | 338 'gclient_env': {'GYP_DEFINES': ubsan_gyp}})) |
| 335 | 339 |
| 336 ubsan_vptr_gyp = ('ubsan_vptr=1') | 340 ubsan_vptr_gyp = ('ubsan_vptr=1 sanitizer_coverage=3 ') |
| 337 | 341 |
| 338 B('UBSan vptr Release', 'linux_ubsan_vptr_rel', 'compile', 'chromium_lkgr') | 342 B('UBSan vptr Release', 'linux_ubsan_vptr_rel', 'compile', 'chromium_lkgr') |
| 339 F('linux_ubsan_vptr_rel', linux().ChromiumFactory( | 343 F('linux_ubsan_vptr_rel', linux().ChromiumFactory( |
| 340 clobber=True, | 344 clobber=True, |
| 341 target='Release', | 345 target='Release', |
| 342 options=['--compiler=goma-clang', 'chromium_builder_asan'], | 346 options=['--compiler=goma-clang', 'chromium_builder_asan'], |
| 343 factory_properties={ | 347 factory_properties={ |
| 344 'cf_archive_build': ActiveMaster.is_production_host, | 348 'cf_archive_build': ActiveMaster.is_production_host, |
| 345 'cf_archive_subdir_suffix': 'vptr', | 349 'cf_archive_subdir_suffix': 'vptr', |
| 346 'cf_archive_name': 'ubsan-vptr', | 350 'cf_archive_name': 'ubsan-vptr', |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 367 annotation_script='src/build/android/buildbot/bb_run_bot.py', | 371 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
| 368 )) | 372 )) |
| 369 | 373 |
| 370 | 374 |
| 371 def Update(_config, active_master, c): | 375 def Update(_config, active_master, c): |
| 372 lkgr_poller = gitiles_poller.GitilesPoller( | 376 lkgr_poller = gitiles_poller.GitilesPoller( |
| 373 'https://chromium.googlesource.com/chromium/src', | 377 'https://chromium.googlesource.com/chromium/src', |
| 374 branches=['lkgr']) | 378 branches=['lkgr']) |
| 375 c['change_source'].append(lkgr_poller) | 379 c['change_source'].append(lkgr_poller) |
| 376 return helper.Update(c) | 380 return helper.Update(c) |
| OLD | NEW |