GoogleGit

blob: cf987f169bdf227755cfc8fd7d865285df2b9bd0 [file] [log] [blame]
  1. # vim: ft=python:
  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
  4. # found in the LICENSE file.
  5. from buildbot.changes.filter import ChangeFilter
  6. from buildbot.scheduler import Dependent
  7. from buildbot.scheduler import Nightly
  8. from buildbot.scheduler import Periodic
  9. from buildbot.scheduler import Scheduler
  10. from buildbot.scheduler import Triggerable
  11. from buildbot.status.mail import MailNotifier
  12. from common import chromium_utils
  13. # These modules come from scripts/master, which must be in the PYTHONPATH.
  14. from master import build_utils
  15. from master import chromium_notifier
  16. from master import failures_notifier
  17. from master import master_config
  18. from master import master_utils
  19. from master import slaves_list
  20. from master import gitiles_poller
  21. from master.factory import annotator_factory
  22. from master.factory import chromium_factory
  23. # These modules come from scripts/common, which must be in the PYTHONPATH.
  24. import config
  25. import master_site_config
  26. import master_win_drmemory_cfg
  27. ActiveMaster = master_site_config.ChromiumFYI
  28. DRMEMORY_NOTIFIER = True
  29. STATUS_PUSH = False
  30. # This is the dictionary that the buildmaster pays attention to. We also use
  31. # a shorter alias to save typing.
  32. c = BuildmasterConfig = {}
  33. c['status'] = []
  34. config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host)
  35. ####### CHANGESOURCES
  36. # Polls config.Master.trunk_url for changes
  37. chromium_repo_url = config.Master.git_server_url + '/chromium/src'
  38. trunk_poller = gitiles_poller.GitilesPoller(chromium_repo_url,
  39. project='chromium')
  40. c['change_source'] = [trunk_poller]
  41. # Polls the blink merging practice repo.
  42. chromium_practice_repo_url = \
  43. config.Master.git_server_url + '/playground/chromium-blink-merge'
  44. practice_poller = gitiles_poller.GitilesPoller(chromium_practice_repo_url,
  45. project='chromium-playground')
  46. c['change_source'].append(practice_poller)
  47. s_practice = Scheduler(
  48. name='chromium-practice',
  49. treeStableTimer=60,
  50. change_filter=ChangeFilter(project='chromium-playground', branch='master'),
  51. builderNames=['ChromiumPractice',
  52. ])
  53. s_practice_builder = Triggerable(
  54. name='cr_practice', builderNames=['ChromiumPracticeTester'])
  55. # Number of machines to shard ash browser_tests over.
  56. ASH_SHARDS = 2
  57. ####### SCHEDULERS
  58. ## configure the Schedulers
  59. # Main scheduler for all changes in trunk.
  60. s_chromium = Scheduler(
  61. name='chromium',
  62. treeStableTimer=60,
  63. change_filter=ChangeFilter(project='chromium', branch='master'),
  64. builderNames=['Chromium Builder',
  65. 'Chromium Windows Analyze',
  66. 'Chromium Windows Instant Extended',
  67. 'Chromium Linux Buildrunner',
  68. 'Chromium Windows Buildrunner',
  69. 'Chromium Builder (dbg)',
  70. # The bots need a short name to work around crbug.com/399990.
  71. 'Cr Win VS2013 (dbg)',
  72. 'Cr Win VS2013',
  73. 'CrWinGoma',
  74. 'CrWinGoma(dll)', # not (shared) cause crbug.com/399990
  75. 'CrWin7Goma',
  76. 'CrWin7Goma(dll)', # not (shared) cause crbug.com/399990
  77. 'CrWin7Goma(dbg)',
  78. 'CrWin7Goma(clbr)', # not (clobber) cause crbug.com/399990
  79. 'CrWinClangGoma',
  80. 'CrWinClang',
  81. 'CrWinClang(dbg)',
  82. 'CrWinClang(shared)',
  83. 'CrWinClang64',
  84. 'CrWinClang64(dbg)',
  85. 'CrWinClang64(dll)', # not (shared) cause crbug.com/399990
  86. 'CrWinClangLLD',
  87. 'CrWinClngLLDdbg',
  88. 'CrWinClangLLD64',
  89. 'CrWinClngLLD64dbg', # not (dbg) cause crbug.com/399990
  90. 'CrWinAsan',
  91. 'CrWinAsanCov',
  92. 'ClangToTLinux',
  93. 'ClangToTLinux (dbg)',
  94. 'ClangToTLinuxASan',
  95. 'ClangToTAndroidASan',
  96. 'ClangToTMac',
  97. 'ClangToTMac (dbg)',
  98. 'ClangToTMacASan',
  99. 'ClangToTiOS',
  100. 'ClangToTWin',
  101. 'ClangToTWin(dbg)',
  102. 'ClangToTWin(dll)', # not (shared) cause crbug.com/399990
  103. 'ClangToTWin64',
  104. 'ClangToTWin64(dbg)',
  105. 'ClangToTWin64(dll)', # not (shared) cause crbug.com/399990
  106. 'CrWinAsan(dll)', # not (asan/shared) cause crbug.com/399990
  107. 'Chromium Win x64 Clobber',
  108. 'Chromium Win PGO Builder',
  109. 'Chromium Win x64 PGO Builder',
  110. 'Blink Linux LSan ASan',
  111. 'Windows Builder (DrMemory)',
  112. 'Windows Builder (DrMemory x64)',
  113. 'Android Builder (dbg)',
  114. 'Android x86 Builder (dbg)',
  115. 'Android User Builder Tests',
  116. 'Android Asan Builder Tests (dbg)',
  117. 'Android x64 Builder (dbg)',
  118. 'Chromium_iOS_Simulator_(dbg)',
  119. 'Chromium_iOS_Device',
  120. 'Chromium_iOS_Device_(ninja)',
  121. 'More NaCl Tests (mac)',
  122. 'More NaCl Tests (linux)',
  123. 'Chromium Linux Goma Canary',
  124. 'Chromium Linux Goma Canary (clobber)',
  125. 'Chromium Linux Precise Goma LinkTest',
  126. 'Chromium Linux32 Goma Canary (clobber)',
  127. 'Chromium Mac 10.9 Goma Canary',
  128. 'Chromium Mac 10.9 Goma Canary (dbg)',
  129. 'Chromium Mac 10.9 Goma Canary (clobber)',
  130. 'Chromium Mac 10.9 Goma Canary (dbg)(clobber)',
  131. 'Chromium Mac 10.10',
  132. 'Windows 8 App Certification',
  133. 'ChromiumOS Linux Tests',
  134. 'Ozone ECS Linux',
  135. 'Linux ARM Cross-Compile',
  136. 'Linux Trusty',
  137. 'Linux Trusty (32)',
  138. 'Linux Trusty (dbg)',
  139. 'Linux Trusty (dbg)(32)',
  140. 'Linux V8 API Stability',
  141. 'Print Preview Linux',
  142. 'Print Preview Mac',
  143. 'Print Preview Win',
  144. 'Site Isolation Linux',
  145. 'Site Isolation Win',
  146. 'Browser Side Navigation Linux',
  147. 'Closure Compilation Linux',
  148. 'CFI Linux',
  149. 'CFI Linux CF',
  150. 'Chromium Win 10',
  151. ])
  152. # Triggerable scheduler for Windows Release.
  153. s_chromium_win_rel = Triggerable(
  154. name='win_rel',
  155. builderNames=['Chromium Win MiniInstaller Tests',
  156. 'More NaCl Tests (win32)',
  157. 'More NaCl Tests (win64)',
  158. 'Win8 Tests (1)',
  159. 'Win8 Tests (2)',])
  160. # Triggerable scheduler for Windows Debug.
  161. s_chromium_win_dbg = Triggerable(
  162. name='win_dbg',
  163. builderNames=['Vista Tests (dbg)(1)',
  164. 'Vista Tests (dbg)(2)',])
  165. # Triggerable scheduler for Android Builder
  166. s_chromium_android_dbg = Triggerable(
  167. name='android_dbg',
  168. builderNames=['Android Tests (L Nexus5)(dbg)',
  169. 'Android ChromeDriver Tests (dbg)',
  170. 'Android Tests (amp split)',
  171. 'Android Tests (trial)(dbg)',])
  172. # Windows Dr. Memory build-bot list
  173. t_drmemory_bots=[
  174. 'Windows Tests (DrMemory XP)',
  175. 'Windows Tests (DrMemory)',
  176. ]
  177. # Windows Browser (DrMemory light)
  178. WINDOWS_BROWSER_DRMEMORY_LIGHT_TESTERS = 2
  179. for i in range(WINDOWS_BROWSER_DRMEMORY_LIGHT_TESTERS):
  180. t_drmemory_bots.append('Windows Browser (DrMemory light) (%d)' % (i+1))
  181. s_chromium_windows_drmemory_trigger = Triggerable(
  182. name='chromium_windows_drmemory',
  183. builderNames=t_drmemory_bots)
  184. # Windows Dr. Memory x64 build-bot list
  185. t_drmemory_64_bots=[
  186. 'Windows Tests (DrMemory x64)',
  187. ]
  188. s_chromium_windows_drmemory_64_trigger = Triggerable(
  189. name='chromium_windows_drmemory_64',
  190. builderNames=t_drmemory_64_bots)
  191. # Triggerable scheduler for Linux ARM
  192. s_chromium_linux_arm = Triggerable(
  193. name='chromium_linux_arm',
  194. builderNames=[
  195. 'Linux ARM Tests (Panda)'
  196. ])
  197. # Triggerable schedulers for clang/win bots
  198. s_win_clang = Triggerable(
  199. name='cr_win_clang', builderNames=['CrWinClang tester'])
  200. s_win_clang_dbg = Triggerable(
  201. name='cr_win_clang_dbg', builderNames=['CrWinClang(dbg) tester'])
  202. s_win_clang_shared = Triggerable(
  203. name='cr_win_clang_shared', builderNames=['CrWinClang(shared) tester'])
  204. s_win_clang_64 = Triggerable(
  205. name='cr_win_clang_64',
  206. builderNames=['CrWinClang64 tester'])
  207. s_win_clang_64_dbg = Triggerable(
  208. name='cr_win_clang_64_dbg',
  209. builderNames=['CrWinClang64(dbg) tester'])
  210. s_win_clang_64_shared = Triggerable(
  211. name='cr_win_clang_64_shared',
  212. builderNames=['CrWinClang64(dll) tester'])
  213. s_win_clang_lld = Triggerable(
  214. name='cr_win_clang_lld', builderNames=['CrWinClangLLD tester'])
  215. s_win_clang_lld_dbg = Triggerable(
  216. name='cr_win_clang_lld_dbg', builderNames=['CrWinClngLLDdbg tester'])
  217. s_win_clang_lld64 = Triggerable(
  218. name='cr_win_clang_lld64', builderNames=['CrWinClangLLD64 tester'])
  219. s_win_clang_lld64_dbg = Triggerable(
  220. name='cr_win_clang_lld64_dbg', builderNames=['CrWinClngLLD64dbg tester'])
  221. s_win_clang_asan = Triggerable(
  222. name='cr_win_clang_asan', builderNames=['CrWinAsan tester'])
  223. s_win_clang_asan_shared = Triggerable(
  224. name='cr_win_clang_asan_shared', builderNames=['CrWinAsan(dll) tester'])
  225. s_win_clang_asan_coverage = Triggerable(
  226. name='cr_win_clang_asan_coverage', builderNames=['CrWinAsanCov tester'])
  227. # Triggerable schedulers for Clang ToT bots.
  228. s_clang_tot_linux = Triggerable(
  229. name='clang_tot_linux', builderNames=['ClangToTLinux tester'])
  230. s_clang_tot_linux_asan = Triggerable(
  231. name='clang_tot_linux_asan', builderNames=['ClangToTLinuxASan tester'])
  232. s_clang_tot_mac = Triggerable(
  233. name='clang_tot_mac', builderNames=['ClangToTMac tester'])
  234. s_clang_tot_mac_asan = Triggerable(
  235. name='clang_tot_mac_asan', builderNames=['ClangToTMacASan tester'])
  236. s_clang_tot_win = Triggerable(
  237. name='clang_tot_win', builderNames=['ClangToTWin tester'])
  238. s_clang_tot_win_dbg = Triggerable(
  239. name='clang_tot_win_dbg', builderNames=['ClangToTWin(dbg) tester'])
  240. s_clang_tot_win_dll = Triggerable(
  241. name='clang_tot_win_dll', builderNames=['ClangToTWin(dll) tester'])
  242. s_clang_tot_win64 = Triggerable(
  243. name='clang_tot_win64', builderNames=['ClangToTWin64 tester'])
  244. s_clang_tot_win64_dbg = Triggerable(
  245. name='clang_tot_win64_dbg', builderNames=['ClangToTWin64(dbg) tester'])
  246. s_clang_tot_win64_dll = Triggerable(
  247. name='clang_tot_win64_dll', builderNames=['ClangToTWin64(dll) tester'])
  248. c['schedulers'] = [s_chromium,
  249. s_chromium_android_dbg,
  250. s_chromium_win_rel,
  251. s_chromium_win_dbg,
  252. s_chromium_windows_drmemory_trigger,
  253. s_chromium_windows_drmemory_64_trigger,
  254. s_chromium_linux_arm,
  255. s_win_clang,
  256. s_win_clang_dbg,
  257. s_win_clang_shared,
  258. s_win_clang_64,
  259. s_win_clang_64_dbg,
  260. s_win_clang_64_shared,
  261. s_win_clang_lld,
  262. s_win_clang_lld_dbg,
  263. s_win_clang_lld64,
  264. s_win_clang_lld64_dbg,
  265. s_win_clang_asan,
  266. s_win_clang_asan_shared,
  267. s_win_clang_asan_coverage,
  268. s_practice,
  269. s_practice_builder,
  270. s_clang_tot_linux,
  271. s_clang_tot_linux_asan,
  272. s_clang_tot_mac,
  273. s_clang_tot_mac_asan,
  274. s_clang_tot_win,
  275. s_clang_tot_win_dbg,
  276. s_clang_tot_win_dll,
  277. s_clang_tot_win64,
  278. s_clang_tot_win64_dbg,
  279. s_clang_tot_win64_dll,
  280. ]
  281. ####### BUILDERS
  282. # buildbot/process/factory.py provides several BuildFactory classes you can
  283. # start with, which implement build processes for common targets (GNU
  284. # autoconf projects, CPAN perl modules, etc). The factory.BuildFactory is the
  285. # base class, and is configured with a series of BuildSteps. When the build
  286. # is run, the appropriate buildslave is told to execute each Step in turn.
  287. # the first BuildStep is typically responsible for obtaining a copy of the
  288. # sources. There are source-obtaining Steps in buildbot/process/step.py for
  289. # CVS, SVN, and others.
  290. builders = []
  291. # ----------------------------------------------------------------------------
  292. # FACTORIES
  293. F = chromium_factory.ChromiumFactory
  294. def win(): return F('src/chrome', 'win32')
  295. def win_build(): return F('src/build', 'win32')
  296. def win_out(): return F('src/out', 'win32')
  297. def mac(): return F('src/xcodebuild', 'darwin')
  298. def linux(**kwargs): return F('src/out', 'linux2', **kwargs)
  299. def ios(): return F('src/xcodebuild', 'darwin')
  300. def chromeos():
  301. return F('src/build', 'linux2')
  302. def linux_android(custom_deps_list=None):
  303. return F('src/build', 'linux2', nohooks_on_update=True, target_os='android',
  304. custom_deps_list=custom_deps_list)
  305. chromium_rel_archive = master_config.GetGSUtilUrl(
  306. 'chromium-build-transfer', 'Chromium FYI Builder')
  307. chromium_dbg_archive = master_config.GetGSUtilUrl(
  308. 'chromium-build-transfer', 'Chromium FYI Builder (dbg)')
  309. chromium_windows_drmemory_archive = master_config.GetGSUtilUrl(
  310. 'chromium-build-transfer', 'drm-cr')
  311. chromium_windows_drmemory_64_archive = master_config.GetGSUtilUrl(
  312. 'chromium-build-transfer', 'drm-cr-64')
  313. chromium_android_fyi_dbg_archive = master_config.GetGSUtilUrl(
  314. 'chromium-fyi-archive', 'chromium.fyi/Android Builder (dbg)')
  315. # The identifier of the factory is the build configuration. If two factories
  316. # are using the same build configuration, they should have the same identifier.
  317. f_chromium_rel_builder = win_build().ChromiumFactory(
  318. slave_type='Builder',
  319. build_url=chromium_rel_archive,
  320. project='all.sln;chromium_builder_tests',
  321. factory_properties={'trigger': 'win_rel',
  322. 'gclient_env': {
  323. 'GYP_DEFINES': 'fastbuild=1',
  324. 'GYP_MSVS_VERSION': '2015',
  325. }})
  326. f_chromium_dbg_builder = win_build().ChromiumFactory(
  327. slave_type='Builder',
  328. build_url=chromium_dbg_archive,
  329. target='Debug',
  330. project='all.sln;chromium_builder_tests',
  331. factory_properties={'trigger': 'win_dbg',
  332. 'gclient_env': {
  333. 'GYP_DEFINES': 'fastbuild=1',
  334. 'GYP_MSVS_VERSION': '2015',
  335. }})
  336. f_chromium_win_pgo_builder = \
  337. annotator_factory.AnnotatorFactory().BaseFactory(recipe='chromium_pgo',
  338. timeout=24000)
  339. f_chromium_win_x64_pgo_builder = \
  340. annotator_factory.AnnotatorFactory().BaseFactory(recipe='chromium_pgo',
  341. timeout=24000)
  342. f_win_analyze = \
  343. annotator_factory.AnnotatorFactory().BaseFactory(
  344. recipe='win_analyze')
  345. f_win_instantextended = win_build().ChromiumFactory(
  346. project='all.sln;chromium_builder_tests',
  347. tests=[
  348. 'instant_extended_manual_tests',
  349. 'buildrunner_tests',
  350. ],
  351. slave_type='BuilderTester',
  352. factory_properties={
  353. 'gclient_env': {
  354. 'GYP_DEFINES': 'fastbuild=1',
  355. },
  356. 'process_dumps': True,
  357. 'start_crash_handler': True,
  358. 'generate_gtest_json': True,
  359. })
  360. f_linux_buildrunner = linux().ChromiumFactory(
  361. tests=['base_unittests_br',
  362. 'browser_tests_br',
  363. 'cacheinvalidation_br',
  364. 'content_browsertests_br',
  365. 'crypto_br',
  366. 'dbus_br',
  367. 'display_unittests_br',
  368. 'gfx_unittests_br',
  369. 'gpu_br',
  370. 'jingle_br',
  371. 'media_br',
  372. 'net_br',
  373. 'ppapi_unittests_br',
  374. 'printing_br',
  375. 'remoting_br',
  376. 'unit_br',
  377. 'url_unittests_br',
  378. 'buildrunner_tests',
  379. ],
  380. options=['--compiler=goma'],
  381. slave_type='Builder',
  382. factory_properties={
  383. 'archive_build': False,
  384. 'generate_gtest_json': True,
  385. 'gclient_env': {
  386. 'GYP_DEFINES': 'target_arch=x64 '
  387. 'tests_run=noop,component=shared_library'}
  388. })
  389. f_win_buildrunner = win_build().ChromiumFactory(
  390. project='all.sln;chromium_builder_tests',
  391. tests=['base_unittests_br',
  392. 'browser_tests_br',
  393. 'cacheinvalidation_br',
  394. 'content_browsertests_br',
  395. 'courgette_br',
  396. 'crypto_br',
  397. 'gfx_unittests_br',
  398. 'gpu_br',
  399. 'installer_br',
  400. 'jingle_br',
  401. 'media_br',
  402. 'ppapi_unittests_br',
  403. 'printing_br',
  404. 'remoting_br',
  405. 'sandbox_br',
  406. 'url_unittests_br',
  407. 'buildrunner_tests',
  408. ],
  409. slave_type='Builder',
  410. factory_properties={'gclient_env': {'GYP_DEFINES': 'fastbuild=1'},
  411. 'process_dumps': True,
  412. 'start_crash_handler': True,
  413. 'generate_gtest_json': True,
  414. 'archive_build': False,
  415. })
  416. def without(these, notthese):
  417. return [x for x in these if x not in notthese]
  418. tests_win_1 = ['base_unittests',
  419. 'cacheinvalidation_unittests',
  420. 'chrome_elf_unittests',
  421. 'components_unittests',
  422. 'courgette_unittests',
  423. 'crypto_unittests',
  424. 'device_unittests',
  425. 'extensions_unittests',
  426. 'gcm_unit_tests',
  427. 'google_apis_unittests',
  428. 'gpu',
  429. 'installer',
  430. 'jingle',
  431. 'media',
  432. 'net',
  433. 'ppapi_unittests',
  434. 'printing',
  435. 'remoting',
  436. 'sandbox',
  437. 'unit',
  438. 'url_unittests',
  439. ]
  440. tests_win_2 = ['browser_tests',
  441. 'content_browsertests']
  442. f_chromium_dbg_tests_1 = win_build().ChromiumFactory(
  443. slave_type='Tester',
  444. target='Debug',
  445. build_url=chromium_dbg_archive,
  446. tests=tests_win_1,
  447. factory_properties={'process_dumps': True,
  448. 'start_crash_handler': True})
  449. f_chromium_dbg_tests_2 = win_build().ChromiumFactory(
  450. slave_type='Tester',
  451. target='Debug',
  452. build_url=chromium_dbg_archive,
  453. tests=tests_win_2,
  454. factory_properties={'process_dumps': True,
  455. 'start_crash_handler': True})
  456. f_chromium_rel_tests_1 = win_build().ChromiumFactory(
  457. slave_type='Tester',
  458. build_url=chromium_rel_archive,
  459. tests=tests_win_1,
  460. factory_properties={'process_dumps': True,
  461. 'start_crash_handler': True})
  462. f_chromium_rel_tests_2 = win_build().ChromiumFactory(
  463. slave_type='Tester',
  464. build_url=chromium_rel_archive,
  465. tests=tests_win_2,
  466. factory_properties={'process_dumps': True,
  467. 'start_crash_handler': True})
  468. f_cr_win_rel_mini_installer = win_build().ChromiumFactory(
  469. slave_type='Tester',
  470. build_url=chromium_rel_archive,
  471. tests=['test_installer'],
  472. factory_properties={'process_dumps': True,
  473. 'start_crash_handler': True,})
  474. f_chromium_rel_win_morenacl = win().ChromiumFactory(
  475. target='Release',
  476. slave_type='Tester',
  477. build_url=chromium_rel_archive,
  478. tests=['nacl_integration'],
  479. factory_properties={'process_dumps': True,
  480. 'start_crash_handler': True})
  481. f_chromium_rel_mac_morenacl = mac().ChromiumFactory(
  482. target='Release',
  483. tests=['nacl_integration'],
  484. options=['--compiler=goma-clang'])
  485. f_chromium_rel_linux_morenacl = linux().ChromiumFactory(
  486. target='Release',
  487. tests=['nacl_integration'])
  488. f_blink_linux_lsan_asan = linux().ChromiumFactory(
  489. tests=['webkit'],
  490. options=[
  491. '--build-tool=ninja',
  492. '--compiler=goma-clang',
  493. '--',
  494. 'blink_tests'
  495. ],
  496. factory_properties={
  497. 'additional_expectations': [
  498. ['third_party', 'WebKit', 'LayoutTests', 'ASANExpectations' ],
  499. ],
  500. 'archive_webkit_results': False,
  501. 'asan': True,
  502. 'blink_config': 'blink',
  503. 'gclient_env': {
  504. 'GYP_DEFINES': 'asan=1 lsan=1',
  505. 'GYP_GENERATORS': 'ninja',
  506. },
  507. 'generate_gtest_json': True,
  508. 'lsan': True,
  509. 'time_out_ms': '48000',
  510. 'webkit_test_options': ['--enable-sanitizer'],
  511. }
  512. )
  513. # DrMemory Builder
  514. f_chromium_windows_drmemory_builder = win_out().ChromiumFactory(
  515. target='Release',
  516. slave_type='Builder',
  517. # TODO(bruening): remove "_dbg" from this name in all.gyp as it is
  518. # not limited to just Debug.
  519. options=['--build-tool=ninja', '--', 'chromium_builder_dbg_drmemory_win'],
  520. factory_properties={
  521. 'gclient_env': { 'GYP_DEFINES' : ('build_for_tool=drmemory '
  522. 'component=shared_library'),
  523. },
  524. 'package_pdb_files': True,
  525. 'trigger': 'chromium_windows_drmemory',
  526. 'build_url': chromium_windows_drmemory_archive,
  527. }
  528. )
  529. # DrMemory x64 Builder
  530. f_chromium_windows_drmemory_64_builder = win_out().ChromiumFactory(
  531. target='Release_x64',
  532. slave_type='Builder',
  533. # TODO(bruening): remove "_dbg" from this name in all.gyp as it is
  534. # not limited to just Debug.
  535. options=['--build-tool=ninja', '--', 'chromium_builder_dbg_drmemory_win'],
  536. factory_properties={
  537. 'gclient_env': {
  538. 'GYP_DEFINES' : (
  539. 'build_for_tool=drmemory component=shared_library '
  540. 'target_arch=x64'),
  541. },
  542. 'package_pdb_files': True,
  543. 'trigger': 'chromium_windows_drmemory',
  544. 'build_url': chromium_windows_drmemory_64_archive,
  545. }
  546. )
  547. # Windows Tests (DrMemory XP)
  548. f_chromium_rel_win_drmemory = win_out().ChromiumFactory(
  549. slave_type='Tester',
  550. target='Release',
  551. build_url=chromium_windows_drmemory_archive,
  552. tests=[
  553. 'drmemory_light_url',
  554. 'drmemory_light_printing',
  555. 'drmemory_light_media',
  556. 'drmemory_light_sql',
  557. 'drmemory_light_crypto',
  558. 'drmemory_light_remoting',
  559. 'drmemory_light_ipc_tests',
  560. 'drmemory_light_base_unittests',
  561. 'drmemory_light_net',
  562. # run tests in shards to decrease the number of reports per shard.
  563. 'drmemory_light_unit_1_of_3',
  564. 'drmemory_light_unit_2_of_3',
  565. 'drmemory_light_unit_3_of_3',
  566. ],
  567. factory_properties={'halt_on_missing_build': True}
  568. )
  569. # Windows Tests (DrMemory)
  570. f_chromium_rel_win_tests_drmemory = win_out().ChromiumFactory(
  571. slave_type='Tester',
  572. target='Release',
  573. build_url=chromium_windows_drmemory_archive,
  574. tests=[
  575. 'drmemory_light_webkit',
  576. 'drmemory_full_webkit',
  577. ],
  578. factory_properties={'halt_on_missing_build': True}
  579. )
  580. # Windows Tests (DrMemory x64)
  581. f_chromium_rel_win_tests_drmemory_64 = win_out().ChromiumFactory(
  582. slave_type='Tester',
  583. target='Release',
  584. build_url=chromium_windows_drmemory_64_archive,
  585. tests=[
  586. 'drmemory_light_url',
  587. 'drmemory_light_printing',
  588. 'drmemory_light_media',
  589. ],
  590. factory_properties={'halt_on_missing_build': True}
  591. )
  592. win_x64_tests = [
  593. 'base_unittests',
  594. 'cacheinvalidation_unittests',
  595. 'cc_unittests',
  596. 'chromedriver_unittests',
  597. 'components_unittests',
  598. 'content_browsertests',
  599. 'courgette_unittests',
  600. 'crypto_unittests',
  601. 'gcm_unit_tests',
  602. 'gpu',
  603. 'installer',
  604. 'interactive_ui_tests',
  605. 'jingle',
  606. 'media',
  607. 'nacl_integration',
  608. 'net',
  609. 'ppapi_unittests',
  610. 'printing',
  611. 'remoting',
  612. 'sandbox',
  613. 'unit',
  614. 'url_unittests',
  615. # These are long, so do them last
  616. 'browser_tests',
  617. 'sync_integration',
  618. ]
  619. f_chromium_win_x64 = win_out().ChromiumFactory(
  620. slave_type='BuilderTester',
  621. clobber=True,
  622. target='Release_x64',
  623. tests=win_x64_tests,
  624. options=['--build-tool=ninja', '--', 'chromium_builder_tests'],
  625. factory_properties={
  626. 'gclient_env': {
  627. 'GYP_DEFINES': 'target_arch=x64',
  628. }})
  629. f_chromium_win_shared_2013_dbg = win_out().ChromiumFactory(
  630. slave_type='BuilderTester',
  631. options=['chromium_builder_tests'],
  632. tests=tests_win_1,
  633. target='Debug',
  634. factory_properties={
  635. 'gclient_env': {
  636. 'GYP_DEFINES': 'component=shared_library fastbuild=1',
  637. }})
  638. f_chromium_win_shared_2013 = win_out().ChromiumFactory(
  639. slave_type='BuilderTester',
  640. options=['chromium_builder_tests'],
  641. tests=tests_win_1,
  642. target='Release',
  643. factory_properties={
  644. 'gclient_env': {
  645. 'GYP_DEFINES': 'component=shared_library fastbuild=1',
  646. }})
  647. f_chromium_dbg_android_mips_builder = \
  648. annotator_factory.AnnotatorFactory().BaseFactory(
  649. recipe='android/builder')
  650. f_chromium_dbg_android_x86_builder = \
  651. linux_android().ChromiumAnnotationFactory(
  652. target='Debug',
  653. slave_type='AnnotatedBuilder',
  654. annotation_script='src/build/android/buildbot/bb_run_bot.py',
  655. factory_properties={
  656. 'android_bot_id': 'fyi-x86-builder-dbg',
  657. })
  658. f_chromium_rel_android_builder_tests = \
  659. linux_android().ChromiumAnnotationFactory(
  660. target='Release',
  661. slave_type='AnnotatedBuilder',
  662. annotation_script='src/build/android/buildbot/bb_run_bot.py',
  663. factory_properties={
  664. 'android_bot_id': 'fyi-user-builder-unit-tests-rel',
  665. })
  666. f_chromium_dbg_android_shared = \
  667. linux_android().ChromiumAnnotationFactory(
  668. target='Debug',
  669. slave_type='AnnotatedBuilder',
  670. annotation_script='src/build/android/buildbot/bb_run_bot.py',
  671. factory_properties={
  672. 'android_bot_id': 'fyi-component-builder-tests-dbg',
  673. })
  674. def f_chromium_dbg_android_tests(bot_id_suffix):
  675. return linux_android().ChromiumAnnotationFactory(
  676. target='Debug',
  677. annotation_script='src/build/android/buildbot/bb_run_bot.py',
  678. factory_properties={
  679. 'android_bot_id': 'fyi-tests-dbg-%s' % bot_id_suffix,
  680. 'build_url': chromium_android_fyi_dbg_archive,
  681. 'gclient_timeout': 3600
  682. })
  683. def f_chromium_dbg_android_tests_user_build(bot_id_suffix):
  684. return linux_android().ChromiumAnnotationFactory(
  685. target='Debug',
  686. annotation_script='src/build/android/buildbot/bb_run_bot.py',
  687. factory_properties={
  688. 'android_bot_id': 'user-build-fyi-tests-dbg-%s' % bot_id_suffix,
  689. 'build_url': chromium_android_fyi_dbg_archive,
  690. 'gclient_timeout': 3600
  691. })
  692. f_chromium_dbg_android_chromedriver_tests = \
  693. linux_android(
  694. custom_deps_list=[F.CUSTOM_DEPS_WEBDRIVER_JAVA_TESTS]
  695. ).ChromiumAnnotationFactory(
  696. target='Debug',
  697. annotation_script='src/build/android/buildbot/bb_run_bot.py',
  698. factory_properties={
  699. 'android_bot_id': 'chromedriver-fyi-tests-dbg',
  700. 'build_url': chromium_android_fyi_dbg_archive,
  701. })
  702. f_chromium_dbg_android_asan_builder_tests = \
  703. linux_android().ChromiumAnnotationFactory(
  704. target='Debug',
  705. annotation_script='src/build/android/buildbot/bb_run_bot.py',
  706. factory_properties={
  707. 'android_bot_id': 'asan-builder-tests-dbg',
  708. })
  709. f_chromium_dbg_android_aosp_builder = \
  710. annotator_factory.AnnotatorFactory().BaseFactory(
  711. recipe='android_webview_aosp')
  712. f_chromium_mac_1010 = annotator_factory.AnnotatorFactory().BaseFactory(
  713. 'chromium')
  714. f_windows_8_app_certification = win().ChromiumFactory(
  715. tests=[],
  716. options=[],
  717. factory_properties={})
  718. f_chromiumos_linux_tests = linux().ChromiumFactory(
  719. slave_type='BuilderTester',
  720. target='Debug',
  721. tests=['sync_integration'],
  722. factory_properties={
  723. 'test_results_server': 'test-results.appspot.com',
  724. 'generate_gtest_json': True,
  725. })
  726. # ----------------------------------------------------------------------------
  727. # BUILDER DEFINITIONS
  728. # The 'builders' list defines the Builders. Each one is configured with a
  729. # dictionary, using the following keys:
  730. # name (required): the name used to describe this bilder
  731. # slavename (required): which slave to use, must appear in c['slaves']
  732. # builddir (optional): which subdirectory to run the builder in
  733. # factory (required): a BuildFactory to define how the build is run
  734. # periodicBuildTime (optional): if set, force a build every N seconds
  735. # category (optional): it is not used in the normal 'buildbot' meaning. It is
  736. # used by gatekeeper to determine which steps it should
  737. # look for to close the tree.
  738. #
  739. m_annotator = annotator_factory.AnnotatorFactory()
  740. b_linux_practice = {
  741. 'name': 'ChromiumPractice',
  742. 'builddir': 'chromiumpractice',
  743. 'factory': m_annotator.BaseFactory('chromium', triggers=['cr_practice']),
  744. 'category': 'githack',
  745. 'auto_reboot': False,
  746. }
  747. b_linux_practice_tester = {
  748. 'name': 'ChromiumPracticeTester',
  749. 'factory': m_annotator.BaseFactory('chromium'),
  750. 'category': 'githack',
  751. 'auto_reboot': False,
  752. }
  753. b_chromium_win_analyze = {'name': 'Chromium Windows Analyze',
  754. 'builddir': 'Chromium_Windows_Analyze',
  755. 'factory': f_win_analyze,
  756. 'auto_reboot': False,
  757. }
  758. b_chromium_win_instantextended = {'name': 'Chromium Windows Instant Extended',
  759. 'builddir': 'Chromium_Windows_Instant_Extended',
  760. 'factory': f_win_instantextended,
  761. 'auto_reboot': False,
  762. }
  763. b_chromium_lin_buildrunner = {'name': 'Chromium Linux Buildrunner',
  764. 'builddir': 'Chromium_Linux_Buildrunner',
  765. 'factory': f_linux_buildrunner,
  766. 'auto_reboot': False,
  767. }
  768. b_chromium_win_buildrunner = {'name': 'Chromium Windows Buildrunner',
  769. 'builddir': 'Chromium_Windows_Buildrunner',
  770. 'factory': f_win_buildrunner,
  771. 'auto_reboot': False,
  772. }
  773. b_chromium_rel_builder = {'name': 'Chromium Builder',
  774. 'builddir': 'chromium-rel-builder',
  775. 'factory': f_chromium_rel_builder,
  776. 'category': 'windows',
  777. 'auto_reboot': False,
  778. }
  779. b_chromium_dbg_builder = {'name': 'Chromium Builder (dbg)',
  780. 'builddir': 'chromium-dbg-builder',
  781. 'factory': f_chromium_dbg_builder,
  782. 'category': 'windows',
  783. 'auto_reboot': False,
  784. }
  785. b_chromium_win_pgo_builder = {
  786. 'name': 'Chromium Win PGO Builder',
  787. 'builddir': 'chromium-win-pgo-builder',
  788. 'factory': f_chromium_win_pgo_builder,
  789. 'category': 'windows',
  790. 'auto_reboot': False,
  791. }
  792. b_chromium_win_x64_pgo_builder = {
  793. 'name': 'Chromium Win x64 PGO Builder',
  794. 'builddir': 'chromium-win-x64-pgo-builder',
  795. 'factory': f_chromium_win_x64_pgo_builder,
  796. 'category': 'windows',
  797. 'auto_reboot': False,
  798. }
  799. b_chromium_dbg_vista_tests_1 = {
  800. 'name': 'Vista Tests (dbg)(1)',
  801. 'factory': f_chromium_dbg_tests_1,
  802. 'category': 'windows',
  803. 'auto_reboot': False,
  804. }
  805. b_chromium_dbg_vista_tests_2 = {
  806. 'name': 'Vista Tests (dbg)(2)',
  807. 'factory': f_chromium_dbg_tests_2,
  808. 'category': 'windows',
  809. 'auto_reboot': False,
  810. }
  811. b_chromium_rel_win8_tests_1 = {
  812. 'name': 'Win8 Tests (1)',
  813. 'factory': f_chromium_rel_tests_1,
  814. 'category': 'windows',
  815. 'auto_reboot': False,
  816. }
  817. b_chromium_rel_win8_tests_2 = {
  818. 'name': 'Win8 Tests (2)',
  819. 'factory': f_chromium_rel_tests_2,
  820. 'category': 'windows',
  821. 'auto_reboot': False,
  822. }
  823. b_blink_linux_lsan_asan = {
  824. 'name': 'Blink Linux LSan ASan',
  825. 'builddir': 'blink-linux-lsan-asan',
  826. 'factory': f_blink_linux_lsan_asan,
  827. 'category': 'Sanitizers',
  828. 'auto_reboot': True,
  829. }
  830. b_chromium_rel_win32_morenacl = {
  831. 'name': 'More NaCl Tests (win32)',
  832. 'builddir': 'chromium-rel-win32-morenacl',
  833. 'factory': f_chromium_rel_win_morenacl,
  834. 'category': 'morenacl',
  835. 'auto_reboot': False,
  836. }
  837. b_chromium_rel_win64_morenacl = {
  838. 'name': 'More NaCl Tests (win64)',
  839. 'builddir': 'chromium-rel-win64-morenacl',
  840. 'factory': f_chromium_rel_win_morenacl,
  841. 'category': 'morenacl',
  842. 'auto_reboot': False,
  843. }
  844. b_chromium_rel_mac_morenacl = {
  845. 'name': 'More NaCl Tests (mac)',
  846. 'builddir': 'chromium-rel-mac-morenacl',
  847. 'factory': f_chromium_rel_mac_morenacl,
  848. 'category': 'morenacl',
  849. 'auto_reboot': False,
  850. }
  851. b_chromium_rel_linux_morenacl = {
  852. 'name': 'More NaCl Tests (linux)',
  853. 'builddir': 'chromium-rel-linux-morenacl',
  854. 'factory': f_chromium_rel_linux_morenacl,
  855. 'category': 'morenacl',
  856. 'auto_reboot': False,
  857. }
  858. b_chromium_win_goma = {
  859. 'name': 'CrWinGoma',
  860. 'factory': m_annotator.BaseFactory('chromium'),
  861. 'category': 'goma',
  862. 'auto_reboot': False,
  863. }
  864. b_chromium_win_goma_shared = {
  865. 'name': 'CrWinGoma(dll)',
  866. 'factory': m_annotator.BaseFactory('chromium'),
  867. 'category': 'goma',
  868. 'auto_reboot': False,
  869. }
  870. b_chromium_win7_goma = {
  871. 'name': 'CrWin7Goma',
  872. 'factory': m_annotator.BaseFactory('chromium'),
  873. 'category': 'goma',
  874. 'auto_reboot': False,
  875. }
  876. b_chromium_win7_goma_shared = {
  877. 'name': 'CrWin7Goma(dll)',
  878. 'factory': m_annotator.BaseFactory('chromium'),
  879. 'category': 'goma',
  880. 'auto_reboot': False,
  881. }
  882. b_chromium_win7_goma_dbg = {
  883. 'name': 'CrWin7Goma(dbg)',
  884. 'factory': m_annotator.BaseFactory('chromium'),
  885. 'category': 'goma',
  886. 'auto_reboot': False,
  887. }
  888. b_chromium_win7_goma_clobber = {
  889. 'name': 'CrWin7Goma(clbr)',
  890. 'factory': m_annotator.BaseFactory('chromium'),
  891. 'category': 'goma',
  892. 'auto_reboot': False,
  893. }
  894. b_chromium_win_clang_goma = {
  895. 'name': 'CrWinClangGoma',
  896. 'factory': m_annotator.BaseFactory('chromium', timeout=3000),
  897. 'category': 'goma',
  898. 'auto_reboot': False,
  899. }
  900. b_chromium_win_x64 = {
  901. 'name': 'Chromium Win x64 Clobber',
  902. 'factory': f_chromium_win_x64,
  903. 'category': 'windows',
  904. 'auto_reboot': False,
  905. }
  906. b_chromium_win_clang = {
  907. 'name': 'CrWinClang',
  908. 'factory': m_annotator.BaseFactory('chromium', triggers=['cr_win_clang']),
  909. 'category': 'win clang',
  910. 'auto_reboot': False,
  911. }
  912. b_chromium_win_clang_tester = {
  913. 'name': 'CrWinClang tester',
  914. 'factory': m_annotator.BaseFactory('chromium'),
  915. 'category': 'win clang',
  916. 'auto_reboot': False,
  917. }
  918. b_chromium_win_clang_dbg = {
  919. 'name': 'CrWinClang(dbg)',
  920. 'factory': m_annotator.BaseFactory('chromium', triggers=['cr_win_clang_dbg']),
  921. 'category': 'win clang',
  922. 'auto_reboot': False,
  923. }
  924. b_chromium_win_clang_dbg_tester = {
  925. 'name': 'CrWinClang(dbg) tester',
  926. 'factory': m_annotator.BaseFactory('chromium'),
  927. 'category': 'win clang',
  928. 'auto_reboot': False,
  929. }
  930. b_chromium_win_clang_shared = {
  931. 'name': 'CrWinClang(shared)',
  932. 'factory': m_annotator.BaseFactory('chromium',
  933. triggers=['cr_win_clang_shared']),
  934. 'category': 'win clang',
  935. 'auto_reboot': False,
  936. }
  937. b_chromium_win_clang_shared_tester = {
  938. 'name': 'CrWinClang(shared) tester',
  939. 'factory': m_annotator.BaseFactory('chromium'),
  940. 'category': 'win clang',
  941. 'auto_reboot': False,
  942. }
  943. b_chromium_win_clang_64 = {
  944. 'name': 'CrWinClang64',
  945. 'factory': m_annotator.BaseFactory('chromium', triggers=['cr_win_clang_64']),
  946. 'category': 'win clang',
  947. 'auto_reboot': False,
  948. }
  949. b_chromium_win_clang_64_tester = {
  950. 'name': 'CrWinClang64 tester',
  951. 'factory': m_annotator.BaseFactory('chromium'),
  952. 'category': 'win clang',
  953. 'auto_reboot': False,
  954. }
  955. b_chromium_win_clang_64_dbg = {
  956. 'name': 'CrWinClang64(dbg)',
  957. 'factory': m_annotator.BaseFactory('chromium',
  958. triggers=['cr_win_clang_64_dbg']),
  959. 'category': 'win clang',
  960. 'auto_reboot': False,
  961. }
  962. b_chromium_win_clang_64_dbg_tester = {
  963. 'name': 'CrWinClang64(dbg) tester',
  964. 'factory': m_annotator.BaseFactory('chromium'),
  965. 'category': 'win clang',
  966. 'auto_reboot': False,
  967. }
  968. b_chromium_win_clang_64_shared = {
  969. 'name': 'CrWinClang64(dll)',
  970. 'factory': m_annotator.BaseFactory('chromium',
  971. triggers=['cr_win_clang_64_shared']),
  972. 'category': 'win clang',
  973. 'auto_reboot': False,
  974. }
  975. b_chromium_win_clang_64_shared_tester = {
  976. 'name': 'CrWinClang64(dll) tester',
  977. 'factory': m_annotator.BaseFactory('chromium'),
  978. 'category': 'win clang',
  979. 'auto_reboot': False,
  980. }
  981. b_chromium_win_clang_lld = {
  982. 'name': 'CrWinClangLLD',
  983. 'factory': m_annotator.BaseFactory('chromium', triggers=['cr_win_clang_lld']),
  984. 'category': 'clang tot',
  985. 'auto_reboot': False,
  986. }
  987. b_chromium_win_clang_lld_tester = {
  988. 'name': 'CrWinClangLLD tester',
  989. 'factory': m_annotator.BaseFactory('chromium'),
  990. 'category': 'clang tot',
  991. 'auto_reboot': False,
  992. }
  993. b_chromium_win_clang_lld_dbg = {
  994. 'name': 'CrWinClngLLDdbg',
  995. 'factory': m_annotator.BaseFactory('chromium',
  996. triggers=['cr_win_clang_lld_dbg']),
  997. 'category': 'clang tot',
  998. 'auto_reboot': False,
  999. }
  1000. b_chromium_win_clang_lld_dbg_tester = {
  1001. 'name': 'CrWinClngLLDdbg tester',
  1002. 'factory': m_annotator.BaseFactory('chromium'),
  1003. 'category': 'clang tot',
  1004. 'auto_reboot': False,
  1005. }
  1006. b_chromium_win_clang_lld64 = {
  1007. 'name': 'CrWinClangLLD64',
  1008. 'factory': m_annotator.BaseFactory('chromium',
  1009. triggers=['cr_win_clang_lld64']),
  1010. 'category': 'clang tot',
  1011. 'auto_reboot': False,
  1012. }
  1013. b_chromium_win_clang_lld64_tester = {
  1014. 'name': 'CrWinClangLLD64 tester',
  1015. 'factory': m_annotator.BaseFactory('chromium'),
  1016. 'category': 'clang tot',
  1017. 'auto_reboot': False,
  1018. }
  1019. b_chromium_win_clang_lld64_dbg = {
  1020. 'name': 'CrWinClngLLD64dbg',
  1021. 'factory': m_annotator.BaseFactory('chromium',
  1022. triggers=['cr_win_clang_lld64_dbg']),
  1023. 'category': 'clang tot',
  1024. 'auto_reboot': False,
  1025. }
  1026. b_chromium_win_clang_lld64_dbg_tester = {
  1027. 'name': 'CrWinClngLLD64dbg tester',
  1028. 'factory': m_annotator.BaseFactory('chromium'),
  1029. 'category': 'clang tot',
  1030. 'auto_reboot': False,
  1031. }
  1032. b_chromium_win_clang_asan = {
  1033. 'name': 'CrWinAsan',
  1034. 'factory': m_annotator.BaseFactory('chromium',
  1035. triggers=['cr_win_clang_asan']),
  1036. 'category': 'clang tot',
  1037. 'auto_reboot': False,
  1038. }
  1039. b_chromium_win_clang_asan_tester = {
  1040. 'name': 'CrWinAsan tester',
  1041. 'factory': m_annotator.BaseFactory('chromium'),
  1042. 'category': 'clang tot',
  1043. 'auto_reboot': False,
  1044. }
  1045. b_chromium_win_clang_asan_shared = {
  1046. 'name': 'CrWinAsan(dll)',
  1047. 'factory': m_annotator.BaseFactory('chromium',
  1048. triggers=['cr_win_clang_asan_shared']),
  1049. 'category': 'clang tot',
  1050. 'auto_reboot': False,
  1051. }
  1052. b_chromium_win_clang_asan_shared_tester = {
  1053. 'name': 'CrWinAsan(dll) tester',
  1054. 'factory': m_annotator.BaseFactory('chromium'),
  1055. 'category': 'clang tot',
  1056. 'auto_reboot': False,
  1057. }
  1058. b_chromium_win_clang_asan_coverage = {
  1059. 'name': 'CrWinAsanCov',
  1060. 'factory': m_annotator.BaseFactory('chromium',
  1061. triggers=['cr_win_clang_asan_coverage']),
  1062. 'category': 'clang tot',
  1063. 'auto_reboot': False,
  1064. }
  1065. b_chromium_win_clang_asan_coverage_tester = {
  1066. 'name': 'CrWinAsanCov tester',
  1067. 'factory': m_annotator.BaseFactory('chromium'),
  1068. 'category': 'clang tot',
  1069. 'auto_reboot': False,
  1070. }
  1071. b_clang_tot_linux = {
  1072. 'name': 'ClangToTLinux',
  1073. 'factory': m_annotator.BaseFactory('chromium',
  1074. triggers=['clang_tot_linux']),
  1075. 'category': 'clang tot',
  1076. 'auto_reboot': False,
  1077. }
  1078. b_clang_tot_linux_tester = {
  1079. 'name': 'ClangToTLinux tester',
  1080. 'factory': m_annotator.BaseFactory('chromium'),
  1081. 'category': 'clang tot',
  1082. 'auto_reboot': False,
  1083. }
  1084. b_clang_tot_linux_dbg = {
  1085. 'name': 'ClangToTLinux (dbg)',
  1086. 'factory': m_annotator.BaseFactory('chromium'),
  1087. 'category': 'clang tot',
  1088. 'auto_reboot': False,
  1089. }
  1090. b_clang_tot_linux_asan = {
  1091. 'name': 'ClangToTLinuxASan',
  1092. 'factory': m_annotator.BaseFactory('chromium',
  1093. triggers=['clang_tot_linux_asan']),
  1094. 'category': 'clang tot',
  1095. 'auto_reboot': False,
  1096. }
  1097. b_clang_tot_linux_asan_tester = {
  1098. 'name': 'ClangToTLinuxASan tester',
  1099. 'factory': m_annotator.BaseFactory('chromium'),
  1100. 'category': 'clang tot',
  1101. 'auto_reboot': False,
  1102. }
  1103. b_clang_tot_android_asan = {
  1104. 'name': 'ClangToTAndroidASan',
  1105. 'factory': m_annotator.BaseFactory('chromium'),
  1106. 'category': 'clang tot',
  1107. 'auto_reboot': False,
  1108. }
  1109. b_clang_tot_mac = {
  1110. 'name': 'ClangToTMac',
  1111. 'factory': m_annotator.BaseFactory('chromium',
  1112. triggers=['clang_tot_mac']),
  1113. 'category': 'clang tot',
  1114. 'auto_reboot': True,
  1115. }
  1116. b_clang_tot_mac_tester = {
  1117. 'name': 'ClangToTMac tester',
  1118. 'factory': m_annotator.BaseFactory('chromium'),
  1119. 'category': 'clang tot',
  1120. 'auto_reboot': True,
  1121. }
  1122. b_clang_tot_mac_dbg = {
  1123. 'name': 'ClangToTMac (dbg)',
  1124. 'factory': m_annotator.BaseFactory('chromium'),
  1125. 'category': 'clang tot',
  1126. 'auto_reboot': True,
  1127. }
  1128. b_clang_tot_mac_asan = {
  1129. 'name': 'ClangToTMacASan',
  1130. 'factory': m_annotator.BaseFactory('chromium',
  1131. triggers=['clang_tot_mac_asan']),
  1132. 'category': 'clang tot',
  1133. 'auto_reboot': True,
  1134. }
  1135. b_clang_tot_mac_asan_tester = {
  1136. 'name': 'ClangToTMacASan tester',
  1137. 'factory': m_annotator.BaseFactory('chromium'),
  1138. 'category': 'clang tot',
  1139. 'auto_reboot': True,
  1140. }
  1141. b_clang_tot_ios = {
  1142. 'name': 'ClangToTiOS',
  1143. 'factory': annotator_factory.AnnotatorFactory().BaseFactory(
  1144. 'ios/unified_builder_tester'
  1145. ),
  1146. 'category': 'clang tot',
  1147. 'auto_reboot': True,
  1148. }
  1149. b_clang_tot_win = {
  1150. 'name': 'ClangToTWin',
  1151. 'factory': m_annotator.BaseFactory('chromium', triggers=['clang_tot_win']),
  1152. 'category': 'clang tot',
  1153. 'auto_reboot': False,
  1154. }
  1155. b_clang_tot_win_tester = {
  1156. 'name': 'ClangToTWin tester',
  1157. 'factory': m_annotator.BaseFactory('chromium'),
  1158. 'category': 'clang tot',
  1159. 'auto_reboot': False,
  1160. }
  1161. b_clang_tot_win_dbg = {
  1162. 'name': 'ClangToTWin(dbg)',
  1163. 'factory': m_annotator.BaseFactory('chromium',
  1164. triggers=['clang_tot_win_dbg']),
  1165. 'category': 'clang tot',
  1166. 'auto_reboot': False,
  1167. }
  1168. b_clang_tot_win_dbg_tester = {
  1169. 'name': 'ClangToTWin(dbg) tester',
  1170. 'factory': m_annotator.BaseFactory('chromium'),
  1171. 'category': 'clang tot',
  1172. 'auto_reboot': False,
  1173. }
  1174. b_clang_tot_win_dll = {
  1175. 'name': 'ClangToTWin(dll)',
  1176. 'factory': m_annotator.BaseFactory('chromium',
  1177. triggers=['clang_tot_win_dll']),
  1178. 'category': 'clang tot',
  1179. 'auto_reboot': False,
  1180. }
  1181. b_clang_tot_win_dll_tester = {
  1182. 'name': 'ClangToTWin(dll) tester',
  1183. 'factory': m_annotator.BaseFactory('chromium'),
  1184. 'category': 'clang tot',
  1185. 'auto_reboot': False,
  1186. }
  1187. b_clang_tot_win64 = {
  1188. 'name': 'ClangToTWin64',
  1189. 'factory': m_annotator.BaseFactory('chromium', triggers=['clang_tot_win64']),
  1190. 'category': 'clang tot',
  1191. 'auto_reboot': False,
  1192. }
  1193. b_clang_tot_win64_tester = {
  1194. 'name': 'ClangToTWin64 tester',
  1195. 'factory': m_annotator.BaseFactory('chromium'),
  1196. 'category': 'clang tot',
  1197. 'auto_reboot': False,
  1198. }
  1199. b_clang_tot_win64_dbg = {
  1200. 'name': 'ClangToTWin64(dbg)',
  1201. 'factory': m_annotator.BaseFactory('chromium',
  1202. triggers=['clang_tot_win64_dbg']),
  1203. 'category': 'clang tot',
  1204. 'auto_reboot': False,
  1205. }
  1206. b_clang_tot_win64_dbg_tester = {
  1207. 'name': 'ClangToTWin64(dbg) tester',
  1208. 'factory': m_annotator.BaseFactory('chromium'),
  1209. 'category': 'clang tot',
  1210. 'auto_reboot': False,
  1211. }
  1212. b_clang_tot_win64_dll = {
  1213. 'name': 'ClangToTWin64(dll)',
  1214. 'factory': m_annotator.BaseFactory('chromium',
  1215. triggers=['clang_tot_win64_dll']),
  1216. 'category': 'clang tot',
  1217. 'auto_reboot': False,
  1218. }
  1219. b_clang_tot_win64_dll_tester = {
  1220. 'name': 'ClangToTWin64(dll) tester',
  1221. 'factory': m_annotator.BaseFactory('chromium'),
  1222. 'category': 'clang tot',
  1223. 'auto_reboot': False,
  1224. }
  1225. b_chromium_win7_shared_vs2013_dbg = {
  1226. 'name': 'Cr Win VS2013 (dbg)',
  1227. 'factory': f_chromium_win_shared_2013_dbg,
  1228. 'category': 'ninja',
  1229. 'auto_reboot': False,
  1230. }
  1231. b_chromium_win7_shared_vs2013 = {
  1232. 'name': 'Cr Win VS2013',
  1233. 'factory': f_chromium_win_shared_2013,
  1234. 'category': 'ninja',
  1235. 'auto_reboot': False,
  1236. }
  1237. b_chromium_win_mini_installer = {
  1238. 'name': 'Chromium Win MiniInstaller Tests',
  1239. 'factory': f_cr_win_rel_mini_installer,
  1240. 'category': 'windows',
  1241. 'auto_reboot': False,
  1242. }
  1243. b_chromium_dbg_android_builder = {
  1244. 'name': 'Android Builder (dbg)',
  1245. 'factory': m_annotator.BaseFactory(recipe='chromium',
  1246. triggers=['android_dbg']),
  1247. 'category': 'android_builder',
  1248. }
  1249. b_chromium_dbg_android_x86_builder = {
  1250. 'name': 'Android x86 Builder (dbg)',
  1251. 'factory': f_chromium_dbg_android_x86_builder,
  1252. 'category': 'android_builder',
  1253. }
  1254. b_chromium_rel_android_user_builder_tests = {
  1255. 'name': 'Android User Builder Tests',
  1256. 'factory': f_chromium_rel_android_builder_tests,
  1257. 'category': 'android_tests',
  1258. }
  1259. b_chromium_dbg_android_tests_l_n5_user = {
  1260. 'name': 'Android Tests (L Nexus5)(dbg)',
  1261. 'factory': m_annotator.BaseFactory(recipe='chromium'),
  1262. 'category': 'android_tests',
  1263. }
  1264. b_chromium_dbg_android_tests_k_n5_user = {
  1265. 'name': 'Android Tests (trial)(dbg)',
  1266. 'factory': m_annotator.BaseFactory(recipe='chromium'),
  1267. 'category': 'android_tests',
  1268. }
  1269. b_chromium_dbg_android_tests_amp = {
  1270. 'name': 'Android Tests (amp split)',
  1271. 'factory': m_annotator.BaseFactory(recipe='chromium'),
  1272. 'category': 'android_tests',
  1273. }
  1274. b_chromium_dbg_android_chromedriver_tests = {
  1275. 'name': 'Android ChromeDriver Tests (dbg)',
  1276. 'factory': f_chromium_dbg_android_chromedriver_tests,
  1277. 'category': 'android_tests',
  1278. }
  1279. b_chromium_dbg_android_asan_builder_tests = {
  1280. 'name': 'Android Asan Builder Tests (dbg)',
  1281. 'factory': f_chromium_dbg_android_asan_builder_tests,
  1282. 'category': 'android_tests',
  1283. }
  1284. b_chromium_dbg_ios_simulator = {
  1285. 'name': 'Chromium_iOS_Simulator_(dbg)',
  1286. 'factory': annotator_factory.AnnotatorFactory().BaseFactory(
  1287. 'ios/unified_builder_tester'
  1288. ),
  1289. 'category': 'ios',
  1290. 'auto_reboot': True,
  1291. }
  1292. b_chromium_rel_ios_device = {
  1293. 'name': 'Chromium_iOS_Device',
  1294. 'factory': annotator_factory.AnnotatorFactory().BaseFactory(
  1295. 'ios/unified_builder_tester'
  1296. ),
  1297. 'category': 'ios',
  1298. 'auto_reboot': True,
  1299. }
  1300. b_chromium_rel_ninja_ios_device = {
  1301. 'name': 'Chromium_iOS_Device_(ninja)',
  1302. 'factory': annotator_factory.AnnotatorFactory().BaseFactory(
  1303. 'ios/unified_builder_tester'
  1304. ),
  1305. 'category': 'ios',
  1306. 'auto_reboot': True,
  1307. }
  1308. b_chromium_linux_goma_canary = {
  1309. 'name': 'Chromium Linux Goma Canary',
  1310. 'factory': m_annotator.BaseFactory('chromium'),
  1311. 'category': 'goma',
  1312. 'auto_reboot': False,
  1313. }
  1314. b_chromium_linux_goma_canary_clobber = {
  1315. 'name': 'Chromium Linux Goma Canary (clobber)',
  1316. 'factory': m_annotator.BaseFactory('chromium'),
  1317. 'category': 'goma',
  1318. 'auto_reboot': False,
  1319. }
  1320. b_chromium_linux_precise_goma_linktest = {
  1321. 'name': 'Chromium Linux Precise Goma LinkTest',
  1322. 'factory': m_annotator.BaseFactory('chromium'),
  1323. 'category': 'goma',
  1324. 'auto_reboot': False,
  1325. }
  1326. b_chromium_linux32_goma_canary_clobber = {
  1327. 'name': 'Chromium Linux32 Goma Canary (clobber)',
  1328. 'factory': m_annotator.BaseFactory('chromium'),
  1329. 'category': 'goma',
  1330. 'auto_reboot': False,
  1331. }
  1332. b_chromium_mac_106_goma_canary = {
  1333. 'name': 'Chromium Mac 10.9 Goma Canary',
  1334. 'factory': m_annotator.BaseFactory('chromium'),
  1335. 'category': 'goma',
  1336. 'auto_reboot': True,
  1337. }
  1338. b_chromium_mac_107_goma_canary = {
  1339. 'name': 'Chromium Mac 10.9 Goma Canary (dbg)',
  1340. 'factory': m_annotator.BaseFactory('chromium'),
  1341. 'category': 'goma',
  1342. 'auto_reboot': True,
  1343. }
  1344. b_chromium_mac_106_goma_canary_clobber = {
  1345. 'name': 'Chromium Mac 10.9 Goma Canary (clobber)',
  1346. 'factory': m_annotator.BaseFactory('chromium'),
  1347. 'category': 'goma',
  1348. 'auto_reboot': True,
  1349. }
  1350. b_chromium_mac_107_goma_canary_clobber = {
  1351. 'name': 'Chromium Mac 10.9 Goma Canary (dbg)(clobber)',
  1352. 'factory': m_annotator.BaseFactory('chromium'),
  1353. 'category': 'goma',
  1354. 'auto_reboot': True,
  1355. }
  1356. b_chromium_mac_1010 = {
  1357. 'name': 'Chromium Mac 10.10',
  1358. 'factory': f_chromium_mac_1010,
  1359. 'auto_reboot': True,
  1360. }
  1361. b_windows_8_app_certification = {
  1362. 'name': 'Windows 8 App Certification',
  1363. 'factory': f_windows_8_app_certification,
  1364. 'category': 'windows',
  1365. }
  1366. b_linux_arm_cross_compile = {
  1367. 'name': 'Linux ARM Cross-Compile',
  1368. 'factory': annotator_factory.AnnotatorFactory().BaseFactory(
  1369. 'chromium',
  1370. {'use_mirror': ActiveMaster.is_production_host or None},
  1371. triggers=['chromium_linux_arm']),
  1372. 'category': 'linux',
  1373. 'auto_reboot': False,
  1374. }
  1375. b_linux_arm_tests_panda = {
  1376. 'name': 'Linux ARM Tests (Panda)',
  1377. 'factory': annotator_factory.AnnotatorFactory().BaseFactory(
  1378. 'chromium_isolate'),
  1379. 'category': 'linux',
  1380. 'auto_reboot': False,
  1381. }
  1382. b_chromiumos_linux_tests = {
  1383. 'name': 'ChromiumOS Linux Tests',
  1384. 'factory': f_chromiumos_linux_tests,
  1385. 'category': 'linux',
  1386. 'auto_reboot': False,
  1387. }
  1388. b_chromium_ozone_tests = {
  1389. 'name': 'Ozone ECS Linux',
  1390. 'builddir': 'ozone-linux',
  1391. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('ozone_ecs',
  1392. {'use_mirror': ActiveMaster.is_production_host or None}),
  1393. 'auto_reboot': False,
  1394. }
  1395. b_chromium_trusty = {
  1396. 'name': 'Linux Trusty',
  1397. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'),
  1398. 'category': 'linux',
  1399. 'auto_reboot': True,
  1400. }
  1401. b_chromium_trusty32 = {
  1402. 'name': 'Linux Trusty (32)',
  1403. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'),
  1404. 'category': 'linux',
  1405. 'auto_reboot': True,
  1406. }
  1407. b_chromium_trusty_dbg = {
  1408. 'name': 'Linux Trusty (dbg)',
  1409. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'),
  1410. 'category': 'linux',
  1411. 'auto_reboot': True,
  1412. }
  1413. b_chromium_trusty32_dbg = {
  1414. 'name': 'Linux Trusty (dbg)(32)',
  1415. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'),
  1416. 'category': 'linux',
  1417. 'auto_reboot': True,
  1418. }
  1419. b_chromium_v8_api_stability = {
  1420. 'name': 'Linux V8 API Stability',
  1421. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'),
  1422. 'category': 'linux',
  1423. 'auto_reboot': True,
  1424. }
  1425. b_chromium_windows_drmemory_builder = {
  1426. 'name': 'Windows Builder (DrMemory)',
  1427. 'builddir': 'drm-cr',
  1428. 'factory': f_chromium_windows_drmemory_builder,
  1429. 'category': 'drmemory',
  1430. 'auto_reboot': False,
  1431. }
  1432. b_chromium_rel_win_drmemory_xp = {
  1433. 'name': 'Windows Tests (DrMemory XP)',
  1434. 'builddir': 'chromium-dbg-win-drmemory-xp',
  1435. 'factory': f_chromium_rel_win_drmemory,
  1436. 'category': 'drmemory|memory_tester',
  1437. 'auto_reboot': False,
  1438. }
  1439. b_chromium_tests_drmemory = {
  1440. 'name': 'Windows Tests (DrMemory)',
  1441. 'builddir': 'windows-tests-drm',
  1442. 'factory': f_chromium_rel_win_tests_drmemory,
  1443. 'category': 'drmemory',
  1444. 'auto_reboot': True,
  1445. }
  1446. b_chromium_windows_drmemory_64_builder = {
  1447. 'name': 'Windows Builder (DrMemory x64)',
  1448. 'builddir': 'drm-cr-64',
  1449. 'factory': f_chromium_windows_drmemory_64_builder,
  1450. 'category': 'drmemory',
  1451. 'auto_reboot': False,
  1452. }
  1453. b_chromium_tests_drmemory_64 = {
  1454. 'name': 'Windows Tests (DrMemory x64)',
  1455. 'builddir': 'windows-tests-drm-64',
  1456. 'factory': f_chromium_rel_win_tests_drmemory_64,
  1457. 'category': 'drmemory',
  1458. 'auto_reboot': True,
  1459. }
  1460. b_chromium_android_x64_builder = {
  1461. 'name': 'Android x64 Builder (dbg)',
  1462. 'factory': annotator_factory.AnnotatorFactory().BaseFactory(
  1463. recipe='android/builder'),
  1464. 'category': 'android_builder',
  1465. }
  1466. b_chromium_print_preview_linux = {
  1467. 'name': 'Print Preview Linux',
  1468. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'),
  1469. 'category': 'print_preview',
  1470. 'auto_reboot': True,
  1471. }
  1472. b_chromium_print_preview_mac = {
  1473. 'name': 'Print Preview Mac',
  1474. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'),
  1475. 'category': 'print_preview',
  1476. 'auto_reboot': True,
  1477. }
  1478. b_chromium_print_preview_win = {
  1479. 'name': 'Print Preview Win',
  1480. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'),
  1481. 'category': 'print_preview',
  1482. 'auto_reboot': True,
  1483. }
  1484. b_chromium_openssl_mac = {
  1485. 'name': 'Mac OpenSSL',
  1486. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'),
  1487. 'category': 'openssl',
  1488. 'auto_reboot': True,
  1489. }
  1490. b_chromium_site_isolation_linux = {
  1491. 'name': 'Site Isolation Linux',
  1492. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'),
  1493. 'category': 'site_isolation',
  1494. 'auto_reboot': True,
  1495. }
  1496. b_chromium_site_isolation_win = {
  1497. 'name': 'Site Isolation Win',
  1498. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'),
  1499. 'category': 'site_isolation',
  1500. 'auto_reboot': True,
  1501. }
  1502. b_chromium_browser_side_navigation_linux = {
  1503. 'name': 'Browser Side Navigation Linux',
  1504. 'factory': annotator_factory.AnnotatorFactory().BaseFactory('chromium'),
  1505. 'category': 'site_isolation',
  1506. 'auto_reboot': True,
  1507. }
  1508. b_chromium_closure_compilation_linux = {
  1509. 'name': 'Closure Compilation Linux',
  1510. 'factory': annotator_factory.AnnotatorFactory().BaseFactory(
  1511. recipe='closure_compilation'),
  1512. 'category': 'closure_compilation',
  1513. 'auto_reboot': True,
  1514. }
  1515. b_chromium_cfi_linux = {
  1516. 'name': 'CFI Linux',
  1517. 'factory': m_annotator.BaseFactory('chromium',
  1518. timeout=7200),
  1519. 'category': 'chromium_cfi',
  1520. 'auto_reboot': True,
  1521. }
  1522. b_chromium_cfi_linux_cf = {
  1523. 'name': 'CFI Linux CF',
  1524. 'factory': linux().ChromiumFactory(
  1525. compile_timeout=7200,
  1526. clobber=True,
  1527. target='Release',
  1528. options=['chromium_builder_asan'],
  1529. factory_properties={
  1530. 'cf_archive_build': ActiveMaster.is_production_host,
  1531. 'cf_archive_name': 'cfi',
  1532. 'gs_bucket': 'gs://chromium-browser-cfi',
  1533. 'gs_acl': 'public-read',
  1534. 'gclient_env': {
  1535. 'GYP_DEFINES': 'cfi_vptr=1 release_extra_cflags="-O1 '
  1536. '-fno-inline-functions -fno-inline -fno-omit-frame-pointer"',
  1537. 'LLVM_DOWNLOAD_GOLD_PLUGIN': '1',
  1538. },
  1539. }),
  1540. 'category': 'chromium_cfi',
  1541. 'auto_reboot': True,
  1542. }
  1543. b_chromium_win10 = {
  1544. 'name': 'Chromium Win 10',
  1545. 'factory': m_annotator.BaseFactory('chromium'),
  1546. 'category': 'win10',
  1547. 'auto_reboot': True,
  1548. }
  1549. def windows_browser_drmemory_light_tester(shard, total):
  1550. if shard < 1 or shard > total:
  1551. raise
  1552. ret = {'category': 'drmemory'}
  1553. ret['name'] = 'Windows Browser (DrMemory light) (%d)' % shard
  1554. ret['builddir'] = 'windows-browser-drm-light-%d' % shard
  1555. ret['factory'] = win_out().ChromiumFactory(
  1556. target='Release',
  1557. slave_type='Tester',
  1558. build_url=chromium_windows_drmemory_archive,
  1559. tests=['drmemory_light_browser_tests_%d_of_%d' % (shard, total)],
  1560. options=['browser_tests'],
  1561. factory_properties={ 'halt_on_missing_build': True,
  1562. 'retry_failed' : False })
  1563. return ret
  1564. c['builders'] = [
  1565. # Windows release
  1566. b_chromium_rel_builder,
  1567. b_chromium_rel_win8_tests_1,
  1568. b_chromium_rel_win8_tests_2,
  1569. b_chromium_win_goma,
  1570. b_chromium_win_goma_shared,
  1571. b_chromium_win7_goma,
  1572. b_chromium_win7_goma_shared,
  1573. b_chromium_win7_goma_dbg,
  1574. b_chromium_win7_goma_clobber,
  1575. b_chromium_win7_shared_vs2013_dbg,
  1576. b_chromium_win7_shared_vs2013,
  1577. b_chromium_win_clang_goma,
  1578. b_windows_8_app_certification,
  1579. b_chromium_win_x64,
  1580. b_chromium_win_clang,
  1581. b_chromium_win_clang_tester,
  1582. b_chromium_win_clang_dbg,
  1583. b_chromium_win_clang_dbg_tester,
  1584. b_chromium_win_clang_shared,
  1585. b_chromium_win_clang_shared_tester,
  1586. b_chromium_win_clang_64,
  1587. b_chromium_win_clang_64_tester,
  1588. b_chromium_win_clang_64_dbg,
  1589. b_chromium_win_clang_64_dbg_tester,
  1590. b_chromium_win_clang_64_shared,
  1591. b_chromium_win_clang_64_shared_tester,
  1592. b_chromium_win_pgo_builder,
  1593. b_chromium_win_x64_pgo_builder,
  1594. # Windows debug
  1595. b_chromium_dbg_builder,
  1596. b_chromium_dbg_vista_tests_1,
  1597. b_chromium_dbg_vista_tests_2,
  1598. # Mac BuilderTesters
  1599. b_chromium_mac_106_goma_canary,
  1600. b_chromium_mac_107_goma_canary,
  1601. b_chromium_mac_106_goma_canary_clobber,
  1602. b_chromium_mac_107_goma_canary_clobber,
  1603. b_chromium_mac_1010,
  1604. # Windows /Analyze builder
  1605. b_chromium_win_analyze,
  1606. # Instant Extended Testers
  1607. b_chromium_win_instantextended,
  1608. # Buildrunner Testers
  1609. b_chromium_lin_buildrunner,
  1610. b_chromium_win_buildrunner,
  1611. # Linux BuilderTesters
  1612. b_chromium_linux_goma_canary,
  1613. b_chromium_linux_goma_canary_clobber,
  1614. b_chromium_linux_precise_goma_linktest,
  1615. b_chromium_linux32_goma_canary_clobber,
  1616. b_chromiumos_linux_tests,
  1617. # Linux ARM
  1618. b_linux_arm_cross_compile,
  1619. b_linux_arm_tests_panda,
  1620. # Android
  1621. b_chromium_dbg_android_builder,
  1622. b_chromium_dbg_android_x86_builder,
  1623. b_chromium_dbg_android_tests_l_n5_user,
  1624. b_chromium_dbg_android_tests_k_n5_user,
  1625. b_chromium_dbg_android_tests_amp,
  1626. b_chromium_rel_android_user_builder_tests,
  1627. b_chromium_dbg_android_chromedriver_tests,
  1628. b_chromium_dbg_android_asan_builder_tests,
  1629. b_chromium_android_x64_builder,
  1630. # iOS
  1631. b_chromium_dbg_ios_simulator,
  1632. b_chromium_rel_ios_device,
  1633. b_chromium_rel_ninja_ios_device,
  1634. # Sanitizers
  1635. b_blink_linux_lsan_asan,
  1636. # NaCl
  1637. b_chromium_rel_win32_morenacl,
  1638. b_chromium_rel_win64_morenacl,
  1639. b_chromium_rel_mac_morenacl,
  1640. b_chromium_rel_linux_morenacl,
  1641. # MiniInstaller
  1642. b_chromium_win_mini_installer,
  1643. # Ozone Shell
  1644. b_chromium_ozone_tests,
  1645. # Ubuntu 14.04 Trusty
  1646. b_chromium_trusty,
  1647. b_chromium_trusty32,
  1648. b_chromium_trusty_dbg,
  1649. b_chromium_trusty32_dbg,
  1650. # V8 API stability checker
  1651. b_chromium_v8_api_stability,
  1652. # Print Preview
  1653. b_chromium_print_preview_linux,
  1654. b_chromium_print_preview_mac,
  1655. b_chromium_print_preview_win,
  1656. # OpenSSL
  1657. b_chromium_openssl_mac,
  1658. # Site Isolation
  1659. b_chromium_site_isolation_linux,
  1660. b_chromium_site_isolation_win,
  1661. b_chromium_browser_side_navigation_linux,
  1662. # Closure Compilation
  1663. b_chromium_closure_compilation_linux,
  1664. # Blink repo transition practice bots.
  1665. b_linux_practice,
  1666. b_linux_practice_tester,
  1667. # Clang ToT bots.
  1668. b_clang_tot_linux,
  1669. b_clang_tot_linux_tester,
  1670. b_clang_tot_linux_dbg,
  1671. b_clang_tot_linux_asan,
  1672. b_clang_tot_linux_asan_tester,
  1673. b_clang_tot_android_asan,
  1674. b_clang_tot_mac,
  1675. b_clang_tot_mac_tester,
  1676. b_clang_tot_mac_dbg,
  1677. b_clang_tot_mac_asan,
  1678. b_clang_tot_mac_asan_tester,
  1679. b_clang_tot_ios,
  1680. b_clang_tot_win,
  1681. b_clang_tot_win_tester,
  1682. b_clang_tot_win_dbg,
  1683. b_clang_tot_win_dbg_tester,
  1684. b_clang_tot_win_dll,
  1685. b_clang_tot_win_dll_tester,
  1686. b_clang_tot_win64,
  1687. b_clang_tot_win64_tester,
  1688. b_clang_tot_win64_dbg,
  1689. b_clang_tot_win64_dbg_tester,
  1690. b_clang_tot_win64_dll,
  1691. b_clang_tot_win64_dll_tester,
  1692. b_chromium_win_clang_lld,
  1693. b_chromium_win_clang_lld_tester,
  1694. b_chromium_win_clang_lld_dbg,
  1695. b_chromium_win_clang_lld_dbg_tester,
  1696. b_chromium_win_clang_lld64,
  1697. b_chromium_win_clang_lld64_tester,
  1698. b_chromium_win_clang_lld64_dbg,
  1699. b_chromium_win_clang_lld64_dbg_tester,
  1700. b_chromium_win_clang_asan,
  1701. b_chromium_win_clang_asan_tester,
  1702. b_chromium_win_clang_asan_shared,
  1703. b_chromium_win_clang_asan_shared_tester,
  1704. b_chromium_win_clang_asan_coverage,
  1705. b_chromium_win_clang_asan_coverage_tester,
  1706. # Control flow integrity.
  1707. b_chromium_cfi_linux,
  1708. b_chromium_cfi_linux_cf,
  1709. # Windows 10.
  1710. b_chromium_win10,
  1711. ]
  1712. # DrMemory test bots
  1713. b_win_drmemory = [
  1714. b_chromium_windows_drmemory_builder,
  1715. b_chromium_rel_win_drmemory_xp,
  1716. b_chromium_tests_drmemory,
  1717. b_chromium_windows_drmemory_64_builder,
  1718. b_chromium_tests_drmemory_64,
  1719. ]
  1720. # Windows Browser (DrMemory light)
  1721. for i in range(WINDOWS_BROWSER_DRMEMORY_LIGHT_TESTERS):
  1722. c['builders'].append(
  1723. windows_browser_drmemory_light_tester(
  1724. i + 1, WINDOWS_BROWSER_DRMEMORY_LIGHT_TESTERS))
  1725. c['builders'].extend(b_win_drmemory)
  1726. master_win_drmemory_cfg.Update(config, ActiveMaster, c)
  1727. # Associate the slaves to the manual builders. The configuration is in
  1728. # slaves.cfg.
  1729. slaves = slaves_list.SlavesList('slaves.cfg', 'ChromiumFYI')
  1730. for builder in c['builders']:
  1731. builder['slavenames'] = slaves.GetSlavesName(builder=builder['name'])
  1732. ####### BUILDSLAVES
  1733. # The 'slaves' list defines the set of allowable buildslaves. List all the
  1734. # slaves registered to a builder. Remove dupes.
  1735. c['slaves'] = master_utils.AutoSetupSlaves(c['builders'],
  1736. config.Master.GetBotPassword())
  1737. # Make sure everything works together.
  1738. master_utils.VerifySetup(c, slaves)
  1739. ####### STATUS TARGETS
  1740. # Buildbot master url:
  1741. # Must come before AutoSetupMaster().
  1742. c['buildbotURL'] = ActiveMaster.buildbot_url
  1743. # Adds common status and tools to this master.
  1744. master_utils.AutoSetupMaster(
  1745. c, ActiveMaster,
  1746. public_html="../master.chromium/public_html",
  1747. templates=['../master.chromium/templates'],
  1748. enable_http_status_push=ActiveMaster.is_production_host,
  1749. order_console_by_time=True)
  1750. # Add more.
  1751. if STATUS_PUSH:
  1752. from buildbot.status.status_push import HttpStatusPush
  1753. c['status'].append(HttpStatusPush(
  1754. 'http://craebuild.appspot.com/status-listener'))
  1755. if DRMEMORY_NOTIFIER:
  1756. categories_steps = {
  1757. 'memory_tester': [
  1758. 'memory test: gcm_unit_tests',
  1759. 'memory test: printing',
  1760. 'memory test: media',
  1761. 'memory test: remoting',
  1762. 'memory test: sql',
  1763. 'memory test: sync',
  1764. 'memory test: sync_unit_tests',
  1765. 'memory test: ipc_tests',
  1766. 'memory test: base_unittests',
  1767. 'memory test: content',
  1768. 'memory test: crypto',
  1769. 'memory test: net',
  1770. 'memory test: ui_base_unittests',
  1771. 'memory test: unit', # unit_tests can be sharded
  1772. 'memory test: unit_1',
  1773. 'memory test: unit_2',
  1774. 'memory test: url_unittests',
  1775. ],
  1776. }
  1777. c['status'].append(failures_notifier.FailuresNotifier(
  1778. fromaddr=ActiveMaster.from_address,
  1779. categories_steps=categories_steps,
  1780. exclusions={},
  1781. relayhost=config.Master.smtp,
  1782. status_header='New DrMemory failure on "%(builder)s":\n%(steps)s',
  1783. subject='drmemory buildbot %(result)s in %(projectName)s on '
  1784. '%(builder)s, revision %(revision)s',
  1785. sendToInterestedUsers=False, # don't send e-mails to the committers.
  1786. extraRecipients=[
  1787. 'bruening+drmfyifailure@google.com',
  1788. 'zhaoqin+drmfyifailure@google.com',
  1789. ],
  1790. lookup=master_utils.FilterDomain(),
  1791. forgiving_steps=[],
  1792. use_getname=True))
  1793. c['status'].append(MailNotifier(
  1794. fromaddr='ukai@chromium.org', # Reply-To address
  1795. mode='failing',
  1796. categories=['goma'],
  1797. relayhost=config.Master.smtp,
  1798. subject='goma canary buildbot %(result)s in %(projectName)s '
  1799. 'on %(builder)s',
  1800. extraRecipients=['goma+alert@google.com'],
  1801. sendToInterestedUsers=False))
  1802. c['status'].append(MailNotifier(
  1803. fromaddr=ActiveMaster.from_address, # Reply-To address
  1804. mode='failing',
  1805. relayhost=config.Master.smtp,
  1806. subject='Build failure on %(builder)s',
  1807. extraRecipients=[
  1808. 'sebmarchand+pgofailure@google.com',
  1809. 'scottmg+pgofailure@google.com'
  1810. ],
  1811. sendToInterestedUsers=False,
  1812. builders=['Chromium Win PGO Builder']))