Commit a40a5526 authored by Ben Pastene's avatar Ben Pastene Committed by Commit Bot

Remove all unittest suites from betty-pi-arc bot.

betty-pi-arc should be identical to betty, but with a newer version of
android. Since basic gtest unittest suites shouldn't interact with that
level of the system, running them on both the vanilla betty and betty-pi-arc
bots is redundant.

Also rename & refactor several chromeos suites in test_suites.pyl to make
things clearer.

Bug: 1000513
Change-Id: I7755323689bb85f11174132267927c46e4885a42
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1867207Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
Commit-Queue: Ben Pastene <bpastene@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707138}
parent 2312f55d
This diff is collapsed.
...@@ -371,6 +371,15 @@ ...@@ -371,6 +371,15 @@
'chromedriver_replay_unittests': {}, 'chromedriver_replay_unittests': {},
}, },
'chromeos_browser_integration_tests': {
'chrome_all_tast_tests': {
'swarming': {
'idempotent': False, # https://crbug.com/923426#c27
},
},
'cros_browser_sanity_test': {},
},
'chromeos_device_all_chrome_tast_tests_informational': { 'chromeos_device_all_chrome_tast_tests_informational': {
'chrome_all_tast_tests_informational': { 'chrome_all_tast_tests_informational': {
'swarming': { 'swarming': {
...@@ -387,11 +396,78 @@ ...@@ -387,11 +396,78 @@
}, },
}, },
# Tests that run in Chrome OS VMs. # GTests to run on Chrome OS devices, but not Chrome OS VMs. Any differences
# between this and chromeos_system_friendly_gtests below should only be due
# to resource constraints (ie: not enough devices).
'chromeos_device_only_gtests': {
'base_unittests': {
'args': [
'--test-launcher-filter-file=../../testing/buildbot/filters/chromeos.base_unittests.filter',
],
},
},
'chromeos_isolated_scripts': {
'telemetry_perf_unittests': {
'args': [
'--browser=cros-chrome',
# By default, CrOS VMs' ssh servers listen on local port 9222.
'--remote=127.0.0.1',
'--remote-ssh-port=9222',
'--xvfb'
],
'swarming': {
'idempotent': False, # https://crbug.com/549140
'shards': 6,
},
},
'telemetry_unittests': {
'args': [
'--jobs=1',
'--browser=cros-chrome',
# By default, CrOS VMs' ssh servers listen on local port 9222.
'--remote=127.0.0.1',
'--remote-ssh-port=9222',
],
'swarming': {
'idempotent': False, # https://crbug.com/549140
'shards': 24,
},
},
},
'chromeos_remote_device_isolated_tests': {
'telemetry_perf_unittests': {
'args': [
'--browser=cros-chrome',
# The magic hostname that resolves to a CrOS device in the test lab.
'--remote=variable_chromeos_device_hostname',
'--xvfb',
],
'swarming': {
'idempotent': False, # https://crbug.com/549140
},
},
'telemetry_unittests': {
'args': [
'--browser=cros-chrome',
# The magic hostname that resolves to a CrOS device in the test lab.
'--remote=variable_chromeos_device_hostname',
'--jobs=1',
],
'swarming': {
'idempotent': False, # https://crbug.com/549140
'shards': 10,
},
},
},
# Tests that run on Chrome OS systems (ie: VMs, Chromebooks), *not*
# linux-chromeos.
# NOTE: We only want a small subset of test suites here, because most # NOTE: We only want a small subset of test suites here, because most
# suites assume that they stub out the underlying device hardware. # suites assume that they stub out the underlying device hardware.
# https://crbug.com/865693 # https://crbug.com/865693
'chromeos_device_friendly_gtests': { 'chromeos_system_friendly_gtests': {
'aura_unittests': { 'aura_unittests': {
'args': [ 'args': [
'--ozone-platform=headless', '--ozone-platform=headless',
...@@ -408,13 +484,7 @@ ...@@ -408,13 +484,7 @@
], ],
}, },
'cc_unittests': {}, 'cc_unittests': {},
'chrome_all_tast_tests': {
'swarming': {
'idempotent': False, # https://crbug.com/923426#c27
},
},
'color_unittests': {}, 'color_unittests': {},
'cros_browser_sanity_test': {},
'crypto_unittests': {}, 'crypto_unittests': {},
'display_unittests': {}, 'display_unittests': {},
'google_apis_unittests': {}, 'google_apis_unittests': {},
...@@ -467,7 +537,7 @@ ...@@ -467,7 +537,7 @@
'url_unittests': {}, 'url_unittests': {},
}, },
'chromeos_device_friendly_gtests_experimental': { 'chromeos_system_friendly_gtests_experimental': {
'chrome_all_tast_tests_informational': { 'chrome_all_tast_tests_informational': {
'swarming': { 'swarming': {
'idempotent': False, # https://crbug.com/923426#c27 'idempotent': False, # https://crbug.com/923426#c27
...@@ -496,75 +566,6 @@ ...@@ -496,75 +566,6 @@
}, },
}, },
'chromeos_device_tests': {
'base_unittests': {
'args': [
'--test-launcher-filter-file=../../testing/buildbot/filters/chromeos.base_unittests.filter',
],
},
'chrome_all_tast_tests': {
'swarming': {
'idempotent': False, # https://crbug.com/923426#c27
},
},
'cros_browser_sanity_test': {},
},
'chromeos_isolated_scripts': {
'telemetry_perf_unittests': {
'args': [
'--browser=cros-chrome',
# By default, CrOS VMs' ssh servers listen on local port 9222.
'--remote=127.0.0.1',
'--remote-ssh-port=9222',
'--xvfb'
],
'swarming': {
'idempotent': False, # https://crbug.com/549140
'shards': 6,
},
},
'telemetry_unittests': {
'args': [
'--jobs=1',
'--browser=cros-chrome',
# By default, CrOS VMs' ssh servers listen on local port 9222.
'--remote=127.0.0.1',
'--remote-ssh-port=9222',
],
'swarming': {
'idempotent': False, # https://crbug.com/549140
'shards': 24,
},
},
},
'chromeos_remote_device_isolated_tests': {
'telemetry_perf_unittests': {
'args': [
'--browser=cros-chrome',
# The magic hostname that resolves to a CrOS device in the test lab.
'--remote=variable_chromeos_device_hostname',
'--xvfb',
],
'swarming': {
'idempotent': False, # https://crbug.com/549140
},
},
'telemetry_unittests': {
'args': [
'--browser=cros-chrome',
# The magic hostname that resolves to a CrOS device in the test lab.
'--remote=variable_chromeos_device_hostname',
'--jobs=1',
],
'swarming': {
'idempotent': False, # https://crbug.com/549140
'shards': 10,
},
},
},
'chromium_android_asan_gtests': { 'chromium_android_asan_gtests': {
# TODO(kbr): reduce duplication among these tests, and with other # TODO(kbr): reduce duplication among these tests, and with other
# test suites. # test suites.
...@@ -5301,6 +5302,16 @@ ...@@ -5301,6 +5302,16 @@
'bfcache_linux_specific_gtests', 'bfcache_linux_specific_gtests',
], ],
'chromeos_device_gtests': [
'chromeos_browser_integration_tests',
'chromeos_device_only_gtests',
],
'chromeos_vm_gtests': [
'chromeos_browser_integration_tests',
'chromeos_system_friendly_gtests',
],
'chromium_android_gtests': [ 'chromium_android_gtests': [
'android_smoke_tests', 'android_smoke_tests',
'android_specific_chromium_gtests', # Already includes gl_gtests. 'android_specific_chromium_gtests', # Already includes gl_gtests.
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
'chromiumos_preflight', 'chromiumos_preflight',
], ],
'test_suites': { 'test_suites': {
'gtest_tests': 'chromeos_device_friendly_gtests', 'gtest_tests': 'chromeos_vm_gtests',
'isolated_scripts': 'chromeos_isolated_scripts', 'isolated_scripts': 'chromeos_isolated_scripts',
}, },
'swarming': { 'swarming': {
...@@ -40,8 +40,7 @@ ...@@ -40,8 +40,7 @@
'chromiumos_preflight', 'chromiumos_preflight',
], ],
'test_suites': { 'test_suites': {
'gtest_tests': 'chromeos_device_friendly_gtests', 'gtest_tests': 'chromeos_browser_integration_tests',
'isolated_scripts': 'chromeos_isolated_scripts',
}, },
'swarming': { 'swarming': {
'dimension_sets': [ 'dimension_sets': [
...@@ -58,7 +57,7 @@ ...@@ -58,7 +57,7 @@
'chromiumos_preflight', 'chromiumos_preflight',
], ],
'test_suites': { 'test_suites': {
'gtest_tests': 'chromeos_device_tests', 'gtest_tests': 'chromeos_device_gtests',
}, },
'swarming': { 'swarming': {
'dimension_sets': [ 'dimension_sets': [
...@@ -76,7 +75,7 @@ ...@@ -76,7 +75,7 @@
'chromiumos_preflight', 'chromiumos_preflight',
], ],
'test_suites': { 'test_suites': {
'gtest_tests': 'chromeos_device_tests', 'gtest_tests': 'chromeos_device_gtests',
}, },
'swarming': { 'swarming': {
'dimension_sets': [ 'dimension_sets': [
...@@ -762,7 +761,7 @@ ...@@ -762,7 +761,7 @@
'os_type': 'chromeos', 'os_type': 'chromeos',
'test_suites': { 'test_suites': {
'gpu_telemetry_tests': 'gpu_chromeos_telemetry_tests', 'gpu_telemetry_tests': 'gpu_chromeos_telemetry_tests',
'gtest_tests': 'chromeos_device_friendly_gtests', 'gtest_tests': 'chromeos_vm_gtests',
'isolated_scripts': 'chromeos_isolated_scripts', 'isolated_scripts': 'chromeos_isolated_scripts',
}, },
'swarming': { 'swarming': {
...@@ -801,7 +800,7 @@ ...@@ -801,7 +800,7 @@
], ],
}, },
'test_suites': { 'test_suites': {
'gtest_tests': 'chromeos_device_tests', 'gtest_tests': 'chromeos_device_gtests',
'isolated_scripts': 'chromeos_remote_device_isolated_tests', 'isolated_scripts': 'chromeos_remote_device_isolated_tests',
}, },
'os_type': 'chromeos', 'os_type': 'chromeos',
...@@ -1676,7 +1675,7 @@ ...@@ -1676,7 +1675,7 @@
'chromiumos_preflight', 'chromiumos_preflight',
], ],
'test_suites': { 'test_suites': {
'gtest_tests': 'chromeos_device_friendly_gtests_experimental', 'gtest_tests': 'chromeos_system_friendly_gtests_experimental',
}, },
'swarming': { 'swarming': {
'dimension_sets': [ 'dimension_sets': [
...@@ -1717,7 +1716,7 @@ ...@@ -1717,7 +1716,7 @@
'code-coverage', 'code-coverage',
], ],
'test_suites': { 'test_suites': {
'gtest_tests': 'chromeos_device_friendly_gtests', 'gtest_tests': 'chromeos_vm_gtests',
}, },
'swarming': { 'swarming': {
'dimension_sets': [ 'dimension_sets': [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment