Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/tools/tryselect/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 22 kB image not shown  

Quelle  try_presets.yml   Sprache: unbekannt

 
Spracherkennung für: .yml vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

---
# Presets defined here will be available to all users. Run them with:
#   $ mach try --preset <name>
#
# If editing this file, make sure to run:
#   $ mach python-test tools/tryselect/test/test_presets.py
#
# Descriptions are required. Please keep this in alphabetical order.

# yamllint disable rule:line-length

ai:
    selector: fuzzy
    description: >-
        Run AI Platform tests and tests for all createEngine consumers:
        mochitest-browser-chrome and xpcshell on Linux, geckoview-junit
        and engine-gecko unit on Android.
        Use with --artifact to speed up your trypush.
    paths: &ai-paths
        - toolkit/components/ml/tests/
        - toolkit/components/pageextractor/
        - browser/components/aiwindow/
        - mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/
        - mobile/android/android-components/components/browser/engine-gecko/
        - toolkit/components/places/
        - browser/components/urlbar/
        - browser/components/tabbrowser/test/xpcshell/smarttabgrouping/
        - browser/components/genai/
        - toolkit/components/extensions/
        - toolkit/components/pdfjs/
    test_paths: *ai-paths
    query:
        - "'mochitest-browser-chrome 'linux !spi !asan !tsan !msix !a11y !swr !standalone !trainhop"
        - "'xpcshell 'linux !nofis !asan !tsan !condprof !ioi"
        - "'em-14 'geckoview-junit !shippable !iso"
        - "'test-components 'engine-gecko"

ai-perf:
    selector: fuzzy
    description: >-
        Run ml-* perftests on Linux.
    query:
        - "^perftest-linux 'ml-"
    full: true

android-components:
    selector: fuzzy
    description: >-
        Run android-components builds and tests.
    query:
        - "'build-components"
        - "'test-components"
        - "^source-test 'android-components"

android-fenix:
    selector: fuzzy
    description: >-
        Run Fenix builds and tests.
    query:
        - "'build-apk-fenix-debug"
        - "'signing-apk-fenix-debug"
        - "'build-apk-fenix-android-test-debug"
        - "'signing-apk-fenix-android-test-debug"
        - "'test-apk-fenix-debug"
        - "'ui-test-apk-fenix-arm-debug"
        - "^source-test 'fenix"
        - "'generate-baseline-profile-firebase-fenix"

android-frontend:
    selector: fuzzy
    description: >-
        Run android-components, Focus, and Fenix builds and tests.
    query:
        - "'build-components"
        - "'test-components"
        - "'build-apk-fenix-debug"
        - "'signing-apk-fenix-debug"
        - "'build-apk-fenix-android-test-debug"
        - "'signing-apk-fenix-android-test-debug"
        - "'test-apk-fenix-debug"
        - "'ui-test-apk-fenix-arm-debug"
        - "'build-apk-focus-debug"
        - "'signing-apk-focus-debug"
        - "'build-apk-focus-android-test-debug"
        - "'signing-apk-focus-android-test-debug"
        - "'test-apk-focus-debug"
        - "'ui-test-apk-focus-arm-debug"
        - "^source-test 'android | 'fenix | 'focus"
        - "'generate-baseline-profile-firebase-fenix"

android-focus:
    selector: fuzzy
    description: >-
        Run Focus builds and tests.
    query:
        - "'build-apk-focus-debug"
        - "'signing-apk-focus-debug"
        - "'build-apk-focus-android-test-debug"
        - "'signing-apk-focus-android-test-debug"
        - "'test-apk-focus-debug"
        - "'ui-test-apk-focus-arm-debug"
        - "^source-test 'focus"

