blob: f3792d8019f8f178899b3698aebf6c66c913bb6e [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_coverage_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-swarming-pool': {
'swarming': {
'dimensions': {
'pool': 'chrome.tests',
},
},
},
'code-coverage': {
'isolate_coverage_data': True,
},
'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': {
'pool': 'Chrome-GPU',
},
},
},
'hammerhead': {
# Nexus 5
'swarming': {
'dimensions': {
'device_type': 'hammerhead',
'os': 'Android',
},
},
},
'intel_iris_5100': {
'swarming': {
'dimensions': {
'gpu': '8086:0a2e',
},
},
},
'kitkat': {
'swarming': {
'dimensions': {
'device_os': 'KTU84P',
},
},
},
'kitkat_generic': {
'swarming': {
'dimensions': {
'device_os': 'K',
},
},
},
'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': 'Chrome-GPU',
},
},
},
'linux_intel_hd_530': {
'swarming': {
'dimensions': {
'gpu': '8086:1912',
'os': 'Ubuntu',
'pool': 'Chrome-GPU',
}
}
},
'linux_intel_hd_630': {
'swarming': {
'dimensions': {
# Defined in bot_config.py in internal infradata/config workspace
'gpu': 'intel-hd-630-ubuntu-stable',
'os': 'linux-intel-stable',
'pool': 'Chrome-GPU',
}
}
},
'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': 'Chrome-GPU',
},
},
},
'linux_intel_uhd_630': {
'swarming': {
'dimensions': {
# Defined in bot_config.py in internal infradata/config workspace
'gpu': 'intel-uhd-630-ubuntu-stable',
'os': 'Ubuntu-19.04',
'pool': 'Chrome-GPU',
},
# 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': {
'swarming': {
'dimensions': {
# Defined in bot_config.py in internal infradata/config workspace
'gpu': 'nvidia-quadro-p400-ubuntu-stable',
'os': 'linux-nvidia-stable',
'pool': 'Chrome-GPU',
}
}
},
'linux_nvidia_quadro_p400_experimental': {
'swarming': {
'dimensions': {
'gpu': '10de:1cb3-418.56',
'os': 'Ubuntu-19.04',
'pool': 'Chrome-GPU',
},
},
},
'lollipop': {
'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_beta': {
'swarming': {
'dimensions': {
'os': 'Mac-10.15',
},
},
},
'mac_mini_10.12': {
'swarming': {
'dimensions': {
'gpu': '8086:0a2e',
'os': 'Mac-10.12.6',
},
},
},
'mac_mini_intel_gpu': {
'swarming': {
'dimensions': {
'gpu': '8086:0a2e',
'os': 'mac-intel-stable',
},
},
},
'mac_mini_intel_gpu_experimental': {
'swarming': {
'dimensions': {
'gpu': '8086:0a2e',
'os': 'Mac-10.13.6',
},
},
},
'mac_pro_amd_gpu': {
'swarming': {
'dimensions': {
'gpu': '1002:679e',
'os': 'Mac-10.12.6',
'pool': 'Chrome-GPU',
},
},
},
'mac_retina_amd_gpu': {
'swarming': {
'dimensions': {
'gpu': '1002:6821',
'hidpi': '1',
'os': 'mac-amd-stable',
'pool': 'Chrome-GPU',
},
},
},
'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': 'Chrome-GPU',
},
},
},
'mac_retina_nvidia_gpu': {
'swarming': {
'dimensions': {
'gpu': '10de:0fe9',
'hidpi': '1',
'os': 'mac-nvidia-stable',
'pool': 'Chrome-GPU',
},
},
},
'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': 'Chrome-GPU',
},
},
},
'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,
},
'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',
},
},
},
'pie-x86-emulator': {
'$mixin_append': {
'args': [
'--avd-config=../../tools/android/avd/proto/generic_android28.textpb',
],
},
'swarming': {
'dimensions': {
'device_os': None,
'device_type': None,
},
'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',
},
},
},
'swarming_containment_auto': {
'swarming': {
'containment_type': 'AUTO',
},
},
'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',
},
},
},
'win10_amd_rx_550': {
'swarming': {
'dimensions': {
'gpu': '1002:699f',
'os': 'Windows-10',
'pool': 'Chrome-GPU',
},
},
},
'win10_intel_hd_630_experimental': {
'swarming': {
'dimensions': {
'gpu': '8086:5912-26.20.100.7323',
'os': 'Windows-10',
'pool': 'Chrome-GPU',
},
},
},
'win10_intel_hd_630_stable': {
'swarming': {
'dimensions': {
# Defined in bot_config.py in internal infradata/config workspace
'gpu': 'intel-hd-630-win10-stable',
'os': 'Windows-10',
'pool': 'Chrome-GPU',
},
},
},
'win10_intel_uhd_630_stable': {
'swarming': {
'dimensions': {
# Defined in bot_config.py in internal infradata/config workspace
'gpu': 'intel-uhd-630-win10-stable',
'os': 'Windows-10',
'pool': 'Chrome-GPU',
},
# ~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': 'Chrome-GPU',
},
},
},
'win10_nvidia_quadro_p400_experimental': {
'swarming': {
'dimensions': {
'gpu': '10de:1cb3-26.21.14.3102',
'os': 'Windows-10',
'pool': 'Chrome-GPU',
},
},
},
'win10_nvidia_quadro_p400_stable': {
'swarming': {
'dimensions': {
# Defined in bot_config.py in internal infradata/config workspace
'gpu': 'nvidia-quadro-p400-win10-stable',
'os': 'Windows-10',
'pool': 'Chrome-GPU',
},
},
},
'win7': {
'swarming': {
'dimensions': {
'os': 'Windows-7-SP1',
},
},
},
'win7_amd_r7_240': {
'swarming': {
'dimensions': {
'gpu': '1002:6613',
'os': 'Windows-2008ServerR2-SP1',
'pool': 'Chrome-GPU',
},
},
},
'win7_nvidia_quadro_p400': {
'swarming': {
'dimensions': {
'gpu': '10de:1cb3-24.21.14.1195',
'os': 'Windows-2008ServerR2-SP1',
'pool': 'Chrome-GPU',
},
},
},
'win8': {
'swarming': {
'dimensions': {
'os': 'Windows-8.1-SP0',
},
},
},
'x86-32': {
'swarming': {
'dimensions': {
'cpu': 'x86-32',
},
},
},
'x86-64': {
'swarming': {
'dimensions': {
'cpu': 'x86-64',
},
},
},
}