tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

kind.yml (15357B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 ---
      5 loader: gecko_taskgraph.loader.test:loader
      6 
      7 kind-dependencies:
      8    - build
      9    - fetch
     10    - toolchain
     11 
     12 transforms:
     13    - gecko_taskgraph.transforms.test:transforms
     14    - gecko_taskgraph.transforms.job:transforms
     15    - gecko_taskgraph.transforms.task:transforms
     16 
     17 # Adding a new test type or running tests on a new platform? Be sure to review
     18 # https://wiki.mozilla.org/Sheriffing/Job_Visibility_Policy
     19 
     20 task-defaults:
     21    run-on-repo-type: [hg]
     22    attributes:
     23        retrigger: true
     24    use-python: default
     25    use-uv: true
     26    require-signed-extensions:
     27        by-release-type:
     28            release|esr.*: true
     29            beta:
     30                by-test-platform:
     31                    .*-devedition/.*: false
     32                    default: true
     33            default: false
     34    docker-image:
     35        by-test-platform:
     36            linux1804.*:
     37                in-tree: ubuntu1804-test
     38            default:
     39                in-tree: ubuntu2404-test
     40    fetches:
     41        toolchain:
     42            by-test-platform:
     43                win.*:
     44                    - win32-minidump-stackwalk
     45                    - win32-fix-stacks
     46                macosx.*-64.*:
     47                    - macosx64-minidump-stackwalk
     48                    - macosx64-fix-stacks
     49                macosx.*-aarch64.*:
     50                    - macosx64-aarch64-minidump-stackwalk
     51                    - macosx64-aarch64-fix-stacks
     52                android-em-14.*:
     53                    - android34-system-image-x86_64-linux
     54                    - android34-avd-x86_64-linux
     55                    - android-emulator-linux
     56                    - linux64-minidump-stackwalk
     57                    - linux64-fix-stacks
     58                    - linux64-hostutils
     59                android-hw.*:
     60                    - linux64-minidump-stackwalk
     61                    - linux64-fix-stacks
     62                    - linux64-hostutils
     63                default:
     64                    - linux64-minidump-stackwalk
     65                    - linux64-fix-stacks
     66    suite:
     67        category: reftest
     68    target:
     69        by-test-platform:
     70            android-em.*: geckoview-test_runner.apk
     71            android-hw-.*: geckoview-test_runner.apk
     72            default: null
     73    tier: default
     74    mozharness:
     75        requires-signed-builds:
     76            by-test-platform:
     77                windows1.*:
     78                    by-variant:
     79                        msix: true
     80                        default: false
     81                default: false
     82        script:
     83            by-test-platform:
     84                android-em.*: android_emulator_unittest.py
     85                android-hw.*: android_hardware_unittest.py
     86                default: desktop_unittest.py
     87        config:
     88            by-test-platform:
     89                android-em-14.*:
     90                    - android/android_common.py
     91                    - android/android14-x86_64.py
     92                android-hw.*:
     93                    - android/android_common.py
     94                    - android/android_hw.py
     95                linux.*:
     96                    - unittests/linux_unittest.py
     97                    - remove_executables.py
     98                macosx.*:
     99                    - unittests/mac_unittest.py
    100                windows.*:
    101                    - unittests/win_unittest.py
    102 
    103 tasks:
    104    crashtest:
    105        description: "Crashtest run"
    106        schedules-component: crashtest
    107        treeherder-symbol: R(C)
    108        test-manifest-loader:
    109            by-test-platform:
    110                linux.*64-tsan(-qr)?/opt: default
    111                default: null  # don't load tests in the taskgraph
    112        chunks:
    113            by-test-platform:
    114                linux.*64-tsan(-qr)?/opt: 4
    115                default: 1
    116        variants:
    117            - no-fission
    118            - webrender-sw+no-fission
    119            - webrender-sw
    120            - inc-origin-init
    121        run-on-projects:
    122            by-variant:
    123                webrender-sw+no-fission:
    124                    by-test-platform:
    125                        android-em.*/debug: built-projects
    126                        linux1804-64(-qr)?/.*: ['mozilla-central']
    127                        linux1804-64-shippable(-qr)?/opt: ['mozilla-central']
    128                        linux1804-64-asan(-qr)?/opt: ['mozilla-central']
    129                        linux2404-64/.*: ['mozilla-central']
    130                        linux2404-64-shippable/opt: ['mozilla-central']
    131                        linux2404-64-asan/opt: ['mozilla-central']
    132                        default: []
    133                webrender-sw:
    134                    by-test-platform:
    135                        macosx.*64(-qr)?/debug: built-projects
    136                        linux.*64(-qr)?/debug: built-projects
    137                        linux.*64-tsan(-qr)?/opt: built-projects
    138                        linux.*64-asan(-qr)?/opt: built-projects
    139                        windows.*-asan.*/opt: built-projects
    140                        windows1.*64.*/debug: built-projects
    141                        default: []
    142                no-fission:
    143                    by-test-platform:
    144                        android-em.*/debug-isolated-process: []
    145                        linux1804-64(-qr)?/.*: ['mozilla-central']
    146                        linux1804-64-shippable(-qr)?/opt: ['mozilla-central']
    147                        linux1804-64-asan(-qr)?/opt: ['mozilla-central']
    148                        linux2404-64/.*: ['mozilla-central']
    149                        linux2404-64-shippable/opt: ['mozilla-central']
    150                        linux2404-64-asan/opt: ['mozilla-central']
    151                        android.*: built-projects
    152                        default: []
    153                inc-origin-init: []
    154                default:
    155                    by-test-platform:
    156                        android.*: []
    157                        .*-wayland/debug.*: []
    158                        default: built-projects
    159        max-run-time: 3600
    160        mozharness:
    161            extra-options:
    162                by-variant:
    163                    inc-origin-init:
    164                        - "--filter=dom/(indexedDB|fs)"
    165                    default: []
    166        tier:
    167            by-variant:
    168                no-fission:
    169                    by-test-platform:
    170                        linux.*: 2
    171                        default: default
    172                webrender-sw+no-fission:
    173                    by-test-platform:
    174                        linux.*: 2
    175                        default: default
    176                default:
    177                    by-test-platform:
    178                        android-hw-.*(-qr)?/.*: 2
    179                        android-em.*/debug-isolated-process: 3
    180                        default: default
    181 
    182    crashtest-qr:
    183        description: "Crashtest Webrender run"
    184        schedules-component: crashtest
    185        treeherder-symbol: R(C)
    186        test-manifest-loader: null  # don't load tests in the taskgraph
    187        chunks: 1
    188        variants:
    189            - no-fission
    190        run-on-projects:
    191            by-variant:
    192                no-fission: built-projects
    193                default: []
    194        max-run-time: 1200
    195        tier: 2
    196        virtualization: virtual
    197 
    198    jsreftest:
    199        description: "JS Reftest run"
    200        schedules-component: jsreftest
    201        treeherder-symbol: R(J)
    202        instance-size:
    203            by-test-platform:
    204                windows.*-asan.*: large
    205                default: default
    206        test-manifest-loader: null  # don't load tests in the taskgraph
    207        chunks:
    208            by-test-platform:
    209                android-hw.*/debug: 12
    210                android-hw.*/opt: 6
    211                windows.*-asan.*/opt: 6
    212                windows.*-ccov.*/opt: 5
    213                windows.*/opt: 2
    214                linux.*64-ccov.*/.*: 5
    215                linux1804-64(-qr)?/opt: 4
    216                linux2404-64/opt: 4
    217                linux.*/debug: 5
    218                .*-tsan(-qr)?/opt: 8
    219                macosx.*-64(-shippable)?/opt: 2
    220                default: 3
    221        max-run-time:
    222            by-test-platform:
    223                .*-ccov.*: 7200
    224                .*-wayland/debug.*: 5400
    225                default: 3600
    226        variants:
    227            - no-fission
    228        run-on-projects:
    229            by-variant:
    230                no-fission:
    231                    by-test-platform:
    232                        linux1804-64(-qr)?/.*: ['mozilla-central']
    233                        linux1804-64-shippable(-qr)?/opt: ['mozilla-central']
    234                        linux1804-64-asan(-qr)?/opt: ['mozilla-central']
    235                        linux2404-64/.*: ['mozilla-central']
    236                        linux2404-64-shippable/opt: ['mozilla-central']
    237                        linux2404-64-asan/opt: ['mozilla-central']
    238                        android-hw-.*-aarch64(?:-shippable)?(-qr)?/.*: ['mozilla-central', 'release']
    239                        android-hw-.*-arm7(?:-shippable)?(-qr)?/.*: ['mozilla-central', 'release']
    240                        android.*: built-projects
    241                        default: []
    242                default:
    243                    by-test-platform:
    244                        android.*/.*: []
    245                        default: built-projects
    246        virtualization: virtual
    247        tier:
    248            by-variant:
    249                no-fission:
    250                    by-test-platform:
    251                        linux.*: 2
    252                        default: default
    253                default: default
    254 
    255    reftest:
    256        description: "Reftest run"
    257        treeherder-symbol: R(R)
    258        virtualization: virtual-with-gpu
    259        chunks:
    260            by-test-platform:
    261                android-em.*: 6
    262                linux1804-64(-shippable)?(-qr)?/opt: 5
    263                linux1804-64-devedition(-qr)?/opt: 5
    264                linux2404-64(-shippable)?/opt: 5
    265                linux2404-64-devedition/opt: 5
    266                linux.*64-tsan(-qr)?/opt: 16
    267                macosx.*-64-shippable/opt: 3
    268                macosx.*-64/debug: 6
    269                windows.*64.*/debug: 4
    270                windows.*32.*/debug: 6
    271                windows.*-ccov.*/opt: 9
    272                windows10.*/opt: 2
    273                windows11.*asan/opt: 4
    274                windows11.*/opt: 3
    275                default: 8
    276        variants:
    277            - draw-snapshot
    278            - geckoview-no-fission-no-ship
    279            - no-fission
    280            - no-gpu-process
    281            - webrender-dcomp-disabled
    282            - webrender-dcomp-present
    283            - webrender-dcomp-overlays
    284            - webrender-dcomp-compositing  # Should match default
    285            - webrender-sw+no-fission
    286            - webrender-sw
    287        run-on-projects:
    288            by-variant:
    289                draw-snapshot:
    290                    by-test-platform:
    291                        linux1804.*/debug: built-projects
    292                        linux2404.*/debug: built-projects
    293                        default: []
    294                webrender-sw+no-fission:
    295                    by-test-platform:
    296                        android-em.*/debug: built-projects
    297                        linux1804-64(-qr)?/debug: ['mozilla-central']
    298                        linux1804-64(-shippable)?(-qr)?/opt: ['mozilla-central']
    299                        linux1804-64-asan(-qr)?/opt: ['mozilla-central']
    300                        linux2404-64/debug: ['mozilla-central']
    301                        linux2404-64(-shippable)?/opt: ['mozilla-central']
    302                        linux2404-64-asan/opt: ['mozilla-central']
    303                        default: []
    304                webrender-sw:
    305                    by-test-platform:
    306                        linux1804-64(-qr)?/.*: built-projects
    307                        linux1804-64-asan(-qr)?/opt: built-projects
    308                        linux1804-64-tsan(-qr)?/opt: built-projects
    309                        linux2404-64/.*: built-projects
    310                        linux2404-64-asan/opt: built-projects
    311                        linux2404-64-tsan/opt: built-projects
    312                        macosx.*64(-qr)?/debug: built-projects
    313                        windows.*-asan.*/opt: built-projects
    314                        default: []
    315                no-fission:
    316                    by-test-platform:
    317                        android-em.*/debug-isolated-process: ['trunk']
    318                        linux1804-64(-qr)?/debug: ['mozilla-central']
    319                        linux1804-64(-shippable)?(-qr)?/opt: ['mozilla-central']
    320                        linux1804-64-asan(-qr)?/opt: ['mozilla-central']
    321                        linux2404-64/debug: ['mozilla-central']
    322                        linux2404-64(-shippable)?/opt: ['mozilla-central']
    323                        linux2404-64-asan/opt: ['mozilla-central']
    324                        android.*: built-projects
    325                        default: []
    326                geckoview-no-fission-no-ship:
    327                    by-test-platform:
    328                        android-em.*/debug-isolated-process: ['trunk']
    329                        android-em.*: built-projects
    330                        default: []
    331                no-gpu-process:
    332                    by-test-platform:
    333                        android.*: []
    334                        .*-wayland.*: []
    335                        linux.*-asan.*/opt: []
    336                        windows.*: []
    337                        default: built-projects
    338                default:
    339                    by-test-platform:
    340                        android.*: []
    341                        .*-wayland.*: []
    342                        linux.*-asan.*/opt: []
    343                        default: built-projects
    344        max-run-time:
    345            by-test-platform:
    346                windows.*-32-mingwclang.*/debug: 5400
    347                windows.*-ccov.*/.*: 5400
    348                windows.*-asan.*/opt: 5400
    349                default: 3600
    350        mozharness:
    351            chunked:
    352                by-test-platform:
    353                    android-em.*: false
    354                    macosx.*64/opt: false
    355                    windows.*/opt: false
    356                    default: true
    357            extra-options:
    358                - --setpref=layers.acceleration.force-enabled=true
    359        tier:
    360            by-variant:
    361                no-fission:
    362                    by-test-platform:
    363                        linux.*: 2
    364                        default: default
    365                webrender-sw+no-fission:
    366                    by-test-platform:
    367                        linux.*: 2
    368                        default: default
    369                default:
    370                    by-test-platform:
    371                        android-em.*/debug-isolated-process: 2
    372                        default: default
    373 
    374    reftest-qr:
    375        description: "Reftest webrender run"
    376        treeherder-symbol: R(R)
    377        chunks: 2
    378        test-manifest-loader: null  # don't load tests in the taskgraph
    379        variants:
    380            - no-fission
    381            - no-gpu-process
    382            - webrender-sw+no-fission
    383        run-without-variant: false
    384        run-on-projects:
    385            by-variant:
    386                webrender-sw+no-fission:
    387                    by-test-platform:
    388                        android-hw-p5-13-0-android-aarch64(-qr)?/debug: built-projects
    389                        default: []
    390                no-fission: built-projects
    391                no-gpu-process: built-projects
    392        max-run-time: 2400
    393        mozharness:
    394            chunked: true
    395        tier: 2
    396        virtualization: virtual