android-fullstack:
    selector: fuzzy
    full: true
    no_artifact: true
    description: >-
        Run GeckoView, android-components, Focus, and Fenix builds and tests.
    query:
        # All Android lints
        - "^source-test-mozlint 'android"
        # Firefox Android builds and tests (from firefox-android preset)
        - "'build-components !nightly- !beta- !release-"
        - "'test-components"
        - "'build-apk-fenix-debug"
        - "'signing-apk-fenix-debug"
        - "'build-apk-fenix-android-test-debug"
        - "'signing-apk-fenix-android-test-debug"
        - "'test-apk-fenix-debug"
        - "'ui-test-apk-fenix-arm-debug"
        - "'build-apk-focus-debug"
        - "'signing-apk-focus-debug"
        - "'build-apk-focus-android-test-debug"
        - "'signing-apk-focus-android-test-debug"
        - "'test-apk-focus-debug"
        - "'ui-test-apk-focus-arm-debug"
        - "^source-test 'android | 'fenix | 'focus"
        - "'generate-baseline-profile-firebase-fenix"
        # GeckoView tests (from android-geckoview preset)
        - "^source-test-mozlint eslint$ | rejected-words$ | file-perm$ | file-whitespace$"
        # Miscellaneous Tests
        - "^test-android !shippable '64 'em-14 'gtest | 'cpp | junit-fis"
        # Mochitests
        - "^test-android !shippable !cf !gli !iso      'em-14 'media | 'plain"
        - "^test-android !shippable !cf !gli !iso !swr 'hw 'media 'debug"
        - "^test-android !shippable !cf !gli !iso !swr 'hw 'mochitest-webgl 'nofis"
        # Reftests
        - "^test-android !shippable !iso 'em-14 'geckoview-crashtest | 'geckoview-reftest 'nofis"
        # Web Platform Tests
        - "^test-android !shippable !headless 'em-14 'wdspec"
        - "^test-android !shippable       !cf !iso            'em-14 'web-platform-tests-crashtest 'debug"
        - "^test-android !shippable       !cf !iso       !swr 'em-14 'web-platform-tests-crashtest"
        - "^test-android !shippable !back !cf !iso !ship !swr 'em-14 'web-platform-tests-nofis"
        - "^test-android !shippable !back !cf !iso            'em-14 'web-platform-tests-reftest 'nofis 'debug"
        - "^test-android !shippable !back !cf !iso       !swr 'em-14 'web-platform-tests-reftest 'nofis"
        # XPCShell
        - "^test-android !shippable !iso 'em-14 'xpcshell"

android-geckoview:
    selector: fuzzy
    full: true
    description: >-
        Run android-geckoview builds and tests.
    query:
        # Lint
        - "^source-test-mozlint android-lints$ | eslint$ | rejected-words$ | file-perm$ | file-whitespace$"
        # Miscellaneous Tests
        - "^test-android !shippable '64 'em-14 'gtest | 'cpp | junit-fis"
        # Mochitests
        - "^test-android !shippable !cf !gli !iso      'em-14 'media | 'plain"
        - "^test-android !shippable !cf !gli !iso !swr 'hw 'media 'debug"
        - "^test-android !shippable !cf !gli !iso !swr 'hw 'mochitest-webgl 'nofis"
        # Reftests
        - "^test-android !shippable !iso 'em-14 'geckoview-crashtest | 'geckoview-reftest 'nofis"
        # Web Platform Tests
        - "^test-android !shippable !headless 'em-14 'wdspec"
        - "^test-android !shippable       !cf !iso            'em-14 'web-platform-tests-crashtest 'debug"
        - "^test-android !shippable       !cf !iso       !swr 'em-14 'web-platform-tests-crashtest"
        - "^test-android !shippable !back !cf !iso !ship !swr 'em-14 'web-platform-tests-nofis"
        - "^test-android !shippable !back !cf !iso            'em-14 'web-platform-tests-reftest 'nofis 'debug"
        - "^test-android !shippable !back !cf !iso       !swr 'em-14 'web-platform-tests-reftest 'nofis"
        # XPCShell
        - "^test-android !shippable !iso 'em-14 'xpcshell"

builds:
    selector: fuzzy
    description: >-
        Run builds without any of the extras.
    query:
        - "^build- !fuzzing !notarization !reproduced !rusttests !signing !upload-symbols !components !apk !bundle"

