summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/test/xpcshell.yml
blob: 583155eb2572a01b687ddaf64d38c76acd7e15d5 (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
# 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:
    suite:
        category: xpcshell
        name:
            by-variant:
                msix: xpcshell-msix
                default: xpcshell
    target:
        by-test-platform:
            android-em-7.*: geckoview-test_runner.apk
            windows11-64-2009.*:
                by-variant:
                    msix: target.installer.msix
                    default: null
            default: null
    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/android-x86_64.py
                linux.*:
                    - unittests/linux_unittest.py
                    - remove_executables.py
                macosx.*:
                    - unittests/mac_unittest.py
                windows.*:
                    - unittests/win_unittest.py
        requires-signed-builds:
            by-test-platform:
                macosx1100.*: true
                windows.*-asan-qr/opt: false    # No XPCShell on ASAN yet
                windows.*-mingwclang-qr/.*: false
                windows.*: true
                default: false

xpcshell:
    description: "xpcshell test run"
    treeherder-symbol: X(X)
    variants:
        - conditioned_profile
        - socketprocess_networking+no-fission
        - socketprocess_networking
        - no-fission
        - msix
    run-on-projects:
        by-variant:
            conditioned_profile:
                by-test-platform:
                    .*asan.*: []
                    .*ccov.*: []
                    (linux1804-64|windows11-64.*)(-shippable)?-qr/opt: ['trunk']
                    default: []
            socketprocess_networking+no-fission:
                by-test-platform:
                    linux1804-64.*: ['trunk']
                    default: []
            socketprocess_networking:
                by-test-platform:
                    (linux1804-64|macosx).*: ['trunk']  # All Linux & Mac variants
                    windows7-32.*: ['trunk']
                    ^(?!.*asan).*windows11.*: ['trunk']   # All Windows11 except ASAN
                    default: []
            no-fission:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug-isolated-process: []
                    android.*: built-projects
                    linux1804-64.*: ['trunk']
                    default: []
            msix:
                by-test-platform:
                    windows11-64-2009(-shippable)?-qr/opt: built-projects
                    windows11-64-2009-qr/debug: built-projects
                    default: []
            default:
                by-test-platform:
                    android.*: []
                    .*wayland.*: []
                    windows.*-asan-qr/opt: []  # No XPCShell on ASAN yet
                    default: built-projects
    chunks:
        by-test-platform:
            .*-asan-qr/opt: 4
            .*-ccov.*/.*: 8
            .*-tsan-qr/opt: 8
            (android-em-7.*|macosx.*|linux1804-64.*/opt): 2
            default: 4
    max-run-time:
        by-variant:
            msix: 7200
            conditioned_profile: 7200
            default:
                by-test-platform:
                    .*-ccov(-qr)?/.*: 7200
                    .*-tsan-qr/opt: 7200
                    default: 5400
    allow-software-gl-layers: false
    tier:
        by-test-platform:
            windows.*-asan.*: 3
            android-em-7.0-x86_64-qr/debug-isolated-process: 3
            default: default
    mozharness:
        extra-options:
            by-test-platform:
                windows1.*:
                    - --threads=2
                default: []
    fetches:
        toolchain:
            by-test-platform:
                # xpcshell-tests are limited to *-node-12 as node 14+ dropped
                # support for Windows 7. Once support for Windows 7 is dropped
                # (bug 1594270) we should be able to revert these to the latest
                # node version (*-node).
                linux.*:
                    - linux64-node-12
                    - linux64-minidump-stackwalk
                    - linux64-fix-stacks
                macosx.*:
                    - macosx64-node-12
                    - macosx64-minidump-stackwalk
                    - macosx64-fix-stacks
                win.*-64.*:
                    - win64-node-12
                    - win32-minidump-stackwalk
                    - win32-fix-stacks
                win.*32.*:
                    - win32-node-12
                    - win32-minidump-stackwalk
                    - win32-fix-stacks
                android-em-7.*:
                    - android-system-image-x86_64-linux
                    - android-avd-x86_64-linux
                    - android-emulator-linux
                    - linux64-node-12
                    - linux64-minidump-stackwalk

xpcshell-failures:
    description: "xpcshell specific failures test run"
    treeherder-symbol: X-f(X)
    run-on-projects: ["mozilla-central"]
    chunks: 2
    max-run-time: 2700
    allow-software-gl-layers: false
    tier: 3
    mozharness:
        script:
            by-test-platform:
                macos.*: mac_unittest.py
                windows1.*: desktop_unittest.py
        config:
            by-test-platform:
                macos.*:
                    - unittests/mac_unittest.py
                windows1.*:
                    - unittests/win_unittest.py
        extra-options:
            by-test-platform:
                macosx1100.*:
                    - --run-failures=apple_silicon
                    - --timeout-as-pass
                    - --crash-as-pass
    fetches:
        toolchain:
            by-test-platform:
                # xpcshell-tests are limited to *-node-12 as node 14+ dropped
                # support for Windows 7. Once support for Windows 7 is dropped
                # (bug 1594270) we should be able to revert these to the latest
                # node version (*-node).
                macosx.*:
                    - macosx64-node-12
                    - macosx64-minidump-stackwalk
                    - macosx64-fix-stacks
                win.*32.*:
                    - win32-node-12
                    - win32-minidump-stackwalk
                    - win32-fix-stacks