Enable a02 tasks in staging.
This is to validate benchmarks on low end phones (samsung A02).
Change-Id: I1d54ddc8a5427beabf0d428702c9df8449bb3cc4
Bug: https://github.com/flutter/flutter/issues/102939
Reviewed-on: https://flutter-review.googlesource.com/c/infra/+/30445
Commit-Queue: Keyong Han <keyonghan@google.com>
Reviewed-by: Yusuf Mohsinally <mohsinally@google.com>
diff --git a/config/devicelab_staging_config.star b/config/devicelab_staging_config.star
index 5701c88..5a2a498 100644
--- a/config/devicelab_staging_config.star
+++ b/config/devicelab_staging_config.star
@@ -498,6 +498,52 @@
expiration_timeout = timeout.LONG_EXPIRATION,
caches = LINUX_DEFAULT_CACHES,
)
+ linux_samsung_a02_tasks = [
+ "flutter_gallery__transition_perf",
+ "new_gallery__crane_perf",
+ "new_gallery__transition_perf",
+ "complex_layout_scroll_perf__timeline_summary",
+ "opacity_peephole_one_rect_perf__e2e_summary",
+ ]
+
+ for task in linux_samsung_a02_tasks:
+ common.linux_prod_builder(
+ name = "Linux_samsung_a02_staging %s|%s" % (task, common.short_name(task)),
+ recipe = drone_recipe_name,
+ console_view_name = console_view_name,
+ triggered_by = [trigger_name],
+ triggering_policy = triggering_policy,
+ properties = {
+ "dependencies": [
+ {
+ "dependency": "android_sdk",
+ "version": "version:31v8",
+ },
+ {
+ "dependency": "chrome_and_driver",
+ },
+ {
+ "dependency": "open_jdk",
+ "version": "11",
+ },
+ {
+ "dependency": "curl",
+ },
+ ],
+ "tags": ["devicelab", "android", "linux", "Samsung", "a02"],
+ "task_name": task,
+ "git_branch": DEFAULT_BRANCH,
+ "use_cas": True,
+ "upload_metrics": True,
+ },
+ category = "Linux_samsung_a02",
+ bucket = "staging",
+ pool = "luci.flutter.staging",
+ os = LINUX_OS,
+ dimensions = {"device_os": "S"},
+ expiration_timeout = timeout.LONG_EXPIRATION,
+ caches = LINUX_DEFAULT_CACHES,
+ )
linux_vm_prod_tasks = [
("analyze", "flutter/flutter"),
diff --git a/config/generated/flutter/luci/cr-buildbucket.cfg b/config/generated/flutter/luci/cr-buildbucket.cfg
index 9383502..a417de4 100644
--- a/config/generated/flutter/luci/cr-buildbucket.cfg
+++ b/config/generated/flutter/luci/cr-buildbucket.cfg
@@ -142343,6 +142343,491 @@
}
}
builders {
+ name: "Linux_samsung_a02_staging complex_layout_scroll_perf__timeline_summary"
+ swarming_host: "chromium-swarm.appspot.com"
+ dimensions: "device_os:S"
+ dimensions: "os:Debian"
+ dimensions: "pool:luci.flutter.staging"
+ exe {
+ cipd_package: "flutter/recipe_bundles/flutter.googlesource.com/recipes"
+ cipd_version: "refs/heads/main"
+ cmd: "luciexe"
+ }
+ properties:
+ '{'
+ ' "$fuchsia/goma": {'
+ ' "server": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog"'
+ ' },'
+ ' "$kitchen": {'
+ ' "emulate_gce": true'
+ ' },'
+ ' "$recipe_engine/isolated": {'
+ ' "server": "https://isolateserver.appspot.com"'
+ ' },'
+ ' "$recipe_engine/swarming": {'
+ ' "server": "https://chromium-swarm.appspot.com"'
+ ' },'
+ ' "clobber": false,'
+ ' "dependencies": ['
+ ' {'
+ ' "dependency": "android_sdk",'
+ ' "version": "version:31v8"'
+ ' },'
+ ' {'
+ ' "dependency": "chrome_and_driver"'
+ ' },'
+ ' {'
+ ' "dependency": "open_jdk",'
+ ' "version": "11"'
+ ' },'
+ ' {'
+ ' "dependency": "curl"'
+ ' }'
+ ' ],'
+ ' "git_branch": "master",'
+ ' "gold_tryjob": false,'
+ ' "goma_jobs": "200",'
+ ' "mastername": "client.flutter",'
+ ' "recipe": "devicelab/devicelab_drone",'
+ ' "tags": ['
+ ' "devicelab",'
+ ' "android",'
+ ' "linux",'
+ ' "Samsung",'
+ ' "a02"'
+ ' ],'
+ ' "task_name": "complex_layout_scroll_perf__timeline_summary",'
+ ' "upload_metrics": true,'
+ ' "upload_packages": true,'
+ ' "use_cas": true'
+ '}'
+ execution_timeout_secs: 3600
+ expiration_secs: 43200
+ caches {
+ name: "android_sdk"
+ path: "android"
+ }
+ caches {
+ name: "builder_linux_devicelab_staging"
+ path: "builder"
+ }
+ caches {
+ name: "chrome_and_driver"
+ path: "chrome"
+ }
+ caches {
+ name: "flutter_sdk"
+ path: "flutter sdk"
+ }
+ caches {
+ name: "openjdk"
+ path: "java"
+ }
+ caches {
+ name: "pub_cache"
+ path: ".pub-cache"
+ }
+ build_numbers: YES
+ service_account: "flutter-staging-builder@chops-service-accounts.iam.gserviceaccount.com"
+ task_template_canary_percentage {}
+ experiments {
+ key: "luci.buildbucket.agent.cipd_installation"
+ value: 0
+ }
+ experiments {
+ key: "luci.recipes.use_python3"
+ value: 100
+ }
+ }
+ builders {
+ name: "Linux_samsung_a02_staging flutter_gallery__transition_perf"
+ swarming_host: "chromium-swarm.appspot.com"
+ dimensions: "device_os:S"
+ dimensions: "os:Debian"
+ dimensions: "pool:luci.flutter.staging"
+ exe {
+ cipd_package: "flutter/recipe_bundles/flutter.googlesource.com/recipes"
+ cipd_version: "refs/heads/main"
+ cmd: "luciexe"
+ }
+ properties:
+ '{'
+ ' "$fuchsia/goma": {'
+ ' "server": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog"'
+ ' },'
+ ' "$kitchen": {'
+ ' "emulate_gce": true'
+ ' },'
+ ' "$recipe_engine/isolated": {'
+ ' "server": "https://isolateserver.appspot.com"'
+ ' },'
+ ' "$recipe_engine/swarming": {'
+ ' "server": "https://chromium-swarm.appspot.com"'
+ ' },'
+ ' "clobber": false,'
+ ' "dependencies": ['
+ ' {'
+ ' "dependency": "android_sdk",'
+ ' "version": "version:31v8"'
+ ' },'
+ ' {'
+ ' "dependency": "chrome_and_driver"'
+ ' },'
+ ' {'
+ ' "dependency": "open_jdk",'
+ ' "version": "11"'
+ ' },'
+ ' {'
+ ' "dependency": "curl"'
+ ' }'
+ ' ],'
+ ' "git_branch": "master",'
+ ' "gold_tryjob": false,'
+ ' "goma_jobs": "200",'
+ ' "mastername": "client.flutter",'
+ ' "recipe": "devicelab/devicelab_drone",'
+ ' "tags": ['
+ ' "devicelab",'
+ ' "android",'
+ ' "linux",'
+ ' "Samsung",'
+ ' "a02"'
+ ' ],'
+ ' "task_name": "flutter_gallery__transition_perf",'
+ ' "upload_metrics": true,'
+ ' "upload_packages": true,'
+ ' "use_cas": true'
+ '}'
+ execution_timeout_secs: 3600
+ expiration_secs: 43200
+ caches {
+ name: "android_sdk"
+ path: "android"
+ }
+ caches {
+ name: "builder_linux_devicelab_staging"
+ path: "builder"
+ }
+ caches {
+ name: "chrome_and_driver"
+ path: "chrome"
+ }
+ caches {
+ name: "flutter_sdk"
+ path: "flutter sdk"
+ }
+ caches {
+ name: "openjdk"
+ path: "java"
+ }
+ caches {
+ name: "pub_cache"
+ path: ".pub-cache"
+ }
+ build_numbers: YES
+ service_account: "flutter-staging-builder@chops-service-accounts.iam.gserviceaccount.com"
+ task_template_canary_percentage {}
+ experiments {
+ key: "luci.buildbucket.agent.cipd_installation"
+ value: 0
+ }
+ experiments {
+ key: "luci.recipes.use_python3"
+ value: 100
+ }
+ }
+ builders {
+ name: "Linux_samsung_a02_staging new_gallery__crane_perf"
+ swarming_host: "chromium-swarm.appspot.com"
+ dimensions: "device_os:S"
+ dimensions: "os:Debian"
+ dimensions: "pool:luci.flutter.staging"
+ exe {
+ cipd_package: "flutter/recipe_bundles/flutter.googlesource.com/recipes"
+ cipd_version: "refs/heads/main"
+ cmd: "luciexe"
+ }
+ properties:
+ '{'
+ ' "$fuchsia/goma": {'
+ ' "server": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog"'
+ ' },'
+ ' "$kitchen": {'
+ ' "emulate_gce": true'
+ ' },'
+ ' "$recipe_engine/isolated": {'
+ ' "server": "https://isolateserver.appspot.com"'
+ ' },'
+ ' "$recipe_engine/swarming": {'
+ ' "server": "https://chromium-swarm.appspot.com"'
+ ' },'
+ ' "clobber": false,'
+ ' "dependencies": ['
+ ' {'
+ ' "dependency": "android_sdk",'
+ ' "version": "version:31v8"'
+ ' },'
+ ' {'
+ ' "dependency": "chrome_and_driver"'
+ ' },'
+ ' {'
+ ' "dependency": "open_jdk",'
+ ' "version": "11"'
+ ' },'
+ ' {'
+ ' "dependency": "curl"'
+ ' }'
+ ' ],'
+ ' "git_branch": "master",'
+ ' "gold_tryjob": false,'
+ ' "goma_jobs": "200",'
+ ' "mastername": "client.flutter",'
+ ' "recipe": "devicelab/devicelab_drone",'
+ ' "tags": ['
+ ' "devicelab",'
+ ' "android",'
+ ' "linux",'
+ ' "Samsung",'
+ ' "a02"'
+ ' ],'
+ ' "task_name": "new_gallery__crane_perf",'
+ ' "upload_metrics": true,'
+ ' "upload_packages": true,'
+ ' "use_cas": true'
+ '}'
+ execution_timeout_secs: 3600
+ expiration_secs: 43200
+ caches {
+ name: "android_sdk"
+ path: "android"
+ }
+ caches {
+ name: "builder_linux_devicelab_staging"
+ path: "builder"
+ }
+ caches {
+ name: "chrome_and_driver"
+ path: "chrome"
+ }
+ caches {
+ name: "flutter_sdk"
+ path: "flutter sdk"
+ }
+ caches {
+ name: "openjdk"
+ path: "java"
+ }
+ caches {
+ name: "pub_cache"
+ path: ".pub-cache"
+ }
+ build_numbers: YES
+ service_account: "flutter-staging-builder@chops-service-accounts.iam.gserviceaccount.com"
+ task_template_canary_percentage {}
+ experiments {
+ key: "luci.buildbucket.agent.cipd_installation"
+ value: 0
+ }
+ experiments {
+ key: "luci.recipes.use_python3"
+ value: 100
+ }
+ }
+ builders {
+ name: "Linux_samsung_a02_staging new_gallery__transition_perf"
+ swarming_host: "chromium-swarm.appspot.com"
+ dimensions: "device_os:S"
+ dimensions: "os:Debian"
+ dimensions: "pool:luci.flutter.staging"
+ exe {
+ cipd_package: "flutter/recipe_bundles/flutter.googlesource.com/recipes"
+ cipd_version: "refs/heads/main"
+ cmd: "luciexe"
+ }
+ properties:
+ '{'
+ ' "$fuchsia/goma": {'
+ ' "server": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog"'
+ ' },'
+ ' "$kitchen": {'
+ ' "emulate_gce": true'
+ ' },'
+ ' "$recipe_engine/isolated": {'
+ ' "server": "https://isolateserver.appspot.com"'
+ ' },'
+ ' "$recipe_engine/swarming": {'
+ ' "server": "https://chromium-swarm.appspot.com"'
+ ' },'
+ ' "clobber": false,'
+ ' "dependencies": ['
+ ' {'
+ ' "dependency": "android_sdk",'
+ ' "version": "version:31v8"'
+ ' },'
+ ' {'
+ ' "dependency": "chrome_and_driver"'
+ ' },'
+ ' {'
+ ' "dependency": "open_jdk",'
+ ' "version": "11"'
+ ' },'
+ ' {'
+ ' "dependency": "curl"'
+ ' }'
+ ' ],'
+ ' "git_branch": "master",'
+ ' "gold_tryjob": false,'
+ ' "goma_jobs": "200",'
+ ' "mastername": "client.flutter",'
+ ' "recipe": "devicelab/devicelab_drone",'
+ ' "tags": ['
+ ' "devicelab",'
+ ' "android",'
+ ' "linux",'
+ ' "Samsung",'
+ ' "a02"'
+ ' ],'
+ ' "task_name": "new_gallery__transition_perf",'
+ ' "upload_metrics": true,'
+ ' "upload_packages": true,'
+ ' "use_cas": true'
+ '}'
+ execution_timeout_secs: 3600
+ expiration_secs: 43200
+ caches {
+ name: "android_sdk"
+ path: "android"
+ }
+ caches {
+ name: "builder_linux_devicelab_staging"
+ path: "builder"
+ }
+ caches {
+ name: "chrome_and_driver"
+ path: "chrome"
+ }
+ caches {
+ name: "flutter_sdk"
+ path: "flutter sdk"
+ }
+ caches {
+ name: "openjdk"
+ path: "java"
+ }
+ caches {
+ name: "pub_cache"
+ path: ".pub-cache"
+ }
+ build_numbers: YES
+ service_account: "flutter-staging-builder@chops-service-accounts.iam.gserviceaccount.com"
+ task_template_canary_percentage {}
+ experiments {
+ key: "luci.buildbucket.agent.cipd_installation"
+ value: 0
+ }
+ experiments {
+ key: "luci.recipes.use_python3"
+ value: 100
+ }
+ }
+ builders {
+ name: "Linux_samsung_a02_staging opacity_peephole_one_rect_perf__e2e_summary"
+ swarming_host: "chromium-swarm.appspot.com"
+ dimensions: "device_os:S"
+ dimensions: "os:Debian"
+ dimensions: "pool:luci.flutter.staging"
+ exe {
+ cipd_package: "flutter/recipe_bundles/flutter.googlesource.com/recipes"
+ cipd_version: "refs/heads/main"
+ cmd: "luciexe"
+ }
+ properties:
+ '{'
+ ' "$fuchsia/goma": {'
+ ' "server": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog"'
+ ' },'
+ ' "$kitchen": {'
+ ' "emulate_gce": true'
+ ' },'
+ ' "$recipe_engine/isolated": {'
+ ' "server": "https://isolateserver.appspot.com"'
+ ' },'
+ ' "$recipe_engine/swarming": {'
+ ' "server": "https://chromium-swarm.appspot.com"'
+ ' },'
+ ' "clobber": false,'
+ ' "dependencies": ['
+ ' {'
+ ' "dependency": "android_sdk",'
+ ' "version": "version:31v8"'
+ ' },'
+ ' {'
+ ' "dependency": "chrome_and_driver"'
+ ' },'
+ ' {'
+ ' "dependency": "open_jdk",'
+ ' "version": "11"'
+ ' },'
+ ' {'
+ ' "dependency": "curl"'
+ ' }'
+ ' ],'
+ ' "git_branch": "master",'
+ ' "gold_tryjob": false,'
+ ' "goma_jobs": "200",'
+ ' "mastername": "client.flutter",'
+ ' "recipe": "devicelab/devicelab_drone",'
+ ' "tags": ['
+ ' "devicelab",'
+ ' "android",'
+ ' "linux",'
+ ' "Samsung",'
+ ' "a02"'
+ ' ],'
+ ' "task_name": "opacity_peephole_one_rect_perf__e2e_summary",'
+ ' "upload_metrics": true,'
+ ' "upload_packages": true,'
+ ' "use_cas": true'
+ '}'
+ execution_timeout_secs: 3600
+ expiration_secs: 43200
+ caches {
+ name: "android_sdk"
+ path: "android"
+ }
+ caches {
+ name: "builder_linux_devicelab_staging"
+ path: "builder"
+ }
+ caches {
+ name: "chrome_and_driver"
+ path: "chrome"
+ }
+ caches {
+ name: "flutter_sdk"
+ path: "flutter sdk"
+ }
+ caches {
+ name: "openjdk"
+ path: "java"
+ }
+ caches {
+ name: "pub_cache"
+ path: ".pub-cache"
+ }
+ build_numbers: YES
+ service_account: "flutter-staging-builder@chops-service-accounts.iam.gserviceaccount.com"
+ task_template_canary_percentage {}
+ experiments {
+ key: "luci.buildbucket.agent.cipd_installation"
+ value: 0
+ }
+ experiments {
+ key: "luci.recipes.use_python3"
+ value: 100
+ }
+ }
+ builders {
name: "Linux_samsung_s10 backdrop_filter_perf__timeline_summary"
swarming_host: "chromium-swarm.appspot.com"
dimensions: "device_os:R"
diff --git a/config/generated/flutter/luci/luci-milo.cfg b/config/generated/flutter/luci/luci-milo.cfg
index add8a8f..f4f848d 100644
--- a/config/generated/flutter/luci/luci-milo.cfg
+++ b/config/generated/flutter/luci/luci-milo.cfg
@@ -408,6 +408,31 @@
short_name: "m"
}
builders {
+ name: "buildbucket/luci.flutter.staging/Linux_samsung_a02_staging flutter_gallery__transition_perf"
+ category: "Linux_samsung_a02"
+ short_name: "fgtp"
+ }
+ builders {
+ name: "buildbucket/luci.flutter.staging/Linux_samsung_a02_staging new_gallery__crane_perf"
+ category: "Linux_samsung_a02"
+ short_name: "ngcp"
+ }
+ builders {
+ name: "buildbucket/luci.flutter.staging/Linux_samsung_a02_staging new_gallery__transition_perf"
+ category: "Linux_samsung_a02"
+ short_name: "ngtp"
+ }
+ builders {
+ name: "buildbucket/luci.flutter.staging/Linux_samsung_a02_staging complex_layout_scroll_perf__timeline_summary"
+ category: "Linux_samsung_a02"
+ short_name: "clspt"
+ }
+ builders {
+ name: "buildbucket/luci.flutter.staging/Linux_samsung_a02_staging opacity_peephole_one_rect_perf__e2e_summary"
+ category: "Linux_samsung_a02"
+ short_name: "oporp"
+ }
+ builders {
name: "buildbucket/luci.flutter.staging/Linux_staging analyze"
category: "Linux"
short_name: "a"
diff --git a/config/generated/flutter/luci/luci-scheduler.cfg b/config/generated/flutter/luci/luci-scheduler.cfg
index 788019b..a2448ce 100644
--- a/config/generated/flutter/luci/luci-scheduler.cfg
+++ b/config/generated/flutter/luci/luci-scheduler.cfg
@@ -5877,6 +5877,81 @@
}
}
job {
+ id: "Linux_samsung_a02_staging complex_layout_scroll_perf__timeline_summary"
+ realm: "staging"
+ acl_sets: "staging"
+ triggering_policy {
+ kind: GREEDY_BATCHING
+ max_concurrent_invocations: 1
+ max_batch_size: 20
+ }
+ buildbucket {
+ server: "cr-buildbucket.appspot.com"
+ bucket: "staging"
+ builder: "Linux_samsung_a02_staging complex_layout_scroll_perf__timeline_summary"
+ }
+}
+job {
+ id: "Linux_samsung_a02_staging flutter_gallery__transition_perf"
+ realm: "staging"
+ acl_sets: "staging"
+ triggering_policy {
+ kind: GREEDY_BATCHING
+ max_concurrent_invocations: 1
+ max_batch_size: 20
+ }
+ buildbucket {
+ server: "cr-buildbucket.appspot.com"
+ bucket: "staging"
+ builder: "Linux_samsung_a02_staging flutter_gallery__transition_perf"
+ }
+}
+job {
+ id: "Linux_samsung_a02_staging new_gallery__crane_perf"
+ realm: "staging"
+ acl_sets: "staging"
+ triggering_policy {
+ kind: GREEDY_BATCHING
+ max_concurrent_invocations: 1
+ max_batch_size: 20
+ }
+ buildbucket {
+ server: "cr-buildbucket.appspot.com"
+ bucket: "staging"
+ builder: "Linux_samsung_a02_staging new_gallery__crane_perf"
+ }
+}
+job {
+ id: "Linux_samsung_a02_staging new_gallery__transition_perf"
+ realm: "staging"
+ acl_sets: "staging"
+ triggering_policy {
+ kind: GREEDY_BATCHING
+ max_concurrent_invocations: 1
+ max_batch_size: 20
+ }
+ buildbucket {
+ server: "cr-buildbucket.appspot.com"
+ bucket: "staging"
+ builder: "Linux_samsung_a02_staging new_gallery__transition_perf"
+ }
+}
+job {
+ id: "Linux_samsung_a02_staging opacity_peephole_one_rect_perf__e2e_summary"
+ realm: "staging"
+ acl_sets: "staging"
+ triggering_policy {
+ kind: GREEDY_BATCHING
+ max_concurrent_invocations: 1
+ max_batch_size: 20
+ }
+ buildbucket {
+ server: "cr-buildbucket.appspot.com"
+ bucket: "staging"
+ builder: "Linux_samsung_a02_staging opacity_peephole_one_rect_perf__e2e_summary"
+ }
+}
+job {
id: "Linux_samsung_s10 backdrop_filter_perf__timeline_summary"
realm: "prod"
acl_sets: "prod"
@@ -13815,6 +13890,11 @@
triggers: "Linux_android flutter_gallery_sksl_warmup__transition_perf_e2e"
triggers: "Linux_android_staging android_obfuscate_test"
triggers: "Linux_android_staging microbenchmarks"
+ triggers: "Linux_samsung_a02_staging complex_layout_scroll_perf__timeline_summary"
+ triggers: "Linux_samsung_a02_staging flutter_gallery__transition_perf"
+ triggers: "Linux_samsung_a02_staging new_gallery__crane_perf"
+ triggers: "Linux_samsung_a02_staging new_gallery__transition_perf"
+ triggers: "Linux_samsung_a02_staging opacity_peephole_one_rect_perf__e2e_summary"
triggers: "Linux_staging analyze"
triggers: "Linux_staging build_tests_1_2"
triggers: "Linux_staging build_tests_2_2"