builds-debug:
    selector: fuzzy
    description: >-
        Run the bare minimum of debug build jobs to ensure builds work on
        all tier-1 platforms.
    query:
        - "^build- 'debug !fuzzing !rusttests !signing !plain !asan !tsan !noopt !toolchain !upload-symbols !apk !bundle"

builds-debugopt:
    selector: fuzzy
    description: >-
        Run the bare minimum of debug and opt build jobs to ensure builds work on
        all tier-1 platforms.
    query:
        - "^build- !fuzzing !rusttests !signing !plain !asan !tsan !noopt !toolchain !upload-symbols !components !apk !bundle"

claudometer:
    selector: fuzzy
    description: >-
        Run the full Linux test suite (linux2204-wayland, linux2404) plus cross-platform
        wdspec-headless tests and SpiderMonkey/hazard jobs for comprehensive coverage.
    query:
        - "^build-linux64/"
        - "^test-linux2204-64-wayland/"
        - "^test-linux2204-64-wayland-shippable"
        - "^test-linux2404-64/"
        - "^test-linux2404-64-shippable 'headless"
        - "^test-macosx1470-64-shippable 'wdspec-headless"
        - "^test-macosx1500-aarch64-shippable 'wdspec-headless"
        - "^test-windows11-64-25h2-shippable 'wdspec-headless"
        - "^spidermonkey-sm- !win"
        - "^hazard-linux64-shell-haz"

desktop-frontend:
    description: >-
        Run mochitest-browser, xpcshell, mochitest-chrome, mochitest-a11y,
        marionette, firefox-ui-functional on all desktop platforms.
        Excludes non-shipped/duplicate configurations like asan/tsan/msix
        to reduce the runtime of the push as well as infra load.
        Use with --artifact to speed up your trypush.
        If this is green, you can be 99% sure that any frontend change will
        stick on central.
    selector: fuzzy
    query:
        # Runs desktop frontend-tests. Tries to avoid running
        # asan/tsan because they're not available as artifact builds, and
        # rarely offer different results from debug/opt. It also avoids running
        # msix/swr/a11y-checks/gpu/nofis/headless variants of otherwise
        # identical tests, as again those are unlikely to show different
        # results for frontend-only changes.
        # This won't run 32-bit debug tests, which seems an acceptable
        # trade-off for query complexity + runtime on infrastructure.
        - "'browser-chrome     !standalone !spi !asan !tsan !msix !a11y !swr | 'linux"
        - "'mochitest-chrome   !standalone !spi !asan !tsan             !swr !gpu"
        - "'xpcshell                       !spi !asan !tsan !msix !nofis !condprof !android"
        - "'browser-a11y | 'mochitest-a11y !spi !asan !tsan !no-cache   !swr"
        - "'marionette                          !asan       !source !headless !swr"
        - "'firefox-ui-functional               !asan !tsan"

desktop-newtab-trainhop:
    description: >-
        Run mochitest-browser newtab trainhop tests on compatible release
        channels. Excludes non-shipped configurations, since we really just
        need the platforms to build in order to grab their test packages and
        test running infrastructure. The actual builds under test here are
        the latest beta and release builds, running the try pushes' generated
        newtab XPI and tests.
        Use with --artifact to speed up your trypush.
        If these jobs are green, then the pushed revision is ready to be
        manually tested for a potential trainhop to the green channels.
    selector: fuzzy
    full: true
    query:
        - "'mochitest trainhop !artifact !cf !tsan !ccov !asan !shippable !debug !devedition !wayland !-32"

devtools:
    selector: fuzzy
    description: >-
        Runs the tests relevant to the Firefox Devtools
    env:
        - MOZ_DEVTOOLS_TEST_SCOPES=1
    query:
        - "'node-debugger | 'node-devtools"
        - "'mozlint-eslint"
        # Windows: skip jobs on win10, asan and 32 bits platforms
        - "'mochitest-devtools-chrome | 'mochitest-chrome-1proc 'windows !windows10 !asan !-32"
        # macos: no extra platform to filter out
        - "'mochitest-devtools-chrome | 'mochitest-chrome-1proc 'macosx"
        # Linux: skip asan and tsan
        - "'mochitest-devtools-chrome | 'mochitest-chrome-1proc 'linux !spi !asan !tsan"
        - "'xpcshell 'linux !nofis !asan !tsan !condprof !ioi"

