gecko-dev/taskcluster/ci/test/reftest.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

276 строки
9.3 KiB
YAML
Исходник Обычный вид История

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
job-defaults:
Bug 1523303 - [taskgraph] Define suite "categories" rather than flavours task configs, r=gbrown Currently we have the concept of a "suite" and a "flavour" in our task configuration. Typically, the "suite" refers to the high-level test harness like "mochitest" or "reftest", whereas the flavour is more specific, e.g "browser-chrome-instrumentation" or "crashtest". However the line between suite and flavour is not applied with any semblance of consistency which results in inconsistent naming throughout the tree. This patch gets rid of the concept of "flavours" entirely (at least when it comes to task configuration). A suite is a type of test run, for example: - mochitest-plain - mochitest-devtools-chrome - mochitest-browser-chrome-instrumentation - jsreftest - reftest - firefox-ui-functional-remote etc There is no confusion here between suites and flavours because flavours don't exist. However, there are a couple of places where we *do* need to know what "test harness" is used to run a suite. These cases are: 1. For SCHEDULES moz.build rules 2. For the desktop_unittest.py mozharness script which takes arguments like --mochitest-suite=browser (this is not a compelling use of this information and should be refactored to work more like the android_emulator_unittest.py script) So to get this information, this patch introduces a new concept of a "category" which is the overall "test harness" that runs the suite. For many suites, the "category" is identical to the suite name. Unlike flavours, "categories" have no bearing on how we call or refer to the suite. Differential Revision: https://phabricator.services.mozilla.com/D27554 --HG-- extra : moz-landing-system : lando
2019-04-22 23:44:01 +03:00
suite:
category: reftest
target:
by-test-platform:
android-em-7.*: geckoview-androidTest.apk
android-hw-.*: geckoview-androidTest.apk
default: null
variants: ['fission']
python-3: true
tier:
by-variant:
fission: 2
default: default
test-manifest-loader: null # don't load tests in the taskgraph
mozharness:
script:
by-test-platform:
android-em.*: android_emulator_unittest.py
android-hw.*: android_hardware_unittest.py
default: desktop_unittest.py
config:
by-test-platform:
android-em-7.*:
- android/android_common.py
- android/androidx86_7_0.py
android-hw.*:
- android/android_common.py
- android/android_hw.py
linux.*:
- unittests/linux_unittest.py
- remove_executables.py
macosx.*:
- unittests/mac_unittest.py
windows.*:
- unittests/win_unittest.py
crashtest:
description: "Crashtest run"
schedules-component: crashtest
treeherder-symbol: R(C)
variants:
by-test-platform:
linux1804-64-qr/debug: ['webrender-sw', 'fission', 'wayland', 'noqr']
linux1804-64-asan-qr/opt: ['webrender-sw', 'fission', 'wayland', 'noqr']
windows10-64-qr/debug: ['webrender-sw', 'fission', 'noqr']
macosx101.*64-qr/debug: ['webrender-sw', 'fission', 'noqr']
android-em-7.0-x86_64-qr/debug: ['webrender-sw', 'fission', 'noqr']
.*(-tsan|10-32|7-32).*: ['fission']
.*ccov-qr.*: ['fission', 'noqr']
.*-qr.*: ['fission', 'noqr']
default: ['fission']
chunks:
by-test-platform:
android-em-7.*: 1
linux.*64-tsan/opt: 8
default: 1
e10s: true
run-on-projects:
by-variant:
fission:
by-test-platform:
(windows10|linux1804)-64-qr/opt: ['autoland']
(windows10|linux1804)-64-shippable-qr/opt: ['mozilla-central']
(windows10|linux1804)-64-qr/debug: ['trunk']
default: []
noqr: built-projects
default:
by-test-platform:
windows10-aarch64/.*: ['mozilla-central', 'mozilla-beta', 'mozilla-release']
android-em-7.0-x86_64/debug-isolated-process: []
linux.*asan/opt: []
.*(-asan|-tsan|10-32|7-32).*: built-projects
android.*: built-projects
(linux|windows|macos)(?!.*-qr).*: []
default: built-projects
max-run-time: 3600
tier:
by-variant:
fission:
by-test-platform:
linux1804-64-qr/debug: 1
default: 2
default:
by-test-platform:
windows10-aarch64.*: 2
macosx1100.*: 2
android-hw-.*-qr/.*: 2
android-em-7.0-x86_64/debug-isolated-process: 3
default: default
crashtest-qr:
description: "Crashtest Webrender run"
schedules-component: crashtest
treeherder-symbol: R(C)
chunks: 1
e10s: true
run-on-projects:
by-variant:
fission: []
default: built-projects
max-run-time: 1200
tier: 2
virtualization:
by-test-platform:
windows10-64.*: hardware
default: virtual
jsreftest:
description: "JS Reftest run"
Bug 1523303 - [taskgraph] Define suite "categories" rather than flavours task configs, r=gbrown Currently we have the concept of a "suite" and a "flavour" in our task configuration. Typically, the "suite" refers to the high-level test harness like "mochitest" or "reftest", whereas the flavour is more specific, e.g "browser-chrome-instrumentation" or "crashtest". However the line between suite and flavour is not applied with any semblance of consistency which results in inconsistent naming throughout the tree. This patch gets rid of the concept of "flavours" entirely (at least when it comes to task configuration). A suite is a type of test run, for example: - mochitest-plain - mochitest-devtools-chrome - mochitest-browser-chrome-instrumentation - jsreftest - reftest - firefox-ui-functional-remote etc There is no confusion here between suites and flavours because flavours don't exist. However, there are a couple of places where we *do* need to know what "test harness" is used to run a suite. These cases are: 1. For SCHEDULES moz.build rules 2. For the desktop_unittest.py mozharness script which takes arguments like --mochitest-suite=browser (this is not a compelling use of this information and should be refactored to work more like the android_emulator_unittest.py script) So to get this information, this patch introduces a new concept of a "category" which is the overall "test harness" that runs the suite. For many suites, the "category" is identical to the suite name. Unlike flavours, "categories" have no bearing on how we call or refer to the suite. Differential Revision: https://phabricator.services.mozilla.com/D27554 --HG-- extra : moz-landing-system : lando
2019-04-22 23:44:01 +03:00
schedules-component: jsreftest
treeherder-symbol: R(J)
instance-size: default
chunks:
by-test-platform:
android-hw.*\/debug: 12
android-hw.*/(opt|pgo)?: 6
windows.*\/opt: 2
windows10-64-asan/opt: 3
windows10-64-ccov-qr/opt: 5
linux.*64-ccov.*/.*: 5
linux1804-64-qr/opt: 4
linux1804-64-qr/debug: 5
linux1804-64/debug: 5
macosx.*-64-ccov.*/.*: 5
macosx.*-64(-shippable)?/opt: 2
default: 3
max-run-time:
by-test-platform:
windows10-64-ccov.*/.*: 7200
macosx.*64-ccov.*/.*: 7200
linux.*64-ccov.*/.*: 7200
default: 3600
tier:
by-test-platform:
macosx1100.*: 2
default: default
run-on-projects:
by-variant:
fission: []
default:
by-test-platform:
android-hw-.*-aarch64(?:-shippable)?/.*: ['mozilla-central', 'release']
android-hw-.*-arm7(?:-shippable)?/.*: ['mozilla-central', 'release']
default: built-projects
virtualization:
by-test-platform:
windows10-64.*: hardware
default: virtual
reftest:
description: "Reftest run"
treeherder-symbol: R(R)
virtualization:
by-test-platform:
windows10-64.*: hardware
default: virtual-with-gpu
variants:
by-test-platform:
linux1804-64-qr/debug: ['webrender-sw', 'fission', 'wayland', 'noqr']
linux1804-64-asan-qr/opt: ['webrender-sw', 'fission', 'wayland', 'noqr']
windows10-64-qr/debug: ['webrender-sw', 'fission', 'noqr']
windows10-32(?:-shippable)?-qr/opt: ['webrender-sw', 'fission', 'noqr']
windows7-32(?:-shippable)?-qr/opt: ['webrender-sw', 'fission', 'noqr']
macosx101.*64-qr/debug: ['webrender-sw', 'fission', 'noqr']
android-em-7.0-x86_64-qr/debug: ['webrender-sw', 'fission', 'noqr']
android-.*/debug-isolated-process: ['fission']
.*(-asan|-tsan|windows10-32|windows7-32).*: ['fission']
.*ccov-qr.*: ['fission', 'noqr']
.*-qr.*: ['fission', 'noqr']
default: ['fission']
chunks:
by-test-platform:
android-em-7.*: 2
linux1804-64(-shippable|-devedition|-qr)?/opt: 5
macosx101.*-64-shippable(-qr)?/opt: 3
macosx101.*-64/debug: 4
macosx101.*-64(-ccov.*|-qr)/debug: 6
windows.*/opt: 2
windows10-64.*/debug: 4
windows10-32.*/debug: 6
windows10-64-asan/opt: 3
windows10-64-ccov-qr/opt: 9
default: 8
e10s: true
run-on-projects:
by-variant:
fission:
by-test-platform:
linux1804-64-qr/debug: ['trunk']
default: []
noqr: built-projects
default:
by-test-platform:
windows10-aarch64/.*: ['mozilla-central', 'mozilla-beta', 'mozilla-release']
android-em-7.0-x86_64/debug-isolated-process: []
linux.*asan/opt: []
.*(mingwclang|-asan|-tsan|10-32|7-32).*: built-projects
windows10-aarch64/opt: built-projects
android.*: built-projects
(linux|windows|macos|android-em)(?!.*-qr).*: []
default: built-projects
max-run-time:
by-test-platform:
windows10-32-mingwclang-qr/debug: 5400
windows10-64-ccov.*/.*: 5400
windows10-64-asan/opt: 5400
macosx.*64-ccov.*/.*: 5400
default: 3600
mozharness:
chunked:
by-test-platform:
android-em.*: false
macosx.*64/opt: false
windows10-64.*/opt: false
default: true
tier:
by-variant:
fission:
by-test-platform:
linux1804-64-qr/debug: 1
default: 2
default:
by-test-platform:
windows10-aarch64.*: 2
android-hw-.*-qr/.*: 2
macosx1100.*: 2
android-em-7.0-x86_64/debug-isolated-process: 3
default: default
reftest-qr:
description: "Reftest webrender run"
treeherder-symbol: R(R)
variants:
by-test-platform:
android-hw-p2-8-0-android-aarch64-qr/debug: ['webrender-sw']
default: []
chunks: 2
e10s: true
run-on-projects:
by-variant:
fission: []
default: built-projects
max-run-time: 2400
mozharness:
chunked: true
tier: 2
virtualization:
by-test-platform:
windows10-64.*: hardware
default: virtual
reftest-snapshot:
description: "Reftest snapshot"
treeherder-symbol: R(Rs)
virtualization: virtual
variants:
by-test-platform:
linux1804-64-qr/debug: ['webrender-sw']
linux1804-64-asan-qr/opt: ['webrender-sw']
default: []
run-on-projects:
by-variant:
fission:
by-test-platform:
linux1804-64/debug: ['trunk']
default: []
default: []
chunks: 8
mozharness:
chunked: true