Bug 632954 - Enable tests on Android PGO; r=jmaher

Differential Revision: https://phabricator.services.mozilla.com/D22827

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Shal 2019-03-18 23:53:38 +00:00
Родитель d07bfb450e
Коммит 28e60232f7
9 изменённых файлов: 78 добавлений и 19 удалений

Просмотреть файл

@ -30,7 +30,10 @@ cppunit:
by-test-platform:
android-em.*: xlarge
default: default
run-on-projects: built-projects
run-on-projects:
by-test-platform:
android-em-4.3-arm7-api-16/opt: ['try']
default: built-projects
gtest:
description: "GTests run"
@ -77,6 +80,7 @@ jittest:
# Additionally, platforms contain suffixes like "/opt" or "/debug".
(?=linux).*(?!-ccov)...../.*: [] # redundant with SM(...)
(?=windows).*(?!-ccov)...../.*: [] # redundant with SM(p)
android-hw-.*-api-16/opt: ['try']
default: built-projects
chunks:
by-test-platform:

Просмотреть файл

@ -16,7 +16,12 @@ geckoview-junit:
android-em-4.3-arm7-api-16-ccov/debug: 8
android-em-4.3-arm7-api-16/debug: 8
android-em-4.3-arm7-api-16/opt: 3
android-em-4.3-arm7-api-16-pgo/opt: 3
default: 1
run-on-projects:
by-test-platform:
android-em-4.3-arm7-api-16/opt: ['try']
default: built-projects
mozharness:
script: android_emulator_unittest.py
config:
@ -40,8 +45,13 @@ robocop:
# android-em-4.3-arm7-api-16/debug -- not run
android-em-4.3-arm7-api-16-ccov/debug: 8
android-em-4.3-arm7-api-16/opt: 4
android-em-4.3-arm7-api-16-pgo/opt: 4
loopback-video: true
e10s: false
run-on-projects:
by-test-platform:
android-em-4.3-arm7-api-16/opt: ['try']
default: built-projects
mozharness:
script: android_emulator_unittest.py
config:
@ -77,6 +87,7 @@ test-verify:
allow-software-gl-layers: false
run-on-projects:
by-test-platform:
android-em-4.3-arm7-api-16/opt: ['try']
# do not run on ccov
.*-ccov/.*: []
.*-asan/.*: []

Просмотреть файл

@ -8,6 +8,10 @@ job-defaults:
linux64/debug: both
default: false
socketprocess-e10s: false
run-on-projects:
by-test-platform:
android-em-4.3-arm7-api-16/opt: ['try']
default: built-projects
mozharness:
script:
by-test-platform:
@ -38,7 +42,6 @@ mochitest:
suite: mochitest/plain-chunked
treeherder-symbol: M()
loopback-video: true
run-on-projects: built-projects
tier:
by-test-platform:
android-em-7.*/opt: 2
@ -257,7 +260,6 @@ mochitest-gpu:
description: "Mochitest GPU run"
suite: mochitest/gpu
treeherder-symbol: M(gpu)
run-on-projects: built-projects
loopback-video: true
instance-size:
by-test-platform:
@ -287,7 +289,11 @@ mochitest-media:
windows10-64-ccov/debug: 7200
macosx64-ccov/debug: 7200
default: 5400
run-on-projects: built-projects
run-on-projects:
by-test-platform:
android-hw-.*-api-16/opt: ['try']
android-em-4.3-arm7-api-16/opt: ['try']
default: built-projects
socketprocess-e10s:
by-test-platform:
android.*: false

Просмотреть файл

