Bug 1908119 - Migrate S21 tests to S24 device. r=perftest-reviewers,fbilt

Differential Revision: https://phabricator.services.mozilla.com/D221358
This commit is contained in:
andrej 2024-09-09 14:11:59 +00:00
parent 0c43a18e35
commit 4781a0ca73
7 changed files with 13 additions and 27 deletions

View File

@ -257,8 +257,6 @@ def accept_raptor_android_build(platform):
return False return False
if "p6" in platform and "aarch64" in platform: if "p6" in platform and "aarch64" in platform:
return True return True
if "s21" in platform and "aarch64" in platform:
return True
if "s24" in platform and "aarch64" in platform: if "s24" in platform and "aarch64" in platform:
return True return True
if "a55" in platform and "aarch64" in platform: if "a55" in platform and "aarch64" in platform:
@ -805,7 +803,7 @@ def target_tasks_custom_car_perf_testing(full_task_graph, parameters, graph_conf
if "browsertime" in try_name and ( if "browsertime" in try_name and (
"custom-car" in try_name or "cstm-car-m" in try_name "custom-car" in try_name or "cstm-car-m" in try_name
): ):
if "hw-s21" in platform and "speedometer3" not in try_name: if "hw-s24" in platform and "speedometer3" not in try_name:
return False return False
return True return True
return False return False
@ -863,7 +861,7 @@ def target_tasks_general_perf_testing(full_task_graph, parameters, graph_config)
return True return True
# Android selection # Android selection
elif accept_raptor_android_build(platform): elif accept_raptor_android_build(platform):
if "hw-s21" in platform and "speedometer3" not in try_name: if "hw-s24" in platform and "speedometer3" not in try_name:
return False return False
if "chrome-m" in try_name and "essential" in try_name: if "chrome-m" in try_name and "essential" in try_name:
return True return True
@ -954,7 +952,7 @@ def target_tasks_speedometer_tests(full_task_graph, parameters, graph_config):
platform platform
): ):
try_name = attributes.get("raptor_try_name") try_name = attributes.get("raptor_try_name")
if "hw-s21" in platform and "speedometer3" not in try_name: if "hw-s24" in platform and "speedometer3" not in try_name:
return False return False
if ( if (
"browsertime" in try_name "browsertime" in try_name

View File

@ -284,8 +284,6 @@ def add_extra_options(config, tests):
extra_options.append("--device-name=p5_aarch64") extra_options.append("--device-name=p5_aarch64")
elif test_platform.startswith("android-hw-p6"): elif test_platform.startswith("android-hw-p6"):
extra_options.append("--device-name=p6_aarch64") extra_options.append("--device-name=p6_aarch64")
elif test_platform.startswith("android-hw-s21"):
extra_options.append("--device-name=s21_aarch64")
elif test_platform.startswith("android-hw-s24"): elif test_platform.startswith("android-hw-s24"):
extra_options.append("--device-name=s24_aarch64") extra_options.append("--device-name=s24_aarch64")

View File

@ -173,11 +173,6 @@ def set_worker_type(config, tasks):
task["worker-type"] = "t-bitbar-gw-unit-p6" task["worker-type"] = "t-bitbar-gw-unit-p6"
else: else:
task["worker-type"] = "t-bitbar-gw-perf-p6" task["worker-type"] = "t-bitbar-gw-perf-p6"
elif test_platform.startswith("android-hw-s21"):
if task["suite"] != "raptor":
task["worker-type"] = "t-bitbar-gw-unit-s21"
else:
task["worker-type"] = "t-bitbar-gw-perf-s21"
elif test_platform.startswith("android-hw-s24"): elif test_platform.startswith("android-hw-s24"):
if task["suite"] != "raptor": if task["suite"] != "raptor":
task["worker-type"] = "t-bitbar-gw-unit-s24" task["worker-type"] = "t-bitbar-gw-unit-s24"

View File

@ -127,7 +127,6 @@ UNITTEST_PLATFORM_PRETTY_NAMES = {
"Android 13.0 Google Pixel 5 32bit": ["android-hw-p5-13.0-arm7"], "Android 13.0 Google Pixel 5 32bit": ["android-hw-p5-13.0-arm7"],
"Android 13.0 Google Pixel 5 64bit": ["android-hw-p5-13.0-android-aarch64"], "Android 13.0 Google Pixel 5 64bit": ["android-hw-p5-13.0-android-aarch64"],
"Android 13.0 Google Pixel 6 64bit": ["android-hw-p6-13.0-android-aarch64"], "Android 13.0 Google Pixel 6 64bit": ["android-hw-p6-13.0-android-aarch64"],
"Android 13.0 Samsung S21 64bit": ["android-hw-s21-13.0-android-aarch64"],
"Android 14.0 Samsung A55 64bit": ["android-hw-a55-14.0-android-aarch64"], "Android 14.0 Samsung A55 64bit": ["android-hw-a55-14.0-android-aarch64"],
"Android 14.0 Samsung S24 64bit": ["android-hw-s24-14.0-android-aarch64"], "Android 14.0 Samsung S24 64bit": ["android-hw-s24-14.0-android-aarch64"],
"Windows 10": ["windows10-64"], "Windows 10": ["windows10-64"],

View File

@ -455,7 +455,7 @@ browsertime-benchmark-speedometer-mobile:
cstm-car-m: cstm-car-m:
by-test-platform: by-test-platform:
android-hw-p6.*shippable-qr.*: [] android-hw-p6.*shippable-qr.*: []
android-hw-s21.*shippable-qr.*: [] android-hw-s24.*shippable-qr.*: []
default: [mozilla-central] default: [mozilla-central]
default: [] default: []
treeherder-symbol: Btime(sp) treeherder-symbol: Btime(sp)
@ -481,20 +481,20 @@ browsertime-benchmark-speedometer3-mobile:
android-hw-a51.*shippable-qr.*: [trunk-only] android-hw-a51.*shippable-qr.*: [trunk-only]
android-hw-a55.*shippable-qr.*: [trunk-only] android-hw-a55.*shippable-qr.*: [trunk-only]
android-hw-p6.*shippable-qr.*: [mozilla-central] android-hw-p6.*shippable-qr.*: [mozilla-central]
android-hw-s21.*shippable-qr.*: [mozilla-central] android-hw-s24.*shippable-qr.*: [mozilla-central]
default: [] default: []
geckoview: geckoview:
by-test-platform: by-test-platform:
android-hw-a51.*shippable-qr.*: [trunk-only] android-hw-a51.*shippable-qr.*: [trunk-only]
android-hw-a55.*shippable-qr.*: [trunk-only] android-hw-a55.*shippable-qr.*: [trunk-only]
android-hw-p6.*shippable-qr.*: [mozilla-central] android-hw-p6.*shippable-qr.*: [mozilla-central]
android-hw-s21.*shippable-qr.*: [mozilla-central] android-hw-s24.*shippable-qr.*: [mozilla-central]
default: [] default: []
cstm-car-m: [mozilla-central] cstm-car-m: [mozilla-central]
chrome-m: chrome-m:
by-test-platform: by-test-platform:
android-hw-p6.*shippable-qr.*: [mozilla-central] android-hw-p6.*shippable-qr.*: [mozilla-central]
android-hw-s21.*shippable-qr.*: [mozilla-central] android-hw-s24.*shippable-qr.*: [mozilla-central]
default: [] default: []
default: [] default: []
treeherder-symbol: Btime(sp3) treeherder-symbol: Btime(sp3)

View File

@ -487,11 +487,6 @@ android-hw-p6-13-0-android-aarch64-shippable-qr/opt:
test-sets: test-sets:
- android-hw-speedometer-tests - android-hw-speedometer-tests
android-hw-s21-13-0-android-aarch64-shippable-qr/opt:
build-platform: android-aarch64-shippable/opt
test-sets:
- android-hw-speedometer-tests
android-hw-a55-14-0-android-aarch64-shippable-qr/opt: android-hw-a55-14-0-android-aarch64-shippable-qr/opt:
build-platform: android-aarch64-shippable/opt build-platform: android-aarch64-shippable/opt
test-sets: test-sets:
@ -500,4 +495,5 @@ android-hw-a55-14-0-android-aarch64-shippable-qr/opt:
android-hw-s24-14-0-android-aarch64-shippable-qr/opt: android-hw-s24-14-0-android-aarch64-shippable-qr/opt:
build-platform: android-aarch64-shippable/opt build-platform: android-aarch64-shippable/opt
test-sets: [] test-sets:
- android-hw-speedometer-tests

View File

@ -4589,7 +4589,7 @@ Standard benchmarks are third-party tests (i.e. Speedometer) that we have integr
- ❌ - ❌
.. list-table:: **test-android-hw-s21-13-0-android-aarch64-shippable-qr/opt** .. list-table:: **test-android-hw-s24-14-0-android-aarch64-shippable-qr/opt**
:widths: 30 15 15 15 15 :widths: 30 15 15 15 15
:header-rows: 1 :header-rows: 1
@ -4973,7 +4973,7 @@ Standard benchmarks are third-party tests (i.e. Speedometer) that we have integr
- ❌ - ❌
.. list-table:: **test-android-hw-s21-13-0-android-aarch64-shippable-qr/opt** .. list-table:: **test-android-hw-s24-14-0-android-aarch64-shippable-qr/opt**
:widths: 30 15 15 15 15 :widths: 30 15 15 15 15
:header-rows: 1 :header-rows: 1
@ -5372,7 +5372,7 @@ Standard benchmarks are third-party tests (i.e. Speedometer) that we have integr
- ❌ - ❌
.. list-table:: **test-android-hw-s21-13-0-android-aarch64-shippable-qr/opt** .. list-table:: **test-android-hw-s24-14-0-android-aarch64-shippable-qr/opt**
:widths: 30 15 15 15 15 :widths: 30 15 15 15 15
:header-rows: 1 :header-rows: 1
@ -5789,7 +5789,7 @@ Standard benchmarks are third-party tests (i.e. Speedometer) that we have integr
- ❌ - ❌
.. list-table:: **test-android-hw-s21-13-0-android-aarch64-shippable-qr/opt** .. list-table:: **test-android-hw-s24-14-0-android-aarch64-shippable-qr/opt**
:widths: 30 15 15 15 15 :widths: 30 15 15 15 15
:header-rows: 1 :header-rows: 1