tor-browser

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

kind.yml (11403B)


      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 
      6 transforms:
      7  - taskgraph.transforms.from_deps
      8  - nss_taskgraph.transforms.from_deps_task_name
      9  - nss_taskgraph.transforms.platforms
     10  - nss_taskgraph.transforms.treeherder
     11 
     12 kind-dependencies:
     13  - build
     14  - certs
     15 
     16 task-defaults:
     17    from-deps:
     18        copy-attributes: true
     19        set-name: false
     20    worker:
     21        env:
     22            NSS_MAX_MP_PBE_ITERATION_COUNT: "100"
     23        max-run-time: 3600
     24        taskcluster-proxy:
     25            by-platform:
     26                win.*: true
     27                default: false
     28        docker-image: {in-tree: base}
     29    run:
     30        using: run-task
     31        checkout:
     32            nss:
     33                path: nss
     34        command:
     35            by-platform:
     36                win.*: "${VCS_PATH}/nss/automation/taskcluster/windows/run_tests.sh"
     37                default: "${VCS_PATH}/nss/automation/taskcluster/scripts/run_tests.sh"
     38    attributes:
     39        retrigger: true
     40    scopes:
     41        by-platform:
     42            win.*: ["project:releng:services/tooltool/api/download/internal"]
     43            default: []
     44    worker-type:
     45        by-platform:
     46            linux.*: t-linux
     47            mac.*: b-osx
     48            win.*: b-win2022
     49 
     50 tasks-from:
     51    - cipher.yml
     52 
     53 tasks:
     54    # Schedule tests that do NOT need certificates. This is defined as
     55    # the test itself not needing certs AND not running under the upgradedb
     56    # cycle (which itself needs certs). If cycle is not defined, default is all.
     57    gtests:
     58        description: Gtests
     59        from-deps:
     60            kinds: [build]
     61            with-attributes:
     62                nspr: [false]
     63                dbm: [false]
     64                cc: [false]
     65                modular: [false]
     66                fuzz: [false]
     67        worker:
     68            env:
     69                NSS_CYCLES: standard
     70                NSS_TESTS: ssl_gtests gtests
     71                TC_PARENT_TASK_ID: {task-reference: "<build>"}
     72        treeherder:
     73            symbol: Gtest
     74 
     75    gtests-tlsfuzz:
     76        description: Gtests
     77        from-deps:
     78            kinds: [build]
     79            with-attributes:
     80                tlsfuzz: [true]
     81        worker:
     82            env:
     83                NSS_CYCLES: standard
     84                NSS_TESTS: ssl_gtests gtests
     85                TC_PARENT_TASK_ID: {task-reference: "<build>"}
     86                GTESTFILTER: "*Fuzz*"
     87            docker-image: {in-tree: fuzz}
     88        treeherder:
     89            symbol: Gtest
     90 
     91    bogo:
     92        description: Bogo tests
     93        from-deps:
     94            kinds: [build]
     95            with-attributes:
     96                build_platform:
     97                    - linux32
     98                    - linux32-make
     99                    - linux64
    100                    - linux64-make
    101                    - linux64-asan
    102                nspr: [false]
    103                dbm: [false]
    104                cc: [false]
    105                modular: [false]
    106                make-fips: [false]
    107                fuzz: [false]
    108        worker:
    109            docker-image: {in-tree: builds}
    110            env:
    111                TC_PARENT_TASK_ID: {task-reference: "<build>"}
    112                NSS_CYCLES: standard
    113                NSS_TESTS: bogo
    114        treeherder:
    115            symbol: Bogo
    116 
    117    tlsfuzzer:
    118        description: tlsfuzzer tests
    119        from-deps:
    120            kinds:
    121                - build
    122            with-attributes:
    123                build_platform:
    124                    - linux32
    125                    - linux32-make
    126                    - linux64
    127                    - linux64-make
    128                    - linux64-asan
    129                nspr: [false]
    130                dbm: [false]
    131                cc: [false]
    132                modular: [false]
    133                fuzz: [false]
    134        worker:
    135            env:
    136                TC_PARENT_TASK_ID: {task-reference: "<build>"}
    137                NSS_CYCLES: standard
    138                NSS_TESTS: tlsfuzzer
    139        treeherder:
    140            symbol: tlsfuzzer
    141 
    142    tlsinterop-gnutls:
    143        description: tlsinterop-gnutls tests
    144        from-deps:
    145            kinds:
    146                - build
    147            with-attributes:
    148                build_platform:
    149                    - linux64
    150                    - linux64-make
    151                build_type:
    152                    - opt
    153                    - opt-make
    154                nspr: [false]
    155                dbm: [false]
    156                cc: [false]
    157                modular: [false]
    158                fuzz: [false]
    159        worker:
    160            docker-image: {in-tree: tlsinterop}
    161            env:
    162                TC_PARENT_TASK_ID: {task-reference: "<build>"}
    163                NSS_CYCLES: standard
    164                NSS_TESTS: tlsinterop-gnutls
    165        treeherder:
    166            symbol: tlsinterop-gnutls
    167 
    168    tlsinterop-openssl:
    169        description: tlsinterop-openssl tests
    170        from-deps:
    171            kinds:
    172                - build
    173            with-attributes:
    174                build_platform:
    175                    - linux64
    176                    - linux64-make
    177                build_type:
    178                    - opt
    179                    - opt-make
    180                nspr: [false]
    181                dbm: [false]
    182                cc: [false]
    183                modular: [false]
    184                fuzz: [false]
    185        worker:
    186            docker-image: {in-tree: tlsinterop}
    187            env:
    188                TC_PARENT_TASK_ID: {task-reference: "<build>"}
    189                NSS_CYCLES: standard
    190                NSS_TESTS: tlsinterop-openssl
    191        treeherder:
    192            symbol: tlsinterop-openssl
    193 
    194    mpi:
    195        description: MPI tests
    196        treeherder:
    197            symbol: MPI
    198        worker:
    199            env:
    200                TC_PARENT_TASK_ID: {task-reference: "<build>"}
    201                NSS_CYCLES: standard
    202                NSS_TESTS: mpi
    203        from-deps:
    204            kinds: [build]
    205            with-attributes:
    206                nspr: [false]
    207                dbm: [false]
    208                cc: [false]
    209                modular: [false]
    210                fuzz: [false]
    211 
    212    # Schedule tests that need certificates.
    213    chains:
    214        description: Chains tests
    215        from-deps:
    216            kinds: [certs]
    217            with-attributes:
    218                dbm: [false]
    219                make-fips: [false]
    220                # Only old make builds have -Ddisable_libpkix=0 and can run chain tests.
    221                make: [true]
    222        worker:
    223            env:
    224                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    225                NSS_TESTS: chains
    226            max-run-time:
    227                by-platform:
    228                    win.*: 7200
    229                    default: 3600
    230        treeherder:
    231            symbol: Chains
    232 
    233    ec:
    234        description: EC tests
    235        from-deps:
    236            kinds: [certs]
    237            with-attributes:
    238                dbm: [false]
    239                make-fips: [false]
    240        treeherder:
    241            symbol: EC
    242        worker:
    243            env:
    244                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    245                NSS_TESTS: ec
    246 
    247    lowhash:
    248        description: Lowhash tests
    249        from-deps:
    250            kinds: [certs]
    251            with-attributes:
    252                dbm: [false]
    253                make-fips: [false]
    254        treeherder:
    255            symbol: Lowhash
    256        worker:
    257            env:
    258                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    259                NSS_TESTS: lowhash
    260 
    261    sdr:
    262        description: SDR tests
    263        from-deps:
    264            kinds: [certs]
    265            with-attributes:
    266                dbm: [false]
    267                make-fips: [false]
    268        treeherder:
    269            symbol: SDR
    270        worker:
    271            env:
    272                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    273                NSS_TESTS: sdr
    274 
    275    policy:
    276        description: Policy tests
    277        from-deps:
    278            kinds: [certs]
    279            with-attributes:
    280                dbm: [false]
    281                make-fips: [false]
    282        treeherder:
    283            symbol: Policy
    284        worker:
    285            env:
    286                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    287                NSS_TESTS: policy
    288 
    289    crmf:
    290        description: CRMF tests
    291        from-deps:
    292            kinds: [certs]
    293            with-attributes:
    294                dbm: [false]
    295                make-fips: [false]
    296        treeherder:
    297            symbol: CRMF
    298        worker:
    299            env:
    300                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    301                NSS_TESTS: crmf
    302 
    303    db:
    304        description: DB tests
    305        from-deps:
    306            kinds: [certs]
    307            with-attributes:
    308                dbm: [false]
    309                make-fips: [false]
    310        treeherder:
    311            symbol: DB
    312        worker:
    313            env:
    314                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    315                NSS_TESTS: dbtests
    316 
    317    merge:
    318        description: Merge tests
    319        from-deps:
    320            kinds: [certs]
    321            with-attributes:
    322                dbm: [false]
    323                make-fips: [false]
    324        treeherder:
    325            symbol: Merge
    326        worker:
    327            env:
    328                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    329                NSS_TESTS: merge
    330 
    331    smime:
    332        description: S/MIME tests
    333        from-deps:
    334            kinds: [certs]
    335            with-attributes:
    336                dbm: [false]
    337                make-fips: [false]
    338        treeherder:
    339            symbol: SMIME
    340        worker:
    341            env:
    342                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    343                NSS_TESTS: smime
    344 
    345    tools:
    346        description: Tools tests
    347        from-deps:
    348            kinds: [certs]
    349            with-attributes:
    350                dbm: [false]
    351                make-fips: [false]
    352        treeherder:
    353            symbol: Tools
    354        worker:
    355            env:
    356                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    357                NSS_TESTS: tools
    358 
    359    # SSL tests, need certificates too.
    360    ssl-standard:
    361        description: SSL tests (standard)
    362        from-deps:
    363            kinds: [certs]
    364            with-attributes:
    365                dbm: [false]
    366                make-fips: [false]
    367        treeherder:
    368            symbol: SSL(standard)
    369        worker:
    370            env:
    371                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    372                NSS_TESTS: ssl
    373                NSS_CYCLES: standard
    374                NSS_SSL_TESTS: crl iopr policy normal_normal
    375 
    376    ssl-pkix:
    377        description: SSL tests (pkix)
    378        from-deps:
    379            kinds: [certs]
    380            with-attributes:
    381                dbm: [false]
    382                make-fips: [false]
    383        treeherder:
    384            symbol: SSL(pkix)
    385        worker:
    386            env:
    387                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    388                NSS_TESTS: ssl
    389                NSS_CYCLES: pkix
    390                NSS_SSL_TESTS: crl iopr policy normal_normal
    391 
    392    ssl-stress:
    393        description: SSL tests (stress)
    394        from-deps:
    395            kinds: [certs]
    396            with-attributes:
    397                dbm: [false]
    398                make-fips: [false]
    399        treeherder:
    400            symbol: SSL(stress)
    401        worker:
    402            env:
    403                TC_PARENT_TASK_ID: {task-reference: "<certs>"}
    404                NSS_TESTS: ssl
    405                NSS_CYCLES: sharedb
    406                NSS_SSL_RUN: stress
    407                NSS_SSL_TESTS: normal_normal