devtools-linux:
    selector: fuzzy
    description: >-
        Runs the tests relevant to the Firefox Devtools, on Linux only.
    env:
        - MOZ_DEVTOOLS_TEST_SCOPES=1
    query:
        - "'node-debugger | 'node-devtools"
        - "'mozlint-eslint"
        - "'mochitest-devtools-chrome | 'mochitest-chrome-1proc 'linux !spi !asan !tsan"
        - "'xpcshell 'linux !nofis !asan !tsan !condprof !ioi"

fpush-linux-android:
    selector: fuzzy
    description: >-
        Runs correctness test suites on Linux and Android emulator platforms, as
        well as builds across main platforms. The resulting jobs on TreeHerder
        used to end up looking like a "F" shape (not so much these days) and so
        this is typically referred to as an F-push. This is useful to do as a
        general sanity check on changes to cross-platform Gecko code where you
        unsure of what tests might be affected. Linux and Android (emulator)
        test coverage are relatively cheap to run and cover a lot of the
        codebase, while the builds on other platforms catch compilation problems
        that might result from only building locally on one platform.
    query:
        - "'test-linux2404 'debug- !-shippable !-asan"
        - "'test-android-em 'debug"
        - "^build !-shippable !-signing !-asan !-fuzzing !-rusttests !-base-toolchain !-aar- !components !apk !bundle"

geckodriver:
    selector: fuzzy
    description: >-
        Runs the tests relevant to geckodriver, which implements the WebDriver
        specification. This preset can be filtered down further to limit it to
        a specific platform or other tasks only. For example:
        |mach try --preset geckodriver -xq "'linux"|
    query:
        - "'rusttests"
        - "'platform 'wdspec 'debug 'nofis"
        - "'browsertime 'amazon 'shippable 'firefox 'nofis"

layout-all-platforms:
    selector: fuzzy
    description: >-
        Runs the tests most relevant to layout, in all platforms.
        Consider using layout-linux, layout-linux-debug, or layout-linux-opt
        for faster results and less resource consumption.
        This preset can be filtered down further to limit it to
        other platforms or build configurations. For example:
        |mach try --preset layout-all-platforms -xq "windows 'opt"|
    query: &layout-all-platforms-query
        # Most mochitest + reftest + crashtest + wpt
        - "!asan !tsan !jsreftest !shippable !webgl !condprof !media !standalone !webgpu !a11y-checks 'mochitest | 'web-platform | 'crashtest | 'reftest"
        # Style system unit tests
        - "'rusttests"

layout-linux:
    selector: fuzzy
    description: >-
        Like the layout-all-platforms preset, but runs only linux tests.
    query: *layout-all-platforms-query
    intersect_query: ["linux64"]

layout-linux-debug:
    selector: fuzzy
    description: Like layout-all-platforms, but runs only linux debug tests.
    query: *layout-all-platforms-query
    intersect_query: ["linux64 'debug"]

layout-linux-opt:
    selector: fuzzy
    description: Like layout-all-platforms, but runs only linux opt tests.
    query: *layout-all-platforms-query
    intersect_query: ["linux64 'opt"]

wpt-all-platforms:
    selector: fuzzy
    description: >-
        Runs web platform tests in all platforms.
        Consider using wpt-linux, wpt-linux-debug, or wpt-linux-opt
        for faster results and less resource consumption.
        This preset can be filtered down further to limit it to
        other platforms or build configurations. For example:
        |mach try --preset wpt-all-platforms -xq "windows 'opt"|
    query: &wpt-all-platforms-query
        - "'web-platform !asan !tsan"

wpt-linux:
    selector: fuzzy
    description: Like wpt-all-platforms, but runs only linux tests.
    query: *wpt-all-platforms-query
    intersect_query: ["linux64"]

