From e6df126b798c0644010afeaddeb2e13053d8f192 Mon Sep 17 00:00:00 2001 From: Christoffer Jansson Date: Tue, 12 Dec 2023 15:33:46 +0000 Subject: [PATCH] Add win 11 debug and release try bot Bug: b/312914606 Change-Id: Ie67c5befe6a371e05e2227799d523756afbc9685 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/331220 Reviewed-by: Jeremy Leconte Commit-Queue: Christoffer Dewerin Cr-Commit-Position: refs/heads/main@{#41371} --- infra/config/config.star | 2 + infra/config/cr-buildbucket.cfg | 94 +++++++++++++++++++++++++++++++++ infra/config/luci-milo.cfg | 6 +++ infra/config/luci-notify.cfg | 26 +++++++++ tools_webrtc/mb/mb_config.pyl | 2 + 5 files changed, 130 insertions(+) diff --git a/infra/config/config.star b/infra/config/config.star index eecac11c94..94d2d9ccc6 100755 --- a/infra/config/config.star +++ b/infra/config/config.star @@ -800,6 +800,8 @@ ci_builder("Win64 ASan", "Win Clang|x64|asan") try_builder("win_asan") ci_builder("Win (more configs)", "Win Clang|x86|more") try_builder("win_x86_more_configs") +try_builder("win11_release", cq = None) +try_builder("win11_debug", cq = None) chromium_try_builder("win_chromium_compile") chromium_try_builder("win_chromium_compile_dbg") diff --git a/infra/config/cr-buildbucket.cfg b/infra/config/cr-buildbucket.cfg index cc36dc359c..039c580a34 100644 --- a/infra/config/cr-buildbucket.cfg +++ b/infra/config/cr-buildbucket.cfg @@ -4987,6 +4987,100 @@ buckets { } } } + builders { + name: "win11_debug" + swarming_host: "chromium-swarm.appspot.com" + swarming_tags: "vpython:native-python-wrapper" + dimensions: "builderless:1" + dimensions: "cpu:x86-64" + dimensions: "os:Windows" + dimensions: "pool:luci.webrtc.try" + exe { + cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build" + cipd_version: "refs/heads/main" + cmd: "luciexe" + } + properties: + '{' + ' "$build/reclient": {' + ' "instance": "rbe-webrtc-untrusted",' + ' "metrics_project": "chromium-reclient-metrics"' + ' },' + ' "$recipe_engine/resultdb/test_presentation": {' + ' "column_keys": [],' + ' "grouping_keys": [' + ' "status",' + ' "v.test_suite"' + ' ]' + ' },' + ' "builder_group": "tryserver.webrtc",' + ' "recipe": "webrtc/standalone"' + '}' + priority: 30 + execution_timeout_secs: 7200 + build_numbers: YES + service_account: "webrtc-try-builder@chops-service-accounts.iam.gserviceaccount.com" + experiments { + key: "luci.recipes.use_python3" + value: 100 + } + resultdb { + enable: true + bq_exports { + project: "webrtc-ci" + dataset: "resultdb" + table: "try_test_results" + test_results {} + } + } + } + builders { + name: "win11_release" + swarming_host: "chromium-swarm.appspot.com" + swarming_tags: "vpython:native-python-wrapper" + dimensions: "builderless:1" + dimensions: "cpu:x86-64" + dimensions: "os:Windows" + dimensions: "pool:luci.webrtc.try" + exe { + cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build" + cipd_version: "refs/heads/main" + cmd: "luciexe" + } + properties: + '{' + ' "$build/reclient": {' + ' "instance": "rbe-webrtc-untrusted",' + ' "metrics_project": "chromium-reclient-metrics"' + ' },' + ' "$recipe_engine/resultdb/test_presentation": {' + ' "column_keys": [],' + ' "grouping_keys": [' + ' "status",' + ' "v.test_suite"' + ' ]' + ' },' + ' "builder_group": "tryserver.webrtc",' + ' "recipe": "webrtc/standalone"' + '}' + priority: 30 + execution_timeout_secs: 7200 + build_numbers: YES + service_account: "webrtc-try-builder@chops-service-accounts.iam.gserviceaccount.com" + experiments { + key: "luci.recipes.use_python3" + value: 100 + } + resultdb { + enable: true + bq_exports { + project: "webrtc-ci" + dataset: "resultdb" + table: "try_test_results" + test_results {} + } + } + } builders { name: "win_asan" swarming_host: "chromium-swarm.appspot.com" diff --git a/infra/config/luci-milo.cfg b/infra/config/luci-milo.cfg index cca46cd157..3f3a18832a 100644 --- a/infra/config/luci-milo.cfg +++ b/infra/config/luci-milo.cfg @@ -593,6 +593,12 @@ consoles { builders { name: "buildbucket/luci.webrtc.try/win_x86_more_configs" } + builders { + name: "buildbucket/luci.webrtc.try/win11_release" + } + builders { + name: "buildbucket/luci.webrtc.try/win11_debug" + } builders { name: "buildbucket/luci.webrtc.try/win_chromium_compile" } diff --git a/infra/config/luci-notify.cfg b/infra/config/luci-notify.cfg index 8cae9b3f93..129d0e4268 100644 --- a/infra/config/luci-notify.cfg +++ b/infra/config/luci-notify.cfg @@ -2025,6 +2025,32 @@ notifiers { name: "webrtc_linux_chromium" } } +notifiers { + notifications { + on_new_status: INFRA_FAILURE + email { + recipients: "webrtc-troopers-robots@google.com" + } + template: "infra_failure" + } + builders { + bucket: "try" + name: "win11_debug" + } +} +notifiers { + notifications { + on_new_status: INFRA_FAILURE + email { + recipients: "webrtc-troopers-robots@google.com" + } + template: "infra_failure" + } + builders { + bucket: "try" + name: "win11_release" + } +} notifiers { notifications { on_new_status: INFRA_FAILURE diff --git a/tools_webrtc/mb/mb_config.pyl b/tools_webrtc/mb/mb_config.pyl index c0f5130ff0..44275d5381 100644 --- a/tools_webrtc/mb/mb_config.pyl +++ b/tools_webrtc/mb/mb_config.pyl @@ -216,6 +216,8 @@ 'dummy_audio_file_devices_no_protobuf': 'dummy_audio_file_devices_no_protobuf_x86', 'rtti_no_sctp': 'rtti_no_sctp_no_unicode_win_x86', + 'win11_release': 'win_clang_release_bot_x64', + 'win11_debug': 'win_clang_debug_bot_x64', }, } },