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

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

290 строки
9.7 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:
test-manifest-loader: null # don't load tests in the taskgraph
geckoview-junit:
description: "Geckoview junit run"
suite: geckoview-junit
variants: ["geckoview-e10s-single", "geckoview-fission"]
treeherder-symbol: gv-junit
loopback-video: true
e10s: true
target: geckoview-androidTest.apk
max-run-time: 3600
run-on-projects:
by-variant:
geckoview-fission: ['trunk']
default: built-projects
tier: default
mozharness:
script: android_emulator_unittest.py
config:
by-test-platform:
android-em-7.*:
- android/android_common.py
- android/androidx86_7_0.py
extra-options:
- --test-suite=geckoview-junit
telemetry-tests-client:
description: "Telemetry tests client run"
suite: telemetry-tests-client
treeherder-symbol: tt(c)
variants: [fission]
run-on-projects:
by-variant:
fission:
by-test-platform:
linux.*-64-qr/debug: [trunk]
linux.*-64(?:-shippable|-asan)?-qr/opt: [trunk]
windows.*-64-qr/debug: [trunk]
windows.*-64(?:-shippable)?-qr/opt: [trunk]
default: []
default: built-projects
max-run-time: 1200
tier: default
python-3: true
mozharness:
script: telemetry/telemetry_client.py
config:
by-test-platform:
linux.*:
- remove_executables.py
windows.*: []
macosx.*: []
test-verify:
description: "Extra verification of tests modified on this push"
suite: test-verify
treeherder-symbol: TV
loopback-video: true
max-run-time: 10800
allow-software-gl-layers: false
variants: ["fission"]
run-on-projects:
by-variant:
fission:
by-test-platform:
# do not run on ccov or asan or shippable
.*(-ccov|-asan|-shippable).*: []
# we prefer -qr platforms with fission, no need to run on both
(?!.*(-ccov|-asan|-shippable))(?!.*-qr).*: []
# do not run on mozilla-central, beta or release: usually just confirms earlier results
default: ['integration']
default:
by-test-platform:
# do not run on ccov or asan or shippable
.*(-ccov|-asan|-shippable).*: []
# linux / windows -qr skipped because they were previously skipped via test-platforms.yml
.*(linux|windows)(?!.*(-ccov|-asan|-shippable)).*-qr.*: []
# do not run on mozilla-central, beta or release: usually just confirms earlier results
default: ['integration']
built-projects-only: true
target:
by-test-platform:
android-em-7.*: geckoview-androidTest.apk
default: null
optimization:
test-verify: ["test-verify"]
tier: 2
mozharness:
script:
by-test-platform:
android-em.*: android_emulator_unittest.py
default: desktop_unittest.py
config:
by-test-platform:
android-em-7.*:
- android/android_common.py
- android/androidx86_7_0.py
linux.*:
- unittests/linux_unittest.py
- remove_executables.py
macosx.*:
- unittests/mac_unittest.py
windows.*:
- unittests/win_unittest.py
extra-options:
- --verify
fetches:
toolchain:
by-test-platform:
linux.*:
- linux64-node
- linux64-minidump-stackwalk
- linux64-fix-stacks
macosx.*:
- macosx64-node
- macosx64-minidump-stackwalk
- macosx64-fix-stacks
win.*aarch64.*:
- win32-node
- win32-minidump-stackwalk
win.*-64.*:
- win64-node
- win32-minidump-stackwalk
- win32-fix-stacks
win.*32.*:
- win32-node
- win32-minidump-stackwalk
- win32-fix-stacks
android-em-7.*:
- android-sdk-linux
- linux64-node
- linux64-minidump-stackwalk
- linux64-fix-stacks
test-verify-gpu:
description: "Extra verification of tests modified on this push on gpu instances"
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: test-verify
name: test-verify-gpu
treeherder-symbol: TVg
loopback-video: true
virtualization: virtual-with-gpu
max-run-time: 10800
allow-software-gl-layers: false
run-on-projects:
by-variant:
fission: ['trunk']
default:
by-test-platform:
# do not run on ccov or asan
.*-ccov.*/.*: []
.*-asan/.*: []
.*shippable.*: []
# do not run on mozilla-central, beta or release: usually just confirms earlier results
default: ['integration']
built-projects-only: true
optimization:
test-verify: ["test-verify-gpu"]
tier: 2
mozharness:
script:
by-test-platform:
android-em.*: android_emulator_unittest.py
default: desktop_unittest.py
config:
by-test-platform:
android-em-7.*:
- android/android_common.py
- android/androidx86_7_0.py
linux.*:
- unittests/linux_unittest.py
- remove_executables.py
macosx.*:
- unittests/mac_unittest.py
windows.*:
- unittests/win_unittest.py
extra-options:
- --verify
- --gpu-required
test-coverage:
description: "Per-test coverage"
suite: test-coverage
treeherder-symbol: TC
loopback-video: true
instance-size: default
max-run-time: 10800
allow-software-gl-layers: false
run-on-projects:
by-variant:
fission: ['trunk']
default:
by-test-platform:
.*-ccov.*/.*: built-projects
default: []
tier: 2
mozharness:
script:
by-test-platform:
android-em.*: android_emulator_unittest.py
default: desktop_unittest.py
config:
by-test-platform:
android-em-7.*:
- android/android_common.py
- android/androidx86_7_0.py
linux.*:
- unittests/linux_unittest.py
- remove_executables.py
macosx.*:
- unittests/mac_unittest.py
windows.*:
- unittests/win_unittest.py
extra-options:
- --per-test-coverage
fetches:
toolchain:
by-test-platform:
linux.*:
- linux64-node
- linux64-minidump-stackwalk
- linux64-fix-stacks
macosx.*:
- macosx64-node
- macosx64-minidump-stackwalk
- macosx64-fix-stacks
win.*aarch64.*:
- win32-node
- win32-minidump-stackwalk
win.*-64.*:
- win64-node
- win32-minidump-stackwalk
- win32-fix-stacks
win.*32.*:
- win32-node
- win32-minidump-stackwalk
- win32-fix-stacks
android-em-7.*:
- android-sdk-linux
- linux64-node
- linux64-minidump-stackwalk
- linux64-fix-stacks
test-coverage-gpu:
description: "Per-test coverage for tests that require gpu instances"
suite: test-coverage
treeherder-symbol: TCg
loopback-video: true
virtualization: virtual-with-gpu
instance-size: default
max-run-time: 10800
allow-software-gl-layers: false
run-on-projects:
by-variant:
fission: ['trunk']
default:
by-test-platform:
# only run on mozilla-central and try.
.*-ccov.*/.*: ['mozilla-central']
default: []
tier:
by-test-platform:
windows10-64-asan.*: 3
default: 2
mozharness:
script:
by-test-platform:
android-em.*: android_emulator_unittest.py
default: desktop_unittest.py
config:
by-test-platform:
android-em-7.*:
- android/android_common.py
- android/androidx86_7_0.py
linux.*:
- unittests/linux_unittest.py
- remove_executables.py
macosx.*:
- unittests/mac_unittest.py
windows.*:
- unittests/win_unittest.py
extra-options:
- --per-test-coverage
- --gpu-required