blob: aa48c063be6007730468d7a5586d60adcfbb33ee [file] [log] [blame]
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# This is a .pyl, or "Python Literal", file. You can treat it just like a
# .json file, with the following exceptions:
# * all keys must be quoted (use single quotes, please);
# * comments are allowed, using '#' syntax; and
# * trailing commas are allowed.
#
# The mixins known to exist. These can be applied to a waterfall, builder, or
# test. The mixins are copied verbatim for each test in a config, overwriting
# existing values. These values can be overriden by exceptions.
#
# 'swarming' mixins are copied verbatim into the test, with one exception; the
# swarming 'dimensions' key. All values in the 'dimensions' key are applied to
# every 'dimension_set' in a test, creating one if no 'dimension_set' already
# exists.
#
# TODO: Potentially switch structure. It's possible we want swarming dimensions
# to live in their own 'swarming' top level key in this file. The file would
# then look something like:
#
# {
# 'swarming': {
# 'x86-64': {
# 'cpu': 'x86-64',
# },
# },
# 'coverage_data': {
# 'isolate_profile_data': True,
# },
# }
#
# This could make things more clear for users, but would require moving mixins
# into sections. Re-evaluate if there are more uses of this potential feature.
#
# Examples:
#
# == Regular ==
# Mixin:
# 'mac-archive-rel-args': {
# 'args': [
# 'mac-release/sizes',
# ],
# },
#
# Waterfall:
# {
# 'name': 'chromium'
# 'machines': {
# 'mac-archive-rel': {
# 'test_suites': {
# 'scripts': 'public_build_scripts',
# },
# 'mixins': ['mac-archive-rel-args'],
# },
# },
# },
#
# Output:
# {
# 'name': 'chromium'
# 'machines': {
# 'mac-archive-rel': {
# "scripts": [
# {
# "args": [
# "mac-release/sizes"
# ],
# "name": "sizes",
# "script": "sizes.py"
# }
# ]
# },
# },
# },
#
# == Swarming ==
# Mixin:
# 'x86-64': {
# 'swarming': {
# 'dimensions': {
# 'cpu': 'x86-64',
# },
# },
# },
#
# Waterfall:
# {
# 'name': 'chromium'
# 'machines': {
# 'msan-bot': {
# 'test_suites': {
# 'scripts': 'linux_chromeos_gtests',
# },
# 'mixins': ['x86-64'],
# },
# },
# },
#
# Output:
# {
# 'name': 'chromium'
# 'machines': {
# 'msan-bot': {
# "gtest_tests": [
# {
# "args": [
# "--test-launcher-print-test-stdio=always"
# ],
# "swarming": {
# "can_use_on_swarming_builders": true,
# "dimension_sets": [
# {
# "cpu": "x86-64",
# "os": "Ubuntu-14.04"
# }
# ]
# },
# "test": "accessibility_unittests"
# },
# <snip>
# },
# },
# },
{
'android_q': {
'swarming': {
'dimensions': {
'device_os': 'Q',
},
},
},
'angler': {
# Nexus 6P
'swarming': {
'dimensions': {
'device_type': 'angler',
'os': 'Android',
},
},
},
'arm64': {
'swarming': {
'dimensions': {
'cpu': 'arm64',
},
},
},
'bullhead': {
'swarming': {
'dimensions': {
'device_type': 'bullhead',
'os': 'Android',
},
},
},
'chrome-gold-service-account': {
'swarming': {
'service_account': 'chrome-gold@chops-service-accounts.iam.gserviceaccount.com',
},
},
'chrome-gpu-gold-service-account': {
'swarming': {
'service_account': 'chrome-gpu-gold@chops-service-accounts.iam.gserviceaccount.com',
},
},
'chrome-swarming-pool': {
'swarming': {
'dimensions': {
'pool': 'chrome.tests.template',
},
},
},
'chrome-tester-service-account': {
'swarming': {
'service_account': 'chrome-tester@chops-service-accounts.iam.gserviceaccount.com',
},
},
'chromeos-amd64-generic': {
'swarming': {
'dimensions': {
'kvm': '1',
'os': 'Ubuntu-16.04',
'pool': 'chromium.tests.cros.vm.template',
},
},
},
'chromeos-kevin': {
'swarming': {
'dimensions': {
'os': 'ChromeOS',
'device_type': 'kevin',
'pool': 'chrome-cros-dut.template',
},
},
},
# TODO(crbug.com/812428): Remove this mixin after all test pools have migrated
# to using templates.
'chromium-template-pool': {
'swarming': {
'dimensions': {
'pool': 'chromium.tests.template',
},
},
},
'chromium-tester-dev-service-account': {
'swarming': {
'service_account': 'chromium-tester-dev@chops-service-accounts.iam.gserviceaccount.com',
},
},
'chromium-tester-service-account': {
'swarming': {
'service_account': 'chromium-tester@chops-service-accounts.iam.gserviceaccount.com',
},
},
'dawn_end2end_gpu_test': {
'$mixin_append': {
'args': [
'--use-gpu-in-tests',
# Dawn test retries deliberately disabled to prevent flakiness.
'--test-launcher-retry-limit=0',
'--exclusive-device-type-preference=discrete,integrated',
],
},
},
'docker': {
'swarming': {
'dimensions': {
'inside_docker': '1',
},
},
},
'flounder': {
# Nexus 9
'swarming': {
'dimensions': {
'device_type': 'flounder',
'os': 'Android',
},
},
},
'foster': {
# NVIDIA SHIELD TV
'swarming': {
'dimensions': {
'device_os_type': 'user',
'device_type': 'foster',
'os': 'Android',
},
},
},
'fuchsia_aemu': {
'$mixin_append': {
'args': [
'--device=aemu',
],
},
},
'gpu_pool': {
'swarming': {
'dimensions': {
# TODO(crbug.com/812428): Remove the ".template" bit once the old pool
# has been migrated to using templates.
'pool': 'chromium.tests.gpu.template',
},
},
},
'hammerhead': {
# Nexus 5
'swarming': {
'dimensions': {
'device_type': 'hammerhead',
'os': 'Android',
},
},
},
'intel_iris_5100': {
'swarming': {
'dimensions': {
'gpu': '8086:0a2e',
},
},
},
'ios_custom_webkit': {
'$mixin_append': {
'args': [
'--args-json',
'{"test_args": ["--run-with-custom-webkit"]}'
],
},
},
'isolate_profile_data': {
'isolate_profile_data': True,
},
'kitkat': {
'swarming': {
'dimensions': {
'device_os': 'KTU84P',
},
},
},
'limited_capacity_bot': {
# Some FYI bot configurations have a limited number of bots in the swarming
# pool. Increase the default expiration time from 1 hour to 6 hours to
# prevent shards from timing out.
'swarming': {
'expiration': 21600,
},
},
'linux-archive-rel-args': {
'args': [
'linux-release-64/sizes',
],
},
'linux-trusty': {
'swarming': {
'dimensions': {
'os': 'Ubuntu-14.04',
},
},
},
'linux-xenial': {
'swarming': {
'dimensions': {
'os': 'Ubuntu-16.04',
},
},
},
'linux_amd_r7_240': {
'swarming': {
'dimensions': {
'gpu': '1002:6613',
'os': 'Ubuntu',
'pool': 'chromium.tests.gpu.template',
},
},
},
'linux_intel_hd_530': {
'swarming': {
'dimensions': {
'gpu': '8086:1912',
'os': 'Ubuntu',
'pool': 'chromium.tests.gpu.template',
}
}
},
'linux_intel_hd_630_experimental': {
# Similar to stable, but with a newer Mesa version.
'swarming': {
'dimensions': {
'gpu': '8086:5912-19.0.2',
'os': 'Ubuntu-19.04',
'pool': 'chromium.tests.gpu.template',
},
},
},
'linux_intel_hd_630_stable': {
'swarming': {
'dimensions': {
'gpu': '8086:5912-19.0.2',
'os': 'Ubuntu-19.04',
'pool': 'chromium.tests.gpu.template',
}
}
},
'linux_intel_uhd_630_stable': {
'swarming': {
'dimensions': {
'gpu': '8086:3e92-19.0.8',
'os': 'Ubuntu-19.04',
'pool': 'chromium.tests.gpu.template',
},
# Same long expiration as win10_intel_uhd_630_stable due to capacity.
# TODO(https://crbug.com/986939): Remove this when more devices
# are added.
'expiration': 14400,
}
},
'linux_nvidia_quadro_p400_experimental': {
'swarming': {
'dimensions': {
'gpu': '10de:1cb3-418.56',
'os': 'Ubuntu-19.04',
'pool': 'chromium.tests.gpu.template',
},
},
},
'linux_nvidia_quadro_p400_stable': {
'swarming': {
'dimensions': {
'gpu': '10de:1cb3-418.56',
'os': 'Ubuntu-19.04',
'pool': 'chromium.tests.gpu.template',
}
}
},
'lollipop': {
'swarming': {
'dimensions': {
'device_os': 'LMY48M',
},
},
},
'lollipop_generic': {
'swarming': {
'dimensions': {
'device_os': 'L',
},
},
},
'mac-archive-rel-args': {
'args': [
'mac-release/sizes',
],
},
'mac_10.10': {
'swarming': {
'dimensions': {
'os': 'Mac-10.10',
},
},
},
'mac_10.11': {
'swarming': {
'dimensions': {
'os': 'Mac-10.11',
},
},
},
'mac_10.13': {
'swarming': {
'dimensions': {
'os': 'Mac-10.13.6',
},
},
},
'mac_10.14': {
'swarming': {
'dimensions': {
'os': 'Mac-10.14.6',
},
},
},
'mac_10.15': {
'swarming': {
'dimensions': {
'os': 'Mac-10.15',
},
},
},
'mac_10.15_beta': {
'swarming': {
'dimensions': {
'os': 'Mac-10.15.5',
},
},
},
'mac_mini_10.12': {
'swarming': {
'dimensions': {
'gpu': '8086:0a2e',
'os': 'Mac-10.12.6',
},
},
},
'mac_mini_intel_gpu_experimental': {
'swarming': {
'dimensions': {
'gpu': '8086:0a2e',
'os': 'Mac-10.15.4',
},
},
},
'mac_mini_intel_gpu_stable': {
'swarming': {
'dimensions': {
'gpu': '8086:0a2e',
'os': 'Mac-10.14.6',
},
},
},
'mac_pro_amd_gpu': {
'swarming': {
'dimensions': {
'gpu': '1002:679e',
'os': 'Mac-10.12.6',
'pool': 'chromium.tests.gpu.template',
},
},
},
'mac_retina_amd_gpu_experimental': {
# Currently same configuration as stable version above.
'swarming': {
'dimensions': {
'gpu': '1002:6821',
'hidpi': '1',
'os': 'Mac-10.13.6',
'pool': 'chromium.tests.gpu.template',
},
},
},
'mac_retina_amd_gpu_stable': {
'swarming': {
'dimensions': {
'gpu': '1002:6821',
'hidpi': '1',
'os': 'Mac-10.14.6',
'pool': 'chromium.tests.gpu.template',
},
},
},
'mac_retina_nvidia_gpu_experimental': {
# Currently the same as the stable version.
'swarming': {
'dimensions': {
'gpu': '10de:0fe9',
'hidpi': '1',
'os': 'Mac-10.14.6',
'pool': 'chromium.tests.gpu.template',
},
},
},
'mac_retina_nvidia_gpu_stable': {
'swarming': {
'dimensions': {
'gpu': '10de:0fe9',
'hidpi': '1',
'os': 'Mac-10.14.6',
'pool': 'chromium.tests.gpu.template',
},
},
},
'mac_toolchain': {
'swarming': {
'cipd_packages': [
{
"cipd_package": 'infra/tools/mac_toolchain/${platform}',
'location': '.',
'revision': 'git_revision:796d2b92cff93fc2059623ce0a66284373ceea0a',
},
],
},
},
'marshmallow': {
'swarming': {
'dimensions': {
'device_os': 'MMB29Q',
},
},
},
'marshmallow-x86-emulator': {
'$mixin_append': {
'args': [
'--avd-config=../../tools/android/avd/proto/generic_android23.textpb',
],
},
'swarming': {
'dimensions': {
'device_os': None,
'device_type': None,
'pool': 'chromium.tests.avd.template',
'ssd': '1',
},
'named_caches': [
{
'name': 'avd_generic_android23',
'path': '.android',
},
{
'name': 'system_images_android_23_google_apis_x86',
'path': '.emulator_sdk',
},
]
},
},
'marshmallow_generic': {
'swarming': {
'dimensions': {
'device_os': 'M',
},
},
},
'no_gpu': {
'swarming': {
'dimensions': {
'gpu': 'none',
},
},
},
'nougat': {
'swarming': {
'dimensions': {
'device_os': 'N',
},
},
},
'oreo_fleet': {
'swarming': {
'dimensions': {
'device_os': 'OPM4.171019.021.P2',
'device_os_flavor': 'google',
},
},
},
'out_dir_arg': {
'$mixin_append': {
'args': [
'--out-dir',
'${ISOLATED_OUTDIR}'
],
},
},
'pie-x86-emulator': {
'$mixin_append': {
'args': [
'--avd-config=../../tools/android/avd/proto/generic_android28.textpb',
],
},
'swarming': {
'dimensions': {
'device_os': None,
'device_type': None,
'pool': 'chromium.tests.avd.template',
'ssd': '1',
},
'named_caches': [
{
'name': 'avd_generic_android28',
'path': '.android',
},
{
'name': 'system_images_android_28_google_apis_x86',
'path': '.emulator_sdk',
},
]
},
},
'pie_fleet': {
'swarming': {
'dimensions': {
'device_os': 'PQ3A.190801.002',
'device_os_flavor': 'google',
},
},
},
'shamu': {
# Nexus 6
'swarming': {
'dimensions': {
'device_type': 'shamu',
'os': 'Android',
},
},
},
'skia_gold_test': {
'$mixin_append': {
'args': [
'--git-revision=${got_revision}',
],
'precommit_args': [
'--gerrit-issue=${patch_issue}',
'--gerrit-patchset=${patch_set}',
'--buildbucket-id=${buildbucket_build_id}',
],
}
},
'swarming_containment_auto': {
'swarming': {
'containment_type': 'AUTO',
},
},
'timeout_15m': {
'swarming': {
'hard_timeout': 900,
'io_timeout': 900,
},
},
'walleye': {
# Pixel 2
'swarming': {
'dimensions': {
'device_type': 'walleye',
'os': 'Android',
},
},
},
'win10': {
'swarming': {
'dimensions': {
'os': 'Windows-10-15063',
},
},
},
'win10-1803': {
'swarming': {
'dimensions': {
'os': 'Windows-10-17134',
},
},
},
# TODO(crbug.com/1087153): Remove this once the fleet is upgraded to 1909.
'win10_1803_intel_hd_630': {
'swarming': {
'dimensions': {
'gpu': '8086:5912-24.20.100.6286',
'os': 'Windows-10-17134',
'pool': 'chromium.tests.gpu.template',
},
},
},
'win10_amd_rx_550': {
'swarming': {
'dimensions': {
'gpu': '1002:699f',
'os': 'Windows-10',
'pool': 'chromium.tests.gpu.template',
},
},
},
'win10_intel_hd_630_experimental': {
'swarming': {
'dimensions': {
'gpu': '8086:5912-26.20.100.7870|8086:5912-26.20.100.8141|8086:3e92-26.20.100.8141',
'os': 'Windows-10',
'pool': 'chromium.tests.gpu.experimental.template',
},
},
},
'win10_intel_hd_630_stable': {
'swarming': {
'dimensions': {
'gpu': '8086:5912-24.20.100.6286',
'os': 'Windows-10',
'pool': 'chromium.tests.gpu.template',
},
},
},
'win10_intel_uhd_630_stable': {
'swarming': {
'dimensions': {
'gpu': '8086:3e92-24.20.100.6286',
'os': 'Windows-10',
'pool': 'chromium.tests.gpu.template',
},
# ~50% of the WebGL2 conformance tests time out with the default
# 1 hour expiration, but the last shard times out with a 3 hour
# expiration, so use 4 hours.
# TODO(https://crbug.com/986939): Remove this when more devices
# are added.
'expiration': 14400,
},
},
'win10_nvidia_geforce_gtx_1660': {
'swarming': {
'dimensions': {
'gpu': '10de:2184',
'os': 'Windows-10',
'pool': 'chromium.tests.gpu.template',
},
},
},
'win10_nvidia_quadro_p400_experimental': {
'swarming': {
'dimensions': {
'gpu': '10de:1cb3-26.21.14.3102',
'os': 'Windows-10',
'pool': 'chromium.tests.gpu.template',
},
},
},
'win10_nvidia_quadro_p400_stable': {
'swarming': {
'dimensions': {
'gpu': '10de:1cb3-26.21.14.3102',
'os': 'Windows-10',
'pool': 'chromium.tests.gpu.template',
},
},
},
'win7': {
'swarming': {
'dimensions': {
'os': 'Windows-7-SP1',
},
},
},
'win7_amd_r7_240': {
'swarming': {
'dimensions': {
'gpu': '1002:6613',
'os': 'Windows-2008ServerR2-SP1',
'pool': 'chromium.tests.gpu.template',
},
},
},
'win7_nvidia_quadro_p400': {
'swarming': {
'dimensions': {
'gpu': '10de:1cb3-24.21.14.1195',
'os': 'Windows-2008ServerR2-SP1',
'pool': 'chromium.tests.gpu.template',
},
},
},
'win8': {
'swarming': {
'dimensions': {
'os': 'Windows-8.1-SP0',
},
},
},
'x86-32': {
'swarming': {
'dimensions': {
'cpu': 'x86-32',
},
},
},
'x86-64': {
'swarming': {
'dimensions': {
'cpu': 'x86-64',
},
},
},
'xcode_11e146': {
'$mixin_append': {
'args': [
'--xcode-build-version',
'11e146'
],
},
'swarming': {
'named_caches': [
{
'name': 'xcode_ios_11e146',
'path': 'Xcode.app',
},
],
},
},
}