Migrate iOS and Mac tests from mac-11 to mac-12 machines

Also remove unused mixins.

Bug: b/233192409
Change-Id: I959916b98cebd417088fb7804dc1f44f64134555
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/272241
Reviewed-by: Christoffer Jansson <jansson@google.com>
Reviewed-by: Jeremy Leconte <jleconte@webrtc.org>
Commit-Queue: Jeremy Leconte <jleconte@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37826}
This commit is contained in:
Jeremy Leconte 2022-08-18 15:05:21 +02:00 committed by WebRTC LUCI CQ
parent 7aaeb5a270
commit 5414cce0a1
7 changed files with 518 additions and 479 deletions

File diff suppressed because it is too large Load Diff

View File

@ -509,7 +509,7 @@
"can_use_on_swarming_builders": true,
"dimension_sets": [
{
"os": "Windows",
"os": "Windows-10-19042",
"pool": "WebRTC-perf"
}
],
@ -543,7 +543,7 @@
"can_use_on_swarming_builders": true,
"dimension_sets": [
{
"os": "Windows",
"os": "Windows-10-19042",
"pool": "WebRTC-perf"
}
],

View File

@ -124,13 +124,6 @@
}
}
},
'linux': {
'swarming': {
'dimensions': {
'os': 'Ubuntu'
}
}
},
'linux-bionic': {
'swarming': {
'dimensions': {
@ -150,13 +143,6 @@
}]
}
},
'mac': {
'swarming': {
'dimensions': {
'os': 'Mac'
}
}
},
'mac-m1-cpu': {
'swarming': {
'dimensions': {
@ -171,14 +157,7 @@
}
}
},
'mac11_or_mac12': {
'swarming': {
'dimensions': {
'os': 'Mac-11|Mac-12'
}
}
},
'mac_12_beta_arm64': {
'mac_12_arm64': {
'swarming': {
'dimensions': {
'cpu': 'arm64',
@ -186,6 +165,14 @@
}
}
},
'mac_12_x64': {
'swarming': {
'dimensions': {
'cpu': 'x86-64',
'os': 'Mac-12'
}
}
},
'mac_toolchain': {
'swarming': {
'cipd_packages': [{
@ -315,13 +302,6 @@
'args': ['--xctest', '--undefok=enable-run-ios-unittests-with-xctest']
}
},
'win': {
'swarming': {
'dimensions': {
'os': 'Windows'
}
}
},
'win10': {
'swarming': {
'dimensions': {

View File

@ -107,21 +107,6 @@
},
}
},
'quick-perf-tests': {
'$mixin_append': {
'args': [
'--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/',
'--nologs',
],
}
},
'linux': {
'swarming': {
'dimensions': {
'os': 'Ubuntu'
}
}
},
'logdog-butler': {
'swarming': {
'cipd_packages': [
@ -133,13 +118,6 @@
],
},
},
'mac': {
'swarming': {
'dimensions': {
'os': 'Mac',
}
}
},
'mac-m1-cpu': {
'swarming': {
'dimensions': {
@ -154,13 +132,6 @@
}
}
},
'mac11_or_mac12': {
'swarming': {
'dimensions': {
'os': 'Mac-11|Mac-12'
}
}
},
'perf-low-bandwidth-audio-perf-test': {
'merge': {
'script': '//tools_webrtc/perf/process_perf_results_py2.py',
@ -194,6 +165,14 @@
'args': ['--nologs']
}
},
'quick-perf-tests': {
'$mixin_append': {
'args': [
'--force_fieldtrials=WebRTC-QuickPerfTest/Enabled/',
'--nologs',
],
}
},
'resultdb-gtest-json-format': {
'$mixin_append': {
'args': [
@ -210,6 +189,14 @@
'result_format': 'json'
}
},
'shamu': {
'swarming': {
'dimensions': {
'device_type': 'shamu',
'os': 'Android',
},
},
},
'shards-2': {
'swarming': {
'shards': 2,
@ -225,14 +212,6 @@
'shards': 6,
},
},
'shamu': {
'swarming': {
'dimensions': {
'device_type': 'shamu',
'os': 'Android',
},
},
},
'timeout-2h': {
'swarming': {
'hard_timeout': 7200,
@ -253,11 +232,15 @@
],
},
},
'win': {
'xcode_13_main': {
'$mixin_append': {
'args': ['--xcode-build-version', '13c100']
},
'swarming': {
'dimensions': {
'os': 'Windows'
}
'named_caches': [{
'name': 'xcode_ios_13c100',
'path': 'Xcode.app'
}]
}
}
},
}

View File

@ -177,30 +177,6 @@
'voip_unittests': {},
'webrtc_nonparallel_tests': {},
},
'linux_video_capture_tests': {
'video_capture_tests': {
'remove_mixins': ['linux-bionic'],
'mixins': ['linux', 'baremetal-pool'],
}
},
'linux_video_capture_tests_tryserver': {
'video_capture_tests': {
'remove_mixins': ['linux-bionic'],
'mixins': ['linux', 'baremetal-try-pool'],
}
},
'mac_video_capture_tests': {
'video_capture_tests': {
'remove_mixins': ['mac11'],
'mixins': ['mac', 'baremetal-pool'],
}
},
'mac_video_capture_tests_tryserver': {
'video_capture_tests': {
'remove_mixins': ['mac11'],
'mixins': ['mac', 'baremetal-try-pool'],
}
},
'more_configs_tests': {
'peerconnection_unittests': {
'swarming': {
@ -208,6 +184,16 @@
},
},
},
'video_capture_tests': {
'video_capture_tests': {
'mixins': ['baremetal-pool'],
}
},
'video_capture_tests_tryserver': {
'video_capture_tests': {
'mixins': ['baremetal-try-pool'],
}
},
'webrtc_perf_tests': {
'webrtc_perf_tests': {
'mixins': ['perf-webrtc-perf-tests'],
@ -218,48 +204,20 @@
'mixins': ['quick-perf-tests', 'resultdb-gtest-json-format'],
}
},
'win_video_capture_tests': {
'video_capture_tests': {
'mixins': ['win', 'baremetal-pool'],
}
},
'win_video_capture_tests_tryserver': {
'video_capture_tests': {
'mixins': ['win', 'baremetal-try-pool'],
}
},
},
'compound_suites': {
'android_tests_tryserver': [
'android_tests',
'android_webrtc_perf_tests_tryserver',
],
'linux_tests': [
'desktop_tests_tryserver': [
'desktop_tests',
'linux_video_capture_tests',
],
'linux_tests_tryserver': [
'desktop_tests',
'linux_video_capture_tests_tryserver',
'video_capture_tests_tryserver',
'webrtc_perf_tests_tryserver',
],
'mac_tests': [
'desktop_tests_with_video_capture': [
'desktop_tests',
'mac_video_capture_tests',
],
'mac_tests_tryserver': [
'desktop_tests',
'mac_video_capture_tests_tryserver',
'webrtc_perf_tests_tryserver',
],
'win_tests': [
'desktop_tests',
'win_video_capture_tests',
],
'win_tests_tryserver': [
'desktop_tests',
'win_video_capture_tests_tryserver',
'webrtc_perf_tests_tryserver',
'video_capture_tests',
],
},
}

File diff suppressed because it is too large Load Diff

View File

@ -136,41 +136,37 @@
'os_type': 'linux',
'mixins': ['linux-bionic', 'x86-64', 'resultdb-json-format'],
'test_suites': {
'isolated_scripts': 'linux_tests',
'isolated_scripts': 'desktop_tests_with_video_capture',
},
},
'Linux64 Release (ARM)': {},
'Linux64 Release (Libfuzzer)': {},
'Mac Asan': {
'os_type':
'mac',
'mixins':
['mac11_or_mac12', 'x86-64', 'cores-12', 'resultdb-json-format'],
'os_type': 'mac',
'mixins': ['mac_12_x64', 'cores-12', 'resultdb-json-format'],
'test_suites': {
'isolated_scripts': 'desktop_tests',
},
},
'Mac64 Builder': {},
'Mac64 Debug': {
'os_type':
'mac',
'mixins':
['mac11_or_mac12', 'x86-64', 'cores-12', 'resultdb-json-format'],
'os_type': 'mac',
'mixins': ['mac_12_x64', 'cores-12', 'resultdb-json-format'],
'test_suites': {
'isolated_scripts': 'desktop_tests',
},
},
'Mac64 Release': {
'os_type': 'mac',
'mixins': ['mac11_or_mac12', 'x86-64', 'resultdb-json-format'],
'mixins': ['mac_12_x64', 'resultdb-json-format'],
'test_suites': {
'isolated_scripts': 'mac_tests',
'isolated_scripts': 'desktop_tests_with_video_capture',
},
},
'MacARM64 M1 Release': {
'os_type': 'mac',
'mixins': ['mac11_or_mac12', 'mac-m1-cpu', 'resultdb-json-format'],
# TODO(b/228171565): Replace desktop_tests by mac_tests when
'mixins': ['mac_12_arm64', 'mac-m1-cpu', 'resultdb-json-format'],
# TODO(b/228171565): Replace desktop_tests by desktop_tests_with_video_capture when
# there is a camera available for the baremetal m1 machines.
'test_suites': {
'isolated_scripts': 'desktop_tests',
@ -190,7 +186,7 @@
'os_type': 'win',
'mixins': ['win10', 'x86-64', 'resultdb-json-format'],
'test_suites': {
'isolated_scripts': 'win_tests',
'isolated_scripts': 'desktop_tests_with_video_capture',
},
},
'Win64 ASan': {
@ -206,7 +202,7 @@
'iOS64 Release': {},
'iOS64 Sim Debug (iOS 12)': {
'mixins': [
'mac11_or_mac12', 'chromium-tester-service-account',
'mac_12_x64', 'chromium-tester-service-account',
'ios-simulator-12.4', 'xcode_13_main', 'mac_toolchain',
'has_native_resultdb_integration', 'out_dir_arg'
],
@ -216,7 +212,7 @@
},
'iOS64 Sim Debug (iOS 13)': {
'mixins': [
'mac11_or_mac12', 'chromium-tester-service-account',
'mac_12_x64', 'chromium-tester-service-account',
'ios-simulator-13.6', 'xcode_13_main', 'mac_toolchain',
'has_native_resultdb_integration', 'out_dir_arg'
],
@ -226,7 +222,7 @@
},
'iOS64 Sim Debug (iOS 14)': {
'mixins': [
'mac11_or_mac12', 'chromium-tester-service-account',
'mac_12_x64', 'chromium-tester-service-account',
'ios-simulator-14.5', 'xcode_13_main', 'mac_toolchain',
'has_native_resultdb_integration', 'out_dir_arg'
],
@ -302,7 +298,7 @@
'os_type':
'mac',
'mixins': [
'mac_12_beta_arm64', 'mac-m1-cpu', 'perf-pool', 'timeout-3h',
'mac_12_arm64', 'mac-m1-cpu', 'perf-pool', 'timeout-3h',
'resultdb-gtest-json-format'
],
'test_suites': {
@ -313,7 +309,7 @@
'os_type':
'win',
'mixins':
['win', 'perf-pool', 'timeout-3h', 'resultdb-gtest-json-format'],
['win10', 'perf-pool', 'timeout-3h', 'resultdb-gtest-json-format'],
'test_suites': {
'isolated_scripts': 'desktop_perf_tests',
},
@ -424,7 +420,7 @@
'ios_compile_arm64_rel': {},
'ios_sim_x64_dbg_ios12': {
'mixins': [
'mac11_or_mac12', 'chromium-tester-service-account',
'mac_12_x64', 'chromium-tester-service-account',
'ios-simulator-12.4', 'xcode_13_main', 'mac_toolchain',
'has_native_resultdb_integration', 'out_dir_arg'
],
@ -434,7 +430,7 @@
},
'ios_sim_x64_dbg_ios13': {
'mixins': [
'mac11_or_mac12', 'chromium-tester-service-account',
'mac_12_x64', 'chromium-tester-service-account',
'ios-simulator-13.6', 'xcode_13_main', 'mac_toolchain',
'has_native_resultdb_integration', 'out_dir_arg'
],
@ -444,7 +440,7 @@
},
'ios_sim_x64_dbg_ios14': {
'mixins': [
'mac11_or_mac12', 'chromium-tester-service-account',
'mac_12_x64', 'chromium-tester-service-account',
'ios-simulator-14.5', 'xcode_13_main', 'mac_toolchain',
'has_native_resultdb_integration', 'out_dir_arg'
],
@ -498,7 +494,7 @@
'os_type': 'linux',
'mixins': ['linux-bionic', 'x86-64', 'resultdb-json-format'],
'test_suites': {
'isolated_scripts': 'linux_tests_tryserver',
'isolated_scripts': 'desktop_tests_tryserver',
},
},
'linux_tsan2': {
@ -537,10 +533,8 @@
},
},
'mac_asan': {
'os_type':
'mac',
'mixins':
['mac11_or_mac12', 'x86-64', 'resultdb-json-format', 'cores-12'],
'os_type': 'mac',
'mixins': ['mac_12_x64', 'resultdb-json-format', 'cores-12'],
'test_suites': {
'isolated_scripts': 'desktop_tests',
},
@ -548,32 +542,30 @@
'mac_compile_dbg': {},
'mac_compile_rel': {},
'mac_dbg': {
'os_type':
'mac',
'mixins':
['mac11_or_mac12', 'x86-64', 'resultdb-json-format', 'cores-12'],
'os_type': 'mac',
'mixins': ['mac_12_x64', 'resultdb-json-format', 'cores-12'],
'test_suites': {
'isolated_scripts': 'desktop_tests',
},
},
'mac_dbg_m1': {
'os_type': 'mac',
'mixins': ['mac11_or_mac12', 'mac-m1-cpu', 'resultdb-json-format'],
'mixins': ['mac_12_arm64', 'mac-m1-cpu', 'resultdb-json-format'],
'test_suites': {
'isolated_scripts': 'desktop_tests',
},
},
'mac_rel': {
'os_type': 'mac',
'mixins': ['mac11_or_mac12', 'x86-64', 'resultdb-json-format'],
'mixins': ['mac_12_x64', 'resultdb-json-format'],
'test_suites': {
'isolated_scripts': 'mac_tests_tryserver',
'isolated_scripts': 'desktop_tests_tryserver',
},
},
'mac_rel_m1': {
'os_type': 'mac',
'mixins': ['mac11_or_mac12', 'mac-m1-cpu', 'resultdb-json-format'],
# TODO(b/228171565): Replace desktop_tests by mac_tests_tryserver when
'mixins': ['mac_12_arm64', 'mac-m1-cpu', 'resultdb-json-format'],
# TODO(b/228171565): Replace desktop_tests by desktop_tests_tryserver when
# there is a camera available for the baremetal-try m1 machines.
'test_suites': {
'isolated_scripts': 'desktop_tests',
@ -622,7 +614,7 @@
'os_type': 'win',
'mixins': ['win10', 'x86-64', 'resultdb-json-format'],
'test_suites': {
'isolated_scripts': 'win_tests_tryserver',
'isolated_scripts': 'desktop_tests_tryserver',
},
},
'win_x86_more_configs': {