GoogleGit

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