Bug 1632822 - create webrender list of crashtests to have focused tests on android phones. r=bc

create webrender list of crashtests to have focused tests on android phones

Differential Revision: https://phabricator.services.mozilla.com/D72570
This commit is contained in:
Joel Maher 2020-04-27 18:06:47 +00:00
Родитель 0806eab98a
Коммит 18ac0dd2f1
9 изменённых файлов: 54 добавлений и 1 удалений

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

@ -63,6 +63,16 @@ crashtest:
android-hw-.*-qr/.*: 2 android-hw-.*-qr/.*: 2
default: default default: default
crashtest-qr:
description: "Crashtest Webrender run"
schedules-component: crashtest
treeherder-symbol: R(C)
chunks: 1
e10s: true
run-on-projects: built-projects
max-run-time: 1200
tier: 2
jsreftest: jsreftest:
description: "JS Reftest run" description: "JS Reftest run"
schedules-component: jsreftest schedules-component: jsreftest

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

@ -603,7 +603,7 @@ android-hw-aarch64-debug-unittests:
- mochitest-webgl2-core - mochitest-webgl2-core
android-hw-aarch64-qr: android-hw-aarch64-qr:
- crashtest - crashtest-qr
- reftest-qr - reftest-qr
android-hw-arm7-raptor: android-hw-arm7-raptor:

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

@ -1264,6 +1264,7 @@ CHUNK_SUITES_BLACKLIST = (
'awsy', 'awsy',
'cppunittest', 'cppunittest',
'crashtest', 'crashtest',
'crashtest-qr',
'firefox-ui-functional-local', 'firefox-ui-functional-local',
'firefox-ui-functional-remote', 'firefox-ui-functional-remote',
'geckoview-junit', 'geckoview-junit',

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

@ -0,0 +1,7 @@
# crashtests that are most likely to affect webrender
# Added as part of Bug 1632822 to reduce load on android phones
include ../../gfx/tests/crashtests/crashtests.list
include ../../layout/base/crashtests/crashtests.list
include ../../layout/painting/crashtests/crashtests.list
include ../../layout/svg/crashtests/crashtests.list

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

@ -52,6 +52,14 @@ TEST_SUITES = {
'task_regex': ['crashtest($|.*(-1|[^0-9])$)', 'task_regex': ['crashtest($|.*(-1|[^0-9])$)',
'test-verify($|.*(-1|[^0-9])$)'], 'test-verify($|.*(-1|[^0-9])$)'],
}, },
'crashtest-qr': {
'aliases': ('c', 'rc'),
'build_flavor': 'crashtest',
'mach_command': 'crashtest',
'kwargs': {'test_file': None},
'task_regex': ['crashtest-qr($|.*(-1|[^0-9])$)',
'test-verify($|.*(-1|[^0-9])$)'],
},
'firefox-ui-functional': { 'firefox-ui-functional': {
'aliases': ('fxfn',), 'aliases': ('fxfn',),
'mach_command': 'firefox-ui-functional', 'mach_command': 'firefox-ui-functional',

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

@ -208,6 +208,30 @@ config = {
], ],
"tests": ["tests/testing/crashtest/crashtests.list",], "tests": ["tests/testing/crashtest/crashtests.list",],
}, },
"crashtest-qr": {
"run_filename": "remotereftest.py",
"testsdir": "reftest",
"options": [
"--app=%(app)s",
"--ignore-window-size",
"--remote-webserver=%(remote_webserver)s",
"--xre-path=%(xre_path)s",
"--utility-path=%(utility_path)s",
"--http-port=%(http_port)s",
"--ssl-port=%(ssl_port)s",
"--httpd-path",
"%(modules_dir)s",
"--symbols-path=%(symbols_path)s",
"--suite=crashtest",
"--log-raw=%(raw_log_file)s",
"--log-raw-level=%(log_raw_level)s",
"--log-errorsummary=%(error_summary_file)s",
"--log-tbpl-level=%(log_tbpl_level)s",
"--deviceSerial=%(device_serial)s",
"--topsrcdir=tests",
],
"tests": ["tests/testing/crashtest/crashtests-qr.list",],
},
"jittest": { "jittest": {
"run_filename": "jit_test.py", "run_filename": "jit_test.py",
"testsdir": "jit-test/jit-test", "testsdir": "jit-test/jit-test",

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

@ -52,6 +52,7 @@ TinderBoxPrintRe = {
"reftest_summary": _reftest_summary, "reftest_summary": _reftest_summary,
"reftest-qr_summary": _reftest_summary, "reftest-qr_summary": _reftest_summary,
"crashtest_summary": _reftest_summary, "crashtest_summary": _reftest_summary,
"crashtest-qr_summary": _reftest_summary,
"xpcshell_summary": { "xpcshell_summary": {
'regex': re.compile(r'''INFO \| (Passed|Failed|Todo): (\d+)'''), 'regex': re.compile(r'''INFO \| (Passed|Failed|Todo): (\d+)'''),
'pass_group': "Passed", 'pass_group': "Passed",

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

@ -322,6 +322,7 @@ You can set this by specifying --test-url URL
'geckoview-junit': 'mochitest', 'geckoview-junit': 'mochitest',
'reftest-qr': 'reftest', 'reftest-qr': 'reftest',
'crashtest': 'reftest', 'crashtest': 'reftest',
'crashtest-qr': 'reftest',
'reftest-debug': 'reftest', 'reftest-debug': 'reftest',
'crashtest-debug': 'reftest', 'crashtest-debug': 'reftest',
} }

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

@ -21,6 +21,7 @@ MOZHARNESS_SCRIPTS = {
], ],
'xfail': [ 'xfail': [
'cppunittest', 'cppunittest',
'crashtest-qr',
'gtest', 'gtest',
'geckoview-junit', 'geckoview-junit',
'jittest', 'jittest',