summaryrefslogtreecommitdiffstats
path: root/tools/tryselect/try_presets.yml
blob: f7855e89126916fee6ed16ffa57199ceb4c045be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
---
# Presets defined here will be available to all users. Run them with:
#   $ mach try --preset <name>
#
# If editing this file, make sure to run:
#   $ mach python-test tools/tryselect/test/test_presets.py
#
# Descriptions are required. Please keep this in alphabetical order.

# yamllint disable rule:line-length

builds:
    selector: fuzzy
    description: >-
        Run builds without any of the extras.
    query:
        - "^build- !fuzzing !notarization !reproduced !rusttests !signing !upload-symbols"

builds-debug:
    selector: fuzzy
    description: >-
        Run the bare minimum of debug build jobs to ensure builds work on
        all tier-1 platforms.
    query:
        - "^build- 'debug !fuzzing !rusttests !signing !plain !asan !tsan !noopt !toolchain !upload-symbols"

builds-debugopt:
    selector: fuzzy
    description: >-
        Run the bare minimum of debug and opt build jobs to ensure builds work on
        all tier-1 platforms.
    query:
        - "^build- !fuzzing !rusttests !signing !plain !asan !tsan !noopt !toolchain !upload-symbols"

debugger-tests:
    selector: fuzzy
    description: >-
        Runs the tests relevant to the Firefox Devtools Debugger
    query:
        - "'debugger"
        - "'mozlint-eslint"
        - "!asan 'devtools !shippable | 'linux32 | 'macosx64"
        - "!android !asan 'linux32 | 'macosx64 | !shippable 'mochitest-chrome"
        - "!asan !shippable 'linux '64/ 'xpcshell"
        - "!qr !macosx !shippable 'damp"

devtools:
    selector: fuzzy
    description: >-
        Runs the tests relevant to the Firefox Devtools
    query:
        - "'node-debugger | 'node-devtools"
        - "'mozlint-eslint"
        # 'mochitest-devtools-chrome should match the "-e10s" and "-fis-e10s" flavors
        # explicitly target "'windows10-64(-shippable)?/" to avoid duplicate jobs on -qr platforms
        - "'mochitest-devtools-chrome | 'mochitest-chrome-1proc 'windows10-64/ | 'windows10-64-shippable/ | 'macosx1014-64"
        # Linux is being named "linux1804" and may change over time, so use a more flexible search
        - "'mochitest-devtools-chrome | 'mochitest-chrome-1proc 'linux '64/ | '64-shippable/"
        - "'xpcshell-e10s 'linux '64/"

devtools-linux:
    selector: fuzzy
    description: >-
        Runs the tests relevant to the Firefox Devtools, on Linux only.
    query:
        - "'node-debugger | 'node-devtools"
        - "'mozlint-eslint"
        - "'mochitest-devtools-chrome | 'mochitest-chrome-1proc 'linux '64/ | '64-shippable/"
        - "'xpcshell-e10s 'linux '64/"

fpush-linux-android:
    selector: fuzzy
    description: >-
        Runs correctness test suites on Linux and Android emulator platforms, as
        well as builds across main platforms. The resulting jobs on TreeHerder
        used to end up looking like a "F" shape (not so much these days) and so
        this is typically referred to as an F-push. This is useful to do as a
        general sanity check on changes to cross-platform Gecko code where you
        unsure of what tests might be affected. Linux and Android (emulator)
        test coverage are relatively cheap to run and cover a lot of the
        codebase, while the builds on other platforms catch compilation problems
        that might result from only building locally on one platform.
    query:
        - "'test-linux1804 'debug- !-shippable !-asan !-fis-"
        - "'test-android-em 'debug"
        - "^build !-shippable !-signing !-asan !-fuzzing !-rusttests !-base-toolchain !-aar-"

marionette:
    selector: fuzzy
    description: >-
        Runs the tests relevant to the Marionette protocol, which underpins
        many test harnesses as well as our WebDriver implementation.
        This preset can be filtered down further to limit it to a specific
        platform or to opt/debug tasks only. For example:
        |mach try --preset marionette -xq "'linux 'opt"|
    query:
        - "'marionette !asan !shippable !gpu !headless"
        - "'awsy-base"
        - "'firefox-ui !asan"
        - "'platform 'wdspec !qr | fis"
        - "'xpcshell !asan !qr !spi !tsan"
        - "'platform 'reftest 'debug !qr | fis -1$"
        - "'platform !reftest !wdspec 'debug -1$"
        - "'mochitest-browser 'debug !spi -1$"
        - "'reftest 'debug !platform !gpu !no-accel !qr -1$"

perf:
    selector: fuzzy
    description: >-
        Runs all performance (raptor and talos) tasks across all platforms.
        This preset can be filtered down further (e.g to limit it to a specific
        platform) via |mach try --preset perf -xq "'windows"|.

        Android hardware platforms are excluded due to resource limitations.
    query:
        - "^test- !android-hw 'raptor | 'talos"
    rebuild: 5

perf-chrome:
    description: >-
        Runs the talos tests most likely to change when making a change to
        the browser chrome. This skips a number of talos jobs that are unlikely
        to be affected in order to conserve resources.
    query:
        - "opt-talos- 'chrome | 'svg | 'session | 'tabswitch | 'other | 'g5"
    rebuild: 6
    selector: fuzzy

sample-suites:
    selector: fuzzy
    description: >-
        Runs one chunk of every test suite plus all suites that aren't chunked.
        It is useful for testing infrastructure changes that can affect the
        harnesses themselves but are unlikely to break specific tests.
    query:
        - ^test- -1$
        # Only run a single talos + raptor suite per platform
        - ^test- !1$ !2$ !3$ !4$ !5$ !6$ !7$ !8$ !9$ !0$ !raptor !talos
        - ^test- 'raptor-speedometer | 'talos-g1

sm-shell-all:
    selector: fuzzy
    description: <-
        Runs a set of tests aimed to give a reasonable level of confidence for
        basic SpiderMonkey changes (shell only), all platforms
    query:
        - "'spidermonkey | 'shell-haz"
        - "!shippable !android 'jittest"  # macosx64 jittests

sm-shell:
    selector: fuzzy
    description: <-
        Runs a set of tests aimed to give a reasonable level of confidence for
        basic SpiderMonkey changes (shell only) (linux only)
    query:
        - "!win !osx 'spidermonkey | 'shell-haz"


sm-all:
    selector: fuzzy
    description: <-
        Runs a set of tests aimed to give a reasonable level of confidence for
        basic SpiderMonkey changes, including those that would require a
        browser build.
    query:
        - "'spidermonkey | 'hazard"
        - "!android !asan !shippable 'xpcshell"
        - "!android !asan !shippable 'jsreftest"
        - "!shippable !android 'jittest"  # macosx64 jittests

webrender:
    selector: fuzzy
    description: >-
        Runs the conformance tests relevant to WebRender.
    query:
        - "!talos !raptor !shippable !asan '-qr"
        - "^webrender-"

webrender-perf:
    selector: fuzzy
    description: >-
        Runs the performance tests relevant to WebRender.
    query:
        - "'-qr !fis-e10s 'svgr"
        - "'-qr !fis-e10s 'g1"
        - "'-qr !fis-e10s 'g4"
        - "'-qr !fis-e10s 'tp5"
        - "'-qr !fis-e10s 'talos-webgl"
        - "'-qr !fis-e10s 'motionmark-animometer"