@ -13,6 +13,7 @@ job-defaults:
by-test-platform:
windows10-64-ux: ['try', 'mozilla-central']
(?:windows10-64|windows7-32|linux64)(?:-qr)?/opt: ['mozilla-central', 'try']
android-hw-.*-api-16/opt: ['try']
default: ['try', 'trunk', 'mozilla-beta']
tier:
by-test-platform:
@ -263,7 +264,8 @@ raptor-tp6m-1-geckoview:
treeherder-symbol: Rap(tp6m-1)
run-on-projects:
by-test-platform:
android-hw-p2-8-0-arm7.*: ['try', 'mozilla-central']
android-hw-p2-8-0-arm7.*-pgo/opt: ['try', 'mozilla-central']
android-hw-.*-api-16/opt: ['try']
default: ['try', 'trunk', 'mozilla-beta']
target: geckoview_example.apk
tier:
@ -284,8 +286,9 @@ raptor-tp6m-2-geckoview:
target: geckoview_example.apk
run-on-projects:
by-test-platform:
android-hw-p2-8-0-arm7.*: ['try', 'mozilla-central']
android-hw-g5.*: ['try', 'mozilla-central']
android-hw-p2-8-0-arm7.*-pgo/opt: ['try', 'mozilla-central']
android-hw-g5.*-pgo/opt: ['try', 'mozilla-central']
android-hw-.*-api-16/opt: ['try']
default: ['try', 'trunk', 'mozilla-beta']
tier: 2
mozharness:
@ -327,8 +330,9 @@ raptor-tp6m-5-geckoview:
treeherder-symbol: Rap(tp6m-5)
run-on-projects:
by-test-platform:
android-hw-p2-8-0-arm7.*: ['try', 'mozilla-central']
android-hw-g5.*: ['try', 'mozilla-central']
android-hw-p2-8-0-arm7.*-pgo/opt: ['try', 'mozilla-central']
android-hw-g5.*-pgo/opt: ['try', 'mozilla-central']
android-hw-.*-api-16/opt: ['try']
default: ['try', 'trunk', 'mozilla-beta']
target: geckoview_example.apk
tier: 2
@ -345,8 +349,9 @@ raptor-tp6m-6-geckoview:
treeherder-symbol: Rap(tp6m-6)
run-on-projects:
by-test-platform:
android-hw-p2-8-0-arm7.*: ['try', 'mozilla-central']
android-hw-g5.*: ['try', 'mozilla-central']
android-hw-p2-8-0-arm7.*-pgo/opt: ['try', 'mozilla-central']
android-hw-g5.*-pgo/opt: ['try', 'mozilla-central']
android-hw-.*-api-16/opt: ['try']
default: ['try', 'trunk', 'mozilla-beta']
target: geckoview_example.apk
tier: 2
@ -376,8 +381,9 @@ raptor-tp6m-8-geckoview:
treeherder-symbol: Rap(tp6m-8)
run-on-projects:
by-test-platform:
android-hw-p2-8-0-arm7.*: ['try', 'mozilla-central']
android-hw-g5.*: ['try', 'mozilla-central']
android-hw-p2-8-0-arm7.*-pgo/opt: ['try', 'mozilla-central']
android-hw-g5.*-pgo/opt: ['try', 'mozilla-central']
android-hw-.*-api-16/opt: ['try']
default: ['try', 'trunk', 'mozilla-beta']
target: geckoview_example.apk
tier: 2
@ -429,7 +435,8 @@ raptor-speedometer-geckoview:
target: geckoview_example.apk
run-on-projects:
by-test-platform:
android-hw-p2-8-0-arm7.*: ['try', 'mozilla-central']
android-hw-p2-8-0-arm7.*-pgo/opt: ['try', 'mozilla-central']
android-hw-.*-api-16/opt: ['try']
default: ['try', 'trunk', 'mozilla-beta']
max-run-time: 900
mozharness:
@ -446,7 +453,9 @@ raptor-speedometer-geckoview-power:
target: geckoview_example.apk
run-on-projects:
by-test-platform:
android-hw.*: ['try', 'mozilla-central']
android-hw.*-pgo/opt: ['try', 'mozilla-central']
android-hw-.*-aarch64/opt: ['try', 'mozilla-central']
android-hw-.*-api-16/opt: ['try']
max-run-time: 1800
mozharness:
extra-options:
@ -465,6 +474,7 @@ raptor-speedometer-fennec:
target: target.apk
run-on-projects:
by-test-platform:
android-hw-.*-api-16/opt: ['try']
android-hw.*: ['try', 'trunk', 'mozilla-beta']
tier: 2
max-run-time: 900
@ -607,7 +617,8 @@ raptor-unity-webgl-geckoview:
target: geckoview_example.apk
run-on-projects:
by-test-platform:
android-hw-p2-8-0-arm7.*: ['try', 'mozilla-central']
android-hw-p2-8-0-arm7.*-pgo/opt: ['try', 'mozilla-central']
android-hw-.*-api-16/opt: ['try']
default: ['try', 'trunk', 'mozilla-beta']
max-run-time: 900
tier: 3

Просмотреть файл

