Skip to content

Commit

Permalink
Ozone/Linux CI: add CI Test configuration.
Browse files Browse the repository at this point in the history
This CL adds Ozone/Linux CI Test configuration. Initially, it will
run the same gtests as CQ Test configuration to be sure the
config is correct.

Later, when the testers are up and running on CI,
chromium_linux_gtests will be used instead.

R=dpranke
CC=msisov

Bug: 1142753
Change-Id: If1173c93f12774569c257dd8ad04abab2f99a434
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2529098
Commit-Queue: Maksim Sisov (GMT+2) <msisov@igalia.com>
Reviewed-by: Dirk Pranke <dpranke@google.com>
Cr-Commit-Position: refs/heads/master@{#826188}
  • Loading branch information
msisov authored and Commit Bot committed Nov 11, 2020
1 parent d435433 commit 4332410
Show file tree
Hide file tree
Showing 7 changed files with 991 additions and 0 deletions.
141 changes: 141 additions & 0 deletions infra/config/generated/cr-buildbucket.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7051,6 +7051,147 @@ buckets {
}
}
}
builders {
name: "Linux Tester (Ozone Headless)"
swarming_host: "chromium-swarm.appspot.com"
swarming_tags: "vpython:native-python-wrapper"
dimensions: "builderless:1"
dimensions: "cores:8"
dimensions: "cpu:x86-64"
dimensions: "os:Ubuntu-16.04"
dimensions: "pool:luci.chromium.ci"
dimensions: "ssd:0"
exe {
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
cipd_version: "refs/heads/master"
cmd: "recipes"
}
properties: "{\"$build/goma\":{\"enable_ats\":true,\"jobs\":500,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true},\"$kitchen\":{\"devshell\":true,\"git_auth\":true},\"$recipe_engine/isolated\":{\"server\":\"https://isolateserver.appspot.com\"},\"builder_group\":\"chromium.linux\",\"recipe\":\"chromium\"}"
execution_timeout_secs: 10800
build_numbers: YES
service_account: "chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "chromium.resultdb.result_sink"
value: 50
}
experiments {
key: "luci.use_realms"
value: 100
}
resultdb {
enable: true
bq_exports {
project: "luci-resultdb"
dataset: "chromium"
table: "ci_test_results"
test_results {}
}
bq_exports {
project: "luci-resultdb"
dataset: "chromium"
table: "gpu_ci_test_results"
test_results {
predicate {
test_id_regexp: "ninja://(chrome/test:|content/test:fuchsia_)telemetry_gpu_integration_test/.+"
}
}
}
}
}
builders {
name: "Linux Tester (Ozone Wayland)"
swarming_host: "chromium-swarm.appspot.com"
swarming_tags: "vpython:native-python-wrapper"
dimensions: "builderless:1"
dimensions: "cores:8"
dimensions: "cpu:x86-64"
dimensions: "os:Ubuntu-16.04"
dimensions: "pool:luci.chromium.ci"
dimensions: "ssd:0"
exe {
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
cipd_version: "refs/heads/master"
cmd: "recipes"
}
properties: "{\"$build/goma\":{\"enable_ats\":true,\"jobs\":500,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true},\"$kitchen\":{\"devshell\":true,\"git_auth\":true},\"$recipe_engine/isolated\":{\"server\":\"https://isolateserver.appspot.com\"},\"builder_group\":\"chromium.linux\",\"recipe\":\"chromium\"}"
execution_timeout_secs: 10800
build_numbers: YES
service_account: "chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "chromium.resultdb.result_sink"
value: 50
}
experiments {
key: "luci.use_realms"
value: 100
}
resultdb {
enable: true
bq_exports {
project: "luci-resultdb"
dataset: "chromium"
table: "ci_test_results"
test_results {}
}
bq_exports {
project: "luci-resultdb"
dataset: "chromium"
table: "gpu_ci_test_results"
test_results {
predicate {
test_id_regexp: "ninja://(chrome/test:|content/test:fuchsia_)telemetry_gpu_integration_test/.+"
}
}
}
}
}
builders {
name: "Linux Tester (Ozone X11)"
swarming_host: "chromium-swarm.appspot.com"
swarming_tags: "vpython:native-python-wrapper"
dimensions: "builderless:1"
dimensions: "cores:8"
dimensions: "cpu:x86-64"
dimensions: "os:Ubuntu-16.04"
dimensions: "pool:luci.chromium.ci"
dimensions: "ssd:0"
exe {
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
cipd_version: "refs/heads/master"
cmd: "recipes"
}
properties: "{\"$build/goma\":{\"enable_ats\":true,\"jobs\":500,\"rpc_extra_params\":\"?prod\",\"server_host\":\"goma.chromium.org\",\"use_luci_auth\":true},\"$kitchen\":{\"devshell\":true,\"git_auth\":true},\"$recipe_engine/isolated\":{\"server\":\"https://isolateserver.appspot.com\"},\"builder_group\":\"chromium.linux\",\"recipe\":\"chromium\"}"
execution_timeout_secs: 10800
build_numbers: YES
service_account: "chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
experiments {
key: "chromium.resultdb.result_sink"
value: 50
}
experiments {
key: "luci.use_realms"
value: 100
}
resultdb {
enable: true
bq_exports {
project: "luci-resultdb"
dataset: "chromium"
table: "ci_test_results"
test_results {}
}
bq_exports {
project: "luci-resultdb"
dataset: "chromium"
table: "gpu_ci_test_results"
test_results {
predicate {
test_id_regexp: "ninja://(chrome/test:|content/test:fuchsia_)telemetry_gpu_integration_test/.+"
}
}
}
}
}
builders {
name: "Linux Tests"
swarming_host: "chromium-swarm.appspot.com"
Expand Down
45 changes: 45 additions & 0 deletions infra/config/generated/luci-milo.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,21 @@ consoles {
category: "chromium.linux|release"
short_name: "tru"
}
builders {
name: "buildbucket/luci.chromium.ci/Linux Tester (Ozone Headless)"
category: "chromium.linux|release|ozone"
short_name: "ltoh"
}
builders {
name: "buildbucket/luci.chromium.ci/Linux Tester (Ozone Wayland)"
category: "chromium.linux|release|ozone"
short_name: "ltow"
}
builders {
name: "buildbucket/luci.chromium.ci/Linux Tester (Ozone X11)"
category: "chromium.linux|release|ozone"
short_name: "ltox"
}
builders {
name: "buildbucket/luci.chromium.ci/Linux Builder (dbg)(32)"
category: "chromium.linux|debug|builder"
Expand Down Expand Up @@ -869,6 +884,21 @@ consoles {
category: "chromium.linux|release"
short_name: "ozo"
}
builders {
name: "buildbucket/luci.chromium.ci/Linux Tester (Ozone Headless)"
category: "chromium.linux|release|ozone"
short_name: "ltoh"
}
builders {
name: "buildbucket/luci.chromium.ci/Linux Tester (Ozone Wayland)"
category: "chromium.linux|release|ozone"
short_name: "ltow"
}
builders {
name: "buildbucket/luci.chromium.ci/Linux Tester (Ozone X11)"
category: "chromium.linux|release|ozone"
short_name: "ltox"
}
builders {
name: "buildbucket/luci.chromium.ci/Linux Builder (dbg)"
category: "chromium.linux|debug|builder"
Expand Down Expand Up @@ -7553,6 +7583,21 @@ consoles {
category: "release"
short_name: "tru"
}
builders {
name: "buildbucket/luci.chromium.ci/Linux Tester (Ozone Headless)"
category: "release|ozone"
short_name: "ltoh"
}
builders {
name: "buildbucket/luci.chromium.ci/Linux Tester (Ozone Wayland)"
category: "release|ozone"
short_name: "ltow"
}
builders {
name: "buildbucket/luci.chromium.ci/Linux Tester (Ozone X11)"
category: "release|ozone"
short_name: "ltox"
}
builders {
name: "buildbucket/luci.chromium.ci/Linux Builder (dbg)(32)"
category: "debug|builder"
Expand Down
39 changes: 39 additions & 0 deletions infra/config/generated/luci-notify.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1239,6 +1239,45 @@ notifiers {
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update"
}
}
notifiers {
notifications {
on_occurrence: FAILURE
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update"
email {
recipients: "thomasanderson@chromium.org"
}
}
builders {
bucket: "ci"
name: "Linux Tester (Ozone Headless)"
}
}
notifiers {
notifications {
on_occurrence: FAILURE
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update"
email {
recipients: "thomasanderson@chromium.org"
}
}
builders {
bucket: "ci"
name: "Linux Tester (Ozone Wayland)"
}
}
notifiers {
notifications {
on_occurrence: FAILURE
failed_step_regexp: "bot_update|compile|gclient runhooks|runhooks|update"
email {
recipients: "thomasanderson@chromium.org"
}
}
builders {
bucket: "ci"
name: "Linux Tester (Ozone X11)"
}
}
notifiers {
notifications {
on_occurrence: FAILURE
Expand Down
42 changes: 42 additions & 0 deletions infra/config/generated/luci-scheduler.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2008,6 +2008,48 @@ job {
builder: "Linux TSan Tests"
}
}
job {
id: "Linux Tester (Ozone Headless)"
realm: "ci"
acls {
role: TRIGGERER
granted_to: "chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
}
acl_sets: "ci"
buildbucket {
server: "cr-buildbucket.appspot.com"
bucket: "luci.chromium.ci"
builder: "Linux Tester (Ozone Headless)"
}
}
job {
id: "Linux Tester (Ozone Wayland)"
realm: "ci"
acls {
role: TRIGGERER
granted_to: "chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
}
acl_sets: "ci"
buildbucket {
server: "cr-buildbucket.appspot.com"
bucket: "luci.chromium.ci"
builder: "Linux Tester (Ozone Wayland)"
}
}
job {
id: "Linux Tester (Ozone X11)"
realm: "ci"
acls {
role: TRIGGERER
granted_to: "chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
}
acl_sets: "ci"
buildbucket {
server: "cr-buildbucket.appspot.com"
bucket: "luci.chromium.ci"
builder: "Linux Tester (Ozone X11)"
}
}
job {
id: "Linux Tests"
realm: "ci"
Expand Down
42 changes: 42 additions & 0 deletions infra/config/subprojects/chromium/ci.star
Original file line number Diff line number Diff line change
Expand Up @@ -4300,6 +4300,48 @@ ci.linux_builder(
triggered_by = [builder_name("linux-ozone-rel")],
)

ci.linux_builder(
# CI tester for Ozone/Headless
name = "Linux Tester (Ozone Headless)",
branch_selector = branches.STANDARD_MILESTONE,
console_view_entry = ci.console_view_entry(
category = "release|ozone",
short_name = "ltoh",
),
main_console_view = "main",
cq_mirrors_console_view = "mirrors",
triggered_by = [builder_name("linux-ozone-rel")],
tree_closing = False,
)

ci.linux_builder(
# CI tester for Ozone/Wayland
name = "Linux Tester (Ozone Wayland)",
branch_selector = branches.STANDARD_MILESTONE,
console_view_entry = ci.console_view_entry(
category = "release|ozone",
short_name = "ltow",
),
main_console_view = "main",
cq_mirrors_console_view = "mirrors",
triggered_by = [builder_name("linux-ozone-rel")],
tree_closing = False,
)

ci.linux_builder(
# CI tester for Ozone/X11
name = "Linux Tester (Ozone X11)",
branch_selector = branches.STANDARD_MILESTONE,
console_view_entry = ci.console_view_entry(
category = "release|ozone",
short_name = "ltox",
),
main_console_view = "main",
cq_mirrors_console_view = "mirrors",
triggered_by = [builder_name("linux-ozone-rel")],
tree_closing = False,
)

ci.linux_builder(
name = "linux-trusty-rel",
console_view_entry = ci.console_view_entry(
Expand Down
Loading

0 comments on commit 4332410

Please sign in to comment.