Skip to content

Commit

Permalink
Bug 1857623 - Enable speedometer and speedometer3 to run on pixel6 de…
Browse files Browse the repository at this point in the history
…vices. r=perftest-reviewers,sparky,taskgraph-reviewers,bhearsum

In this bug we are adding all the things required to run speedometer and speedometer3 tests on the pixel6 devices in CI

Differential Revision: https://phabricator.services.mozilla.com/D199981
  • Loading branch information
Andrej1198 committed Feb 6, 2024
1 parent 0a27716 commit 48eba74
Show file tree
Hide file tree
Showing 6 changed files with 155 additions and 8 deletions.
10 changes: 8 additions & 2 deletions taskcluster/ci/test/browsertime-mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,10 @@ browsertime-benchmark-speedometer-mobile:
by-test-platform:
android-hw-a51.*shippable-qr.*: [trunk]
default: []
cstm-car-m: [mozilla-central]
cstm-car-m:
by-test-platform:
android-hw-p6.*shippable-qr.*: []
default: [mozilla-central]
default: []
treeherder-symbol: Btime(sp)
mozharness:
Expand All @@ -374,7 +377,10 @@ browsertime-benchmark-speedometer3-mobile:
by-test-platform:
android-hw-a51.*shippable-qr.*: [trunk-only]
default: []
cstm-car-m: [mozilla-central]
cstm-car-m:
by-test-platform:
android-hw-p6.*shippable-qr.*: []
default: [mozilla-central]
default: []
treeherder-symbol: Btime(sp3)
mozharness:
Expand Down
3 changes: 2 additions & 1 deletion taskcluster/ci/test/test-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -496,4 +496,5 @@ android-hw-p5-13-0-android-aarch64-shippable-qr/opt:

android-hw-p6-13-0-android-aarch64-shippable-qr/opt:
build-platform: android-aarch64-shippable/opt
test-sets: []
test-sets:
- android-hw-speedometer-tests
4 changes: 4 additions & 0 deletions taskcluster/ci/test/test-sets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -493,3 +493,7 @@ android-hw-browsertime:

android-hw-browsertime-profiling:
- browsertime-tp6m-profiling

android-hw-speedometer-tests:
- browsertime-benchmark-speedometer-mobile
- browsertime-benchmark-speedometer3-mobile
14 changes: 9 additions & 5 deletions taskcluster/gecko_taskgraph/target_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,10 +743,11 @@ def filter(task):
return False

# Desktop and Android selection for CaR
if "browsertime" in try_name and (
"custom-car" in try_name or "cstm-car-m" in try_name
):
return True
if "android" not in platform or accept_raptor_android_build(platform):
if "browsertime" in try_name and (
"custom-car" in try_name or "cstm-car-m" in try_name
):
return True
return False

return [l for l, t in full_task_graph.tasks.items() if filter(t)]
Expand Down Expand Up @@ -887,7 +888,10 @@ def filter(task):
attributes = task.attributes
if attributes.get("unittest_suite") != "raptor":
return False
if "windows10-32" not in platform:

if (
"android" not in platform and "windows10-32" not in platform
) or accept_raptor_android_build(platform):
try_name = attributes.get("raptor_try_name")
if (
"browsertime" in try_name
Expand Down
124 changes: 124 additions & 0 deletions testing/perfdocs/generated/raptor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3374,6 +3374,37 @@ Standard benchmarks are third-party tests (i.e. Speedometer) that we have integr
- ❌


.. list-table:: **test-android-hw-p6-13-0-android-aarch64-shippable-qr/opt**
:widths: 30 15 15 15 15
:header-rows: 1

* - **Test Name**
- mozilla-central
- autoland
- mozilla-release
- mozilla-beta
* - **browsertime-benchmark-speedometer-mobile-chrome-m-nofis**
- ❌
- ❌
- ❌
- ❌
* - **browsertime-benchmark-speedometer-mobile-cstm-car-m-nofis**
- ❌
- ❌
- ❌
- ❌
* - **browsertime-benchmark-speedometer-mobile-fenix-nofis**
- ❌
- ❌
- ❌
- ❌
* - **browsertime-benchmark-speedometer-mobile-geckoview-nofis**
- ❌
- ❌
- ❌
- ❌


.. list-table:: **test-linux1804-64-clang-trunk-qr/opt**
:widths: 30 15 15 15 15
:header-rows: 1
Expand Down Expand Up @@ -3701,6 +3732,37 @@ Standard benchmarks are third-party tests (i.e. Speedometer) that we have integr
- ❌


.. list-table:: **test-android-hw-p6-13-0-android-aarch64-shippable-qr/opt**
:widths: 30 15 15 15 15
:header-rows: 1

* - **Test Name**
- mozilla-central
- autoland
- mozilla-release
- mozilla-beta
* - **browsertime-benchmark-speedometer-mobile-chrome-m-nofis**
- ❌
- ❌
- ❌
- ❌
* - **browsertime-benchmark-speedometer-mobile-cstm-car-m-nofis**
- ❌
- ❌
- ❌
- ❌
* - **browsertime-benchmark-speedometer-mobile-fenix-nofis**
- ❌
- ❌
- ❌
- ❌
* - **browsertime-benchmark-speedometer-mobile-geckoview-nofis**
- ❌
- ❌
- ❌
- ❌


.. list-table:: **test-linux1804-64-clang-trunk-qr/opt**
:widths: 30 15 15 15 15
:header-rows: 1
Expand Down Expand Up @@ -4039,6 +4101,37 @@ Standard benchmarks are third-party tests (i.e. Speedometer) that we have integr
- ❌


.. list-table:: **test-android-hw-p6-13-0-android-aarch64-shippable-qr/opt**
:widths: 30 15 15 15 15
:header-rows: 1

* - **Test Name**
- mozilla-central
- autoland
- mozilla-release
- mozilla-beta
* - **browsertime-benchmark-speedometer3-mobile-chrome-m-nofis**
- ❌
- ❌
- ❌
- ❌
* - **browsertime-benchmark-speedometer3-mobile-cstm-car-m-nofis**
- ❌
- ❌
- ❌
- ❌
* - **browsertime-benchmark-speedometer3-mobile-fenix-nofis**
- ❌
- ❌
- ❌
- ❌
* - **browsertime-benchmark-speedometer3-mobile-geckoview-nofis**
- ❌
- ❌
- ❌
- ❌


.. list-table:: **test-linux1804-64-clang-trunk-qr/opt**
:widths: 30 15 15 15 15
:header-rows: 1
Expand Down Expand Up @@ -4368,6 +4461,37 @@ Standard benchmarks are third-party tests (i.e. Speedometer) that we have integr
- ❌


.. list-table:: **test-android-hw-p6-13-0-android-aarch64-shippable-qr/opt**
:widths: 30 15 15 15 15
:header-rows: 1

* - **Test Name**
- mozilla-central
- autoland
- mozilla-release
- mozilla-beta
* - **browsertime-benchmark-speedometer3-mobile-chrome-m-nofis**
- ❌
- ❌
- ❌
- ❌
* - **browsertime-benchmark-speedometer3-mobile-cstm-car-m-nofis**
- ❌
- ❌
- ❌
- ❌
* - **browsertime-benchmark-speedometer3-mobile-fenix-nofis**
- ❌
- ❌
- ❌
- ❌
* - **browsertime-benchmark-speedometer3-mobile-geckoview-nofis**
- ❌
- ❌
- ❌
- ❌


.. list-table:: **test-linux1804-64-clang-trunk-qr/opt**
:widths: 30 15 15 15 15
:header-rows: 1
Expand Down
8 changes: 8 additions & 0 deletions testing/raptor/raptor/browsertime/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,14 @@ def browsertime_args(self):
)
activity = "mozilla.telemetry.glean.debug.GleanDebugActivity"

if self.device.shell_output("getprop ro.product.model") in ["Pixel 6"]:
args_list.extend(
[
'--firefox.geckodriverArgs="--android-storage"',
'--firefox.geckodriverArgs="app"',
]
)

args_list.extend(
[
"--browser",
Expand Down

0 comments on commit 48eba74

Please sign in to comment.