@ -7,6 +7,10 @@ job-defaults:
by-test-platform:
linux64/debug: both
default: false
run-on-projects:
by-test-platform:
android-em-4.3-arm7-api-16/opt: ['try']
default: built-projects
mozharness:
script:
by-test-platform:
@ -32,7 +36,6 @@ crashtest:
description: "Crashtest run"
suite: reftest/crashtest
treeherder-symbol: R(C)
run-on-projects: built-projects
instance-size:
by-test-platform:
android-em.*: xlarge
@ -45,6 +48,7 @@ crashtest:
by-test-platform:
android-em-4.3-arm7-api-16/debug: 10
android-em-4.3-arm7-api-16/opt: 4
android-em-4.3-arm7-api-16-pgo/opt: 4
android-em-7.*: 1
default: 1
e10s:
@ -61,7 +65,6 @@ jsreftest:
suite: reftest/jsreftest
schedules-component: jsreftest # scheduling for this reftest is different from the others..
treeherder-symbol: R(J)
run-on-projects: built-projects
instance-size:
by-test-platform:
android-em.*: xlarge
@ -92,7 +95,6 @@ reftest:
description: "Reftest run"
suite: reftest/reftest
treeherder-symbol: R(R)
run-on-projects: built-projects
instance-size:
by-test-platform:
android-em.*: xlarge

Просмотреть файл

@ -366,6 +366,12 @@ android-em-4.3-arm7-api-16/opt:
- android-common-tests
- android-opt-tests
android-em-4.3-arm7-api-16-pgo/opt:
build-platform: android-api-16-pgo/opt
test-sets:
- android-common-tests
- android-opt-tests
android-em-7.0-x86/opt:
build-platform: android-x86/opt
test-sets:
@ -393,8 +399,23 @@ android-hw-g5-7-0-arm7-api-16/opt:
- android-hw-arm7-raptor-power
- raptor-fetch-geckoview
android-hw-g5-7-0-arm7-api-16-pgo/opt:
build-platform: android-api-16-pgo/opt
test-sets:
- android-hw-arm7-raptor
- android-hw-arm7-raptor-power
- raptor-fetch-geckoview
# android-hw-p2-8-0 Google Pixel 2 Android 8.0
android-hw-p2-8-0-arm7-api-16-pgo/opt:
build-platform: android-api-16-pgo/opt
test-sets:
- android-hw-arm7-opt-unittests
- android-hw-arm7-raptor
- android-hw-arm7-raptor-power
- raptor-fetch-geckoview
android-hw-p2-8-0-arm7-api-16/opt:
build-platform: android-api-16/opt
test-sets:

Просмотреть файл

@ -34,6 +34,7 @@ xpcshell:
by-test-platform:
windows10-64-asan/opt: [] # No XPCShell on ASAN yet
windows10-aarch64/opt: ['try', 'mozilla-central']
android-em-4.3-arm7-api-16/opt: ['try']
default: built-projects
chunks:
by-test-platform:

Просмотреть файл

@ -613,6 +613,7 @@ def set_treeherder_machine_platform(config, tests):
'android-api-16/debug': 'android-em-4-3-armv7-api16/debug',
'android-api-16-ccov/debug': 'android-em-4-3-armv7-api16-ccov/debug',
'android-api-16/opt': 'android-em-4-3-armv7-api16/opt',
'android-api-16-pgo/opt': 'android-em-4-3-armv7-api16-pgo/opt',
'android-x86/opt': 'android-em-4-2-x86/opt',
'android-api-16-gradle/opt': 'android-api-16-gradle/opt',
}
@ -686,6 +687,7 @@ def set_tier(config, tests):
'macosx64-qr/debug',
'android-em-4.3-arm7-api-16/opt',
'android-em-4.3-arm7-api-16/debug',
'android-em-4.3-arm7-api-16-pgo/opt',
'android-em-4.2-x86/opt',
'android-em-7.0-x86_64/opt',
'android-em-7.0-x86_64/debug',

Просмотреть файл

@ -130,6 +130,7 @@ UNITTEST_PLATFORM_PRETTY_NAMES = {
'linux64-stylo-sequential'
],
'Android 4.3 Emulator': ['android-em-4.3-arm7-api-16'],
'Android 4.3 Emulator PGO': ['android-em-4-3-armv7-api16-pgo'],
'Android 7.0 Moto G5 32bit': ['android-hw-g5-7.0-arm7-api-16'],
'Android 8.0 Google Pixel 2 32bit': ['android-hw-p2-8.0-arm7-api-16'],
'Android 8.0 Google Pixel 2 64bit': ['android-hw-p2-8.0-android-aarch64'],