Add WebRTC Weetbix config
Bug: b/227310186 Change-Id: Id6ba40cf9ca9dad833b3e484c9a4addbe9662226 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/257042 Reviewed-by: Jeremy Leconte <jleconte@google.com> Commit-Queue: Christoffer Jansson <jansson@google.com> Cr-Commit-Position: refs/heads/main@{#36371}
This commit is contained in:
parent
ea0f9a0a19
commit
feb033223b
70
infra/config/chops-weetbix-dev.cfg
Normal file
70
infra/config/chops-weetbix-dev.cfg
Normal file
@ -0,0 +1,70 @@
|
||||
# Schema for this config file: ProjectConfig in:
|
||||
# https://luci-config.appspot.com/schemas/projects:chops-weetbix.cfg
|
||||
bug_filing_threshold {
|
||||
presubmit_runs_failed {
|
||||
# clusters blocking developers should have bugs filed.
|
||||
one_day: 3
|
||||
}
|
||||
test_runs_failed {
|
||||
# clusters that aren't blocking developers but are failing a significant
|
||||
# amount of tasks should have bugs filed to look into optimizing machine
|
||||
# resource usage.
|
||||
one_day: 500
|
||||
}
|
||||
}
|
||||
clustering {
|
||||
test_name_rules {
|
||||
name: "Tast Tests"
|
||||
pattern: "^tast\\.(?P<suite>([^.]+))\\.(?P<testname>([^.]+))\\..*$"
|
||||
like_template: "tast.${suite}.${testname}.%"
|
||||
}
|
||||
}
|
||||
monorail {
|
||||
project: "chromium"
|
||||
default_field_values {
|
||||
# Type field.
|
||||
field_id: 10
|
||||
value: "Bug"
|
||||
}
|
||||
priority_field_id: 11
|
||||
priorities {
|
||||
priority: "0"
|
||||
threshold {
|
||||
presubmit_runs_failed {
|
||||
one_day: 20
|
||||
}
|
||||
}
|
||||
}
|
||||
priorities {
|
||||
priority: "1"
|
||||
threshold {
|
||||
presubmit_runs_failed {
|
||||
one_day: 10
|
||||
}
|
||||
}
|
||||
}
|
||||
priorities {
|
||||
priority: "2"
|
||||
threshold {
|
||||
presubmit_runs_failed {
|
||||
one_day: 2
|
||||
}
|
||||
}
|
||||
}
|
||||
priorities {
|
||||
priority: "3"
|
||||
threshold {
|
||||
# Clusters which fail to meet this threshold will be closed.
|
||||
test_runs_failed {
|
||||
one_day: 2
|
||||
}
|
||||
presubmit_runs_failed {
|
||||
one_day: 1
|
||||
seven_day: 1
|
||||
}
|
||||
}
|
||||
}
|
||||
priority_hysteresis_percent: 50
|
||||
monorail_hostname: "monorail-staging.appspot.com"
|
||||
display_prefix: "crbug.com"
|
||||
}
|
||||
71
infra/config/chops-weetbix.cfg
Normal file
71
infra/config/chops-weetbix.cfg
Normal file
@ -0,0 +1,71 @@
|
||||
# Schema for this config file: ProjectConfig in:
|
||||
# https://luci-config.appspot.com/schemas/projects:chops-weetbix.cfg
|
||||
bug_filing_threshold {
|
||||
presubmit_runs_failed {
|
||||
# clusters blocking developers should have bugs filed.
|
||||
one_day: 3
|
||||
}
|
||||
test_runs_failed {
|
||||
# clusters that aren't blocking developers but are failing a significant
|
||||
# amount of tasks should have bugs filed to look into optimizing machine
|
||||
# resource usage.
|
||||
one_day: 500
|
||||
}
|
||||
}
|
||||
clustering {
|
||||
test_name_rules {
|
||||
name: "Tast Tests"
|
||||
pattern: "^tast\\.(?P<suite>([^.]+))\\.(?P<testname>([^.]+))\\..*$"
|
||||
like_template: "tast.${suite}.${testname}.%"
|
||||
}
|
||||
}
|
||||
monorail {
|
||||
project: "chromium"
|
||||
default_field_values {
|
||||
# Type field.
|
||||
field_id: 10
|
||||
value: "Bug"
|
||||
}
|
||||
priority_field_id: 11
|
||||
priorities {
|
||||
priority: "0"
|
||||
threshold {
|
||||
presubmit_runs_failed {
|
||||
one_day: 20
|
||||
}
|
||||
}
|
||||
}
|
||||
priorities {
|
||||
priority: "1"
|
||||
threshold {
|
||||
presubmit_runs_failed {
|
||||
one_day: 10
|
||||
}
|
||||
}
|
||||
}
|
||||
priorities {
|
||||
priority: "2"
|
||||
threshold {
|
||||
presubmit_runs_failed {
|
||||
one_day: 2
|
||||
}
|
||||
}
|
||||
}
|
||||
priorities {
|
||||
priority: "3"
|
||||
threshold {
|
||||
# Clusters which fail to meet this threshold will be closed.
|
||||
test_runs_failed {
|
||||
one_day: 2
|
||||
}
|
||||
presubmit_runs_failed {
|
||||
one_day: 1
|
||||
seven_day: 1
|
||||
}
|
||||
}
|
||||
}
|
||||
priority_hysteresis_percent: 50
|
||||
monorail_hostname: "bugs.chromium.org"
|
||||
display_prefix: "crbug.com"
|
||||
}
|
||||
|
||||
@ -59,6 +59,8 @@ luci.builder.defaults.test_presentation.set(
|
||||
lucicfg.config(
|
||||
config_dir = ".",
|
||||
tracked_files = [
|
||||
"chops-weetbix-dev.cfg",
|
||||
"chops-weetbix.cfg",
|
||||
"commit-queue.cfg",
|
||||
"cr-buildbucket.cfg",
|
||||
"luci-logdog.cfg",
|
||||
@ -122,6 +124,21 @@ luci.milo(
|
||||
logo = "https://storage.googleapis.com/chrome-infra/webrtc-logo-vert-retro-255x305.png",
|
||||
)
|
||||
|
||||
# Configure Weetbix (config is copied verbatim)
|
||||
################################################################################
|
||||
|
||||
lucicfg.emit(
|
||||
dest = "chops-weetbix-dev.cfg",
|
||||
data = io.read_file("chops-weetbix-dev.cfg"),
|
||||
)
|
||||
|
||||
lucicfg.emit(
|
||||
dest = "chops-weetbix.cfg",
|
||||
data = io.read_file("chops-weetbix.cfg"),
|
||||
)
|
||||
|
||||
################################################################################
|
||||
|
||||
luci.notify(tree_closing_enabled = True)
|
||||
|
||||
luci.cq(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user