mixins_webrtc.pyl (5412B)
1 # Copyright (c) 2022 The WebRTC project authors. All Rights Reserved. 2 # 3 # Use of this source code is governed by a BSD-style license 4 # that can be found in the LICENSE file in the root of the source 5 # tree. An additional intellectual property rights grant can be found 6 # in the file PATENTS. All contributing project authors may 7 # be found in the AUTHORS file in the root of the source tree. 8 9 { 10 'android-devices': { 11 'swarming': { 12 'dimensions': { 13 'android_devices': '1', 14 }, 15 }, 16 }, 17 'arm64': { 18 'swarming': { 19 'dimensions': { 20 'cpu': 'arm64' 21 } 22 } 23 }, 24 'cores-12': { 25 'swarming': { 26 'dimensions': { 27 'cores': '12', 28 } 29 } 30 }, 31 'crosshatch': { 32 'swarming': { 33 'dimensions': { 34 'device_type': 'crosshatch', 35 'os': 'Android', 36 }, 37 }, 38 }, 39 # Hack to use the test-launcher-summary-output flag + emulator folders for gtest-output 40 # but it's currently the only way to get the file out of the emulator. 41 'fuchsia-gtest-output': { 42 'args': [ 43 '--test-launcher-summary-output=${ISOLATED_OUTDIR}/gtest_output.json', 44 '--test-arg=--gtest_output=json:/custom_artifacts/gtest_output.json', 45 '--test-arg=--undefok=test_launcher_summary_output' 46 ], 47 }, 48 'ios-device-18': { 49 'swarming': { 50 'dimensions': { 51 'os': 'iOS-18', 52 'pool': 'chrome.tests', 53 } 54 } 55 }, 56 'ios-device-perf': { 57 'swarming': { 58 'idempotent': False, 59 'dimensions': { 60 'os': 'iOS-17.6.1', 61 'pool': 'WebRTC', 62 #'device_status': 'available' 63 }, 64 }, 65 }, 66 'ios_runtime_cache_17_5': { 67 'swarming': { 68 'named_caches': [ 69 { 70 'name': 'runtime_ios_17_5', 71 'path': 'Runtime-ios-17.5', 72 }, 73 ], 74 }, 75 }, 76 'ios_runtime_cache_18_2': { 77 'swarming': { 78 'named_caches': [ 79 { 80 'name': 'runtime_ios_18_2', 81 'path': 'Runtime-ios-18.2', 82 }, 83 ], 84 }, 85 }, 86 'isolate_profile_data': { 87 'isolate_profile_data': True 88 }, 89 'limited-capacity': { 90 # Sometimes there are multiple tests that can be run only on one machine. 91 # We need to increase timeouts so the tests dont expire before the machine is freed. 92 # Using 3h expiration timeout to align with `timeout-3h` mixin used for per tests. 93 'swarming': { 94 'expiration': 10800, 95 }, 96 }, 97 'mac-m1-cpu': { 98 'swarming': { 99 'dimensions': { 100 'cpu': 'arm64-64-Apple_M1', 101 } 102 } 103 }, 104 'mac_12_arm64': { 105 'swarming': { 106 'dimensions': { 107 'cpu': 'arm64', 108 'os': 'Mac-12' 109 } 110 } 111 }, 112 'mac_15_arm64': { 113 'swarming': { 114 'dimensions': { 115 'cpu': 'arm64', 116 'os': 'Mac-15' 117 } 118 } 119 }, 120 'mac_15_x64': { 121 'swarming': { 122 'dimensions': { 123 'cpu': 'x86-64', 124 'os': 'Mac-15' 125 } 126 } 127 }, 128 'mac11': { 129 'swarming': { 130 'dimensions': { 131 'os': 'Mac-11' 132 } 133 } 134 }, 135 'perf-output': { 136 'args': [ 137 '--isolated-script-test-perf-output=${ISOLATED_OUTDIR}/perftest-output.pb', 138 ], 139 }, 140 'perf-pool': { 141 'swarming': { 142 # Perf tests are marked as not idempotent, which means they're re-run even 143 # if they did not change this build. This will give the dashboard some 144 # more variance data to work with. 145 'idempotent': False, 146 'dimensions': { 147 'pool': 'WebRTC-perf', 148 'gce': '0', 149 }, 150 }, 151 }, 152 'perf-pool-vm': { 153 'swarming': { 154 'idempotent': False, 155 'dimensions': { 156 'pool': 'WebRTC-perf', 157 'gce': '1', 158 }, 159 }, 160 }, 161 'perf-webrtc-perf-tests': { 162 'merge': { 163 'script': '//tools_webrtc/perf/process_perf_results.py', 164 'args': ['--test-suite', 'webrtc_perf_tests'], 165 }, 166 'args': ['--nologs'] 167 }, 168 'perf-video-codec-perf-tests': { 169 'merge': { 170 'script': '//tools_webrtc/perf/process_perf_results.py', 171 'args': ['--test-suite', 'video_codec_perf_tests'], 172 }, 173 }, 174 'quick-perf-tests': { 175 'args': [ 176 '--webrtc_quick_perf_test', 177 '--nologs', 178 ], 179 }, 180 'redfin': { 181 'swarming': { 182 'dimensions': { 183 'device_type': 'redfin', 184 'os': 'Android' 185 } 186 } 187 }, 188 'resultdb-gtest-json-format': { 189 'args': [ 190 '--gtest_output=json:${ISOLATED_OUTDIR}/gtest_output.json', 191 ], 192 'resultdb': { 193 'result_format': 'gtest_json', 194 'result_file': '${ISOLATED_OUTDIR}/gtest_output.json', 195 }, 196 }, 197 'resultdb-json-format': { 198 'resultdb': { 199 'result_format': 'json' 200 } 201 }, 202 'shards-2': { 203 'swarming': { 204 'shards': 2, 205 }, 206 }, 207 'shards-4': { 208 'swarming': { 209 'shards': 4, 210 }, 211 }, 212 'shards-6': { 213 'swarming': { 214 'shards': 6, 215 }, 216 }, 217 'shards-8': { 218 'swarming': { 219 'shards': 8, 220 }, 221 }, 222 'timeout-2h': { 223 'swarming': { 224 'hard_timeout': 7200, 225 'io_timeout': 7200, 226 }, 227 }, 228 'timeout-3h': { 229 'swarming': { 230 'hard_timeout': 10800, 231 'io_timeout': 10800, 232 }, 233 }, 234 'walleye': { 235 'swarming': { 236 'dimensions': { 237 'device_type': 'walleye', 238 'os': 'Android' 239 } 240 } 241 }, 242 'win11': { 243 'swarming': { 244 'dimensions': { 245 'os': 'Windows-11-22000' 246 } 247 } 248 }, 249 'webrtc-xctest': { 250 'args': [ 251 '--xctest', 252 ], 253 }, 254 'xcodebuild_sim_runner': { 255 'args': ['--xcodebuild-sim-runner'] 256 } 257 }