summaryrefslogtreecommitdiffstats
path: root/taskcluster/kinds/test/web-platform.yml
blob: b4cf3a732ba8bdf503f33ae55418dd1b52d9e554 (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
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
# 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: web-platform-tests
    instance-size: xlarge-noscratch
    max-run-time:
        by-test-platform:
            android-em-7.0-x86_64/debug: 7200
            default: 5400
    mozharness:
        script: web_platform_tests.py
        config:
            by-test-platform:
                windows.*:
                    - web_platform_tests/prod_config_windows_taskcluster.py
                macosx.*:
                    - web_platform_tests/prod_config_mac.py
                android-em.*:
                    - android/android-x86_64.py
                    - web_platform_tests/prod_config_android.py
                default:
                    - web_platform_tests/prod_config.py
                    - remove_executables.py
    target:
        by-test-platform:
            android-em-7.0-x86_64-shippable(-lite)?-qr/opt: geckoview-test_runner.apk
            android-em-7.0-x86_64(-lite)?-qr/opt: geckoview-test_runner.apk
            android-em-7.0-x86_64(-lite)?-qr/debug(-isolated-process)?: geckoview-test_runner.apk
            default: null

web-platform-tests:
    description: "Web platform test run"
    suite: web-platform-tests
    treeherder-symbol: W(wpt)
    virtualization: virtual
    tier:
        by-variant:
            no-fission:
                by-test-platform:
                    linux.*: 2
                    default: default
            default:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug-isolated-process: 3
                    default: default
    chunks:
        by-test-platform:
            android.*/debug: 32
            android.*: 24
            linux.*64-tsan-qr/opt: 32
            linux.*64-asan(-qr)?/opt: 22
            linux.*64-ccov.*/opt: 20
            linux.*/debug: 16
            macosx.*/debug: 18
            windows.*32.*/opt: 12
            windows.*/debug: 16
            windows.*-ccov.*/opt: 14
            default: 10
    max-run-time:
        by-test-platform:
            .*-ccov.*/.*: 10800
            linux.*64(-tsan|-asan)-qr/opt: 14400
            linux.*64(-qr)?/debug: 10800
            macosx.*/debug: 10800
            android-em.*/.*: 10800
            default: 7200
    variants:
        - no-fission
        - geckoview-no-fission-ship
    run-on-projects:
        by-variant:
            geckoview-no-fission-ship:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug-isolated-process: []
                    default: []
            no-fission:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug-isolated-process: []
                    android.*: built-projects
                    linux1804-64-qr/debug: ['mozilla-central']
                    linux1804-64(-shippable|-asan)?-qr/opt: ['mozilla-central']
                    default: []
            default:
                by-test-platform:
                    android.*: []
                    .*wayland.*: []
                    default: built-projects
    mozharness:
        chunked: true
        extra-options:
            - --test-type=testharness
            - --skip-implementation-status=backlog
            - --skip-implementation-status=not-implementing
            - --skip-timeout
            - --skip-crash
            # Because we have a separate job for them, don't run the (core)
            # webgpu/* tests in the main WPT runs. (but still run tests in dirs
            # other than webgpu/* that are tagged webgpu, e.g. canvas tests)
            - --exclude-tag=webgpu
            - --exclude-tag=canvas

web-platform-tests-backlog:
    description: "Web platform test (backlog) run"
    treeherder-symbol: W-b(wpt)
    variants:
        - no-fission
    chunks:
        by-test-platform:
            android.*: 3
            default: 2
    max-run-time:
        by-test-platform:
            android.*/opt: 7200
            default: 3600
    run-on-projects:
        by-variant:
            no-fission:
                by-test-platform:
                    android.*: ['mozilla-central']
                    default: []
            default:
                by-test-platform:
                    android.*: []
                    .*wayland.*: []
                    default: ['mozilla-central']
    test-manifest-loader: null  # don't load tests in the taskgraph
    tier: 2
    mozharness:
        chunked: true
        extra-options:
            - --test-type=testharness
            - --skip-implementation-status=implementing
            - --skip-implementation-status=not-implementing
            - --backlog
            - --exclude-tag=webgpu

web-platform-tests-privatebrowsing:
    description: "Web platform privatebrowsing test run"
    suite: web-platform-tests
    treeherder-symbol: W(pb)
    virtualization: virtual
    tier: default
    chunks: 1
    max-run-time: 1800
    variants: []  # We don't need sw or nofis testing.
    run-on-projects:
        by-test-platform:
            android.*: []
            macos.*: []
            .*-(wayland).*/.*: []
            default: built-projects
    mozharness:
        chunked: true
        extra-options:
            - --test-type=testharness
            - --default-exclude
            - --setpref=browser.privatebrowsing.autostart=true
            - --setpref=dom.cache.privateBrowsing.enabled=true
            - --tag=privatebrowsing

web-platform-tests-reftest:
    description: "Web platform reftest run"
    schedules-component: web-platform-tests-reftest
    treeherder-symbol: W(Wr)
    virtualization:
        by-test-platform:
            windows.*-64.*-qr/.*: virtual-with-gpu
            default: virtual
    chunks:
        by-test-platform:
            .*-ccov.*/.*: 8
            linux.*64-tsan-qr/opt: 16
            linux1804-64(-asan)?-qr/.*: 6
            macosx10.*-64/debug: 6
            macosx10.*-64/opt: 3
            windows.*-(32|64)(-qr)?/debug: 5
            android.*: 6
            default: 4
    variants:
        - no-fission
        - webrender-sw+no-fission
        - webrender-sw
    run-on-projects:
        by-variant:
            webrender-sw:
                by-test-platform:
                    .*-32.*/.*: []
                    linux.*64-qr/debug: built-projects
                    windows.*-qr/debug: built-projects
                    default: []
            webrender-sw+no-fission:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug: built-projects
                    linux1804-64-qr/debug: ['mozilla-central']
                    linux1804-64(-shippable|-asan)?-qr/opt: ['mozilla-central']
                    default: []
            no-fission:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug-isolated-process: []
                    linux1804-64-qr/debug: ['mozilla-central']
                    linux1804-64(-shippable|-asan)?-qr/opt: ['mozilla-central']
                    android.*: built-projects
                    default: []
            default:
                by-test-platform:
                    android.*: []
                    .*wayland.*: []
                    default: built-projects
    tier:
        by-variant:
            no-fission:
                by-test-platform:
                    linux.*: 2
                    default: default
            default:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug-isolated-process: 3
                    default: default
    mozharness:
        extra-options:
            - --test-type=reftest
            - --skip-implementation-status=backlog
            - --skip-implementation-status=not-implementing
            - --skip-timeout
            - --skip-crash

web-platform-tests-webgpu:
    description: "Web platform WebGPU test run"
    suite: web-platform-tests
    treeherder-symbol: W(webgpu)
    virtualization: virtual-with-gpu
    tier:
        by-test-platform:
            android.*: 2  # https://bugzilla.mozilla.org/show_bug.cgi?id=1849914
            macos.*: 2  # https://bugzilla.mozilla.org/show_bug.cgi?id=1849913
            linux2204.*-64.*: 2  # https://bugzilla.mozilla.org/show_bug.cgi?id=1849912
            windows.*-64.*: 2  # https://bugzilla.mozilla.org/show_bug.cgi?id=1849911
            default: 2
    # Choice of `chunks`:
    # Time-to-TEST-START on Windows is ~7m (~9m for debug).
    # (though we're working on reducing this!)
    # Devs would love ~10-15m runs, but we don't want to be more than
    # 50% overhead, so let's aim for 15m (20m debug)
    chunks: 1
    max-run-time:
        by-test-platform:
            .*/debug: 2700  # 45m
            default: 1800  # 30m
    variants: []  # We don't need sw or nofis testing.
    run-on-projects:
        by-test-platform:
            android.*: []  # https://bugzilla.mozilla.org/show_bug.cgi?id=1836811
            .*-wayland/debug.*: []  # https://bugzilla.mozilla.org/show_bug.cgi?id=1864700
            default: ['trunk']
    mozharness:
        chunked: true
        extra-options:
            - --test-type=testharness
            - --skip-implementation-status=backlog
            - --skip-implementation-status=not-implementing
            - --default-exclude
            - --tag=webgpu
            - --exclude-tag=canvas

web-platform-tests-webgpu-backlog:
    description: "Web platform WebGPU test run (backlog)"
    suite: web-platform-tests
    treeherder-symbol: W(webgpu-backlog)
    virtualization: virtual-with-gpu
    tier: 3
    # Choice of `chunks`:
    # Time-to-TEST-START on Windows is ~7m (~9m for debug).
    # (though we're working on reducing this!)
    # Devs would love ~10-15m runs, but we don't want to be more than
    # 50% overhead, so let's aim for 15m (20m debug)
    chunks:
        by-test-platform:
            linux2204.*-64.*: 15
            macos.*: 20
            windows.*-64.*/opt.*: 15
            windows.*-64.*/debug.*: 20
            default: 10
    max-run-time:
        by-test-platform:
            .*/debug: 5400  # 90m
            default: 3200  # 60m
    variants: []  # We don't need sw or nofis testing.
    run-on-projects:
        by-test-platform:
            android.*: []  # https://bugzilla.mozilla.org/show_bug.cgi?id=1836811
            .*-wayland/debug.*: []  # https://bugzilla.mozilla.org/show_bug.cgi?id=1864700
            default: ['mozilla-central']
    mozharness:
        chunked: true
        extra-options:
            by-test-platform:
                macos.*:
                    - --test-type=testharness
                    - --default-exclude
                    - --tag=webgpu
                    - --exclude-tag=canvas
                    - --skip-implementation-status=implementing
                    - --skip-implementation-status=not-implementing
                    - --backlog
                    - --setpref=gfx.webgpu.ignore-blocklist=true
                default:
                    - --test-type=testharness
                    - --default-exclude
                    - --tag=webgpu
                    - --exclude-tag=canvas
                    - --skip-implementation-status=implementing
                    - --skip-implementation-status=not-implementing
                    - --backlog

web-platform-tests-canvas:
    description: "Web platform Canvas test run"
    suite: web-platform-tests
    treeherder-symbol: W(canvas)
    virtualization: virtual-with-gpu
    tier:
        by-variant:
            no-fission:
                by-test-platform:
                    linux.*: 2
                    default: default
            default:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug-isolated-process: 3
                    default: default
    chunks:
        by-test-platform:
            windows.*: 2
            .*tsan.*: 2
            linux.*/debug: 2
            linux.*asan.*: 2
            default: 1
    max-run-time:
        by-test-platform:
            .*tsan.*: 3600
            default: 1800
    variants:
        - no-fission
    run-on-projects:
        by-variant:
            no-fission:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug-isolated-process: []
                    android.*: built-projects
                    linux1804-64-qr/debug: ['mozilla-central']
                    linux1804-64(-shippable|-asan)?-qr/opt: ['mozilla-central']
                    default: []
            default:
                by-test-platform:
                    android.*: []
                    .*wayland.*: []
                    default: built-projects
    mozharness:
        chunked: true
        extra-options:
            - --test-type=testharness
            - --skip-implementation-status=backlog
            - --skip-implementation-status=not-implementing
            - --skip-timeout
            - --skip-crash
            # Because we have a separate job for them, don't run the (core)
            # webgpu/* tests in the main WPT runs. (but still run tests in dirs
            # other than webgpu/* that are tagged webgpu, e.g. canvas tests)
            - --default-exclude
            - --tag=canvas
            - --exclude-tag=webgpu

web-platform-tests-reftest-backlog:
    description: "Web platform reftest (backlog) run"
    schedules-component: web-platform-tests-reftest
    treeherder-symbol: W-b(Wr)
    virtualization: virtual
    chunks: 1
    variants:
        - no-fission
    run-on-projects:
        by-variant:
            no-fission:
                by-test-platform:
                    android.*: ['mozilla-central']
                    default: []
            default:
                by-test-platform:
                    android.*: []
                    .*wayland.*: []
                    default: ['mozilla-central']
    test-manifest-loader: null  # don't load tests in the taskgraph
    tier: 2
    mozharness:
        extra-options:
            - --test-type=reftest
            - --skip-implementation-status=implementing
            - --skip-implementation-status=not-implementing
            - --backlog
            - --exclude-tag=webgpu

web-platform-tests-wdspec:
    description: "Web platform webdriver-spec run"
    schedules-component: web-platform-tests-wdspec
    treeherder-symbol: W(Wd)
    chunks:
        by-test-platform:
            .*-ccov.*/.*: 6
            .*-tsan.*/.*: 8
            default: 5
    mozharness:
        extra-options:
            by-test-platform:
                android-em-7.*:
                    - --test-type=wdspec
                    - --setpref=gfx.canvas.accelerated=false
                default:
                    - --test-type=wdspec
    variants:
        - no-fission
        - headless
    run-on-projects:
        by-variant:
            headless:
                by-test-platform:
                    android.*: []
                    .*wayland.*: []
                    default: built-projects
            no-fission:
                by-test-platform:
                    linux1804-64-qr/debug: ['mozilla-central']
                    linux1804-64(-shippable|-asan)?-qr/opt: ['mozilla-central']
                    android.*: built-projects
                    default: []
            default:
                by-test-platform:
                    android.*: []
                    .*wayland.*: []
                    default: built-projects
    tier:
        by-variant:
            no-fission:
                by-test-platform:
                    linux.*: 2
                    default: default
            default: default
    fetches:
        toolchain:
            by-test-platform:
                android-em-7.*:
                    - android-system-image-x86_64-linux
                    - android-avd-x86_64-linux
                    - android-emulator-linux
                    - linux64-geckodriver
                    - linux64-minidump-stackwalk
                    - linux64-fix-stacks
                    - linux64-hostutils
                linux.*64.*:
                    - linux64-geckodriver
                    - linux64-minidump-stackwalk
                    - linux64-fix-stacks
                linux.*32.*:
                    - linux32-geckodriver
                    - linux64-minidump-stackwalk
                    - linux64-fix-stacks
                macosx.*:
                    - macosx64-geckodriver
                    - macosx64-minidump-stackwalk
                    - macosx64-fix-stacks
                win.*-32.*:
                    - win32-geckodriver
                    - win32-minidump-stackwalk
                    - win32-fix-stacks
                win.*-64.*:
                    - win64-geckodriver
                    - win32-minidump-stackwalk
                    - win32-fix-stacks
                default:
                    - linux64-minidump-stackwalk
                    - linux64-fix-stacks
                    - linux64-geckodriver

web-platform-tests-crashtest:
    description: "Web platform crashtests run"
    schedules-component: web-platform-tests-crashtest
    treeherder-symbol: W(Wc)
    chunks: 1
    mozharness:
        extra-options:
            - --test-type=crashtest
    variants:
        - no-fission
        - webrender-sw
        - webrender-sw+no-fission
    run-on-projects:
        by-variant:
            webrender-sw:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug: built-projects
                    .*-32.*/.*: []
                    linux.*64-qr/debug: built-projects
                    macosx101.*64-qr/debug: built-projects
                    windows.*-qr/debug: built-projects
                    default: []
            webrender-sw+no-fission:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug: built-projects
                    linux1804-64-qr/debug: ['mozilla-central']
                    linux1804-64(-shippable|-asan)?-qr/opt: ['mozilla-central']
                    default: []
            no-fission:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug-isolated-process: []
                    linux1804-64-qr/debug: ['mozilla-central']
                    linux1804-64(-shippable|-asan)?-qr/opt: ['mozilla-central']
                    android.*: built-projects
                    default: []
            default:
                by-test-platform:
                    android.*: []
                    android-em-7.0-x86_64-qr/debug: built-projects
                    default: built-projects
    tier:
        by-variant:
            no-fission:
                by-test-platform:
                    linux.*: 2
                    default: default
            webrender-sw+no-fission:
                by-test-platform:
                    linux.*: 2
                    default: default
            default: default

web-platform-tests-print-reftest:
    description: "Web platform print-reftest run"
    schedules-component: web-platform-tests-print-reftest
    treeherder-symbol: W(Wp)
    chunks: 1
    test-manifest-loader: null  # don't load tests in the taskgraph
    tier:
        by-variant:
            no-fission:
                by-test-platform:
                    linux.*: 2
                    default: default
            webrender-sw+no-fission:
                by-test-platform:
                    linux.*: 2
                    default: default
            default: default
    variants:
        - no-fission
        - webrender-sw
        - webrender-sw+no-fission
    run-on-projects:
        by-variant:
            webrender-sw:
                by-test-platform:
                    android.*: []
                    .*-32.*/.*: []
                    linux.*64-qr/debug: built-projects
                    windows.*-qr/debug: built-projects
                    default: []
            webrender-sw+no-fission:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug: built-projects
                    linux1804-64-qr/debug: ['mozilla-central']
                    linux1804-64(-shippable|-asan)?-qr/opt: ['mozilla-central']
                    default: []
            no-fission:
                by-test-platform:
                    linux1804-64-qr/debug: ['mozilla-central']
                    linux1804-64(-shippable|-asan)?-qr/opt: ['mozilla-central']
                    android.*: built-projects
                    default: []
            default:
                by-test-platform:
                    android.*: []
                    .*wayland.*: []
                    default: built-projects
    mozharness:
        extra-options:
            - --test-type=print-reftest

test-verify-wpt:
    description: "Extra verification of web-platform tests modified on this push"
    suite:
        category: test-verify
        name: test-verify-wpt
    treeherder-symbol: TVw
    max-run-time: 10800
    run-on-projects:
        by-test-platform:
            # do not run on asan, ccov, shippable or wayland
            .*-(asan|ccov|shippable|wayland).*/.*: []
            # do not run on beta or release: usually just confirms earlier results
            default: ['integration']
    built-projects-only: true
    test-manifest-loader: null  # don't load tests in the taskgraph
    optimization:
        test-verify: ["test-verify-wpt"]
    tier: 2
    mozharness:
        extra-options:
            - --verify

test-coverage-wpt:
    description: "Per web-platform test coverage"
    suite:
        category: test-coverage
        name: test-coverage-wpt
    schedules-component: test-coverage-wpt
    treeherder-symbol: TCw
    max-run-time: 10800
    variants:
        - no-fission
        - webrender-sw+no-fission
    run-on-projects:
        by-variant:
            webrender-sw+no-fission:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug: built-projects
                    default: []
            no-fission:
                by-test-platform:
                    android-em-7.0-x86_64-qr/debug: built-projects
                    default: []
            default:
                by-test-platform:
                    .*-ccov.*/.*: built-projects
                    default: []
    test-manifest-loader: null  # don't load tests in the taskgraph
    tier: 2
    mozharness:
        extra-options:
            - --per-test-coverage