wpt-linux-debug:
    selector: fuzzy
    description: Like wpt-all-platforms, but runs only linux debug tests.
    query: *wpt-all-platforms-query
    intersect_query: ["linux64 'debug"]

wpt-linux-opt:
    selector: fuzzy
    description: Like wpt-all-platforms, but runs only linux opt tests.
    query: *wpt-all-platforms-query
    intersect_query: ["linux64 'opt"]

media-full:
    selector: fuzzy
    description: >-
        Runs tests that exercise media playback, WebRTC, EME, WebCodecs and
        Media Source code. Covers mochitest-media (media-subsuite plain
        mochitests under dom/media, including webcodecs, webaudio, webrtc),
        mochitest-browser-media, WPT testharness and crashtest tasks (for
        media/encrypted-media/webcodecs/webrtc/mediacapture specs), desktop
        reftest (dom/media reftests), crashtest (dom/media crashtests),
        and gtest (media C++ unit tests). The intersect_query keeps only
        debug, asan and tsan builds, so opt and shippable variants are
        dropped and try cycles run cheaper without losing the correctness
        signal a media change needs. Push opt-only via a separate preset
        (or via autoland) when validating timing-sensitive changes.
    query:
        - "mochitest-media !dfpi !nofis"
        - "mochitest-media android !spi !swr !lite"
        - "mochitest-browser-media"
        - "web-platform-tests !dfpi !nofis !wdspec"
        - "web-platform-tests android !wdspec !spi !swr !lite"
        - "crashtest !wdspec !nofis"
        - "crashtest android !wdspec !spi !swr !lite"
        - "reftest !nofis"
        - "reftest android !spi !swr !lite"
        - "'gtest"
    intersect_query:
        - "'debug | '-asan | '-tsan"

mochitest-bc:
    description: >-
        Runs mochitest-browser-chrome on all Desktop platforms in both opt
        and debug. Excludes jobs that require non-artifact builds (asan,
        tsan, msix, etc.) and some non-default configurations. For frontend
        only changes, use this with --artifact to speed up your trypushes.
    query:
        - "'browser-chrome !standalone !tsan !asan !msix !spi !a11y !swr | 'linux"
    selector: fuzzy

os-integration:
    selector: fuzzy
    description: >-
        Run the same tasks as the "os-integration" cron.
    env:
        - MOZHARNESS_TEST_TAG=["os_integration"]
    try_config_params:
        target_tasks_method: os-integration

perf:
    selector: fuzzy
    description: >-
        Runs all performance (raptor and talos) tasks across all platforms.
        This preset can be filtered down further (e.g to limit it to a specific
        platform) via |mach try --preset perf -xq "'windows"|.

        Android hardware platforms are excluded due to resource limitations.
    query:
        - "^test- !android-hw 'raptor | 'talos"
    rebuild: 5

perf-chrome:
    description: >-
        Runs the talos tests most likely to change when making a change to
        the browser chrome. This skips a number of talos jobs that are unlikely
        to be affected in order to conserve resources.
    query:
        - "opt-talos- 'chrome | 'svg | 'session | 'tabswitch | 'other | 'g5"
    rebuild: 6
    selector: fuzzy

remote-protocol:
    selector: fuzzy
    description: >-
        Runs the tests relevant to the Remote protocol, which underpins
        many test harnesses as well as our CDP and WebDriver implementations.
        This preset can be filtered down further to limit it to a specific
        platform or to opt/debug tasks only. For example:
        |mach try --preset remote-protocol -xq "'linux 'opt"|
    env:
        - MOZ_DEVTOOLS_TEST_SCOPES=1
    query:
        - "'awsy-base"
        - "'firefox-ui"
        - "'marionette !swr | harness"
        - "'mochitest-browser !spi !swr !nofis '-1$"
        - "'mochitest-remote !spi !swr"
        - "'platform 'reftest !swr !nofis | 'android !-lite -1$"
        - "'platform 'wdspec !swr"
        - "'platform !reftest !wdspec !swr !nofis | 'android !-lite -1$"
        - "'puppeteer"
        - "'reftest !platform !gpu !swr !no-accel !nofis | 'android !-lite -1$"
        - "'xpcshell !spi !tsan !-lite"

