summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/test/mochitest.yml
blob: 7906d8b62613f9328e42453ebf0be56ae14f5f44 (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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
# 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: mochitest
    target:
        by-test-platform:
            android-em-7.*: geckoview-androidTest.apk
            android-hw.*: geckoview-androidTest.apk
            default: null
    variants:
        by-test-platform:
            linux.*64/debug: ['fission']
            default: ['fission']
    run-on-projects:
        by-test-platform:
            .*-tsan/opt: ['trunk']
            default: built-projects
    fission-run-on-projects:
        by-test-platform:
            linux.*64-qr/debug: ['trunk']
            linux.*64-shippable-qr/opt: ['mozilla-central']
            linux.*64-shippable/.*: ['mozilla-central']
            linux.*64/debug: ['mozilla-central']
            windows10-64-shippable(-qr)?/opt: ['mozilla-central']
            default: []
    fission-tier:
        by-test-platform:
            linux.*64.*-qr/debug: 1
            default: 2
    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

mochitest-plain:
    description: "Mochitest plain run"
    treeherder-symbol: M()
    schedules-component: mochitest-plain
    loopback-video: true
    tier: default
    virtualization:
        by-test-platform:
            windows10-64.*: hardware
            default: virtual
    variants:
        by-test-platform:
            linux1804-64/opt: ['fission-xorigin']
            linux1804-64/debug: ['fission-xorigin']
            default: ['fission']
    chunks:
        by-test-platform:
            android-em-7.*: 4
            linux.*/debug: 16
            linux.*64-asan/opt: 10
            linux.*64-tsan/opt: 20
            linux.*64-.*cov/opt: 10
            windows10-64-ccov.*/.*: 10
            macosx.*64-ccov.*/.*: 10
            default: 5
    instance-size:
        by-test-platform:
            linux.*64-tsan/opt: xlarge  # runs out of memory on default/m3.large
            default: default
    e10s: true
    max-run-time: 5400
    allow-software-gl-layers: false
    mozharness:
        mochitest-flavor: plain
        extra-options:
            by-test-platform:
                android-em.*:
                    - --test-suite=mochitest-plain
                default: []
        chunked:
            by-test-platform:
                android-em.*: false
                default: true

mochitest-a11y:
    description: "Mochitest a11y run"
    treeherder-symbol: M(a11y)
    schedules-component: mochitest-a11y
    test-manifest-loader: default  # ensure we don't run with manifest-scheduling
    loopback-video: true
    tier: default
    e10s: false
    run-on-projects: built-projects
    mozharness:
        mochitest-flavor: a11y

mochitest-browser-chrome:
    description: "Mochitest browser-chrome run"
    suite:
        name: mochitest-browser-chrome
    treeherder-symbol: M(bc)
    schedules-component: mochitest-browser-chrome
    loopback-video: true
    variants:
        by-test-platform:
            linux.*64(-shippable)?/opt: ['fission', 'a11y-checks']
            default: ['fission']
    fission-run-on-projects:
        by-test-platform:
            linux.*64(-qr)?/debug: ['trunk']
            linux.*64-shippable(-qr)?/opt: ['mozilla-central']
            windows10-64-shippable(-qr)?/opt: ['mozilla-central']
            default: []
    tier: default
    fission-tier:
        by-test-platform:
            linux.*64/debug: 1
            default: 2
    chunks:
        by-test-platform:
            linux.*/debug: 16
            linux.*64-asan/opt: 16
            linux.*64-tsan/opt: 32
            macosx.*64/debug: 16
            windows10-64-ccov.*/.*: 14
            windows10.*-asan/opt: 9
            default: 7
    max-run-time:
        by-test-platform:
            linux.*64-ccov.*/.*: 9000
            windows7-32/debug: 5400
            windows10-64/debug: 5400
            macosx.*64(-qr)?/debug: 5400
            windows10-64-ccov.*/.*: 10800
            macosx.*64-ccov.*/.*: 10800
            linux.*/debug: 5400
            windows10-64-qr/debug: 5400
            linux.*64-tsan/opt: 9000
            default: 3600
    mozharness:
        mochitest-flavor: browser
        chunked: true
    # Bug 1281241: migrating to m3.large instances
    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

browser-screenshots:
    description: "Browser Screenshots"
    suite:
        name: mochitest-browser-chrome-screenshots
    treeherder-symbol: M(ss)
    loopback-video: true
    test-manifest-loader: null  # don't load tests in the taskgraph
    run-on-projects:
        by-test-platform:
            windows7-32(?:-shippable)(?:-qr)?/opt: ['mozilla-central']
            windows10-64(?:-shippable)(?:-qr)?/opt: ['mozilla-central']
            (?:windows10-64|windows7-32|linux1804-64|macosx1014-64)(?:-qr)?/opt: ['integration']
            linux1804-64-(?:shippable)(?:-qr)?/opt: ['mozilla-central']
            macosx.*64-shippable/opt: ['mozilla-central']
            default: []
    fission-run-on-projects: []
    fission-tier: 2
    max-run-time: 3600
    mozharness:
        mochitest-flavor: browser
    allow-software-gl-layers: false

mochitest-chrome:
    description: "Mochitest chrome run"
    treeherder-symbol: M(c)
    schedules-component: mochitest-chrome
    loopback-video: true
    tier: default
    chunks:
        by-test-platform:
            .*(-ccov|-qr).*/.*: 3
            windows10-64-ccov-qr/opt: 3
            .*-asan/opt: 3
            .*-tsan/opt: 6
            (linux.*64|windows.*-..|macosx10..)/debug: 3
            default: 2
    max-run-time: 3600
    e10s: false
    mozharness:
        mochitest-flavor: chrome
        chunked: true
    instance-size:
        by-test-platform:
            linux.*64-tsan/opt: xlarge  # runs out of memory on default/m3.large
            default: default

mochitest-devtools-chrome:
    description: "Mochitest devtools-chrome run"
    suite:
        name: mochitest-devtools-chrome
    schedules-component: mochitest-browser-chrome
    treeherder-symbol: M(dt)
    loopback-video: true
    variants:
        by-test-platform:
            linux.*64(-shippable)?/opt: ['fission', 'a11y-checks']
            default: ['fission']
    fission-run-on-projects:
        by-test-platform:
            linux.*64(-qr)?/debug: ['trunk']
            linux.*64-shippable(-qr)?/opt: ['trunk']
            windows10-64-shippable(-qr)?/opt: ['trunk']
            default: []
    tier: default
    fission-tier:
        by-test-platform:
            linux.*64(-qr)?/debug: 1
            linux.*64-shippable(-qr)?/opt: 1
            windows10-64-shippable(-qr)?/opt: 1
            default: 2
    max-run-time:
        by-test-platform:
            windows10-64-ccov.*/.*: 10800
            macosx.*64-ccov.*/.*: 9000
            linux.*64-ccov.*/.*: 7200
            linux.*64-tsan/opt: 7200
            default: 5400
    chunks:
        by-test-platform:
            .*-ccov.*/.*: 16
            linux.*64/debug: 12
            macosx.*64/debug: 8
            .*-asan/opt: 8
            .*-tsan/opt: 16
            default: 5
    mozharness:
        mochitest-flavor: chrome
        chunked: true
    instance-size:
        by-test-platform:
            linux.*64-[at]san/opt: xlarge  # runs out of memory on default/m3.large
            default: default
    # Bug 1296086: high number of intermittents observed with software GL and large instances
    allow-software-gl-layers: false

mochitest-plain-gpu:
    description: "Mochitest plain GPU run"
    suite:
        name: mochitest-plain-gpu
    treeherder-symbol: M(gpu)
    schedules-component: mochitest-plain
    loopback-video: true
    fission-run-on-projects: []
    fission-tier: 2
    tier: default
    virtualization:
        by-test-platform:
            windows10-64.*: hardware
            default: virtual-with-gpu
    e10s: true
    mozharness:
        mochitest-flavor: plain
        extra-options:
            by-test-platform:
                android.*:
                    # note that Android runs fewer suites than other platforms
                    - --test-suite=mochitest-plain-gpu
                default:
                    - --mochitest-suite=mochitest-plain-gpu
    instance-size:
        by-test-platform:
            linux.*64-tsan/opt: xlarge  # runs out of memory on default/m3.large
            default: default

mochitest-chrome-gpu:
    description: "Mochitest chrome GPU run"
    suite:
        name: mochitest-chrome-gpu
    treeherder-symbol: M(gpu-c)
    loopback-video: true
    fission-run-on-projects: []
    fission-tier: 2
    tier: default
    virtualization:
        by-test-platform:
            windows10-64.*: hardware
            default: virtual-with-gpu
    e10s: true
    run-on-projects:
        by-test-platform:
            .*-tsan/opt: ['trunk']
            android.*/.*: []
            default: built-projects
    mozharness:
        mochitest-flavor: chrome
        extra-options:
            by-test-platform:
                android.*:
                    # note that Android runs fewer suites than other platforms
                    - --test-suite=mochitest-chrome-gpu
                default:
                    - --mochitest-suite=mochitest-chrome-gpu
    instance-size:
        by-test-platform:
            linux.*64-tsan/opt: xlarge  # runs out of memory on default/m3.large
            default: default

mochitest-media:
    description: "Mochitest media run"
    treeherder-symbol: M(mda)
    schedules-component: mochitest-plain
    max-run-time:
        by-test-platform:
            windows10-64-ccov.*/.*: 7200
            macosx.*64-ccov.*/.*: 7200
            linux.*64-tsan/opt: 7200
            default: 5400
    run-on-projects:
        by-test-platform:
            .*-tsan/opt: ['trunk']
            android-hw-.*(?<!-shippable)(-qr)?/opt: ['autoland']
            android-hw-.*-api-16(-qr)?/(?:debug)?: ['trunk', 'mozilla-beta', 'mozilla-release']
            android-hw-.*-api-16-shippable(-qr)?/opt: ['trunk', 'mozilla-beta', 'mozilla-release']
            windows10-aarch64/.*: ['mozilla-central', 'mozilla-beta', 'mozilla-release']
            default: built-projects
    variants:
        by-test-platform:
            .*-ccov.*/.*: []
            android.*: ['socketprocess']
            default: ['fission', 'socketprocess', 'webgl-ipc']
    loopback-video: true
    instance-size:
        by-test-platform:
            linux.*64-tsan/opt: xlarge  # runs out of memory on default/m3.large
            default: large
    chunks:
        by-test-platform:
            android-em-7.*: 1
            windows10-64.*: 1
            macosx.*64.*/.*: 2
            windows10-aarch64/.*: 1
            windows7-32-shippable/.*: 2
            linux1804-64(-shippable|-devedition|-.*qr)/opt: 2
            linux.*64-tsan/opt: 4
            default: 3
    mozharness:
        mochitest-flavor: plain
        chunked:
            by-test-platform:
                android.*: false
                macosx.*64.*: false
                windows10-64.*: false
                default: true
        extra-options:
            - --setpref=webgl.out-of-process=false
    tier:
        by-test-platform:
            android-em.*: 1
            windows10-aarch64.*: 2
            android-hw.*: 1
            default: default

mochitest-plain-headless:
    description: "Mochitest plain headless run"
    suite:
        name: mochitest-plain
    treeherder-symbol: M(h)
    loopback-video: true
    chunks:
        by-test-platform:
            linux.*/debug: 16
            default: 5
    e10s: true
    max-run-time: 5400
    allow-software-gl-layers: false
    tier: 2
    run-on-projects: ['mozilla-central']
    mozharness:
        mochitest-flavor: plain
        chunked: true
        extra-options:
            - --headless

mochitest-valgrind:
    description: "Mochitest plain Valgrind run"
    suite:
        name: mochitest-valgrind-plain
    treeherder-symbol: M-V()
    run-on-projects: []
    test-manifest-loader: null  # don't load tests in the taskgraph
    tier: 3
    loopback-video: true
    chunks: 40
    max-run-time: 14400
    # We could re-enable e10s later.
    # There's no intrinsic reason not to use it.
    e10s: false
    variants: []
    allow-software-gl-layers: false
    mozharness:
        mochitest-flavor: plain
        chunked: true

mochitest-webgl1-core:
    description: "Mochitest webgl1-core run"
    treeherder-symbol: M(gl1c)
    schedules-component: mochitest-plain
    virtualization: virtual-with-gpu
    variants:
        by-test-platform:
            .*-ccov.*/.*: []
            android.*: []
            default: ['webgl-ipc']
    e10s: true
    test-manifest-loader: null  # don't load tests in the taskgraph
    loopback-video: true
    tier: default
    max-run-time:
        by-test-platform:
            macosx.*64-ccov.*/.*: 7200
            default: 1800
    run-on-projects:
        by-test-platform:
            .*-tsan/opt: ['trunk']
            android-hw-.*(?<!-shippable)(-qr)?/opt: ['mozilla-central', 'mozilla-beta', 'mozilla-release']
            android-hw.*aarch.*-shippable/opt: ['mozilla-central']
            default: built-projects
    # Bug 1296733: llvmpipe with mesa 9.2.1 lacks thread safety
    allow-software-gl-layers: false
    mozharness:
        mochitest-flavor: plain
        extra-options:
            - --setpref=webgl.out-of-process=false

mochitest-webgl1-ext:
    description: "Mochitest webgl1-ext run"
    treeherder-symbol: M(gl1e)
    schedules-component: mochitest-plain
    virtualization: virtual-with-gpu
    variants:
        by-test-platform:
            .*-ccov.*/.*: []
            android.*: []
            default: ['webgl-ipc']
    chunks:
        by-test-platform:
            android.*: 2
            default: 1
    e10s: true
    test-manifest-loader: null  # don't load tests in the taskgraph
    loopback-video: true
    tier: default
    max-run-time: 2700
    run-on-projects:
        by-test-platform:
            .*-tsan/opt: ['trunk']
            android-hw-.*(?<!-shippable)(-qr)?/opt: ['mozilla-central', 'mozilla-beta', 'mozilla-release']
            android-hw.*aarch.*-shippable/opt: ['mozilla-central']
            default: built-projects
    # Bug 1296733: llvmpipe with mesa 9.2.1 lacks thread safety
    allow-software-gl-layers: false
    mozharness:
        mochitest-flavor: plain
        chunked: true
        extra-options:
            - --setpref=webgl.out-of-process=false

mochitest-webgl2-core:
    description: "Mochitest webgl2-core run"
    treeherder-symbol: M(gl2c)
    schedules-component: mochitest-plain
    virtualization: virtual-with-gpu
    variants:
        by-test-platform:
            .*-ccov.*/.*: []
            android.*: []
            default: ['webgl-ipc']
    chunks:
        by-test-platform:
            android.*: 2
            default: 1
    e10s: true
    test-manifest-loader: null  # don't load tests in the taskgraph
    loopback-video: true
    tier: default
    max-run-time: 1800
    run-on-projects:
        by-test-platform:
            .*-tsan/opt: ['trunk']
            android-hw-.*(?<!-shippable)(-qr)?/opt: ['mozilla-central', 'mozilla-beta', 'mozilla-release']
            android-hw.*aarch.*-shippable/opt: ['mozilla-central']
            default: built-projects
    # Bug 1296733: llvmpipe with mesa 9.2.1 lacks thread safety
    allow-software-gl-layers: false
    mozharness:
        mochitest-flavor: plain
        chunked: true

mochitest-webgl2-ext:
    description: "Mochitest webgl2-ext run"
    treeherder-symbol: M(gl2e)
    schedules-component: mochitest-plain
    virtualization: virtual-with-gpu
    variants:
        by-test-platform:
            .*-ccov.*/.*: []
            android.*: []
            default: ['webgl-ipc']
    chunks: 4
    e10s: true
    test-manifest-loader: null  # don't load tests in the taskgraph
    loopback-video: true
    tier: default
    max-run-time: 2700
    # Bug 1296733: llvmpipe with mesa 9.2.1 lacks thread safety
    allow-software-gl-layers: false
    mozharness:
        mochitest-flavor: plain
        chunked: true
        extra-options:
            - --setpref=webgl.out-of-process=false

mochitest-webgl2-deqp:
    description: "Mochitest webgl2-deqp run"
    treeherder-symbol: M(gl2d)
    schedules-component: mochitest-plain
    run-on-projects: []  # Don't run this for now.
    virtualization: virtual-with-gpu
    variants:
        by-test-platform:
            .*-ccov.*/.*: []
            android.*: []
            default: ['webgl-ipc']
    chunks: 4
    e10s: true
    loopback-video: true
    tier: default
    max-run-time: 1800
    # Bug 1296733: llvmpipe with mesa 9.2.1 lacks thread safety
    allow-software-gl-layers: false
    mozharness:
        mochitest-flavor: plain
        chunked: true
        extra-options:
            - --setpref=webgl.out-of-process=false

mochitest-webgpu:
    description: "Mochitest webgpu run"
    treeherder-symbol: M(webgpu)
    schedules-component: mochitest-plain
    virtualization:
        by-test-platform:
            windows10-64.*: hardware
            default: virtual-with-gpu
    e10s: true
    loopback-video: true
    run-on-projects:
        by-test-platform:
            .*mingw.*: ["release"]
            .*shippable.*: ["mozilla-central"]
            (!-shippable).*-qr.*: ["trunk"]
            default: []
    tier: default
    max-run-time:
        by-test-platform:
            macosx.*64-ccov.*/.*: 7200
            default: 1800
    # Bug 1296733: llvmpipe with mesa 9.2.1 lacks thread safety
    allow-software-gl-layers: false
    mozharness:
        mochitest-flavor: plain

mochitest-remote:
    description: "Mochitest for the remote agent (/remote folder)"
    suite:
        name: mochitest-remote
    treeherder-symbol: M(remote)
    loopback-video: true
    run-on-projects:
        by-test-platform:
            .*shippable.*: ["mozilla-central"]
            (linux1804-64|windows7-32|windows10-64|macosx1014-64)(?:-qr)?/opt: ['integration']
            default: ["trunk"]
    fission-run-on-projects: []
    fission-tier: 2
    max-run-time: 5400
    mozharness:
        mochitest-flavor: browser
        extra-options:
            - --setpref=remote.log.level=Trace
    virtualization:
        by-test-platform:
            windows10-64.*: hardware
            default: virtual