| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 B('Linux x64', 'linux64_full', 'compile|testers', 'chromium_lkgr') | 129 B('Linux x64', 'linux64_full', 'compile|testers', 'chromium_lkgr') |
| 130 F('linux64_full', linux().ChromiumFactory( | 130 F('linux64_full', linux().ChromiumFactory( |
| 131 clobber=True, | 131 clobber=True, |
| 132 factory_properties={ | 132 factory_properties={ |
| 133 'archive_build': ActiveMaster.is_production_host, | 133 'archive_build': ActiveMaster.is_production_host, |
| 134 'gs_bucket': 'gs://chromium-browser-continuous', | 134 'gs_bucket': 'gs://chromium-browser-continuous', |
| 135 'gs_acl': 'public-read', | 135 'gs_acl': 'public-read', |
| 136 'gclient_env': {'GYP_DEFINES':'target_arch=x64'}})) | 136 'gclient_env': {'GYP_DEFINES':'target_arch=x64'}})) |
| 137 | 137 |
| 138 asan_rel_gyp = ('asan=1 lsan=1 asan_coverage=1 ' | 138 asan_rel_gyp = ('asan=1 lsan=1 sanitizer_coverage=3 ' |
| 139 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1 ') | 139 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1 ') |
| 140 | 140 |
| 141 B('ASAN Release', 'linux_asan_rel', 'compile', 'chromium_lkgr') | 141 B('ASAN Release', 'linux_asan_rel', 'compile', 'chromium_lkgr') |
| 142 F('linux_asan_rel', linux().ChromiumASANFactory( | 142 F('linux_asan_rel', linux().ChromiumASANFactory( |
| 143 compile_timeout=2400, # We started seeing 29 minute links, bug 360158 | 143 compile_timeout=2400, # We started seeing 29 minute links, bug 360158 |
| 144 clobber=True, | 144 clobber=True, |
| 145 options=['--compiler=clang', 'chromium_builder_asan'], | 145 options=['--compiler=clang', 'chromium_builder_asan'], |
| 146 factory_properties={ | 146 factory_properties={ |
| 147 'cf_archive_build': ActiveMaster.is_production_host, | 147 'cf_archive_build': ActiveMaster.is_production_host, |
| 148 'cf_archive_name': 'asan', | 148 'cf_archive_name': 'asan', |
| 149 'gs_bucket': 'gs://chromium-browser-asan', | 149 'gs_bucket': 'gs://chromium-browser-asan', |
| 150 'gs_acl': 'public-read', | 150 'gs_acl': 'public-read', |
| 151 'gclient_env': {'GYP_DEFINES': asan_rel_gyp}})) | 151 'gclient_env': {'GYP_DEFINES': asan_rel_gyp}})) |
| 152 | 152 |
| 153 asan_rel_sym_gyp = ('asan=1 lsan=1 asan_coverage=1 ' | 153 asan_rel_sym_gyp = ('asan=1 lsan=1 sanitizer_coverage=3 ' |
| 154 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1 ' | 154 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1 ' |
| 155 'release_extra_cflags="-O1 -fno-inline-functions ' | 155 'release_extra_cflags="-O1 -fno-inline-functions ' |
| 156 '-fno-inline" ') | 156 '-fno-inline" ') |
| 157 | 157 |
| 158 B('ASAN Release (symbolized)', 'linux_asan_rel_sym', 'compile', 'chromium_lkgr') | 158 B('ASAN Release (symbolized)', 'linux_asan_rel_sym', 'compile', 'chromium_lkgr') |
| 159 F('linux_asan_rel_sym', linux().ChromiumASANFactory( | 159 F('linux_asan_rel_sym', linux().ChromiumASANFactory( |
| 160 clobber=True, | 160 clobber=True, |
| 161 options=['--compiler=clang', 'chromium_builder_asan'], | 161 options=['--compiler=clang', 'chromium_builder_asan'], |
| 162 factory_properties={ | 162 factory_properties={ |
| 163 'cf_archive_build': ActiveMaster.is_production_host, | 163 'cf_archive_build': ActiveMaster.is_production_host, |
| 164 'cf_archive_name': 'asan-symbolized', | 164 'cf_archive_name': 'asan-symbolized', |
| 165 'gs_bucket': 'gs://chromium-browser-asan', | 165 'gs_bucket': 'gs://chromium-browser-asan', |
| 166 'gs_acl': 'public-read', | 166 'gs_acl': 'public-read', |
| 167 'gclient_env': {'GYP_DEFINES': asan_rel_sym_gyp}})) | 167 'gclient_env': {'GYP_DEFINES': asan_rel_sym_gyp}})) |
| 168 | 168 |
| 169 asan_debug_gyp = ('asan=1 lsan=1 asan_coverage=1 enable_ipc_fuzzer=1') | 169 asan_debug_gyp = ('asan=1 lsan=1 sanitizer_coverage=3 enable_ipc_fuzzer=1 ') |
| 170 | 170 |
| 171 B('ASAN Debug', 'linux_asan_dbg', 'compile', 'chromium_lkgr') | 171 B('ASAN Debug', 'linux_asan_dbg', 'compile', 'chromium_lkgr') |
| 172 F('linux_asan_dbg', linux().ChromiumASANFactory( | 172 F('linux_asan_dbg', linux().ChromiumASANFactory( |
| 173 clobber=True, | 173 clobber=True, |
| 174 target='Debug', | 174 target='Debug', |
| 175 options=['--compiler=clang', 'chromium_builder_asan'], | 175 options=['--compiler=clang', 'chromium_builder_asan'], |
| 176 factory_properties={ | 176 factory_properties={ |
| 177 'cf_archive_build': ActiveMaster.is_production_host, | 177 'cf_archive_build': ActiveMaster.is_production_host, |
| 178 'cf_archive_name': 'asan', | 178 'cf_archive_name': 'asan', |
| 179 'gs_bucket': 'gs://chromium-browser-asan', | 179 'gs_bucket': 'gs://chromium-browser-asan', |
| 180 'gs_acl': 'public-read', | 180 'gs_acl': 'public-read', |
| 181 'gclient_env': {'GYP_DEFINES': asan_debug_gyp}})) | 181 'gclient_env': {'GYP_DEFINES': asan_debug_gyp}})) |
| 182 | 182 |
| 183 asan_chromiumos_rel_gyp = ('%s chromeos=1' % asan_rel_gyp) | 183 asan_chromiumos_rel_gyp = ('%s chromeos=1' % asan_rel_gyp) |
| 184 | 184 |
| 185 B('ChromiumOS ASAN Release', 'linux_chromiumos_asan_rel', 'compile', | 185 B('ChromiumOS ASAN Release', 'linux_chromiumos_asan_rel', 'compile', |
| 186 'chromium_lkgr') | 186 'chromium_lkgr') |
| 187 F('linux_chromiumos_asan_rel', linux().ChromiumASANFactory( | 187 F('linux_chromiumos_asan_rel', linux().ChromiumASANFactory( |
| 188 compile_timeout=2400, # We started seeing 29 minute links, bug 360158 | 188 compile_timeout=2400, # We started seeing 29 minute links, bug 360158 |
| 189 clobber=True, | 189 clobber=True, |
| 190 options=['--compiler=clang', 'chromium_builder_asan'], | 190 options=['--compiler=clang', 'chromium_builder_asan'], |
| 191 factory_properties={ | 191 factory_properties={ |
| 192 'cf_archive_build': ActiveMaster.is_production_host, | 192 'cf_archive_build': ActiveMaster.is_production_host, |
| 193 'cf_archive_name': 'asan', | 193 'cf_archive_name': 'asan', |
| 194 'cf_archive_subdir_suffix': 'chromeos', | 194 'cf_archive_subdir_suffix': 'chromeos', |
| 195 'gs_bucket': 'gs://chromium-browser-asan', | 195 'gs_bucket': 'gs://chromium-browser-asan', |
| 196 'gs_acl': 'public-read', | 196 'gs_acl': 'public-read', |
| 197 'gclient_env': {'GYP_DEFINES': asan_chromiumos_rel_gyp}})) | 197 'gclient_env': {'GYP_DEFINES': asan_chromiumos_rel_gyp}})) |
| 198 | 198 |
| 199 asan_ia32_v8_arm = ('asan=1 asan_coverage=1 disable_nacl=1 ' | 199 asan_ia32_v8_arm = ('asan=1 sanitizer_coverage=3 disable_nacl=1 ' |
| 200 'v8_target_arch=arm host_arch=x86_64 target_arch=ia32 ' | 200 'v8_target_arch=arm host_arch=x86_64 target_arch=ia32 ' |
| 201 'sysroot=/var/lib/chroot/precise32bit chroot_cmd=precise32 ' | 201 'sysroot=/var/lib/chroot/precise32bit chroot_cmd=precise32 ' |
| 202 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1') | 202 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1 ') |
| 203 | 203 |
| 204 asan_ia32_v8_arm_rel_sym = ('%s release_extra_cflags="-O1 ' | 204 asan_ia32_v8_arm_rel_sym = ('%s release_extra_cflags="-O1 ' |
| 205 '-fno-inline-functions -fno-inline"' % | 205 '-fno-inline-functions -fno-inline"' % |
| 206 asan_ia32_v8_arm) | 206 asan_ia32_v8_arm) |
| 207 asan_ia32_v8_arm_rel = asan_ia32_v8_arm | 207 asan_ia32_v8_arm_rel = asan_ia32_v8_arm |
| 208 | 208 |
| 209 # The build process is described at | 209 # 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 | 210 # 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)', | 211 B('ASan Debug (32-bit x86 with V8-ARM)', |
| 212 'linux_asan_dbg_ia32_v8_arm', | 212 'linux_asan_dbg_ia32_v8_arm', |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 factory_properties={ | 276 factory_properties={ |
| 277 'cf_archive_build': ActiveMaster.is_production_host, | 277 'cf_archive_build': ActiveMaster.is_production_host, |
| 278 'cf_archive_name': 'tsan', | 278 'cf_archive_name': 'tsan', |
| 279 'gs_bucket': 'gs://chromium-browser-tsan', | 279 'gs_bucket': 'gs://chromium-browser-tsan', |
| 280 'gs_acl': 'public-read', | 280 'gs_acl': 'public-read', |
| 281 'tsan': True, | 281 'tsan': True, |
| 282 'gclient_env': {'GYP_DEFINES': tsan_gyp}})) | 282 'gclient_env': {'GYP_DEFINES': tsan_gyp}})) |
| 283 | 283 |
| 284 # The build process for MSan is described at | 284 # The build process for MSan is described at |
| 285 # http://dev.chromium.org/developers/testing/memorysanitizer | 285 # http://dev.chromium.org/developers/testing/memorysanitizer |
| 286 msan_gyp = ('msan=1 use_instrumented_libraries=1 ' | 286 msan_gyp = ('msan=1 sanitizer_coverage=3 ' |
| 287 'instrumented_libraries_jobs=5 ') | 287 'use_instrumented_libraries=1 instrumented_libraries_jobs=5 ') |
| 288 | 288 |
| 289 B('MSAN Release (no origins)', 'linux_msan_rel_no_origins', 'compile', | 289 B('MSAN Release (no origins)', 'linux_msan_rel_no_origins', 'compile', |
| 290 'chromium_lkgr') | 290 'chromium_lkgr') |
| 291 F('linux_msan_rel_no_origins', linux().ChromiumFactory( | 291 F('linux_msan_rel_no_origins', linux().ChromiumFactory( |
| 292 clobber=True, | 292 clobber=True, |
| 293 target='Release', | 293 target='Release', |
| 294 options=['--compiler=goma-clang', 'chromium_builder_asan'], | 294 options=['--compiler=goma-clang', 'chromium_builder_asan'], |
| 295 factory_properties={ | 295 factory_properties={ |
| 296 'cf_archive_build': ActiveMaster.is_production_host, | 296 'cf_archive_build': ActiveMaster.is_production_host, |
| 297 'cf_archive_name': 'msan-no-origins', | 297 'cf_archive_name': 'msan-no-origins', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 312 'gs_acl': 'public-read', | 312 'gs_acl': 'public-read', |
| 313 'gclient_env': {'GYP_DEFINES': msan_gyp + 'msan_track_origins=2 '}})) | 313 'gclient_env': {'GYP_DEFINES': msan_gyp + 'msan_track_origins=2 '}})) |
| 314 | 314 |
| 315 # This is a bot that uploads LKGR telemetry harnesses to Google Storage. | 315 # This is a bot that uploads LKGR telemetry harnesses to Google Storage. |
| 316 B('Telemetry Harness Upload', 'telemetry_harness_upload', None, 'chromium_lkgr') | 316 B('Telemetry Harness Upload', 'telemetry_harness_upload', None, 'chromium_lkgr') |
| 317 F('telemetry_harness_upload', | 317 F('telemetry_harness_upload', |
| 318 m_annotator.BaseFactory('perf/telemetry_harness_upload')) | 318 m_annotator.BaseFactory('perf/telemetry_harness_upload')) |
| 319 | 319 |
| 320 # The build process for UBSan vptr is described at | 320 # The build process for UBSan vptr is described at |
| 321 # http://dev.chromium.org/developers/testing/undefinedbehaviorsanitizer | 321 # http://dev.chromium.org/developers/testing/undefinedbehaviorsanitizer |
| 322 ubsan_gyp = ('ubsan=1') | 322 ubsan_gyp = ('ubsan=1 sanitizer_coverage=3 ') |
| 323 | 323 |
| 324 B('UBSan Release', 'linux_ubsan_rel', 'compile', 'chromium_lkgr') | 324 B('UBSan Release', 'linux_ubsan_rel', 'compile', 'chromium_lkgr') |
| 325 F('linux_ubsan_rel', linux().ChromiumFactory( | 325 F('linux_ubsan_rel', linux().ChromiumFactory( |
| 326 clobber=True, | 326 clobber=True, |
| 327 target='Release', | 327 target='Release', |
| 328 options=['--compiler=goma-clang', 'chromium_builder_asan'], | 328 options=['--compiler=goma-clang', 'chromium_builder_asan'], |
| 329 factory_properties={ | 329 factory_properties={ |
| 330 'cf_archive_build': ActiveMaster.is_production_host, | 330 'cf_archive_build': ActiveMaster.is_production_host, |
| 331 'cf_archive_name': 'ubsan', | 331 'cf_archive_name': 'ubsan', |
| 332 'gs_bucket': 'gs://chromium-browser-ubsan', | 332 'gs_bucket': 'gs://chromium-browser-ubsan', |
| 333 'gs_acl': 'public-read', | 333 'gs_acl': 'public-read', |
| 334 'gclient_env': {'GYP_DEFINES': ubsan_gyp}})) | 334 'gclient_env': {'GYP_DEFINES': ubsan_gyp}})) |
| 335 | 335 |
| 336 ubsan_vptr_gyp = ('ubsan_vptr=1') | 336 ubsan_vptr_gyp = ('ubsan_vptr=1 sanitizer_coverage=3 ') |
| 337 | 337 |
| 338 B('UBSan vptr Release', 'linux_ubsan_vptr_rel', 'compile', 'chromium_lkgr') | 338 B('UBSan vptr Release', 'linux_ubsan_vptr_rel', 'compile', 'chromium_lkgr') |
| 339 F('linux_ubsan_vptr_rel', linux().ChromiumFactory( | 339 F('linux_ubsan_vptr_rel', linux().ChromiumFactory( |
| 340 clobber=True, | 340 clobber=True, |
| 341 target='Release', | 341 target='Release', |
| 342 options=['--compiler=goma-clang', 'chromium_builder_asan'], | 342 options=['--compiler=goma-clang', 'chromium_builder_asan'], |
| 343 factory_properties={ | 343 factory_properties={ |
| 344 'cf_archive_build': ActiveMaster.is_production_host, | 344 'cf_archive_build': ActiveMaster.is_production_host, |
| 345 'cf_archive_subdir_suffix': 'vptr', | 345 'cf_archive_subdir_suffix': 'vptr', |
| 346 'cf_archive_name': 'ubsan-vptr', | 346 'cf_archive_name': 'ubsan-vptr', |
| (...skipping 20 matching lines...) Expand all Loading... |
| 367 annotation_script='src/build/android/buildbot/bb_run_bot.py', | 367 annotation_script='src/build/android/buildbot/bb_run_bot.py', |
| 368 )) | 368 )) |
| 369 | 369 |
| 370 | 370 |
| 371 def Update(_config, active_master, c): | 371 def Update(_config, active_master, c): |
| 372 lkgr_poller = gitiles_poller.GitilesPoller( | 372 lkgr_poller = gitiles_poller.GitilesPoller( |
| 373 'https://chromium.googlesource.com/chromium/src', | 373 'https://chromium.googlesource.com/chromium/src', |
| 374 branches=['lkgr']) | 374 branches=['lkgr']) |
| 375 c['change_source'].append(lkgr_poller) | 375 c['change_source'].append(lkgr_poller) |
| 376 return helper.Update(c) | 376 return helper.Update(c) |
| OLD | NEW |