Skip to content

Commit

Permalink
OOR-CORS: Setup "WebView P OOR-CORS FYI (rel)" bot
Browse files Browse the repository at this point in the history
This patch adds the "WebView P OOR-CORS FYI (rel)" bot to
run WebView instrumentation tests, unittests, and CTS tests
with OOR-CORS enabled.

Preceding tools/build side change is here:
https://chromium-review.googlesource.com/c/chromium/tools/build/+/1863899

Bug: 1013529
Change-Id: Ia35a9928138be322e9b6cab3531807957da0ffa7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1864502
Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org>
Reviewed-by: Takuto Ikuta <tikuta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#706382}
  • Loading branch information
toyoshim authored and Commit Bot committed Oct 16, 2019
1 parent 3db969d commit ae5471a
Show file tree
Hide file tree
Showing 10 changed files with 376 additions and 0 deletions.
4 changes: 4 additions & 0 deletions infra/config/buckets/ci.star
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,10 @@ android_fyi_builder(
goma_backend = goma.backend.RBE_PROD,
)

android_fyi_builder(
name = 'Android WebView P OOR-CORS FYI (rel)',
)

android_fyi_builder(
name = 'android-marshmallow-x86-fyi-rel',
)
Expand Down
20 changes: 20 additions & 0 deletions infra/config/generated/cr-buildbucket.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,26 @@ buckets: <
build_numbers: YES
service_account: "chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
>
builders: <
name: "Android WebView P OOR-CORS FYI (rel)"
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: "ssd:0"
recipe: <
name: "chromium"
cipd_package: "infra/recipe_bundles/chromium.googlesource.com/chromium/tools/build"
cipd_version: "refs/heads/master"
properties_j: "$kitchen:{\"devshell\":true,\"git_auth\":true}"
properties_j: "mastername:\"chromium.android.fyi\""
>
execution_timeout_secs: 10800
build_numbers: YES
service_account: "chromium-ci-builder@chops-service-accounts.iam.gserviceaccount.com"
>
builders: <
name: "Android arm Builder (dbg)"
swarming_host: "chromium-swarm.appspot.com"
Expand Down
5 changes: 5 additions & 0 deletions infra/config/generated/luci-milo.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,11 @@ consoles {
category: "webview"
short_name: "p-rel"
}
builders {
name: "buildbucket/luci.chromium.ci/Android WebView P OOR-CORS FYI (rel)"
category: "webview"
short_name: "cors"
}
builders {
name: "buildbucket/luci.chromium.ci/android-marshmallow-x86-fyi-rel"
category: "emulator|M|x86"
Expand Down
11 changes: 11 additions & 0 deletions infra/config/generated/luci-scheduler.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ trigger {
triggers: "Afl Upload Linux ASan"
triggers: "Android ASAN (dbg)"
triggers: "Android WebView P FYI (rel)"
triggers: "Android WebView P OOR-CORS FYI (rel)"
triggers: "android-archive-dbg-goma-canary"
triggers: "android-archive-dbg-goma-latest"
triggers: "android-archive-dbg-goma-rbe-canary"
Expand Down Expand Up @@ -703,6 +704,16 @@ job {
}
}

job {
id: "Android WebView P OOR-CORS FYI (rel)"
acl_sets: "default"
buildbucket: {
server: "cr-buildbucket.appspot.com"
bucket: "luci.chromium.ci"
builder: "Android WebView P OOR-CORS FYI (rel)"
}
}

job {
id: "Android x64 Builder (dbg)"
acl_sets: "default"
Expand Down
5 changes: 5 additions & 0 deletions infra/config/luci-milo.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -1553,6 +1553,11 @@ consoles {
category: "webview"
short_name: "p-rel"
}
builders {
name: "buildbucket/luci.chromium.ci/Android WebView P OOR-CORS FYI (rel)"
category: "webview"
short_name: "cors"
}
builders {
name: "buildbucket/luci.chromium.ci/android-marshmallow-x86-fyi-rel"
category: "emulator|M|x86"
Expand Down
11 changes: 11 additions & 0 deletions infra/config/luci-scheduler.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ trigger {
triggers: "Afl Upload Linux ASan"
triggers: "Android ASAN (dbg)"
triggers: "Android WebView P FYI (rel)"
triggers: "Android WebView P OOR-CORS FYI (rel)"
triggers: "android-archive-dbg-goma-canary"
triggers: "android-archive-dbg-goma-latest"
triggers: "android-archive-dbg-goma-rbe-canary"
Expand Down Expand Up @@ -703,6 +704,16 @@ job {
}
}

job {
id: "Android WebView P OOR-CORS FYI (rel)"
acl_sets: "default"
buildbucket: {
server: "cr-buildbucket.appspot.com"
bucket: "luci.chromium.ci"
builder: "Android WebView P OOR-CORS FYI (rel)"
}
}

job {
id: "Android x64 Builder (dbg)"
acl_sets: "default"
Expand Down
246 changes: 246 additions & 0 deletions testing/buildbot/chromium.android.fyi.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,252 @@
}
]
},
"Android WebView P OOR-CORS FYI (rel)": {
"gtest_tests": [
{
"args": [
"--enable-features=OutOfBlinkCors",
"--gs-results-bucket=chromium-result-details",
"--recover-devices"
],
"merge": {
"args": [
"--bucket",
"chromium-result-details",
"--test-name",
"android_webview_unittests_oor_cors"
],
"script": "//build/android/pylib/results/presentation/test_results_presentation.py"
},
"name": "android_webview_unittests_oor_cors",
"swarming": {
"can_use_on_swarming_builders": true,
"cipd_packages": [
{
"cipd_package": "infra/tools/luci/logdog/butler/${platform}",
"location": "bin",
"revision": "git_revision:ff387eadf445b24c935f1cf7d6ddd279f8a6b04c"
}
],
"dimension_sets": [
{
"device_os": "PQ3A.190801.002",
"device_os_flavor": "google",
"device_os_type": "userdebug",
"device_type": "walleye",
"os": "Android"
}
],
"output_links": [
{
"link": [
"https://luci-logdog.appspot.com/v/?s",
"=android%2Fswarming%2Flogcats%2F",
"${TASK_ID}%2F%2B%2Funified_logcats"
],
"name": "shard #${SHARD_INDEX} logcats"
}
]
},
"test": "android_webview_unittests"
},
{
"args": [
"--enable-features=OutOfBlinkCors",
"--gs-results-bucket=chromium-result-details",
"--recover-devices"
],
"merge": {
"args": [
"--bucket",
"chromium-result-details",
"--test-name",
"system_webview_shell_layout_test_apk_oor_cors"
],
"script": "//build/android/pylib/results/presentation/test_results_presentation.py"
},
"name": "system_webview_shell_layout_test_apk_oor_cors",
"swarming": {
"can_use_on_swarming_builders": true,
"cipd_packages": [
{
"cipd_package": "infra/tools/luci/logdog/butler/${platform}",
"location": "bin",
"revision": "git_revision:ff387eadf445b24c935f1cf7d6ddd279f8a6b04c"
}
],
"dimension_sets": [
{
"device_os": "PQ3A.190801.002",
"device_os_flavor": "google",
"device_os_type": "userdebug",
"device_type": "walleye",
"os": "Android"
}
],
"output_links": [
{
"link": [
"https://luci-logdog.appspot.com/v/?s",
"=android%2Fswarming%2Flogcats%2F",
"${TASK_ID}%2F%2B%2Funified_logcats"
],
"name": "shard #${SHARD_INDEX} logcats"
}
]
},
"test": "system_webview_shell_layout_test_apk"
},
{
"args": [
"--enable-features=OutOfBlinkCors",
"--gs-results-bucket=chromium-result-details",
"--recover-devices"
],
"merge": {
"args": [
"--bucket",
"chromium-result-details",
"--test-name",
"webview_cts_tests_oor_cors"
],
"script": "//build/android/pylib/results/presentation/test_results_presentation.py"
},
"name": "webview_cts_tests_oor_cors",
"swarming": {
"can_use_on_swarming_builders": true,
"cipd_packages": [
{
"cipd_package": "chromium/android_webview/tools/cts_archive",
"location": "android_webview/tools/cts_archive",
"revision": "4kDr36wBuZtvbfaEin4U4oeFD7oAuN0flkWDImKBts4C"
},
{
"cipd_package": "infra/tools/luci/logdog/butler/${platform}",
"location": "bin",
"revision": "git_revision:ff387eadf445b24c935f1cf7d6ddd279f8a6b04c"
}
],
"dimension_sets": [
{
"device_os": "PQ3A.190801.002",
"device_os_flavor": "google",
"device_os_type": "userdebug",
"device_type": "walleye",
"os": "Android"
}
],
"output_links": [
{
"link": [
"https://luci-logdog.appspot.com/v/?s",
"=android%2Fswarming%2Flogcats%2F",
"${TASK_ID}%2F%2B%2Funified_logcats"
],
"name": "shard #${SHARD_INDEX} logcats"
}
],
"shards": 3
},
"test": "webview_cts_tests"
},
{
"args": [
"--enable-features=OutOfBlinkCors",
"--gs-results-bucket=chromium-result-details",
"--recover-devices"
],
"merge": {
"args": [
"--bucket",
"chromium-result-details",
"--test-name",
"webview_instrumentation_test_apk_oor_cors"
],
"script": "//build/android/pylib/results/presentation/test_results_presentation.py"
},
"name": "webview_instrumentation_test_apk_oor_cors",
"swarming": {
"can_use_on_swarming_builders": true,
"cipd_packages": [
{
"cipd_package": "infra/tools/luci/logdog/butler/${platform}",
"location": "bin",
"revision": "git_revision:ff387eadf445b24c935f1cf7d6ddd279f8a6b04c"
}
],
"dimension_sets": [
{
"device_os": "PQ3A.190801.002",
"device_os_flavor": "google",
"device_os_type": "userdebug",
"device_type": "walleye",
"os": "Android"
}
],
"output_links": [
{
"link": [
"https://luci-logdog.appspot.com/v/?s",
"=android%2Fswarming%2Flogcats%2F",
"${TASK_ID}%2F%2B%2Funified_logcats"
],
"name": "shard #${SHARD_INDEX} logcats"
}
],
"shards": 12
},
"test": "webview_instrumentation_test_apk"
},
{
"args": [
"--enable-features=OutOfBlinkCors",
"--gs-results-bucket=chromium-result-details",
"--recover-devices"
],
"merge": {
"args": [
"--bucket",
"chromium-result-details",
"--test-name",
"webview_ui_test_app_test_apk_oor_cors"
],
"script": "//build/android/pylib/results/presentation/test_results_presentation.py"
},
"name": "webview_ui_test_app_test_apk_oor_cors",
"swarming": {
"can_use_on_swarming_builders": true,
"cipd_packages": [
{
"cipd_package": "infra/tools/luci/logdog/butler/${platform}",
"location": "bin",
"revision": "git_revision:ff387eadf445b24c935f1cf7d6ddd279f8a6b04c"
}
],
"dimension_sets": [
{
"device_os": "PQ3A.190801.002",
"device_os_flavor": "google",
"device_os_type": "userdebug",
"device_type": "walleye",
"os": "Android"
}
],
"output_links": [
{
"link": [
"https://luci-logdog.appspot.com/v/?s",
"=android%2Fswarming%2Flogcats%2F",
"${TASK_ID}%2F%2B%2Funified_logcats"
],
"name": "shard #${SHARD_INDEX} logcats"
}
]
},
"test": "webview_ui_test_app_test_apk"
}
]
},
"Memory Infra Tester": {
"isolated_scripts": [
{
Expand Down
Loading

0 comments on commit ae5471a

Please sign in to comment.