taskcluster/ci/test/xpcshell.yml
author Edwin Gao <egao@mozilla.com>
Thu, 09 May 2019 20:59:52 +0000
changeset 532120 b447fc4d689de4b9fea2f1f487ed63cd04806f82
parent 531425 98cb4c6801fabba135f952da3be1311e0c922759
child 532287 5b16530634db7c61169f6adf32acda2b96922fad
permissions -rw-r--r--
Bug 1548160 - task efficiency: review and reduce chunk count of xpcshell for various platforms r=gbrown,jmaher Changes: - set `macosx64-ccov` tests to 8 chunks (unchanged from m-c) - set windows and linux `ccov` to 6 chunks (from 8) - set `linux64.*/debug` to 6 chunks (from 10 and 8) - set `android-em` to 8 chunks (unchanged) - set default chunks to be 5 (from 8) Differential Revision: https://phabricator.services.mozilla.com/D29713

job-defaults:
    suite: xpcshell
    variants:
        by-test-platform:
            linux64/debug: ['serviceworker']
            default: []
    mozharness:
        script:
            by-test-platform:
                android-em.*: android_emulator_unittest.py
                default: desktop_unittest.py
        config:
            by-test-platform:
                android-em-4.*:
                    - android/android_common.py
                    - android/androidarm_4_3.py
                android-em-7.*:
                    - android/android_common.py
                    - android/androidx86_7_0.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:
                windows10-64-asan/opt: false    # No XPCShell on ASAN yet
                windows.*: true
                default: false

xpcshell:
    description: "xpcshell test run"
    treeherder-symbol: X(X)
    run-on-projects:
        by-test-platform:
            windows10-64-asan/opt: []  # No XPCShell on ASAN yet
            windows10-aarch64/opt: ['try', 'mozilla-central']
            android-em-4.3-arm7-api-16/opt: ['try']
            default: built-projects
    chunks:
        by-test-platform:
            android-em-4.3-arm7-api-16/.*: 8
            android-em-7.*: 3
            macosx64-ccov/debug: 8
            macosx.*/.*: 2
            linux64(-qr)?/debug: 6
            (linux.*|windows.*)-ccov/debug: 6
            windows(7-32|10-64)(-shippable|-devedition|-asan|.*-qr)?/.*: 2
            windows10-aarch64/opt: 3
            default: 5
    instance-size:
        by-test-platform:
            android-em.*: xlarge
            default: default
    max-run-time:
        by-test-platform:
            android-em-4.3-arm7-api-16/debug: 7200
            default: 5400
    allow-software-gl-layers: false
    tier:
        by-test-platform:
            windows10-64-asan.*: 3
            windows10-aarch64.*: 2
            default: default