mixins.pyl 31 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424
  1. # Copyright 2018 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. # This is a .pyl, or "Python Literal", file. You can treat it just like a
  5. # .json file, with the following exceptions:
  6. # * all keys must be quoted (use single quotes, please);
  7. # * comments are allowed, using '#' syntax; and
  8. # * trailing commas are allowed.
  9. #
  10. # The mixins known to exist. These can be applied to a waterfall, builder, or
  11. # test. The mixins are copied verbatim for each test in a config, overwriting
  12. # existing values. These values can be overriden by exceptions.
  13. #
  14. # 'swarming' mixins are copied verbatim into the test, with one exception; the
  15. # swarming 'dimensions' key. All values in the 'dimensions' key are applied to
  16. # every 'dimension_set' in a test, creating one if no 'dimension_set' already
  17. # exists.
  18. #
  19. # TODO: Potentially switch structure. It's possible we want swarming dimensions
  20. # to live in their own 'swarming' top level key in this file. The file would
  21. # then look something like:
  22. #
  23. # {
  24. # 'swarming': {
  25. # 'x86-64': {
  26. # 'cpu': 'x86-64',
  27. # },
  28. # },
  29. # 'coverage_data': {
  30. # 'isolate_profile_data': True,
  31. # },
  32. # }
  33. #
  34. # This could make things more clear for users, but would require moving mixins
  35. # into sections. Re-evaluate if there are more uses of this potential feature.
  36. #
  37. # Examples:
  38. #
  39. # == Regular ==
  40. # Mixin:
  41. # 'mac-archive-rel-args': {
  42. # 'args': [
  43. # 'mac-release/sizes',
  44. # ],
  45. # },
  46. #
  47. # Waterfall:
  48. # {
  49. # 'name': 'chromium'
  50. # 'machines': {
  51. # 'mac-archive-rel': {
  52. # 'test_suites': {
  53. # 'scripts': 'public_build_scripts',
  54. # },
  55. # 'mixins': ['mac-archive-rel-args'],
  56. # },
  57. # },
  58. # },
  59. #
  60. # Output:
  61. # {
  62. # 'name': 'chromium'
  63. # 'machines': {
  64. # 'mac-archive-rel': {
  65. # "scripts": [
  66. # {
  67. # "args": [
  68. # "mac-release/sizes"
  69. # ],
  70. # "name": "sizes",
  71. # "script": "sizes.py"
  72. # }
  73. # ]
  74. # },
  75. # },
  76. # },
  77. #
  78. # == Swarming ==
  79. # Mixin:
  80. # 'x86-64': {
  81. # 'swarming': {
  82. # 'dimensions': {
  83. # 'cpu': 'x86-64',
  84. # },
  85. # },
  86. # },
  87. #
  88. # Waterfall:
  89. # {
  90. # 'name': 'chromium'
  91. # 'machines': {
  92. # 'msan-bot': {
  93. # 'test_suites': {
  94. # 'scripts': 'linux_chromeos_gtests',
  95. # },
  96. # 'mixins': ['x86-64'],
  97. # },
  98. # },
  99. # },
  100. #
  101. # Output:
  102. # {
  103. # 'name': 'chromium'
  104. # 'machines': {
  105. # 'msan-bot': {
  106. # "gtest_tests": [
  107. # {
  108. # "args": [
  109. # "--test-launcher-print-test-stdio=always"
  110. # ],
  111. # "swarming": {
  112. # "can_use_on_swarming_builders": true,
  113. # "dimension_sets": [
  114. # {
  115. # "cpu": "x86-64",
  116. # "os": "Ubuntu-14.04"
  117. # }
  118. # ]
  119. # },
  120. # "test": "accessibility_unittests"
  121. # },
  122. # <snip>
  123. # },
  124. # },
  125. # },
  126. {
  127. '10-x86-emulator': {
  128. '$mixin_append': {
  129. 'args': [
  130. '--avd-config=../../tools/android/avd/proto/generic_android29.textpb',
  131. ],
  132. },
  133. 'swarming': {
  134. # soft affinity so that bots with caches will be picked first
  135. 'optional_dimensions': {
  136. '60': [
  137. {
  138. 'caches': 'generic_android29',
  139. }
  140. ],
  141. },
  142. 'named_caches': [
  143. {
  144. 'name': 'generic_android29',
  145. 'path': '.android_emulator/generic_android29',
  146. },
  147. ]
  148. },
  149. },
  150. '11-x86-emulator': {
  151. '$mixin_append': {
  152. 'args': [
  153. '--avd-config=../../tools/android/avd/proto/generic_android30.textpb',
  154. ],
  155. },
  156. 'swarming': {
  157. # soft affinity so that bots with caches will be picked first
  158. 'optional_dimensions': {
  159. '60': [
  160. {
  161. 'caches': 'generic_android30',
  162. }
  163. ],
  164. },
  165. 'named_caches': [
  166. {
  167. 'name': 'generic_android30',
  168. 'path': '.android_emulator/generic_android30',
  169. },
  170. ]
  171. },
  172. },
  173. '12-x64-emulator': {
  174. '$mixin_append': {
  175. 'args': [
  176. '--avd-config=../../tools/android/avd/proto/generic_android31.textpb',
  177. ],
  178. },
  179. 'swarming': {
  180. # soft affinity so that bots with caches will be picked first
  181. 'optional_dimensions': {
  182. '60': [
  183. {
  184. 'caches': 'generic_android31',
  185. }
  186. ],
  187. },
  188. 'named_caches': [
  189. {
  190. 'name': 'generic_android31',
  191. 'path': '.android_emulator/generic_android31',
  192. },
  193. ]
  194. },
  195. },
  196. 'android_r': {
  197. 'swarming': {
  198. 'dimensions': {
  199. 'device_os': 'R',
  200. },
  201. },
  202. },
  203. 'android_t': {
  204. 'swarming': {
  205. 'dimensions': {
  206. 'device_os': 'T',
  207. },
  208. },
  209. },
  210. 'arm64': {
  211. 'swarming': {
  212. 'dimensions': {
  213. 'cpu': 'arm64',
  214. },
  215. },
  216. },
  217. 'blink_tests_write_run_histories': {
  218. '$mixin_append': {
  219. 'args': [
  220. '--write-run-histories-to=${ISOLATED_OUTDIR}/run_histories.json',
  221. ],
  222. },
  223. },
  224. 'bullhead': {
  225. 'swarming': {
  226. 'dimensions': {
  227. 'device_type': 'bullhead',
  228. 'os': 'Android',
  229. },
  230. },
  231. },
  232. 'chrome-finch-swarming-pool': {
  233. 'swarming': {
  234. 'dimensions': {
  235. 'pool': 'chrome.tests.finch',
  236. },
  237. },
  238. },
  239. 'chrome-swarming-pool': {
  240. 'swarming': {
  241. 'dimensions': {
  242. 'pool': 'chrome.tests',
  243. },
  244. },
  245. },
  246. 'chrome-tester-service-account': {
  247. 'swarming': {
  248. 'service_account': 'chrome-tester@chops-service-accounts.iam.gserviceaccount.com',
  249. },
  250. },
  251. 'chromeos-amd64-generic': {
  252. 'swarming': {
  253. 'dimension_sets': [
  254. {
  255. 'cpu': 'x86',
  256. 'kvm': '1',
  257. 'os': 'Ubuntu-18.04',
  258. 'pool': 'chromium.tests',
  259. }
  260. ],
  261. 'optional_dimensions': {
  262. '60': [
  263. {
  264. 'caches': 'cros_vm',
  265. }
  266. ],
  267. },
  268. # This cache dir doesn't actually contain anything. Rather, its presence
  269. # merely signals to the fleet that the a CrOS VM test recently ran on the
  270. # bot and that its large VM image is likely still present in the bot's
  271. # isolated cache. So by optionally targeting bots with that magic dir,
  272. # CrOS VM tests can naturally have higher cache hit rates.
  273. 'named_caches': [
  274. {
  275. 'name': 'cros_vm',
  276. 'path': 'magic_cros_vm_cache',
  277. },
  278. ],
  279. },
  280. },
  281. 'chromeos-betty': {
  282. 'swarming': {
  283. 'dimension_sets': [
  284. {
  285. 'cpu': 'x86',
  286. 'kvm': '1',
  287. 'gce': '1',
  288. 'os': 'Ubuntu-18.04',
  289. 'pool': 'chrome.tests',
  290. }
  291. ],
  292. 'optional_dimensions': {
  293. '60': [
  294. {
  295. 'caches': 'cros_vm',
  296. }
  297. ],
  298. },
  299. # See the 'chromeos-amd64-generic' mixin above for the purpose of this
  300. # cache.
  301. 'named_caches': [
  302. {
  303. 'name': 'cros_vm',
  304. 'path': 'magic_cros_vm_cache',
  305. },
  306. ],
  307. },
  308. },
  309. 'chromeos-jacuzzi': {
  310. 'swarming': {
  311. 'dimensions': {
  312. 'os': 'ChromeOS',
  313. 'device_type': 'jacuzzi',
  314. },
  315. },
  316. },
  317. 'chromeos-kevin': {
  318. 'swarming': {
  319. 'dimensions': {
  320. 'os': 'ChromeOS',
  321. 'device_type': 'kevin',
  322. 'pool': 'chromium.tests',
  323. },
  324. },
  325. },
  326. 'chromeos-octopus': {
  327. 'swarming': {
  328. 'dimensions': {
  329. 'os': 'ChromeOS',
  330. 'device_type': 'octopus',
  331. },
  332. },
  333. },
  334. 'chromeos-reven': {
  335. 'swarming': {
  336. 'dimension_sets': [
  337. {
  338. 'cpu': 'x86',
  339. 'kvm': '1',
  340. 'gce': '1',
  341. 'os': 'Ubuntu-18.04',
  342. 'pool': 'chrome.tests',
  343. }
  344. ],
  345. 'optional_dimensions': {
  346. '60': [
  347. {
  348. 'caches': 'cros_reven_vm',
  349. }
  350. ],
  351. },
  352. # See the 'chromeos-amd64-generic' mixin above for the purpose of this
  353. # cache.
  354. 'named_caches': [
  355. {
  356. 'name': 'cros_reven_vm',
  357. 'path': 'magic_cros_reven_vm_cache',
  358. },
  359. ],
  360. },
  361. },
  362. 'chromeos-zork': {
  363. 'swarming': {
  364. 'dimensions': {
  365. 'os': 'ChromeOS',
  366. 'device_type': 'zork',
  367. },
  368. },
  369. },
  370. 'chromium-tester-dev-service-account': {
  371. 'swarming': {
  372. 'service_account': 'chromium-tester-dev@chops-service-accounts.iam.gserviceaccount.com',
  373. },
  374. },
  375. 'chromium-tester-service-account': {
  376. 'swarming': {
  377. 'service_account': 'chromium-tester@chops-service-accounts.iam.gserviceaccount.com',
  378. },
  379. },
  380. 'chromium-webrtc-rel-linux': {
  381. 'perf_builder_name_alias': 'chromium-webrtc-rel-linux',
  382. },
  383. 'chromium-webrtc-rel-mac': {
  384. 'perf_builder_name_alias': 'chromium-webrtc-rel-mac',
  385. },
  386. 'chromium-webrtc-rel-win10': {
  387. 'perf_builder_name_alias': 'chromium-webrtc-rel-win10',
  388. },
  389. # Used for invert CQ tests selection. Adding ci_only: False to
  390. # test_suite_exceptions.pyl to select tests that are allowed on CQ builders.
  391. 'ci_only': {
  392. 'ci_only': True,
  393. },
  394. 'dawn_end2end_gpu_test': {
  395. '$mixin_append': {
  396. 'args': [
  397. '--use-gpu-in-tests',
  398. # Dawn test retries deliberately disabled to prevent flakiness.
  399. '--test-launcher-retry-limit=0',
  400. '--exclusive-device-type-preference=discrete,integrated',
  401. ],
  402. },
  403. },
  404. 'disable_check_flakiness_web_tests': {
  405. 'check_flakiness_for_new_tests': False,
  406. },
  407. 'disable_field_trial_config_for_earl_grey': {
  408. '$mixin_append': {
  409. 'args': [
  410. '--extra-app-args=--disable-field-trial-config',
  411. ],
  412. },
  413. },
  414. 'docker': {
  415. 'swarming': {
  416. 'dimensions': {
  417. 'inside_docker': '1',
  418. },
  419. },
  420. },
  421. 'emulator-4-cores': {
  422. 'swarming': {
  423. 'dimensions': {
  424. 'device_os': None,
  425. 'device_type': None,
  426. 'pool': 'chromium.tests.avd',
  427. 'machine_type': 'n1-standard-4|e2-standard-4',
  428. },
  429. },
  430. },
  431. 'emulator-8-cores': {
  432. 'swarming': {
  433. 'dimensions': {
  434. 'device_os': None,
  435. 'device_type': None,
  436. 'pool': 'chromium.tests.avd',
  437. 'machine_type': 'e2-standard-8',
  438. },
  439. },
  440. },
  441. 'femu-additional-ram': {
  442. '$mixin_append': {
  443. 'args': [
  444. '--ram-size-mb=16384',
  445. ],
  446. },
  447. },
  448. 'finch-chromium-swarming-pool': {
  449. 'swarming': {
  450. 'dimensions': {
  451. 'pool': 'chromium.tests.finch',
  452. },
  453. },
  454. },
  455. 'flame': {
  456. # Pixel 4
  457. 'swarming': {
  458. 'dimensions': {
  459. 'device_type': 'flame',
  460. 'os': 'Android',
  461. },
  462. },
  463. },
  464. 'fuchsia-code-coverage': {
  465. '$mixin_append': {
  466. 'args': [
  467. '--code-coverage',
  468. '--code-coverage-dir=${ISOLATED_OUTDIR}'
  469. ],
  470. },
  471. },
  472. 'fuchsia-test-pool': {
  473. # This pool is dedicated to test the test infra of fuchsia in chromium.
  474. 'swarming': {
  475. 'dimensions': {
  476. 'pool': 'chromium.tests.fuchsia',
  477. },
  478. },
  479. },
  480. 'fuchsia_logs': {
  481. '$mixin_append': {
  482. 'args': [
  483. '--logs-dir=${ISOLATED_OUTDIR}/logs',
  484. ],
  485. },
  486. },
  487. 'gpu-exp-swarming-pool': {
  488. 'swarming': {
  489. 'dimensions': {
  490. 'pool': 'chromium.tests.gpu.experimental',
  491. },
  492. },
  493. },
  494. 'gpu-swarming-pool': {
  495. 'swarming': {
  496. 'dimensions': {
  497. 'pool': 'chromium.tests.gpu',
  498. },
  499. },
  500. },
  501. 'gtest_run_disabled': {
  502. '$mixin_append': {
  503. 'args': [
  504. '--gtest_also_run_disabled_tests',
  505. ],
  506. },
  507. },
  508. 'gtest_run_disabled_only': {
  509. '$mixin_append': {
  510. 'args': [
  511. '--gtest_also_run_disabled_tests',
  512. '--gtest_filter=*DISABLE*',
  513. ],
  514. },
  515. },
  516. 'hammerhead': {
  517. # Nexus 5
  518. 'swarming': {
  519. 'dimensions': {
  520. 'device_type': 'hammerhead',
  521. 'os': 'Android',
  522. },
  523. },
  524. },
  525. # Use of this mixin signals to the recipe that the test uploads its results
  526. # to result-sink and doesn't need to be wrapped by result_adapter.
  527. 'has_native_resultdb_integration': {
  528. 'resultdb': {
  529. 'enable': True,
  530. # TODO(crbug.com/1163797): Remove the 'enable' field in favor of
  531. # 'has_native_resultdb_integration'.
  532. 'has_native_resultdb_integration': True,
  533. },
  534. },
  535. 'ios_custom_webkit': {
  536. '$mixin_append': {
  537. 'args': [
  538. '--args-json',
  539. '{"test_args": ["--run-with-custom-webkit"]}'
  540. ],
  541. },
  542. },
  543. 'ios_output_disabled_tests': {
  544. '$mixin_append': {
  545. 'args': [
  546. '--args-json',
  547. '{"test_args": ["--write-compiled-tests-json-to-writable-path"]}'
  548. ],
  549. },
  550. },
  551. 'ios_restart_device': {
  552. '$mixin_append': {
  553. 'args': [
  554. '--restart',
  555. ],
  556. },
  557. },
  558. 'ios_runtime_cache_14_4': {
  559. '$mixin_append': {
  560. 'swarming': {
  561. 'named_caches': [
  562. {
  563. 'name': 'runtime_ios_14_4',
  564. 'path': 'Runtime-ios-14.4',
  565. },
  566. ],
  567. },
  568. },
  569. },
  570. 'ios_runtime_cache_14_5': {
  571. '$mixin_append': {
  572. 'swarming': {
  573. 'named_caches': [
  574. {
  575. 'name': 'runtime_ios_14_5',
  576. 'path': 'Runtime-ios-14.5',
  577. },
  578. ],
  579. },
  580. },
  581. },
  582. 'ios_runtime_cache_15_0': {
  583. '$mixin_append': {
  584. 'swarming': {
  585. 'named_caches': [
  586. {
  587. 'name': 'runtime_ios_15_0',
  588. 'path': 'Runtime-ios-15.0',
  589. },
  590. ],
  591. },
  592. },
  593. },
  594. 'ios_runtime_cache_15_2': {
  595. '$mixin_append': {
  596. 'swarming': {
  597. 'named_caches': [
  598. {
  599. 'name': 'runtime_ios_15_2',
  600. 'path': 'Runtime-ios-15.2',
  601. },
  602. ],
  603. },
  604. },
  605. },
  606. 'ios_runtime_cache_15_5': {
  607. '$mixin_append': {
  608. 'swarming': {
  609. 'named_caches': [
  610. {
  611. 'name': 'runtime_ios_15_5',
  612. 'path': 'Runtime-ios-15.5',
  613. },
  614. ],
  615. },
  616. },
  617. },
  618. 'ios_runtime_cache_16_0': {
  619. '$mixin_append': {
  620. 'swarming': {
  621. 'named_caches': [
  622. {
  623. 'name': 'runtime_ios_16_0',
  624. 'path': 'Runtime-ios-16.0',
  625. },
  626. ],
  627. },
  628. },
  629. },
  630. 'isolate_profile_data': {
  631. 'isolate_profile_data': True,
  632. },
  633. 'kitkat-x86-emulator': {
  634. '$mixin_append': {
  635. 'args': [
  636. '--avd-config=../../tools/android/avd/proto/generic_android19.textpb',
  637. ],
  638. },
  639. 'swarming': {
  640. # soft affinity so that bots with caches will be picked first
  641. 'optional_dimensions': {
  642. '60': [
  643. {
  644. 'caches': 'generic_android19',
  645. }
  646. ],
  647. },
  648. 'named_caches': [
  649. {
  650. 'name': 'generic_android19',
  651. 'path': '.android_emulator/generic_android19',
  652. },
  653. ]
  654. },
  655. },
  656. 'limited_capacity_bot': {
  657. # Some FYI bot configurations have a limited number of bots in the swarming
  658. # pool. Increase the default expiration time from 1 hour to 6 hours to
  659. # prevent shards from timing out.
  660. 'swarming': {
  661. 'expiration': 21600,
  662. },
  663. },
  664. 'linux-archive-rel-args': {
  665. 'args': [
  666. 'linux-release-64/sizes',
  667. ],
  668. },
  669. 'linux-bionic': {
  670. 'swarming': {
  671. 'dimensions': {
  672. 'os': 'Ubuntu-18.04',
  673. },
  674. },
  675. },
  676. 'linux-focal': {
  677. 'swarming': {
  678. 'dimensions': {
  679. 'os': 'Ubuntu-20.04',
  680. },
  681. },
  682. },
  683. # TODO(crbug.com/1260217): Remove the xenial mixin once the MSAN bots have
  684. # migrated to focal.
  685. 'linux-xenial': {
  686. 'swarming': {
  687. 'dimensions': {
  688. 'os': 'Ubuntu-16.04',
  689. },
  690. },
  691. },
  692. 'linux_amd_rx_5500_xt': {
  693. 'swarming': {
  694. 'dimensions': {
  695. 'gpu': '1002:7340',
  696. 'os': 'Ubuntu-18.04.6',
  697. 'pool': 'chromium.tests.gpu',
  698. },
  699. },
  700. },
  701. 'linux_intel_uhd_630_experimental': {
  702. 'swarming': {
  703. 'dimensions': {
  704. 'gpu': '8086:9bc5-20.0.8',
  705. 'os': 'Ubuntu-18.04.6',
  706. 'pool': 'chromium.tests.gpu',
  707. },
  708. }
  709. },
  710. 'linux_intel_uhd_630_stable': {
  711. 'swarming': {
  712. 'dimensions': {
  713. 'gpu': '8086:9bc5-20.0.8',
  714. 'os': 'Ubuntu-18.04.6',
  715. 'pool': 'chromium.tests.gpu',
  716. },
  717. }
  718. },
  719. 'linux_nvidia_gtx_1660_experimental': {
  720. 'swarming': {
  721. 'dimensions': {
  722. 'gpu': '10de:2184-440.100',
  723. 'os': 'Ubuntu-18.04.5|Ubuntu-18.04.6',
  724. 'pool': 'chromium.tests.gpu',
  725. },
  726. },
  727. },
  728. 'linux_nvidia_gtx_1660_stable': {
  729. 'swarming': {
  730. 'dimensions': {
  731. 'gpu': '10de:2184-440.100',
  732. 'os': 'Ubuntu-18.04.5|Ubuntu-18.04.6',
  733. 'pool': 'chromium.tests.gpu',
  734. },
  735. },
  736. },
  737. 'lollipop-x86-emulator': {
  738. '$mixin_append': {
  739. 'args': [
  740. '--avd-config=../../tools/android/avd/proto/generic_android22.textpb',
  741. ],
  742. },
  743. 'swarming': {
  744. # soft affinity so that bots with caches will be picked first
  745. 'optional_dimensions': {
  746. '60': [
  747. {
  748. 'caches': 'generic_android22',
  749. }
  750. ],
  751. },
  752. 'named_caches': [
  753. {
  754. 'name': 'generic_android22',
  755. 'path': '.android_emulator/generic_android22',
  756. },
  757. ]
  758. },
  759. },
  760. 'mac-archive-rel-args': {
  761. 'args': [
  762. 'mac-release/sizes',
  763. ],
  764. },
  765. 'mac_10.13': {
  766. 'swarming': {
  767. 'dimensions': {
  768. 'cpu': 'x86-64',
  769. 'os': 'Mac-10.13.6',
  770. },
  771. },
  772. },
  773. 'mac_10.14': {
  774. 'swarming': {
  775. 'dimensions': {
  776. 'cpu': 'x86-64',
  777. 'os': 'Mac-10.14.6',
  778. },
  779. },
  780. },
  781. 'mac_10.15': {
  782. 'swarming': {
  783. 'dimensions': {
  784. 'cpu': 'x86-64',
  785. 'os': 'Mac-10.15',
  786. },
  787. },
  788. },
  789. 'mac_11_arm64': {
  790. 'swarming': {
  791. 'dimensions': {
  792. 'cpu': 'arm64',
  793. 'os': 'Mac-11',
  794. },
  795. },
  796. },
  797. 'mac_11_x64': {
  798. 'swarming': {
  799. 'dimensions': {
  800. 'cpu': 'x86-64',
  801. 'os': 'Mac-11|Mac-10.16',
  802. },
  803. },
  804. },
  805. 'mac_12_arm64': {
  806. 'swarming': {
  807. 'dimensions': {
  808. 'cpu': 'arm64',
  809. 'os': 'Mac-12',
  810. },
  811. },
  812. },
  813. # TODO (crbug/1351123): Adding ONLY for iOS to specify T2 only due to xcode14
  814. 'mac_12_t2_x64': {
  815. 'swarming': {
  816. 'dimensions': {
  817. 'cpu': 'x86-64',
  818. 'mac_model': 'Macmini8,1',
  819. 'os': 'Mac-12',
  820. },
  821. },
  822. },
  823. 'mac_12_x64': {
  824. 'swarming': {
  825. 'dimensions': {
  826. 'cpu': 'x86-64',
  827. 'os': 'Mac-12',
  828. },
  829. },
  830. },
  831. 'mac_arm64_apple_m1_gpu_experimental': {
  832. 'swarming': {
  833. 'dimensions': {
  834. 'cpu': 'arm64',
  835. 'mac_model': 'Macmini9,1',
  836. 'os': 'Mac-12',
  837. 'pool': 'chromium.tests',
  838. 'display_attached': '1',
  839. },
  840. },
  841. },
  842. 'mac_arm64_apple_m1_gpu_stable': {
  843. 'swarming': {
  844. 'dimensions': {
  845. 'cpu': 'arm64',
  846. 'mac_model': 'Macmini9,1',
  847. 'os': 'Mac-11|Mac-12',
  848. 'pool': 'chromium.tests',
  849. 'display_attached': '1',
  850. },
  851. },
  852. },
  853. 'mac_beta_arm64': {
  854. 'swarming': {
  855. 'dimensions': {
  856. 'cpu': 'arm64',
  857. 'os': 'Mac-12.4',
  858. },
  859. },
  860. },
  861. 'mac_beta_x64': {
  862. 'swarming': {
  863. 'dimensions': {
  864. 'cpu': 'x86-64',
  865. 'os': 'Mac-12.4',
  866. },
  867. },
  868. },
  869. 'mac_mini_intel_gpu_experimental': {
  870. 'swarming': {
  871. 'dimensions': {
  872. 'cpu': 'x86-64',
  873. 'gpu': '8086:3e9b',
  874. 'os': 'Mac-12.4',
  875. 'display_attached': '1',
  876. },
  877. },
  878. },
  879. 'mac_mini_intel_gpu_stable': {
  880. 'swarming': {
  881. 'dimensions': {
  882. 'cpu': 'x86-64',
  883. 'gpu': '8086:3e9b',
  884. 'os': 'Mac-11.5.2|Mac-12.4',
  885. 'display_attached': '1',
  886. },
  887. },
  888. },
  889. 'mac_pro_amd_gpu': {
  890. 'swarming': {
  891. 'dimensions': {
  892. 'cpu': 'x86-64',
  893. 'gpu': '1002:679e',
  894. 'os': 'Mac-12.4',
  895. 'pool': 'chromium.tests.gpu',
  896. 'display_attached': '1',
  897. },
  898. },
  899. },
  900. 'mac_retina_amd_gpu_experimental': {
  901. 'swarming': {
  902. 'dimensions': {
  903. 'cpu': 'x86-64',
  904. 'gpu': '1002:6821',
  905. 'hidpi': '1',
  906. 'os': 'Mac-12.1',
  907. 'pool': 'chromium.tests.gpu',
  908. 'display_attached': '1',
  909. },
  910. },
  911. },
  912. 'mac_retina_amd_gpu_stable': {
  913. 'swarming': {
  914. 'dimensions': {
  915. 'cpu': 'x86-64',
  916. 'gpu': '1002:6821',
  917. 'hidpi': '1',
  918. 'os': 'Mac-12.1',
  919. 'pool': 'chromium.tests.gpu',
  920. 'display_attached': '1',
  921. },
  922. },
  923. },
  924. 'mac_retina_nvidia_gpu_experimental': {
  925. # Currently the same as the stable version.
  926. 'swarming': {
  927. 'dimensions': {
  928. 'cpu': 'x86-64',
  929. 'gpu': '10de:0fe9',
  930. 'hidpi': '1',
  931. 'os': 'Mac-10.14.6',
  932. 'pool': 'chromium.tests.gpu',
  933. 'display_attached': '1',
  934. },
  935. },
  936. },
  937. 'mac_retina_nvidia_gpu_stable': {
  938. 'swarming': {
  939. 'dimensions': {
  940. 'cpu': 'x86-64',
  941. 'gpu': '10de:0fe9',
  942. 'hidpi': '1',
  943. 'os': 'Mac-10.14.6',
  944. 'pool': 'chromium.tests.gpu',
  945. 'display_attached': '1',
  946. },
  947. },
  948. },
  949. 'mac_toolchain': {
  950. 'swarming': {
  951. 'cipd_packages': [
  952. {
  953. "cipd_package": 'infra/tools/mac_toolchain/${platform}',
  954. 'location': '.',
  955. 'revision': 'git_revision:723fc1a6c8cdf2631a57851f5610e598db0c1de1',
  956. },
  957. ],
  958. },
  959. },
  960. # mac_x64 is used as a prefered OS dimension for mac platform instead of any
  961. # mac OS version. It selects the most representative dimension on Swarming.
  962. 'mac_x64': {
  963. 'swarming': {
  964. 'dimension_sets': [
  965. {
  966. 'os': 'Mac-12',
  967. 'cpu': 'x86-64',
  968. },
  969. ],
  970. },
  971. },
  972. 'marshmallow': {
  973. 'swarming': {
  974. 'dimensions': {
  975. 'device_os': 'MMB29Q',
  976. },
  977. },
  978. },
  979. 'marshmallow-x86-emulator': {
  980. '$mixin_append': {
  981. 'args': [
  982. '--avd-config=../../tools/android/avd/proto/generic_android23.textpb',
  983. ],
  984. },
  985. 'swarming': {
  986. # soft affinity so that bots with caches will be picked first
  987. 'optional_dimensions': {
  988. '60': [
  989. {
  990. 'caches': 'generic_android23',
  991. }
  992. ],
  993. },
  994. 'named_caches': [
  995. {
  996. 'name': 'generic_android23',
  997. 'path': '.android_emulator/generic_android23',
  998. },
  999. ]
  1000. },
  1001. },
  1002. 'marshmallow_generic': {
  1003. 'swarming': {
  1004. 'dimensions': {
  1005. 'device_os': 'M',
  1006. },
  1007. },
  1008. },
  1009. 'mdarcy': {
  1010. # NVIDIA Shield TV 2019
  1011. 'swarming': {
  1012. 'dimensions': {
  1013. 'device_type': 'mdarcy',
  1014. 'os': 'Android',
  1015. },
  1016. },
  1017. },
  1018. 'no_gpu': {
  1019. 'swarming': {
  1020. 'dimensions': {
  1021. 'gpu': 'none',
  1022. },
  1023. },
  1024. },
  1025. 'nougat-x86-emulator': {
  1026. '$mixin_append': {
  1027. 'args': [
  1028. '--avd-config=../../tools/android/avd/proto/generic_android24.textpb',
  1029. ],
  1030. },
  1031. 'swarming': {
  1032. # soft affinity so that bots with caches will be picked first
  1033. 'optional_dimensions': {
  1034. '60': [
  1035. {
  1036. 'caches': 'generic_android25',
  1037. }
  1038. ],
  1039. },
  1040. 'named_caches': [
  1041. {
  1042. 'name': 'generic_android25',
  1043. 'path': '.android_emulator/generic_android25',
  1044. },
  1045. ]
  1046. },
  1047. },
  1048. 'nougat_generic': {
  1049. 'swarming': {
  1050. 'dimensions': {
  1051. 'device_os': 'N',
  1052. },
  1053. },
  1054. },
  1055. 'oreo-x86-emulator': {
  1056. '$mixin_append': {
  1057. 'args': [
  1058. '--avd-config=../../tools/android/avd/proto/generic_android27.textpb',
  1059. ],
  1060. },
  1061. 'swarming': {
  1062. # soft affinity so that bots with caches will be picked first
  1063. 'optional_dimensions': {
  1064. '60': [
  1065. {
  1066. 'caches': 'generic_android27',
  1067. }
  1068. ],
  1069. },
  1070. 'named_caches': [
  1071. {
  1072. 'name': 'generic_android27',
  1073. 'path': '.android_emulator/generic_android27',
  1074. },
  1075. ]
  1076. },
  1077. },
  1078. 'oreo_fleet': {
  1079. 'swarming': {
  1080. 'dimensions': {
  1081. 'device_os': 'OPM4.171019.021.P2',
  1082. 'device_os_flavor': 'google',
  1083. },
  1084. },
  1085. },
  1086. 'oriole': {
  1087. # Pixel 6
  1088. 'swarming': {
  1089. 'dimensions': {
  1090. 'device_type': 'oriole',
  1091. 'os': 'Android',
  1092. },
  1093. },
  1094. },
  1095. 'out_dir_arg': {
  1096. '$mixin_append': {
  1097. 'args': [
  1098. '--out-dir',
  1099. '${ISOLATED_OUTDIR}'
  1100. ],
  1101. },
  1102. },
  1103. 'pie-x86-emulator': {
  1104. '$mixin_append': {
  1105. 'args': [
  1106. '--avd-config=../../tools/android/avd/proto/generic_android28.textpb',
  1107. ],
  1108. },
  1109. 'swarming': {
  1110. # soft affinity so that bots with caches will be picked first
  1111. 'optional_dimensions': {
  1112. '60': [
  1113. {
  1114. 'caches': 'generic_android28',
  1115. }
  1116. ],
  1117. },
  1118. 'named_caches': [
  1119. {
  1120. 'name': 'generic_android28',
  1121. 'path': '.android_emulator/generic_android28',
  1122. },
  1123. ]
  1124. },
  1125. },
  1126. 'pie_fleet': {
  1127. 'swarming': {
  1128. 'dimensions': {
  1129. 'device_os': 'PQ3A.190801.002',
  1130. 'device_os_flavor': 'google',
  1131. },
  1132. },
  1133. },
  1134. 'pie_generic': {
  1135. 'swarming': {
  1136. 'dimensions': {
  1137. 'device_os': 'P',
  1138. },
  1139. },
  1140. },
  1141. 'skia_gold_test': {
  1142. '$mixin_append': {
  1143. 'args': [
  1144. '--git-revision=${got_revision}',
  1145. # BREAK GLASS IN CASE OF EMERGENCY
  1146. # Uncommenting this argument will bypass all interactions with Skia
  1147. # Gold in any tests that use it. This is meant as a temporary
  1148. # emergency stop in case of a Gold outage that's affecting the bots.
  1149. # '--bypass-skia-gold-functionality',
  1150. ],
  1151. 'precommit_args': [
  1152. '--gerrit-issue=${patch_issue}',
  1153. '--gerrit-patchset=${patch_set}',
  1154. '--buildbucket-id=${buildbucket_build_id}',
  1155. ],
  1156. }
  1157. },
  1158. 'swarming_containment_auto': {
  1159. 'swarming': {
  1160. 'containment_type': 'AUTO',
  1161. },
  1162. },
  1163. 'timeout_15m': {
  1164. 'swarming': {
  1165. 'hard_timeout': 900,
  1166. 'io_timeout': 900,
  1167. },
  1168. },
  1169. 'vr_instrumentation_test': {
  1170. '$mixin_append': {
  1171. 'args': [
  1172. '--remove-system-package=com.google.vr.vrcore',
  1173. '--additional-apk=//third_party/gvr-android-sdk/test-apks/vr_services/vr_services_current.apk',
  1174. ],
  1175. },
  1176. },
  1177. 'walleye': {
  1178. # Pixel 2
  1179. 'swarming': {
  1180. 'dimensions': {
  1181. 'device_type': 'walleye',
  1182. 'os': 'Android',
  1183. },
  1184. },
  1185. },
  1186. 'webgpu_cts': {
  1187. '$mixin_append': {
  1188. 'args': [
  1189. # crbug.com/953991 Ensure WebGPU is ready before running tests
  1190. '--initialize-webgpu-adapter-at-startup-timeout-ms=60000',
  1191. ],
  1192. 'win64_args': [ '--target=Release_x64' ],
  1193. 'mac_args': [
  1194. '--platform=mac-mac11'
  1195. ],
  1196. 'linux_args': [
  1197. '--no-xvfb',
  1198. '--additional-driver-flag=--enable-features=Vulkan',
  1199. ],
  1200. },
  1201. 'merge': {
  1202. 'args': [
  1203. '--verbose',
  1204. ],
  1205. 'script': '//third_party/blink/tools/merge_web_test_results.py',
  1206. },
  1207. 'resultdb': {
  1208. 'enable': True,
  1209. },
  1210. },
  1211. 'webgpu_telemetry_cts': {
  1212. '$mixin_append': {
  1213. 'args': [
  1214. '--extra-browser-args=--force_high_performance_gpu',
  1215. '--retry-limit=3',
  1216. '--jobs=4',
  1217. ],
  1218. 'linux_args': [
  1219. '--extra-browser-args=--enable-features=Vulkan',
  1220. ],
  1221. },
  1222. },
  1223. 'win10': {
  1224. 'swarming': {
  1225. 'dimensions': {
  1226. 'os': 'Windows-10-19042',
  1227. },
  1228. },
  1229. },
  1230. 'win10-1909': {
  1231. 'swarming': {
  1232. 'dimensions': {
  1233. 'os': 'Windows-10-18363',
  1234. },
  1235. },
  1236. },
  1237. 'win10_amd_rx_5500_xt': {
  1238. 'swarming': {
  1239. 'dimensions': {
  1240. 'gpu': '1002:7340',
  1241. 'os': 'Windows-10',
  1242. 'pool': 'chromium.tests.gpu.experimental',
  1243. },
  1244. },
  1245. },
  1246. 'win10_gce_gpu_pool': {
  1247. 'swarming': {
  1248. 'dimensions': {
  1249. 'cpu': 'x86-64',
  1250. 'gpu': 'none',
  1251. 'os': 'Windows-10',
  1252. 'pool': 'chromium.tests.gpu',
  1253. },
  1254. },
  1255. },
  1256. 'win10_intel_hd_630_experimental': {
  1257. 'swarming': {
  1258. 'dimensions': {
  1259. 'gpu': '8086:5912-26.20.100.8141|8086:3e92-26.20.100.8141',
  1260. 'os': 'Windows-10',
  1261. 'pool': 'chromium.tests.gpu',
  1262. },
  1263. },
  1264. },
  1265. 'win10_intel_hd_630_stable': {
  1266. 'swarming': {
  1267. 'dimensions': {
  1268. 'gpu': '8086:5912-26.20.100.8141|8086:3e92-26.20.100.8141',
  1269. 'os': 'Windows-10',
  1270. 'pool': 'chromium.tests.gpu',
  1271. },
  1272. },
  1273. },
  1274. 'win10_intel_hd_630_stable_dimension_set': {
  1275. 'swarming': {
  1276. # We use explicit 'dimension_sets' instead of 'dimensions' since this is
  1277. # used in conjunction with 'win10_nvidia_gtx_1660_stable_dimension_set'
  1278. # to trigger tests on multiple configurations.
  1279. 'dimension_sets': [
  1280. {
  1281. 'gpu': '8086:5912-26.20.100.8141|8086:3e92-26.20.100.8141',
  1282. 'os': 'Windows-10',
  1283. 'pool': 'chromium.tests.gpu',
  1284. },
  1285. ],
  1286. },
  1287. },
  1288. 'win10_nvidia_gtx_1660_experimental': {
  1289. 'swarming': {
  1290. 'dimensions': {
  1291. 'gpu': '10de:2184-27.21.14.5638',
  1292. 'os': 'Windows-10-18363',
  1293. 'pool': 'chromium.tests.gpu',
  1294. },
  1295. },
  1296. },
  1297. 'win10_nvidia_gtx_1660_stable': {
  1298. 'swarming': {
  1299. 'dimensions': {
  1300. 'gpu': '10de:2184-27.21.14.5638',
  1301. 'os': 'Windows-10-18363',
  1302. 'pool': 'chromium.tests.gpu',
  1303. },
  1304. },
  1305. },
  1306. # Version of win10_nvidia_gtx_1660_stable that uses 'dimension_sets'
  1307. # instead of 'dimensions' so it can be used to trigger tests on multiple
  1308. # configurations.
  1309. 'win10_nvidia_gtx_1660_stable_dimension_set': {
  1310. 'swarming': {
  1311. 'dimension_sets': [
  1312. {
  1313. 'gpu': '10de:2184-27.21.14.5638',
  1314. 'os': 'Windows-10-18363',
  1315. 'pool': 'chromium.tests.gpu',
  1316. },
  1317. ],
  1318. },
  1319. },
  1320. 'win11': {
  1321. 'swarming': {
  1322. 'dimensions': {
  1323. 'os': 'Windows-11-22000',
  1324. },
  1325. },
  1326. },
  1327. 'win7': {
  1328. 'swarming': {
  1329. 'dimensions': {
  1330. 'os': 'Windows-7-SP1',
  1331. },
  1332. },
  1333. },
  1334. 'x86-32': {
  1335. 'swarming': {
  1336. 'dimensions': {
  1337. 'cpu': 'x86-32',
  1338. },
  1339. },
  1340. },
  1341. 'x86-64': {
  1342. 'swarming': {
  1343. 'dimensions': {
  1344. 'cpu': 'x86-64',
  1345. },
  1346. },
  1347. },
  1348. # xcode 12.4 gm seed
  1349. 'xcode_12d4e': {
  1350. '$mixin_append': {
  1351. 'args': [
  1352. '--xcode-build-version',
  1353. '12d4e'
  1354. ],
  1355. 'swarming': {
  1356. 'named_caches': [
  1357. {
  1358. 'name': 'xcode_ios_12d4e',
  1359. 'path': 'Xcode.app',
  1360. },
  1361. ],
  1362. },
  1363. },
  1364. },
  1365. # Default Xcode 14 beta.
  1366. 'xcode_14_beta': {
  1367. '$mixin_append': {
  1368. 'args': [
  1369. '--xcode-build-version',
  1370. '14a5294e'
  1371. ],
  1372. },
  1373. 'swarming': {
  1374. 'named_caches': [
  1375. {
  1376. 'name': 'xcode_ios_14a5294e',
  1377. 'path': 'Xcode.app',
  1378. },
  1379. ],
  1380. },
  1381. },
  1382. # Xcode 14 on iOS main.
  1383. 'xcode_14_main': {
  1384. '$mixin_append': {
  1385. 'args': [
  1386. '--xcode-build-version',
  1387. '14a5294e'
  1388. ],
  1389. },
  1390. 'swarming': {
  1391. 'named_caches': [
  1392. {
  1393. 'name': 'xcode_ios_14a5294e',
  1394. 'path': 'Xcode.app',
  1395. },
  1396. ],
  1397. },
  1398. },
  1399. 'xcode_14_readline_timeout': {
  1400. '$mixin_append': {
  1401. 'args': [
  1402. '--readline-timeout',
  1403. '600',
  1404. ],
  1405. },
  1406. },
  1407. 'xcode_parallelization': {
  1408. '$mixin_append': {
  1409. 'args': [
  1410. '--xcode-parallelization',
  1411. ],
  1412. },
  1413. },
  1414. 'xctest': {
  1415. '$mixin_append': {
  1416. 'args': [
  1417. '--xctest',
  1418. ],
  1419. },
  1420. },
  1421. }