summaryrefslogtreecommitdiffstats
path: root/comm/taskcluster/ci/test/tests.yml
blob: 9d3105d5e92d6f0e6c32bed8ea10770353229014 (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
# 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/.
---
# Each stanza here describes a particular test suite or sub-suite.  These are
# processed through the transformations described in kind.yml to produce a
# bunch of tasks.  See the schema in `taskcluster/gecko_taskgraph/transforms/tests.py`
# for a description of the fields used here.

# Note that these are in lexical order, as enforced by the task loader.

# Adding a new test type or running tests on a new platform? Be sure to review
# https://wiki.mozilla.org/Sheriffing/Job_Visibility_Policy

xpcshell:
    description: "xpcshell test run"
    suite:
        category: xpcshell
        name:
            by-variant:
                msix: xpcshell-msix
                default: xpcshell
    target:
        by-test-platform:
            windows11-64.*:
                by-variant:
                    msix: target.installer.msix
                    default: null
            default: null
    treeherder-symbol: X(X)
    variants:
        - msix
    run-on-projects:
        by-variant:
            msix:
                by-test-platform:
                    windows11-64.*: built-projects
                    default: []
            default: built-projects
    tier:
        by-variant:
            msix: 2
            default:
                by-test-platform:
                    .*-asan.*: 2
                    .*-tsan.*: 2
                    macosx1100.*: 2
                    windows11.*: 1
                    default: default
    chunks:
        by-test-platform:
            .*-ccov.*/.*: 8
            .*-tsan.*/opt: 8
            default: 4
    instance-size: default
    max-run-time:
        by-variant:
            msix: 7200
            default:
                by-test-platform:
                    windows.*/opt: 5400
                    .*-ccov(-qr)?/.*: 7200
                    .*-tsan.*/opt: 7200
                    default: 2700
    allow-software-gl-layers: false
    mozharness:
        script: desktop_unittest.py
        config:
            by-test-platform:
                windows.*:
                    - unittests/win_unittest.py
                    - unittests/thunderbird_extra.py
                macosx.*64.*:
                    - unittests/mac_unittest.py
                    - unittests/thunderbird_extra.py
                linux.*:
                    - unittests/linux_unittest.py
                    - remove_executables.py
                    - unittests/thunderbird_extra.py
        extra-options:
            by-test-platform:
                windows1.*:
                    - --threads=2
                default: []
        requires-signed-builds:
            by-test-platform:
                windows1.-64-asan-qr/opt: false
                windows.*: true
                default: false
    fetches:
        toolchain:
            by-test-platform:
                linux.*:
                    - linux64-fix-stacks
                    - linux64-node
                    - linux64-minidump-stackwalk
                macosx.*:
                    - macosx64-fix-stacks
                    - macosx64-node
                    - macosx64-minidump-stackwalk
                win.*64.*:
                    - win32-fix-stacks
                    - win64-node
                    - win32-minidump-stackwalk
                win.*32.*:
                    - win32-fix-stacks
                    - win32-node
                    - win32-minidump-stackwalk
                default: []

mochitest-thunderbird:
    description: "Mochitest browser-chrome-thunderbird run"
    suite:
        category: mochitest
        name: mochitest-browser-chrome-thunderbird
    target:
        by-test-platform:
            windows11-64.*:
                by-variant:
                    msix: target.installer.msix
                    default: null
            default: null
    treeherder-symbol: M(bct)
    built-projects-only: true
    test-manifest-loader: null  # don't load tests in the taskgraph
    loopback-video: true
    max-run-time:
        by-variant:
            msix: 5400
            default:
                by-test-platform:
                    linux.*64-ccov.*/.*: 9000
                    linux.*64-tsan.*/opt: 9000
                    default: 3600
    variants:
        - msix
    run-on-projects:
        by-variant:
            msix:
                by-test-platform:
                    windows11-64.*: built-projects
                    default: []
            default: built-projects
    tier:
        by-variant:
            msix: 2
            default:
                by-test-platform:
                    .*-asan.*: 2
                    .*-tsan.*: 2
                    macosx1100.*: 2
                    windows11.*: 1
                    default: default
    chunks:
        by-test-platform:
            linux.*64-asan.*/opt: 16
            linux.*64-tsan.*/opt: 15
            windows1.-64-asan.*/opt: 9
            default: 7
    mozharness:
        script: desktop_unittest.py
        mochitest-flavor: browser
        config:
            by-test-platform:
                windows.*:
                    - unittests/win_unittest.py
                    - unittests/thunderbird_extra.py
                macosx.*64.*:
                    - unittests/mac_unittest.py
                    - unittests/thunderbird_extra.py
                linux.*:
                    - unittests/linux_unittest.py
                    - remove_executables.py
                    - unittests/thunderbird_extra.py
    instance-size:
        by-test-platform:
            linux.*64-tsan.*/opt: xlarge  # runs out of memory on default/m3.large
            default: default
    allow-software-gl-layers: false