Specify the Android build number as a swarming dimension

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2403103002

Review-Url: https://codereview.chromium.org/2403103002
This commit is contained in:
borenet 2016-10-10 10:17:49 -07:00 committed by Commit bot
parent dcfe6dba4a
commit e178818894
4 changed files with 23 additions and 14 deletions

View File

@ -639,6 +639,9 @@
"--hard-timeout",
"14400",
"--dimension",
"device_os",
"MOB30Q",
"--dimension",
"device_type",
"sprout",
"--dimension",

View File

@ -627,6 +627,9 @@
"--hard-timeout",
"14400",
"--dimension",
"device_os",
"MRA58K",
"--dimension",
"device_type",
"foster",
"--dimension",

View File

@ -627,6 +627,9 @@
"--hard-timeout",
"14400",
"--dimension",
"device_os",
"M",
"--dimension",
"device_type",
"flo",
"--dimension",

View File

@ -119,21 +119,21 @@ def swarm_dimensions(builder_cfg):
if builder_cfg['role'] in ('Test', 'Perf'):
if 'Android' in builder_cfg['os']:
# For Android, the device type is a better dimension than CPU or GPU.
dimensions['device_type'] = {
'AndroidOne': 'sprout',
'GalaxyS3': 'm0', #'smdk4x12', Detected incorrectly by swarming?
'GalaxyS4': None, # TODO(borenet,kjlubick)
'GalaxyS7': 'heroqlteatt',
'NVIDIA_Shield': 'foster',
'Nexus10': 'manta',
'Nexus5': 'hammerhead',
'Nexus6': 'shamu',
'Nexus6p': 'angler',
'Nexus7': 'grouper',
'Nexus7v2': 'flo',
'Nexus9': 'flounder',
'NexusPlayer': 'fugu',
device_type, device_os = {
'AndroidOne': ('sprout', 'MOB30Q'),
'GalaxyS7': ('heroqlteatt','MMB29M'),
'NVIDIA_Shield': ('foster', 'MRA58K'),
'Nexus10': ('manta', 'LMY49J'),
'Nexus5': ('hammerhead', 'MOB31E'),
'Nexus6': ('shamu', 'M'),
'Nexus6p': ('angler', 'NRD91E'),
'Nexus7': ('grouper', 'LMY47V'),
'Nexus7v2': ('flo', 'M'),
'Nexus9': ('flounder', 'NRD91D'),
'NexusPlayer': ('fugu', 'NRD90R'),
}[builder_cfg['model']]
dimensions['device_type'] = device_type
dimensions['device_os'] = device_os
elif 'iOS' in builder_cfg['os']:
# For iOS, the device type is a better dimension than CPU or GPU.
dimensions['device'] = {