| # Copyright 2020 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| load("//lib/builders.star", "cpu", "goma", "os", "reclient") |
| load("//lib/try.star", "try_") |
| |
| try_.defaults.set( |
| bucket = "try", |
| build_numbers = True, |
| caches = [ |
| swarming.cache( |
| name = "win_toolchain", |
| path = "win_toolchain", |
| ), |
| ], |
| cores = 8, |
| cpu = cpu.X86_64, |
| cq_group = "cq", |
| executable = "recipe:chromium_trybot", |
| execution_timeout = 6 * time.hour, |
| # Max. pending time for builds. CQ considers builds pending >2h as timed |
| # out: http://shortn/_8PaHsdYmlq. Keep this in sync. |
| expiration_timeout = 2 * time.hour, |
| goma_backend = goma.backend.RBE_PROD, |
| os = os.LINUX_DEFAULT, |
| pool = "luci.chromium.try", |
| reclient_instance = reclient.instance.DEFAULT_UNTRUSTED, |
| service_account = "chromium-try-gpu-builder@chops-service-accounts.iam.gserviceaccount.com", |
| subproject_list_view = "luci.chromium.try", |
| task_template_canary_percentage = 5, |
| ) |
| |
| # Builders appear after the function used to define them, with all builders |
| # defined using the same function ordered lexicographically by name |
| # Builder functions are defined in lexicographic order by name ignoring the |
| # '_builder' suffix |
| |
| # Builder functions are defined for GPU builders in each builder group where |
| # they appear: gpu_XXX_builder where XXX is the part after the last dot in the |
| # builder group |
| # Builder functions are defined for each builder group, with additional |
| # functions for specializing on OS: XXX_builder and XXX_YYY_builder where XXX is |
| # the part after the last dot in the builder group and YYY is the OS |
| |
| def gpu_android_builder(*, name, **kwargs): |
| return try_.builder( |
| name = name, |
| builder_group = "tryserver.chromium.android", |
| builderless = True, |
| reclient_jobs = reclient.jobs.LOW_JOBS_FOR_CQ, |
| ssd = None, |
| **kwargs |
| ) |
| |
| gpu_android_builder( |
| name = "gpu-fyi-try-android-m-nexus-5x-64", |
| pool = "luci.chromium.gpu.android.nexus5x.try", |
| mirrors = [ |
| "ci/GPU FYI Android arm64 Builder", |
| "ci/Android FYI Release (Nexus 5X)", |
| ], |
| goma_backend = None, |
| ) |
| |
| gpu_android_builder( |
| name = "gpu-fyi-try-android-nvidia-shield-tv", |
| pool = "luci.chromium.gpu.android.nvidia.shield.tv.try", |
| mirrors = [ |
| "ci/GPU FYI Android arm Builder", |
| "ci/Android FYI Release (NVIDIA Shield TV)", |
| ], |
| goma_backend = None, |
| ) |
| |
| gpu_android_builder( |
| name = "gpu-fyi-try-android-p-pixel-2-32", |
| pool = "luci.chromium.gpu.android.pixel2.chromium.try", |
| mirrors = [ |
| "ci/GPU FYI Android arm Builder", |
| "ci/Android FYI Release (Pixel 2)", |
| ], |
| goma_backend = None, |
| ) |
| |
| gpu_android_builder( |
| name = "gpu-fyi-try-android-r-pixel-4-32", |
| pool = "luci.chromium.gpu.android.pixel4.try", |
| mirrors = [ |
| "ci/GPU FYI Android arm Builder", |
| "ci/Android FYI Release (Pixel 4)", |
| ], |
| goma_backend = None, |
| ) |
| |
| gpu_android_builder( |
| name = "gpu-fyi-try-android-pixel-6-64", |
| pool = "luci.chromium.gpu.android.pixel6.try", |
| mirrors = [ |
| "ci/GPU FYI Android arm64 Builder", |
| "ci/Android FYI Release (Pixel 6)", |
| ], |
| goma_backend = None, |
| ) |
| |
| gpu_android_builder( |
| name = "gpu-try-android-m-nexus-5x-64", |
| pool = "luci.chromium.gpu.android.nexus5x.try", |
| mirrors = [ |
| "ci/Android Release (Nexus 5X)", |
| ], |
| ) |
| |
| def gpu_chromeos_builder(*, name, **kwargs): |
| return try_.builder( |
| name = name, |
| builder_group = "tryserver.chromium.chromiumos", |
| builderless = True, |
| reclient_jobs = reclient.jobs.LOW_JOBS_FOR_CQ, |
| ssd = None, |
| **kwargs |
| ) |
| |
| gpu_chromeos_builder( |
| name = "gpu-fyi-try-chromeos-amd64-generic", |
| pool = "luci.chromium.gpu.chromeos.amd64.generic.try", |
| mirrors = [ |
| "ci/ChromeOS FYI Release (amd64-generic)", |
| ], |
| ) |
| |
| gpu_chromeos_builder( |
| name = "gpu-fyi-try-chromeos-jacuzzi-exp", |
| pool = "luci.chromium.gpu.chromeos.jacuzzi.try", |
| mirrors = [ |
| "ci/gpu-fyi-chromeos-jacuzzi-exp", |
| ], |
| ) |
| |
| gpu_chromeos_builder( |
| name = "gpu-fyi-try-chromeos-kevin", |
| pool = "luci.chromium.gpu.chromeos.kevin.try", |
| mirrors = [ |
| "ci/ChromeOS FYI Release (kevin)", |
| ], |
| ) |
| |
| gpu_chromeos_builder( |
| name = "gpu-fyi-try-chromeos-octopus-exp", |
| pool = "luci.chromium.gpu.chromeos.octopus.try", |
| mirrors = [ |
| "ci/gpu-fyi-chromeos-octopus-exp", |
| ], |
| ) |
| |
| gpu_chromeos_builder( |
| name = "gpu-fyi-try-chromeos-zork-exp", |
| mirrors = ["ci/gpu-fyi-chromeos-zork-exp"], |
| pool = "luci.chromium.gpu.chromeos.zork.try", |
| ) |
| |
| def gpu_linux_builder(*, name, **kwargs): |
| return try_.builder( |
| name = name, |
| builder_group = "tryserver.chromium.linux", |
| builderless = True, |
| reclient_jobs = reclient.jobs.LOW_JOBS_FOR_CQ, |
| ssd = None, |
| **kwargs |
| ) |
| |
| gpu_linux_builder( |
| name = "gpu-fyi-try-lacros-amd-rel", |
| pool = "luci.chromium.gpu.linux.amd.try", |
| mirrors = [ |
| "ci/GPU FYI Lacros x64 Builder", |
| "ci/Lacros FYI x64 Release (AMD)", |
| ], |
| ) |
| |
| gpu_linux_builder( |
| name = "gpu-fyi-try-lacros-intel-rel", |
| pool = "luci.chromium.gpu.linux.intel.try", |
| mirrors = [ |
| "ci/GPU FYI Lacros x64 Builder", |
| "ci/Lacros FYI x64 Release (Intel)", |
| ], |
| ) |
| |
| gpu_linux_builder( |
| name = "gpu-fyi-try-linux-amd-rel", |
| pool = "luci.chromium.gpu.linux.amd.try", |
| mirrors = [ |
| "ci/GPU FYI Linux Builder", |
| "ci/Linux FYI Release (AMD RX 5500 XT)", |
| ], |
| goma_backend = None, |
| ) |
| |
| gpu_linux_builder( |
| name = "gpu-fyi-try-linux-intel-exp", |
| pool = "luci.chromium.gpu.linux.intel.try", |
| mirrors = [ |
| "ci/GPU FYI Linux Builder", |
| "ci/Linux FYI Experimental Release (Intel UHD 630)", |
| ], |
| goma_backend = None, |
| ) |
| |
| gpu_linux_builder( |
| name = "gpu-fyi-try-linux-intel-rel", |
| pool = "luci.chromium.gpu.linux.intel.try", |
| mirrors = [ |
| "ci/GPU FYI Linux Builder", |
| "ci/Linux FYI Release (Intel UHD 630)", |
| ], |
| goma_backend = None, |
| ) |
| |
| gpu_linux_builder( |
| name = "gpu-fyi-try-linux-nvidia-dbg", |
| pool = "luci.chromium.gpu.linux.nvidia.try", |
| mirrors = [ |
| "ci/GPU FYI Linux Builder (dbg)", |
| "ci/Linux FYI Debug (NVIDIA)", |
| ], |
| goma_backend = None, |
| ) |
| |
| gpu_linux_builder( |
| name = "gpu-fyi-try-linux-nvidia-exp", |
| pool = "luci.chromium.gpu.linux.nvidia.try", |
| mirrors = [ |
| "ci/GPU FYI Linux Builder", |
| "ci/Linux FYI Experimental Release (NVIDIA)", |
| ], |
| goma_backend = None, |
| ) |
| |
| gpu_linux_builder( |
| name = "gpu-fyi-try-linux-nvidia-rel", |
| pool = "luci.chromium.gpu.linux.nvidia.try", |
| mirrors = [ |
| "ci/GPU FYI Linux Builder", |
| "ci/Linux FYI Release (NVIDIA)", |
| ], |
| goma_backend = None, |
| ) |
| |
| gpu_linux_builder( |
| name = "gpu-fyi-try-linux-nvidia-tsn", |
| pool = "luci.chromium.gpu.linux.nvidia.try", |
| mirrors = [ |
| "ci/Linux FYI GPU TSAN Release", |
| ], |
| goma_backend = None, |
| ) |
| |
| gpu_linux_builder( |
| name = "gpu-try-linux-nvidia-dbg", |
| pool = "luci.chromium.gpu.linux.nvidia.try", |
| mirrors = [ |
| "ci/GPU Linux Builder (dbg)", |
| "ci/Linux Debug (NVIDIA)", |
| ], |
| ) |
| |
| gpu_linux_builder( |
| name = "gpu-try-linux-nvidia-rel", |
| pool = "luci.chromium.gpu.linux.nvidia.try", |
| mirrors = [ |
| "ci/GPU Linux Builder", |
| "ci/Linux Release (NVIDIA)", |
| ], |
| ) |
| |
| def gpu_mac_builder(*, name, **kwargs): |
| return try_.builder( |
| name = name, |
| builder_group = "tryserver.chromium.mac", |
| builderless = True, |
| cores = None, |
| os = os.MAC_ANY, |
| ssd = None, |
| **kwargs |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-amd-pro-rel", |
| pool = "luci.chromium.gpu.mac.pro.amd.try", |
| mirrors = [ |
| "ci/GPU FYI Mac Builder", |
| "ci/Mac Pro FYI Release (AMD)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-amd-retina-asan", |
| pool = "luci.chromium.gpu.mac.retina.amd.try", |
| mirrors = [ |
| "ci/GPU FYI Mac Builder (asan)", |
| "ci/Mac FYI Retina ASAN (AMD)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-amd-retina-dbg", |
| pool = "luci.chromium.gpu.mac.retina.amd.try", |
| mirrors = [ |
| "ci/GPU FYI Mac Builder (dbg)", |
| "ci/Mac FYI Retina Debug (AMD)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-amd-retina-exp", |
| pool = "luci.chromium.gpu.mac.retina.amd.try", |
| mirrors = [ |
| "ci/GPU FYI Mac Builder", |
| "ci/Mac FYI Experimental Retina Release (AMD)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-amd-retina-rel", |
| pool = "luci.chromium.gpu.mac.retina.amd.try", |
| mirrors = [ |
| "ci/GPU FYI Mac Builder", |
| "ci/Mac FYI Retina Release (AMD)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-arm64-apple-m1-exp", |
| pool = "luci.chromium.gpu.mac.arm64.apple.m1.try", |
| mirrors = [ |
| "ci/GPU FYI Mac arm64 Builder", |
| "ci/Mac FYI Experimental Release (Apple M1)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-arm64-apple-m1-rel", |
| pool = "luci.chromium.gpu.mac.arm64.apple.m1.try", |
| mirrors = [ |
| "ci/GPU FYI Mac arm64 Builder", |
| "ci/Mac FYI Release (Apple M1)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-intel-asan", |
| pool = "luci.chromium.gpu.mac.mini.intel.try", |
| mirrors = [ |
| "ci/GPU FYI Mac Builder (asan)", |
| "ci/Mac FYI ASAN (Intel)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-intel-dbg", |
| pool = "luci.chromium.gpu.mac.mini.intel.try", |
| mirrors = [ |
| "ci/GPU FYI Mac Builder (dbg)", |
| "ci/Mac FYI Debug (Intel)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-intel-exp", |
| pool = "luci.chromium.gpu.mac.mini.intel.try", |
| mirrors = [ |
| "ci/GPU FYI Mac Builder", |
| "ci/Mac FYI Experimental Release (Intel)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-intel-rel", |
| pool = "luci.chromium.gpu.mac.mini.intel.try", |
| mirrors = [ |
| "ci/GPU FYI Mac Builder", |
| "ci/Mac FYI Release (Intel)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-nvidia-retina-exp", |
| # This bot has one machine backing its tests at the moment. |
| # If it gets more, the modified execution_timeout should be removed. |
| # See crbug.com/853307 for more context. |
| execution_timeout = 12 * time.hour, |
| pool = "luci.chromium.gpu.mac.retina.nvidia.try", |
| mirrors = [ |
| "ci/GPU FYI Mac Builder", |
| "ci/Mac FYI Experimental Retina Release (NVIDIA)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-fyi-try-mac-nvidia-retina-rel", |
| pool = "luci.chromium.gpu.mac.retina.nvidia.try", |
| mirrors = [ |
| "ci/GPU FYI Mac Builder", |
| "ci/Mac FYI Retina Release (NVIDIA)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-try-mac-amd-retina-dbg", |
| pool = "luci.chromium.gpu.mac.retina.amd.try", |
| mirrors = [ |
| "ci/GPU Mac Builder (dbg)", |
| "ci/Mac Retina Debug (AMD)", |
| ], |
| ) |
| |
| gpu_mac_builder( |
| name = "gpu-try-mac-intel-dbg", |
| pool = "luci.chromium.gpu.mac.mini.intel.try", |
| mirrors = [ |
| "ci/GPU Mac Builder (dbg)", |
| "ci/Mac Debug (Intel)", |
| ], |
| ) |
| |
| def gpu_win_builder(*, name, **kwargs): |
| return try_.builder( |
| name = name, |
| builder_group = "tryserver.chromium.win", |
| builderless = True, |
| os = os.WINDOWS_ANY, |
| reclient_jobs = reclient.jobs.LOW_JOBS_FOR_CQ, |
| ssd = None, |
| **kwargs |
| ) |
| |
| gpu_win_builder( |
| name = "gpu-fyi-try-win10-amd-rel-64", |
| pool = "luci.chromium.gpu.win10.amd.try", |
| mirrors = [ |
| "ci/GPU FYI Win x64 Builder", |
| "ci/Win10 FYI x64 Release (AMD RX 5500 XT)", |
| ], |
| ) |
| |
| gpu_win_builder( |
| name = "gpu-fyi-try-win10-intel-exp-64", |
| pool = "luci.chromium.gpu.win10.intel.try", |
| mirrors = [ |
| "ci/GPU FYI Win x64 Builder", |
| "ci/Win10 FYI x64 Exp Release (Intel HD 630)", |
| ], |
| ) |
| |
| gpu_win_builder( |
| name = "gpu-fyi-try-win10-intel-rel-64", |
| pool = "luci.chromium.gpu.win10.intel.try", |
| mirrors = [ |
| "ci/GPU FYI Win x64 Builder", |
| "ci/Win10 FYI x64 Release (Intel HD 630)", |
| ], |
| ) |
| |
| gpu_win_builder( |
| name = "gpu-fyi-try-win10-nvidia-dbg-64", |
| pool = "luci.chromium.gpu.win10.nvidia.try", |
| mirrors = [ |
| "ci/GPU FYI Win x64 Builder (dbg)", |
| "ci/Win10 FYI x64 Debug (NVIDIA)", |
| ], |
| ) |
| |
| gpu_win_builder( |
| name = "gpu-fyi-try-win10-nvidia-dx12vk-dbg-64", |
| pool = "luci.chromium.gpu.win10.nvidia.try", |
| mirrors = [ |
| "ci/GPU FYI Win x64 DX12 Vulkan Builder (dbg)", |
| "ci/Win10 FYI x64 DX12 Vulkan Debug (NVIDIA)", |
| ], |
| ) |
| |
| gpu_win_builder( |
| name = "gpu-fyi-try-win10-nvidia-dx12vk-rel-64", |
| pool = "luci.chromium.gpu.win10.nvidia.try", |
| mirrors = [ |
| "ci/GPU FYI Win x64 DX12 Vulkan Builder", |
| "ci/Win10 FYI x64 DX12 Vulkan Release (NVIDIA)", |
| ], |
| ) |
| |
| gpu_win_builder( |
| name = "gpu-fyi-try-win10-nvidia-exp-64", |
| pool = "luci.chromium.gpu.win10.nvidia.try", |
| mirrors = [ |
| "ci/GPU FYI Win x64 Builder", |
| "ci/Win10 FYI x64 Exp Release (NVIDIA)", |
| ], |
| ) |
| |
| gpu_win_builder( |
| name = "gpu-fyi-try-win10-nvidia-rel-32", |
| pool = "luci.chromium.gpu.win10.nvidia.try", |
| mirrors = [ |
| "ci/GPU FYI Win Builder", |
| "ci/Win10 FYI x86 Release (NVIDIA)", |
| ], |
| ) |
| |
| gpu_win_builder( |
| name = "gpu-fyi-try-win10-nvidia-rel-64", |
| pool = "luci.chromium.gpu.win10.nvidia.try", |
| mirrors = [ |
| "ci/GPU FYI Win x64 Builder", |
| "ci/Win10 FYI x64 Release (NVIDIA)", |
| ], |
| ) |