sample-suites:
    selector: fuzzy
    description: >-
        Runs one chunk of every test suite plus all suites that aren't chunked.
        It is useful for testing infrastructure changes that can affect the
        harnesses themselves but are unlikely to break specific tests.
    show_chunk_numbers: true
    query:
        - ^test- -1$ !browsertime !raptor !talos
        - ^test- !1$ !2$ !3$ !4$ !5$ !6$ !7$ !8$ !9$ !0$ !raptor !talos !components !apk !browsertime
        # Only run a single talos / raptor / browsertime suite per platform
        - ^test- speedometer3$ | talos-g1$ | browsertime-tp6-firefox-imgur$

sm-shell-all:
    selector: fuzzy
    description: <-
        Runs a set of tests aimed to give a reasonable level of confidence for
        basic SpiderMonkey changes (shell only), all platforms
    query:
        - "'spidermonkey | 'shell-haz"
        - "!shippable !android 'jittest"  # macosx64 jittests

sm-shell:
    selector: fuzzy
    description: <-
        Runs a set of tests aimed to give a reasonable level of confidence for
        basic SpiderMonkey changes (shell only) (linux only)
    query:
        - "!win !osx 'spidermonkey | 'shell-haz"


sm-all:
    selector: fuzzy
    description: <-
        Runs a set of tests aimed to give a reasonable level of confidence for
        basic SpiderMonkey changes, including those that would require a
        browser build.
    query:
        - "'spidermonkey | 'hazard"
        - "!android !asan !shippable 'xpcshell"
        - "!android !asan !shippable 'jsreftest"
        - "!shippable !android 'jittest"  # macosx64 jittests

webextensions:
    selector: fuzzy
    description: <-
        Runs most of the unit tests of WebExtension code across all desktop
        platforms and Android, including mochitests, xpcshell and test-verify.
        GeckoView JUnit tests are NOT run.
    paths:  # must be duplicate of test_paths, see bug 1556445
        - browser/components/extensions/test/
        - browser/base/content/test/webextensions/
        - mobile/shared/components/extensions/test/
        - toolkit/components/extensions/test/
        - toolkit/mozapps/extensions/test/
    test_paths:  # must be duplicate of paths, see bug 1556445
        - browser/components/extensions/test/
        - browser/base/content/test/webextensions/
        - mobile/shared/components/extensions/test/
        - toolkit/components/extensions/test/
        - toolkit/mozapps/extensions/test/
    query:
        - "'android | '64/ | 'windows11-64- !wpt !gpu !msix !-lite !-asan"

webgpu:
    selector: fuzzy
    description: >-
        Runs the tests relevant to WebGPU.
    query:
        - "'webgpu !cf !devedition !shippable !nofis"
        - "source-test-mozlint-updatebot"
        - "source-test-vendor-rust"
    full: true
    rebuild: 3

webrender:
    selector: fuzzy
    description: >-
        Runs the conformance tests relevant to WebRender.
    query:
        - "!talos !raptor !shippable !asan !tsan !nofis !python-reftest '-reftest"
        - "!talos !raptor !shippable !asan !tsan !nofis !python-reftest webrender-"

webrender-linux:
    selector: fuzzy
    description: >-
        Runs the conformance tests relevant to WebRender on linux only.
    query:
        - "!talos !raptor !shippable !asan !tsan !nofis !python-reftest 'linux '-reftest"
        - "!talos !raptor !shippable !asan !tsan !nofis !python-reftest 'linux webrender-"

webrender-perf:
    selector: fuzzy
    description: >-
        Runs the performance tests relevant to WebRender.
    query:
        - "'svgr"
        - "'g1"
        - "'g4"
        - "'tp5"
        - "'talos-webgl"
        - "'motionmark-animometer"

[Dauer der Verarbeitung: 0.20 Sekunden, vorverarbeitet 2026-08-22]