borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 1 | # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | |
| 6 | # Recipe module for Skia Swarming test. |
| 7 | |
| 8 | |
| 9 | DEPS = [ |
Eric Boren | 896af75 | 2017-04-24 13:22:56 -0400 | [diff] [blame] | 10 | 'env', |
| 11 | 'flavor', |
Robert Iannucci | 297a7ef | 2017-05-12 19:09:38 -0700 | [diff] [blame] | 12 | 'recipe_engine/context', |
Robert Iannucci | 8cd5041 | 2017-07-07 14:36:58 -0700 | [diff] [blame] | 13 | 'recipe_engine/file', |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 14 | 'recipe_engine/path', |
| 15 | 'recipe_engine/platform', |
| 16 | 'recipe_engine/properties', |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 17 | 'recipe_engine/python', |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 18 | 'recipe_engine/raw_io', |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 19 | 'recipe_engine/step', |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 20 | 'run', |
| 21 | 'vars', |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 22 | ] |
| 23 | |
| 24 | |
Eric Boren | 72f6668 | 2018-05-18 07:36:55 -0400 | [diff] [blame] | 25 | def upload_dm_results(buildername): |
| 26 | skip_upload_bots = [ |
| 27 | 'ASAN', |
| 28 | 'Coverage', |
| 29 | 'MSAN', |
| 30 | 'TSAN', |
| 31 | 'UBSAN', |
| 32 | 'Valgrind', |
| 33 | ] |
| 34 | for s in skip_upload_bots: |
| 35 | if s in buildername: |
| 36 | return False |
| 37 | return True |
| 38 | |
| 39 | |
Eric Boren | 89cd357 | 2017-06-28 13:50:22 -0400 | [diff] [blame] | 40 | def dm_flags(api, bot): |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 41 | args = [] |
Brian Osman | f981066 | 2017-08-30 10:02:10 -0400 | [diff] [blame] | 42 | configs = [] |
| 43 | blacklisted = [] |
| 44 | |
| 45 | def blacklist(quad): |
Eric Boren | cd0a98c | 2018-06-20 13:23:16 -0400 | [diff] [blame] | 46 | config, src, options, name = ( |
| 47 | quad.split(' ') if isinstance(quad, str) else quad) |
Brian Osman | f981066 | 2017-08-30 10:02:10 -0400 | [diff] [blame] | 48 | if (config == '_' or |
| 49 | config in configs or |
| 50 | (config[0] == '~' and config[1:] in configs)): |
| 51 | blacklisted.extend([config, src, options, name]) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 52 | |
Mike Klein | 97d6a7a | 2017-07-24 10:37:19 -0400 | [diff] [blame] | 53 | # We've been spending lots of time writing out and especially uploading |
| 54 | # .pdfs, but not doing anything further with them. skia:6821 |
| 55 | args.extend(['--dont_write', 'pdf']) |
| 56 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 57 | # This enables non-deterministic random seeding of the GPU FP optimization |
Brian Osman | 7a34dca | 2017-04-13 13:40:29 -0400 | [diff] [blame] | 58 | # test. |
Ben Wagner | 6da8f79 | 2017-08-10 12:22:56 -0400 | [diff] [blame] | 59 | # Not Android due to: |
Ben Wagner | 11ab43c | 2017-08-09 18:05:59 -0400 | [diff] [blame] | 60 | # - https://skia.googlesource.com/skia/+/ |
| 61 | # 5910ed347a638ded8cd4c06dbfda086695df1112/BUILD.gn#160 |
| 62 | # - https://skia.googlesource.com/skia/+/ |
| 63 | # ce06e261e68848ae21cac1052abc16bc07b961bf/tests/ProcessorTest.cpp#307 |
Ben Wagner | 6da8f79 | 2017-08-10 12:22:56 -0400 | [diff] [blame] | 64 | # Not MSAN due to: |
| 65 | # - https://skia.googlesource.com/skia/+/ |
| 66 | # 0ac06e47269a40c177747310a613d213c95d1d6d/infra/bots/recipe_modules/ |
| 67 | # flavor/gn_flavor.py#80 |
| 68 | if 'Android' not in bot and 'MSAN' not in bot: |
Ben Wagner | 11ab43c | 2017-08-09 18:05:59 -0400 | [diff] [blame] | 69 | args.append('--randomProcessorTest') |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 70 | |
Robert Phillips | cd5d146 | 2019-05-01 18:25:52 -0400 | [diff] [blame] | 71 | if 'Pixel3' in bot and 'Vulkan' in bot: |
Greg Daniel | f41b2bd | 2019-08-22 16:19:24 -0400 | [diff] [blame] | 72 | args.extend(['--dontReduceOpsTaskSplitting']) |
Robert Phillips | cd5d146 | 2019-05-01 18:25:52 -0400 | [diff] [blame] | 73 | |
Mike Klein | 1cab6b7 | 2019-03-18 10:10:37 -0500 | [diff] [blame] | 74 | thread_limit = None |
| 75 | MAIN_THREAD_ONLY = 0 |
| 76 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 77 | # 32-bit desktop bots tend to run out of memory, because they have relatively |
| 78 | # far more cores than RAM (e.g. 32 cores, 3G RAM). Hold them back a bit. |
Mike Klein | 1cab6b7 | 2019-03-18 10:10:37 -0500 | [diff] [blame] | 79 | if '-x86-' in bot: |
| 80 | thread_limit = 4 |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 81 | |
Mike Klein | 1cab6b7 | 2019-03-18 10:10:37 -0500 | [diff] [blame] | 82 | # These bots run out of memory easily. |
Mike Klein | 1a5235e | 2019-03-19 09:49:57 -0500 | [diff] [blame] | 83 | if 'Chromecast' in bot or 'MotoG4' in bot or 'Nexus7' in bot: |
Mike Klein | 1cab6b7 | 2019-03-18 10:10:37 -0500 | [diff] [blame] | 84 | thread_limit = MAIN_THREAD_ONLY |
Kevin Lubick | 2dafbd7 | 2017-08-31 10:39:05 -0400 | [diff] [blame] | 85 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 86 | # Avoid issues with dynamically exceeding resource cache limits. |
| 87 | if 'Test' in bot and 'DISCARDABLE' in bot: |
Mike Klein | 1cab6b7 | 2019-03-18 10:10:37 -0500 | [diff] [blame] | 88 | thread_limit = MAIN_THREAD_ONLY |
Mike Klein | df66981 | 2017-06-23 13:30:17 -0400 | [diff] [blame] | 89 | |
Mike Klein | 1cab6b7 | 2019-03-18 10:10:37 -0500 | [diff] [blame] | 90 | if thread_limit is not None: |
| 91 | args.extend(['--threads', str(thread_limit)]) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 92 | |
Derek Sollenberger | edfe3df | 2017-07-19 15:25:24 -0400 | [diff] [blame] | 93 | # Android's kernel will occasionally attempt to kill our process, using |
| 94 | # SIGINT, in an effort to free up resources. If requested, that signal |
| 95 | # is ignored and dm will keep attempting to proceed until we actually |
| 96 | # exhaust the available resources. |
Brian Osman | 2d170c3 | 2019-06-11 12:38:55 -0400 | [diff] [blame] | 97 | if 'Chromecast' in bot: |
Derek Sollenberger | edfe3df | 2017-07-19 15:25:24 -0400 | [diff] [blame] | 98 | args.append('--ignoreSigInt') |
| 99 | |
Ben Wagner | 122b385 | 2018-04-20 13:43:23 -0400 | [diff] [blame] | 100 | if 'SwiftShader' in api.vars.extra_tokens: |
| 101 | configs.extend(['gles', 'glesdft']) |
| 102 | args.append('--disableDriverCorrectnessWorkarounds') |
| 103 | |
| 104 | elif api.vars.builder_cfg.get('cpu_or_gpu') == 'CPU': |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 105 | args.append('--nogpu') |
| 106 | |
Mike Klein | c24e0c1 | 2018-08-17 13:24:51 -0400 | [diff] [blame] | 107 | configs.append('8888') |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 108 | |
Mike Klein | 7adfd2f | 2018-08-21 13:42:53 +0000 | [diff] [blame] | 109 | if 'BonusConfigs' in bot or ('SAN' in bot and 'GCE' in bot): |
Mike Klein | c24e0c1 | 2018-08-17 13:24:51 -0400 | [diff] [blame] | 110 | configs.extend([ |
| 111 | 'pdf', |
| 112 | 'g8', '565', |
Mike Reed | 2319b80 | 2019-11-15 10:39:50 -0500 | [diff] [blame] | 113 | 'pic-8888', 'serialize-8888', |
Mike Klein | c24e0c1 | 2018-08-17 13:24:51 -0400 | [diff] [blame] | 114 | 'f16', 'srgb', 'esrgb', 'narrow', 'enarrow', |
| 115 | 'p3', 'ep3', 'rec2020', 'erec2020']) |
Eric Boren | 9f4efd3 | 2018-07-20 08:25:42 -0400 | [diff] [blame] | 116 | |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 117 | elif api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU': |
| 118 | args.append('--nocpu') |
| 119 | |
| 120 | # Add in either gles or gl configs to the canonical set based on OS |
| 121 | sample_count = '8' |
| 122 | gl_prefix = 'gl' |
| 123 | if 'Android' in bot or 'iOS' in bot: |
| 124 | sample_count = '4' |
| 125 | # We want to test the OpenGL config not the GLES config on the Shield |
| 126 | if 'NVIDIA_Shield' not in bot: |
| 127 | gl_prefix = 'gles' |
Chris Dalton | 6e38ce7 | 2019-10-23 11:14:49 -0600 | [diff] [blame] | 128 | # MSAA is disabled on Pixel3a (https://b.corp.google.com/issues/143074513). |
| 129 | if ('Pixel3a' in bot): |
| 130 | sample_count = '' |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 131 | elif 'Intel' in bot: |
Brian Osman | b5391bf | 2019-08-15 14:52:52 -0400 | [diff] [blame] | 132 | # MSAA doesn't work well on Intel GPUs chromium:527565, chromium:983926 |
| 133 | sample_count = '' |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 134 | elif 'ChromeOS' in bot: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 135 | gl_prefix = 'gles' |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 136 | |
Jim Van Verth | 1b6c75c | 2018-02-16 09:49:08 -0500 | [diff] [blame] | 137 | if 'NativeFonts' in bot: |
| 138 | configs.append(gl_prefix) |
| 139 | else: |
Brian Osman | a66f4da | 2018-06-28 17:52:02 +0000 | [diff] [blame] | 140 | configs.extend([gl_prefix, |
| 141 | gl_prefix + 'dft', |
| 142 | gl_prefix + 'srgb']) |
Raul Tambre | 0362dc2 | 2019-05-07 16:42:32 +0300 | [diff] [blame] | 143 | if sample_count: |
Jim Van Verth | 240516f | 2018-02-15 09:55:24 -0500 | [diff] [blame] | 144 | configs.append(gl_prefix + 'msaa' + sample_count) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 145 | |
Brian Osman | 2d170c3 | 2019-06-11 12:38:55 -0400 | [diff] [blame] | 146 | # The Tegra3 doesn't support MSAA |
| 147 | if ('Tegra3' in bot or |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 148 | # We aren't interested in fixing msaa bugs on current iOS devices. |
| 149 | 'iPad4' in bot or |
| 150 | 'iPadPro' in bot or |
| 151 | 'iPhone6' in bot or |
| 152 | 'iPhone7' in bot or |
| 153 | # skia:5792 |
| 154 | 'IntelHD530' in bot or |
| 155 | 'IntelIris540' in bot): |
| 156 | configs = [x for x in configs if 'msaa' not in x] |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 157 | |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 158 | # We want to test both the OpenGL config and the GLES config on Linux Intel: |
| 159 | # GL is used by Chrome, GLES is used by ChromeOS. |
Brian Osman | f981066 | 2017-08-30 10:02:10 -0400 | [diff] [blame] | 160 | # Also do the Ganesh threading verification test (render with and without |
| 161 | # worker threads, using only the SW path renderer, and compare the results). |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 162 | if 'Intel' in bot and api.vars.is_linux: |
Brian Osman | a66f4da | 2018-06-28 17:52:02 +0000 | [diff] [blame] | 163 | configs.extend(['gles', |
| 164 | 'glesdft', |
| 165 | 'glessrgb', |
| 166 | 'gltestthreading']) |
Brian Osman | f981066 | 2017-08-30 10:02:10 -0400 | [diff] [blame] | 167 | # skbug.com/6333, skbug.com/6419, skbug.com/6702 |
| 168 | blacklist('gltestthreading gm _ lcdblendmodes') |
| 169 | blacklist('gltestthreading gm _ lcdoverlap') |
Brian Osman | bef21ba | 2017-08-31 13:49:05 -0400 | [diff] [blame] | 170 | blacklist('gltestthreading gm _ textbloblooper') |
Brian Osman | 1e75f2a | 2017-09-07 09:30:44 -0400 | [diff] [blame] | 171 | # All of these GMs are flaky, too: |
| 172 | blacklist('gltestthreading gm _ bleed_alpha_bmp') |
| 173 | blacklist('gltestthreading gm _ bleed_alpha_bmp_shader') |
| 174 | blacklist('gltestthreading gm _ bleed_alpha_image') |
| 175 | blacklist('gltestthreading gm _ bleed_alpha_image_shader') |
| 176 | blacklist('gltestthreading gm _ savelayer_with_backdrop') |
| 177 | blacklist('gltestthreading gm _ persp_shaders_bw') |
Brian Salomon | 5c6ac64 | 2017-12-19 11:09:32 -0500 | [diff] [blame] | 178 | blacklist('gltestthreading gm _ dftext_blob_persp') |
Herb Derby | 2c1d0d7 | 2018-10-18 15:32:59 -0400 | [diff] [blame] | 179 | blacklist('gltestthreading gm _ dftext') |
Robert Phillips | b166469 | 2019-04-04 12:43:45 -0400 | [diff] [blame] | 180 | # skbug.com/7523 - Flaky on various GPUs |
Brian Salomon | 19eaf2d | 2018-03-19 16:06:44 -0400 | [diff] [blame] | 181 | blacklist('gltestthreading gm _ orientation') |
Robert Phillips | b166469 | 2019-04-04 12:43:45 -0400 | [diff] [blame] | 182 | # These GMs only differ in the low bits |
| 183 | blacklist('gltestthreading gm _ stroketext') |
| 184 | blacklist('gltestthreading gm _ draw_image_set') |
Mike Klein | 97627d4 | 2017-05-11 13:12:48 -0400 | [diff] [blame] | 185 | |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 186 | # CommandBuffer bot *only* runs the command_buffer config. |
| 187 | if 'CommandBuffer' in bot: |
| 188 | configs = ['commandbuffer'] |
| 189 | |
| 190 | # ANGLE bot *only* runs the angle configs |
| 191 | if 'ANGLE' in bot: |
| 192 | configs = ['angle_d3d11_es2', |
| 193 | 'angle_d3d9_es2', |
| 194 | 'angle_gl_es2', |
| 195 | 'angle_d3d11_es3'] |
Raul Tambre | 0362dc2 | 2019-05-07 16:42:32 +0300 | [diff] [blame] | 196 | if sample_count: |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 197 | configs.append('angle_d3d11_es2_msaa' + sample_count) |
| 198 | configs.append('angle_d3d11_es3_msaa' + sample_count) |
Brian Osman | 1b53191 | 2019-07-25 15:55:11 -0400 | [diff] [blame] | 199 | if 'LenovoYogaC630' in bot: |
| 200 | # LenovoYogaC630 only supports D3D11, and to save time, we only test ES3 |
| 201 | configs = ['angle_d3d11_es3', |
| 202 | 'angle_d3d11_es3_msaa' + sample_count] |
Ben Wagner | 7464a26 | 2018-04-19 15:49:18 -0400 | [diff] [blame] | 203 | if 'GTX' in bot or 'Quadro' in bot: |
| 204 | # See skia:7823 and chromium:693090. |
| 205 | configs.append('angle_gl_es3') |
Raul Tambre | 0362dc2 | 2019-05-07 16:42:32 +0300 | [diff] [blame] | 206 | if sample_count: |
Ben Wagner | 7464a26 | 2018-04-19 15:49:18 -0400 | [diff] [blame] | 207 | configs.append('angle_gl_es2_msaa' + sample_count) |
| 208 | configs.append('angle_gl_es3_msaa' + sample_count) |
Ethan Nicholas | 0054311 | 2018-07-31 09:44:36 -0400 | [diff] [blame] | 209 | if 'NUC5i7RYH' in bot: |
| 210 | # skbug.com/7376 |
| 211 | blacklist('_ test _ ProcessorCloneTest') |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 212 | |
Brian Osman | 27966fe | 2019-04-25 11:38:07 -0400 | [diff] [blame] | 213 | if 'AndroidOne' in bot or ('Nexus' in bot and 'Nexus5x' not in bot) or 'GalaxyS6' in bot: |
Brian Osman | 7b40fcc | 2019-04-25 09:58:09 -0400 | [diff] [blame] | 214 | # skbug.com/9019 |
| 215 | blacklist('_ test _ ProcessorCloneTest') |
Jim Van Verth | 5a8f3e4 | 2019-10-24 10:23:26 -0400 | [diff] [blame] | 216 | blacklist('_ test _ Programs') |
Brian Osman | 7b40fcc | 2019-04-25 09:58:09 -0400 | [diff] [blame] | 217 | blacklist('_ test _ ProcessorOptimizationValidationTest') |
| 218 | |
Brian Salomon | b3b98b7 | 2019-07-08 16:29:31 +0000 | [diff] [blame] | 219 | if 'CommandBuffer' in bot and 'MacBook10.1-' in bot: |
| 220 | # skbug.com/9235 |
Jim Van Verth | 5a8f3e4 | 2019-10-24 10:23:26 -0400 | [diff] [blame] | 221 | blacklist('_ test _ Programs') |
Brian Salomon | b3b98b7 | 2019-07-08 16:29:31 +0000 | [diff] [blame] | 222 | |
Robert Phillips | 494aa3d | 2019-04-29 17:10:27 -0400 | [diff] [blame] | 223 | # skbug.com/9033 - these devices run out of memory on this test |
| 224 | # when opList splitting reduction is enabled |
| 225 | if 'GPU' in bot and ('Nexus7' in bot or |
Robert Phillips | 494aa3d | 2019-04-29 17:10:27 -0400 | [diff] [blame] | 226 | 'NVIDIA_Shield' in bot or |
Robert Phillips | 39e5af7 | 2019-05-01 12:54:37 -0400 | [diff] [blame] | 227 | 'Nexus5x' in bot or |
| 228 | ('Win10' in bot and 'GTX660' in bot and 'Vulkan' in bot) or |
| 229 | 'Chorizo' in bot): |
Robert Phillips | 494aa3d | 2019-04-29 17:10:27 -0400 | [diff] [blame] | 230 | blacklist(['_', 'gm', '_', 'savelayer_clipmask']) |
| 231 | |
Brian Salomon | ce2e4aa | 2019-05-23 17:13:11 -0400 | [diff] [blame] | 232 | # skbug.com/9123 |
| 233 | if 'CommandBuffer' in bot and 'IntelIris5100' in bot: |
| 234 | blacklist(['_', 'test', '_', 'AsyncReadPixels']) |
| 235 | |
Robert Phillips | 520f85b | 2019-05-01 14:57:35 -0400 | [diff] [blame] | 236 | # skbug.com/9043 - these devices render this test incorrectly |
| 237 | # when opList splitting reduction is enabled |
Jim Van Verth | 95df613 | 2019-09-24 12:31:57 -0400 | [diff] [blame] | 238 | if 'GPU' in bot and 'Vulkan' in bot and ('RadeonR9M470X' in bot or |
Robert Phillips | 520f85b | 2019-05-01 14:57:35 -0400 | [diff] [blame] | 239 | 'RadeonHD7770' in bot): |
| 240 | blacklist(['_', 'tests', '_', 'VkDrawableImportTest']) |
| 241 | |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 242 | if 'Vulkan' in bot: |
Chris Dalton | aec79e6 | 2018-05-29 12:02:19 -0600 | [diff] [blame] | 243 | configs = ['vk'] |
Brian Osman | 829144c | 2019-07-23 14:45:44 -0400 | [diff] [blame] | 244 | if 'Android' in bot: |
Greg Daniel | d521ce3 | 2019-04-26 09:47:14 -0400 | [diff] [blame] | 245 | configs.append('vkmsaa4') |
| 246 | else: |
Brian Osman | b5391bf | 2019-08-15 14:52:52 -0400 | [diff] [blame] | 247 | # MSAA doesn't work well on Intel GPUs chromium:527565, chromium:983926, skia:9023 |
| 248 | if 'Intel' not in bot: |
Greg Daniel | a30cf84 | 2019-04-26 11:29:22 -0400 | [diff] [blame] | 249 | configs.append('vkmsaa8') |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 250 | |
Greg Daniel | b95d278 | 2018-07-24 11:35:18 -0400 | [diff] [blame] | 251 | if 'Metal' in bot: |
| 252 | configs = ['mtl'] |
Jim Van Verth | 31a9e8d | 2019-07-15 12:27:31 -0400 | [diff] [blame] | 253 | if 'iOS' in bot: |
| 254 | configs.append('mtlmsaa4') |
| 255 | else: |
Brian Osman | b5391bf | 2019-08-15 14:52:52 -0400 | [diff] [blame] | 256 | # MSAA doesn't work well on Intel GPUs chromium:527565, chromium:983926 |
| 257 | if 'Intel' not in bot: |
Brian Osman | 829144c | 2019-07-23 14:45:44 -0400 | [diff] [blame] | 258 | configs.append('mtlmsaa8') |
Greg Daniel | b95d278 | 2018-07-24 11:35:18 -0400 | [diff] [blame] | 259 | |
Brian Salomon | 7fc5299 | 2018-07-12 16:20:23 -0400 | [diff] [blame] | 260 | # Test 1010102 on our Linux/NVIDIA bots and the persistent cache config |
| 261 | # on the GL bots. |
Brian Salomon | bfc63c1 | 2018-07-16 15:48:22 -0400 | [diff] [blame] | 262 | if ('QuadroP400' in bot and 'PreAbandonGpuContext' not in bot and |
Brian Salomon | 6a3957c | 2018-07-19 17:01:09 -0400 | [diff] [blame] | 263 | 'TSAN' not in bot and api.vars.is_linux): |
Brian Osman | 10fc6fd | 2018-03-02 11:01:10 -0500 | [diff] [blame] | 264 | if 'Vulkan' in bot: |
| 265 | configs.append('vk1010102') |
Brian Osman | 419abf3 | 2018-03-02 14:56:15 -0500 | [diff] [blame] | 266 | # Decoding transparent images to 1010102 just looks bad |
| 267 | blacklist('vk1010102 image _ _') |
Brian Osman | 10fc6fd | 2018-03-02 11:01:10 -0500 | [diff] [blame] | 268 | else: |
Brian Osman | ed58e00 | 2019-09-06 14:42:43 -0400 | [diff] [blame] | 269 | configs.extend(['gl1010102', |
| 270 | 'gltestpersistentcache', |
| 271 | 'gltestglslcache', |
| 272 | 'gltestprecompile']) |
Brian Osman | 419abf3 | 2018-03-02 14:56:15 -0500 | [diff] [blame] | 273 | # Decoding transparent images to 1010102 just looks bad |
| 274 | blacklist('gl1010102 image _ _') |
Brian Salomon | 0938759 | 2018-07-16 15:34:16 -0400 | [diff] [blame] | 275 | # These tests produce slightly different pixels run to run on NV. |
Brian Salomon | 7fc5299 | 2018-07-12 16:20:23 -0400 | [diff] [blame] | 276 | blacklist('gltestpersistentcache gm _ atlastext') |
Brian Salomon | 0938759 | 2018-07-16 15:34:16 -0400 | [diff] [blame] | 277 | blacklist('gltestpersistentcache gm _ dftext') |
Brian Salomon | 06e3c3c | 2018-08-03 12:54:11 -0400 | [diff] [blame] | 278 | blacklist('gltestpersistentcache gm _ glyph_pos_h_b') |
Brian Osman | f71b070 | 2019-04-03 13:04:16 -0400 | [diff] [blame] | 279 | blacklist('gltestglslcache gm _ atlastext') |
| 280 | blacklist('gltestglslcache gm _ dftext') |
| 281 | blacklist('gltestglslcache gm _ glyph_pos_h_b') |
Brian Osman | ed58e00 | 2019-09-06 14:42:43 -0400 | [diff] [blame] | 282 | blacklist('gltestprecompile gm _ atlastext') |
| 283 | blacklist('gltestprecompile gm _ dftext') |
| 284 | blacklist('gltestprecompile gm _ glyph_pos_h_b') |
Brian Osman | 10fc6fd | 2018-03-02 11:01:10 -0500 | [diff] [blame] | 285 | |
Brian Osman | 4af42fc | 2019-09-16 12:38:04 -0400 | [diff] [blame] | 286 | # We also test the SkSL precompile config on Pixel2XL as a representative |
| 287 | # Android device - this feature is primarily used by Flutter. |
| 288 | if 'Pixel2XL' in bot and 'Vulkan' not in bot: |
| 289 | configs.append('glestestprecompile') |
| 290 | |
Brian Osman | f9666f5 | 2019-03-21 12:35:02 -0400 | [diff] [blame] | 291 | # Test rendering to wrapped dsts on a few bots |
Brian Osman | 23885d2 | 2018-12-06 09:52:22 -0500 | [diff] [blame] | 292 | # Also test 'glenarrow', which hits F16 surfaces and F16 vertex colors. |
Ben Wagner | a4cdfbb | 2018-08-31 10:20:34 -0400 | [diff] [blame] | 293 | if 'BonusConfigs' in api.vars.extra_tokens: |
Brian Osman | f9666f5 | 2019-03-21 12:35:02 -0400 | [diff] [blame] | 294 | configs = ['glbetex', 'glbert', 'glenarrow'] |
Brian Salomon | 7bfe843 | 2018-08-31 13:35:26 -0400 | [diff] [blame] | 295 | |
Ben Wagner | a4cdfbb | 2018-08-31 10:20:34 -0400 | [diff] [blame] | 296 | |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 297 | if 'ChromeOS' in bot: |
| 298 | # Just run GLES for now - maybe add gles_msaa4 in the future |
| 299 | configs = ['gles'] |
| 300 | |
Kevin Lubick | 2dafbd7 | 2017-08-31 10:39:05 -0400 | [diff] [blame] | 301 | if 'Chromecast' in bot: |
Kevin Lubick | 608c35a | 2018-01-16 16:15:57 -0500 | [diff] [blame] | 302 | configs = ['gles'] |
Kevin Lubick | 2dafbd7 | 2017-08-31 10:39:05 -0400 | [diff] [blame] | 303 | |
Ben Wagner | 32fa510 | 2017-08-10 21:25:55 -0400 | [diff] [blame] | 304 | # Test coverage counting path renderer. |
| 305 | if 'CCPR' in bot: |
| 306 | configs = [c for c in configs if c == 'gl' or c == 'gles'] |
Chris Dalton | a8fbeba | 2019-03-30 00:31:23 -0600 | [diff] [blame] | 307 | args.extend(['--pr', 'ccpr', '--cc', 'true', '--cachePathMasks', 'false']) |
Chris Dalton | 97598a5 | 2017-07-18 10:49:07 -0600 | [diff] [blame] | 308 | |
Chris Dalton | b3c9745 | 2019-06-25 20:07:56 -0600 | [diff] [blame] | 309 | # Test non-nvpr on NVIDIA. |
| 310 | if 'NonNVPR' in bot: |
| 311 | configs = ['gl', 'glmsaa4'] |
| 312 | args.extend(['--pr', '~nvpr']) |
| 313 | |
Robert Phillips | 36150be | 2018-03-15 13:40:07 -0400 | [diff] [blame] | 314 | # DDL is a GPU-only feature |
| 315 | if 'DDL1' in bot: |
Robert Phillips | 69eb835 | 2018-04-11 13:45:08 -0400 | [diff] [blame] | 316 | # This bot generates gl and vk comparison images for the large skps |
Jim Van Verth | c8f285a | 2019-05-24 15:15:14 -0400 | [diff] [blame] | 317 | configs = [c for c in configs if c == 'gl' or c == 'vk' or c == 'mtl'] |
Robert Phillips | b7fafba | 2018-03-27 20:49:23 +0000 | [diff] [blame] | 318 | args.extend(['--skpViewportSize', "2048"]) |
Robert Phillips | 21ca043 | 2018-05-29 15:42:00 -0400 | [diff] [blame] | 319 | args.extend(['--pr', '~small']) |
Robert Phillips | 36150be | 2018-03-15 13:40:07 -0400 | [diff] [blame] | 320 | if 'DDL3' in bot: |
Robert Phillips | 69eb835 | 2018-04-11 13:45:08 -0400 | [diff] [blame] | 321 | # This bot generates the ddl-gl and ddl-vk images for the |
| 322 | # large skps and the gms |
Jim Van Verth | c8f285a | 2019-05-24 15:15:14 -0400 | [diff] [blame] | 323 | ddl_configs = ['ddl-' + c for c in configs if c == 'gl' or c == 'vk' or c == 'mtl'] |
| 324 | ddl2_configs = ['ddl2-' + c for c in configs if c == 'gl' or c == 'vk' or c == 'mtl'] |
Brian Salomon | 8f40b66 | 2018-12-21 17:50:43 -0500 | [diff] [blame] | 325 | configs = ddl_configs + ddl2_configs |
Robert Phillips | b7fafba | 2018-03-27 20:49:23 +0000 | [diff] [blame] | 326 | args.extend(['--skpViewportSize', "2048"]) |
Robert Phillips | e43ff78 | 2018-04-20 11:59:59 -0400 | [diff] [blame] | 327 | args.extend(['--gpuThreads', "0"]) |
Robert Phillips | 36150be | 2018-03-15 13:40:07 -0400 | [diff] [blame] | 328 | |
Eric Boren | 9f4efd3 | 2018-07-20 08:25:42 -0400 | [diff] [blame] | 329 | if 'Lottie' in bot: |
| 330 | configs = ['gl'] |
| 331 | |
Kevin Lubick | 32f318b | 2017-10-17 13:40:52 -0400 | [diff] [blame] | 332 | tf = api.vars.builder_cfg.get('test_filter') |
| 333 | if 'All' != tf: |
| 334 | # Expected format: shard_XX_YY |
| 335 | parts = tf.split('_') |
| 336 | if len(parts) == 3: |
| 337 | args.extend(['--shard', parts[1]]) |
| 338 | args.extend(['--shards', parts[2]]) |
Eric Boren | 9599b0f | 2018-04-17 15:55:57 -0400 | [diff] [blame] | 339 | else: # pragma: nocover |
| 340 | raise Exception('Invalid task name - bad shards: %s' % tf) |
Kevin Lubick | 32f318b | 2017-10-17 13:40:52 -0400 | [diff] [blame] | 341 | |
Chris Dalton | 80ace82 | 2017-07-20 10:54:04 -0600 | [diff] [blame] | 342 | args.append('--config') |
| 343 | args.extend(configs) |
| 344 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 345 | # Run tests, gms, and image decoding tests everywhere. |
Eric Boren | 8c172ba | 2018-07-19 13:27:49 -0400 | [diff] [blame] | 346 | args.extend('--src tests gm image lottie colorImage svg skp'.split(' ')) |
Ben Wagner | 0ecc2b7e | 2017-11-09 22:10:44 -0500 | [diff] [blame] | 347 | if api.vars.builder_cfg.get('cpu_or_gpu') == 'GPU': |
Chris Dalton | 7c304ba | 2017-09-07 11:57:16 -0600 | [diff] [blame] | 348 | # Don't run the 'svgparse_*' svgs on GPU. |
| 349 | blacklist('_ svg _ svgparse_') |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 350 | elif bot == 'Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-ASAN': |
Chris Dalton | 7c304ba | 2017-09-07 11:57:16 -0600 | [diff] [blame] | 351 | # Only run the CPU SVGs on 8888. |
| 352 | blacklist('~8888 svg _ _') |
| 353 | else: |
| 354 | # On CPU SVGs we only care about parsing. Only run them on the above bot. |
| 355 | args.remove('svg') |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 356 | |
Mike Klein | 97627d4 | 2017-05-11 13:12:48 -0400 | [diff] [blame] | 357 | # Eventually I'd like these to pass, but for now just skip 'em. |
| 358 | if 'SK_FORCE_RASTER_PIPELINE_BLITTER' in bot: |
| 359 | args.remove('tests') |
| 360 | |
Mike Klein | 9a01a21 | 2017-11-03 12:19:54 -0400 | [diff] [blame] | 361 | if 'NativeFonts' in bot: # images won't exercise native font integration :) |
| 362 | args.remove('image') |
| 363 | args.remove('colorImage') |
| 364 | |
Eric Boren | 8c172ba | 2018-07-19 13:27:49 -0400 | [diff] [blame] | 365 | def remove_from_args(arg): |
| 366 | if arg in args: |
| 367 | args.remove(arg) |
| 368 | |
Robert Phillips | 5f3ce3e | 2018-04-12 11:09:40 -0400 | [diff] [blame] | 369 | if 'DDL' in bot: |
| 370 | # The DDL bots just render the large skps and the gms |
Eric Boren | 8c172ba | 2018-07-19 13:27:49 -0400 | [diff] [blame] | 371 | remove_from_args('tests') |
| 372 | remove_from_args('image') |
| 373 | remove_from_args('colorImage') |
| 374 | remove_from_args('svg') |
Robert Phillips | 36150be | 2018-03-15 13:40:07 -0400 | [diff] [blame] | 375 | else: |
Robert Phillips | b7fafba | 2018-03-27 20:49:23 +0000 | [diff] [blame] | 376 | # Currently, only the DDL bots render skps |
Eric Boren | 8c172ba | 2018-07-19 13:27:49 -0400 | [diff] [blame] | 377 | remove_from_args('skp') |
| 378 | |
| 379 | if 'Lottie' in api.vars.builder_cfg.get('extra_config', ''): |
| 380 | # Only run the lotties on Lottie bots. |
| 381 | remove_from_args('tests') |
| 382 | remove_from_args('gm') |
| 383 | remove_from_args('image') |
| 384 | remove_from_args('colorImage') |
| 385 | remove_from_args('svg') |
| 386 | remove_from_args('skp') |
| 387 | else: |
| 388 | remove_from_args('lottie') |
Robert Phillips | 36150be | 2018-03-15 13:40:07 -0400 | [diff] [blame] | 389 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 390 | # TODO: ??? |
| 391 | blacklist('f16 _ _ dstreadshuffle') |
| 392 | blacklist('glsrgb image _ _') |
| 393 | blacklist('glessrgb image _ _') |
| 394 | |
Mike Klein | 515bda6 | 2018-01-09 11:21:58 -0500 | [diff] [blame] | 395 | # --src image --config g8 means "decode into Gray8", which isn't supported. |
| 396 | blacklist('g8 image _ _') |
| 397 | blacklist('g8 colorImage _ _') |
| 398 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 399 | if 'Valgrind' in bot: |
| 400 | # These take 18+ hours to run. |
| 401 | blacklist('pdf gm _ fontmgr_iter') |
| 402 | blacklist('pdf _ _ PANO_20121023_214540.jpg') |
| 403 | blacklist('pdf skp _ worldjournal') |
| 404 | blacklist('pdf skp _ desk_baidu.skp') |
| 405 | blacklist('pdf skp _ desk_wikipedia.skp') |
| 406 | blacklist('_ svg _ _') |
Robert Phillips | 578c8ee | 2019-06-17 19:10:54 -0400 | [diff] [blame] | 407 | # skbug.com/9171 and 8847 |
| 408 | blacklist('_ test _ InitialTextureClear') |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 409 | |
Brian Salomon | 7c8c67e | 2019-09-11 16:53:12 -0400 | [diff] [blame] | 410 | if 'TecnoSpark3Pro' in bot: |
| 411 | # skbug.com/9421 |
| 412 | blacklist('_ test _ InitialTextureClear') |
| 413 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 414 | if 'iOS' in bot: |
| 415 | blacklist(gl_prefix + ' skp _ _') |
| 416 | |
| 417 | if 'Mac' in bot or 'iOS' in bot: |
| 418 | # CG fails on questionable bmps |
| 419 | blacklist('_ image gen_platf rgba32abf.bmp') |
| 420 | blacklist('_ image gen_platf rgb24prof.bmp') |
| 421 | blacklist('_ image gen_platf rgb24lprof.bmp') |
| 422 | blacklist('_ image gen_platf 8bpp-pixeldata-cropped.bmp') |
| 423 | blacklist('_ image gen_platf 4bpp-pixeldata-cropped.bmp') |
| 424 | blacklist('_ image gen_platf 32bpp-pixeldata-cropped.bmp') |
| 425 | blacklist('_ image gen_platf 24bpp-pixeldata-cropped.bmp') |
| 426 | |
| 427 | # CG has unpredictable behavior on this questionable gif |
| 428 | # It's probably using uninitialized memory |
| 429 | blacklist('_ image gen_platf frame_larger_than_image.gif') |
| 430 | |
| 431 | # CG has unpredictable behavior on incomplete pngs |
| 432 | # skbug.com/5774 |
| 433 | blacklist('_ image gen_platf inc0.png') |
| 434 | blacklist('_ image gen_platf inc1.png') |
| 435 | blacklist('_ image gen_platf inc2.png') |
| 436 | blacklist('_ image gen_platf inc3.png') |
| 437 | blacklist('_ image gen_platf inc4.png') |
| 438 | blacklist('_ image gen_platf inc5.png') |
| 439 | blacklist('_ image gen_platf inc6.png') |
| 440 | blacklist('_ image gen_platf inc7.png') |
| 441 | blacklist('_ image gen_platf inc8.png') |
| 442 | blacklist('_ image gen_platf inc9.png') |
| 443 | blacklist('_ image gen_platf inc10.png') |
| 444 | blacklist('_ image gen_platf inc11.png') |
| 445 | blacklist('_ image gen_platf inc12.png') |
| 446 | blacklist('_ image gen_platf inc13.png') |
| 447 | blacklist('_ image gen_platf inc14.png') |
Leon Scroggins III | a66ac00 | 2018-10-26 09:45:11 -0400 | [diff] [blame] | 448 | blacklist('_ image gen_platf incInterlaced.png') |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 449 | |
Ben Wagner | 3f67914c | 2017-11-27 13:02:25 -0500 | [diff] [blame] | 450 | # These images fail after Mac 10.13.1 upgrade. |
| 451 | blacklist('_ image gen_platf incInterlaced.gif') |
| 452 | blacklist('_ image gen_platf inc1.gif') |
| 453 | blacklist('_ image gen_platf inc0.gif') |
| 454 | blacklist('_ image gen_platf butterfly.gif') |
| 455 | |
Matt Sarett | 6c50a2e | 2017-05-01 09:13:05 -0400 | [diff] [blame] | 456 | # WIC fails on questionable bmps |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 457 | if 'Win' in bot: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 458 | blacklist('_ image gen_platf pal8os2v2.bmp') |
| 459 | blacklist('_ image gen_platf pal8os2v2-16.bmp') |
| 460 | blacklist('_ image gen_platf rgba32abf.bmp') |
| 461 | blacklist('_ image gen_platf rgb24prof.bmp') |
| 462 | blacklist('_ image gen_platf rgb24lprof.bmp') |
| 463 | blacklist('_ image gen_platf 8bpp-pixeldata-cropped.bmp') |
| 464 | blacklist('_ image gen_platf 4bpp-pixeldata-cropped.bmp') |
| 465 | blacklist('_ image gen_platf 32bpp-pixeldata-cropped.bmp') |
| 466 | blacklist('_ image gen_platf 24bpp-pixeldata-cropped.bmp') |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 467 | if 'x86_64' in bot and 'CPU' in bot: |
| 468 | # This GM triggers a SkSmallAllocator assert. |
| 469 | blacklist('_ gm _ composeshader_bitmap') |
| 470 | |
Matt Sarett | 6c50a2e | 2017-05-01 09:13:05 -0400 | [diff] [blame] | 471 | if 'Win' in bot or 'Mac' in bot: |
Leon Scroggins III | 3a3cf43 | 2017-08-18 13:08:16 -0400 | [diff] [blame] | 472 | # WIC and CG fail on arithmetic jpegs |
Matt Sarett | 6c50a2e | 2017-05-01 09:13:05 -0400 | [diff] [blame] | 473 | blacklist('_ image gen_platf testimgari.jpg') |
Leon Scroggins III | 3a3cf43 | 2017-08-18 13:08:16 -0400 | [diff] [blame] | 474 | # More questionable bmps that fail on Mac, too. skbug.com/6984 |
| 475 | blacklist('_ image gen_platf rle8-height-negative.bmp') |
| 476 | blacklist('_ image gen_platf rle4-height-negative.bmp') |
Matt Sarett | 6c50a2e | 2017-05-01 09:13:05 -0400 | [diff] [blame] | 477 | |
Leon Scroggins III | 3abcd82 | 2018-10-18 11:28:36 -0400 | [diff] [blame] | 478 | # These PNGs have CRC errors. The platform generators seem to draw |
| 479 | # uninitialized memory without reporting an error, so skip them to |
| 480 | # avoid lots of images on Gold. |
| 481 | blacklist('_ image gen_platf error') |
| 482 | |
Kevin Lubick | 2dafbd7 | 2017-08-31 10:39:05 -0400 | [diff] [blame] | 483 | if 'Android' in bot or 'iOS' in bot or 'Chromecast' in bot: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 484 | # This test crashes the N9 (perhaps because of large malloc/frees). It also |
| 485 | # is fairly slow and not platform-specific. So we just disable it on all of |
| 486 | # Android and iOS. skia:5438 |
| 487 | blacklist('_ test _ GrShape') |
| 488 | |
Eric Boren | fb20ac4 | 2018-04-24 14:48:19 -0400 | [diff] [blame] | 489 | if api.vars.internal_hardware_label == '2': |
Kevin Lubick | bd27d1d | 2017-10-13 08:01:49 -0400 | [diff] [blame] | 490 | # skia:7160 |
| 491 | blacklist('_ test _ SRGBReadWritePixels') |
| 492 | blacklist('_ test _ SRGBMipMap') |
Robert Phillips | 0fb1396 | 2019-10-08 10:23:03 -0400 | [diff] [blame] | 493 | # skia:9517 |
| 494 | blacklist('_ test _ CharacterizationBackendAllocationTest') |
| 495 | blacklist('_ test _ ColorTypeBackendAllocationTest') |
| 496 | blacklist('_ test _ GLBackendAllocationTest') |
| 497 | blacklist('_ test _ VKBackendAllocationTest') |
Kevin Lubick | bd27d1d | 2017-10-13 08:01:49 -0400 | [diff] [blame] | 498 | |
Kevin Lubick | 8243988 | 2018-12-12 15:50:14 -0500 | [diff] [blame] | 499 | if api.vars.internal_hardware_label == '5': |
| 500 | # http://b/118312149#comment9 |
| 501 | blacklist('_ test _ SRGBReadWritePixels') |
| 502 | |
Mike Klein | 359f61b | 2019-08-23 10:47:30 -0500 | [diff] [blame] | 503 | # skia:4095 |
Mike Reed | fb49909 | 2017-06-26 13:53:32 +0000 | [diff] [blame] | 504 | bad_serialize_gms = ['bleed_image', |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 505 | 'c_gms', |
| 506 | 'colortype', |
| 507 | 'colortype_xfermodes', |
| 508 | 'drawfilter', |
| 509 | 'fontmgr_bounds_0.75_0', |
| 510 | 'fontmgr_bounds_1_-0.25', |
| 511 | 'fontmgr_bounds', |
| 512 | 'fontmgr_match', |
| 513 | 'fontmgr_iter', |
Michael Ludwig | a6a8400 | 2019-04-12 15:03:02 -0400 | [diff] [blame] | 514 | 'imagemasksubset', |
Michael Ludwig | d5fad8c | 2019-06-18 09:28:47 -0400 | [diff] [blame] | 515 | 'wacky_yuv_formats_domain', |
| 516 | 'imagemakewithfilter', |
| 517 | 'imagemakewithfilter_crop', |
| 518 | 'imagemakewithfilter_crop_ref', |
Mike Klein | 359f61b | 2019-08-23 10:47:30 -0500 | [diff] [blame] | 519 | 'imagemakewithfilter_ref'] |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 520 | |
| 521 | # skia:5589 |
| 522 | bad_serialize_gms.extend(['bitmapfilters', |
| 523 | 'bitmapshaders', |
| 524 | 'bleed', |
| 525 | 'bleed_alpha_bmp', |
| 526 | 'bleed_alpha_bmp_shader', |
| 527 | 'convex_poly_clip', |
| 528 | 'extractalpha', |
| 529 | 'filterbitmap_checkerboard_32_32_g8', |
| 530 | 'filterbitmap_image_mandrill_64', |
| 531 | 'shadows', |
| 532 | 'simpleaaclip_aaclip']) |
| 533 | # skia:5595 |
| 534 | bad_serialize_gms.extend(['composeshader_bitmap', |
| 535 | 'scaled_tilemodes_npot', |
| 536 | 'scaled_tilemodes']) |
| 537 | |
| 538 | # skia:5778 |
| 539 | bad_serialize_gms.append('typefacerendering_pfaMac') |
| 540 | # skia:5942 |
| 541 | bad_serialize_gms.append('parsedpaths') |
| 542 | |
| 543 | # these use a custom image generator which doesn't serialize |
| 544 | bad_serialize_gms.append('ImageGeneratorExternal_rect') |
| 545 | bad_serialize_gms.append('ImageGeneratorExternal_shader') |
| 546 | |
| 547 | # skia:6189 |
| 548 | bad_serialize_gms.append('shadow_utils') |
| 549 | |
Brian Salomon | be3c1d2 | 2018-05-21 12:54:39 -0400 | [diff] [blame] | 550 | # skia:7938 |
| 551 | bad_serialize_gms.append('persp_images') |
| 552 | |
Matt Sarett | 9f3dcb3 | 2017-05-04 08:53:32 -0400 | [diff] [blame] | 553 | # Not expected to round trip encoding/decoding. |
Mike Klein | 0b78a69 | 2017-10-31 17:31:17 -0400 | [diff] [blame] | 554 | bad_serialize_gms.append('all_bitmap_configs') |
Matt Sarett | 9f3dcb3 | 2017-05-04 08:53:32 -0400 | [diff] [blame] | 555 | bad_serialize_gms.append('makecolorspace') |
Mike Klein | 0a44d5c | 2018-10-02 11:10:59 -0400 | [diff] [blame] | 556 | bad_serialize_gms.append('readpixels') |
Brian Salomon | 0087c83 | 2018-10-15 14:48:20 -0400 | [diff] [blame] | 557 | bad_serialize_gms.append('draw_image_set_rect_to_rect') |
Michael Ludwig | 390f0cc | 2019-03-19 09:16:38 -0400 | [diff] [blame] | 558 | bad_serialize_gms.append('compositor_quads_shader') |
Matt Sarett | 9f3dcb3 | 2017-05-04 08:53:32 -0400 | [diff] [blame] | 559 | |
Brian Salomon | 7072e22 | 2017-11-29 15:12:45 -0500 | [diff] [blame] | 560 | # This GM forces a path to be convex. That property doesn't survive |
| 561 | # serialization. |
| 562 | bad_serialize_gms.append('analytic_antialias_convex') |
| 563 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 564 | for test in bad_serialize_gms: |
| 565 | blacklist(['serialize-8888', 'gm', '_', test]) |
| 566 | |
| 567 | if 'Mac' not in bot: |
| 568 | for test in ['bleed_alpha_image', 'bleed_alpha_image_shader']: |
| 569 | blacklist(['serialize-8888', 'gm', '_', test]) |
| 570 | # It looks like we skip these only for out-of-memory concerns. |
Kevin Lubick | 608c35a | 2018-01-16 16:15:57 -0500 | [diff] [blame] | 571 | if 'Win' in bot or 'Android' in bot: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 572 | for test in ['verylargebitmap', 'verylarge_picture_image']: |
| 573 | blacklist(['serialize-8888', 'gm', '_', test]) |
Ben Wagner | 2e4e73f | 2017-09-08 15:21:44 -0400 | [diff] [blame] | 574 | if 'Mac' in bot and 'CPU' in bot: |
Ben Wagner | 38db79f | 2017-08-23 15:05:50 -0400 | [diff] [blame] | 575 | # skia:6992 |
Ben Wagner | 6f98bc6 | 2017-09-05 16:02:28 -0400 | [diff] [blame] | 576 | blacklist(['pic-8888', 'gm', '_', 'encode-platform']) |
Ben Wagner | 38db79f | 2017-08-23 15:05:50 -0400 | [diff] [blame] | 577 | blacklist(['serialize-8888', 'gm', '_', 'encode-platform']) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 578 | |
| 579 | # skia:4769 |
| 580 | for test in ['drawfilter']: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 581 | blacklist([ 'pic-8888', 'gm', '_', test]) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 582 | # skia:4703 |
| 583 | for test in ['image-cacherator-from-picture', |
| 584 | 'image-cacherator-from-raster', |
| 585 | 'image-cacherator-from-ctable']: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 586 | blacklist([ 'pic-8888', 'gm', '_', test]) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 587 | blacklist(['serialize-8888', 'gm', '_', test]) |
| 588 | |
| 589 | # GM that requires raster-backed canvas |
Brian Salomon | 201700f | 2019-05-17 12:05:44 -0400 | [diff] [blame] | 590 | for test in ['complexclip4_bw', 'complexclip4_aa', 'p3', |
| 591 | 'async_rescale_and_read_text_up_large', |
| 592 | 'async_rescale_and_read_text_up', |
| 593 | 'async_rescale_and_read_text_down', |
| 594 | 'async_rescale_and_read_dog_up', |
| 595 | 'async_rescale_and_read_dog_down', |
Brian Salomon | 286b557 | 2019-05-20 10:25:50 -0400 | [diff] [blame] | 596 | 'async_rescale_and_read_rose', |
| 597 | 'async_rescale_and_read_no_bleed']: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 598 | blacklist([ 'pic-8888', 'gm', '_', test]) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 599 | blacklist(['serialize-8888', 'gm', '_', test]) |
| 600 | |
Brian Salomon | b2d5d40 | 2019-09-10 10:11:52 -0400 | [diff] [blame] | 601 | # GM requries canvas->makeSurface() to return a valid surface. |
| 602 | blacklist([ 'pic-8888', 'gm', '_', "blurrect_compare"]) |
| 603 | blacklist(['serialize-8888', 'gm', '_', "blurrect_compare"]) |
| 604 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 605 | # Extensions for RAW images |
Ben Wagner | 6e0a6b3 | 2017-09-26 14:11:15 -0400 | [diff] [blame] | 606 | r = ['arw', 'cr2', 'dng', 'nef', 'nrw', 'orf', 'raf', 'rw2', 'pef', 'srw', |
| 607 | 'ARW', 'CR2', 'DNG', 'NEF', 'NRW', 'ORF', 'RAF', 'RW2', 'PEF', 'SRW'] |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 608 | |
| 609 | # skbug.com/4888 |
| 610 | # Blacklist RAW images (and a few large PNGs) on GPU bots |
| 611 | # until we can resolve failures. |
Matt Sarett | 929bfeb | 2017-05-22 10:34:41 -0400 | [diff] [blame] | 612 | if 'GPU' in bot: |
| 613 | blacklist('_ image _ interlaced1.png') |
| 614 | blacklist('_ image _ interlaced2.png') |
| 615 | blacklist('_ image _ interlaced3.png') |
| 616 | for raw_ext in r: |
| 617 | blacklist('_ image _ .%s' % raw_ext) |
| 618 | |
| 619 | # Blacklist memory intensive tests on 32-bit bots. |
Ben Wagner | fd66b5f | 2017-11-15 15:16:27 -0500 | [diff] [blame] | 620 | if ('Win8' in bot or 'Win2016' in bot) and 'x86-' in bot: |
Matt Sarett | 929bfeb | 2017-05-22 10:34:41 -0400 | [diff] [blame] | 621 | blacklist('_ image f16 _') |
Matt Sarett | 112565e | 2017-05-22 13:45:15 -0400 | [diff] [blame] | 622 | blacklist('_ image _ abnormal.wbmp') |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 623 | blacklist('_ image _ interlaced1.png') |
| 624 | blacklist('_ image _ interlaced2.png') |
| 625 | blacklist('_ image _ interlaced3.png') |
| 626 | for raw_ext in r: |
| 627 | blacklist('_ image _ .%s' % raw_ext) |
| 628 | |
Ben Wagner | 3f33069 | 2017-12-07 15:14:54 -0500 | [diff] [blame] | 629 | if 'Nexus5' in bot and 'GPU' in bot: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 630 | # skia:5876 |
| 631 | blacklist(['_', 'gm', '_', 'encode-platform']) |
| 632 | |
| 633 | if 'AndroidOne-GPU' in bot: # skia:4697, skia:4704, skia:4694, skia:4705 |
| 634 | blacklist(['_', 'gm', '_', 'bigblurs']) |
| 635 | blacklist(['_', 'gm', '_', 'bleed']) |
| 636 | blacklist(['_', 'gm', '_', 'bleed_alpha_bmp']) |
| 637 | blacklist(['_', 'gm', '_', 'bleed_alpha_bmp_shader']) |
| 638 | blacklist(['_', 'gm', '_', 'bleed_alpha_image']) |
| 639 | blacklist(['_', 'gm', '_', 'bleed_alpha_image_shader']) |
| 640 | blacklist(['_', 'gm', '_', 'bleed_image']) |
| 641 | blacklist(['_', 'gm', '_', 'dropshadowimagefilter']) |
| 642 | blacklist(['_', 'gm', '_', 'filterfastbounds']) |
| 643 | blacklist([gl_prefix, 'gm', '_', 'imageblurtiled']) |
| 644 | blacklist(['_', 'gm', '_', 'imagefiltersclipped']) |
| 645 | blacklist(['_', 'gm', '_', 'imagefiltersscaled']) |
| 646 | blacklist(['_', 'gm', '_', 'imageresizetiled']) |
| 647 | blacklist(['_', 'gm', '_', 'matrixconvolution']) |
| 648 | blacklist(['_', 'gm', '_', 'strokedlines']) |
Raul Tambre | 0362dc2 | 2019-05-07 16:42:32 +0300 | [diff] [blame] | 649 | if sample_count: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 650 | gl_msaa_config = gl_prefix + 'msaa' + sample_count |
| 651 | blacklist([gl_msaa_config, 'gm', '_', 'imageblurtiled']) |
| 652 | blacklist([gl_msaa_config, 'gm', '_', 'imagefiltersbase']) |
| 653 | |
| 654 | match = [] |
| 655 | if 'Valgrind' in bot: # skia:3021 |
| 656 | match.append('~Threaded') |
| 657 | |
Ben Wagner | 6c12642 | 2017-06-19 12:45:54 -0400 | [diff] [blame] | 658 | if 'Valgrind' in bot and 'PreAbandonGpuContext' in bot: |
| 659 | # skia:6575 |
| 660 | match.append('~multipicturedraw_') |
| 661 | |
Cary Clark | a7c569d | 2018-02-14 11:31:25 -0500 | [diff] [blame] | 662 | if 'AndroidOne' in bot: |
| 663 | match.append('~WritePixels') # skia:4711 |
| 664 | match.append('~PremulAlphaRoundTrip_Gpu') # skia:7501 |
Brian Salomon | f42a776 | 2018-06-21 11:14:51 -0400 | [diff] [blame] | 665 | match.append('~ReimportImageTextureWithMipLevels') # skia:8090 |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 666 | |
Kevin Lubick | 608c35a | 2018-01-16 16:15:57 -0500 | [diff] [blame] | 667 | if 'Chromecast' in bot: |
Kevin Lubick | 6ea9fdf | 2018-01-17 08:54:21 -0500 | [diff] [blame] | 668 | if 'GPU' in bot: |
| 669 | # skia:6687 |
Kevin Lubick | 6ea9fdf | 2018-01-17 08:54:21 -0500 | [diff] [blame] | 670 | match.append('~animated-image-blurs') |
Ben Wagner | d50a193 | 2018-03-01 09:45:18 -0500 | [diff] [blame] | 671 | match.append('~blur_0.01') |
| 672 | match.append('~blur_image_filter') |
Eric Boren | 1e00d19 | 2018-04-13 15:59:02 -0400 | [diff] [blame] | 673 | match.append('~check_small_sigma_offset') |
Ben Wagner | d50a193 | 2018-03-01 09:45:18 -0500 | [diff] [blame] | 674 | match.append('~imageblur2') |
| 675 | match.append('~lighting') |
| 676 | match.append('~longpathdash') |
| 677 | match.append('~matrixconvolution') |
Ben Wagner | dabef9d | 2018-02-27 16:36:12 -0500 | [diff] [blame] | 678 | match.append('~textblobmixedsizes_df') |
Ben Wagner | 98c3c61 | 2018-02-26 14:53:30 -0500 | [diff] [blame] | 679 | match.append('~textblobrandomfont') |
Kevin Lubick | 608c35a | 2018-01-16 16:15:57 -0500 | [diff] [blame] | 680 | # Blacklisted to avoid OOM (we see DM just end with "broken pipe") |
Kevin Lubick | 608c35a | 2018-01-16 16:15:57 -0500 | [diff] [blame] | 681 | match.append('~bigbitmaprect_') |
Kevin Lubick | 608c35a | 2018-01-16 16:15:57 -0500 | [diff] [blame] | 682 | match.append('~DrawBitmapRect') |
Kevin Lubick | 8684c71 | 2018-02-12 15:55:57 -0500 | [diff] [blame] | 683 | match.append('~drawbitmaprect') |
Ben Wagner | d50a193 | 2018-03-01 09:45:18 -0500 | [diff] [blame] | 684 | match.append('~GM_animated-image-blurs') |
| 685 | match.append('~ImageFilterBlurLargeImage') |
| 686 | match.append('~savelayer_clipmask') |
| 687 | match.append('~TextBlobCache') |
| 688 | match.append('~verylarge') |
Kevin Lubick | 2dafbd7 | 2017-08-31 10:39:05 -0400 | [diff] [blame] | 689 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 690 | if 'GalaxyS6' in bot: |
| 691 | match.append('~SpecialImage') # skia:6338 |
Brian Osman | eee3c09 | 2017-06-15 13:25:10 -0400 | [diff] [blame] | 692 | match.append('~skbug6653') # skia:6653 |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 693 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 694 | if 'MSAN' in bot: |
| 695 | match.extend(['~Once', '~Shared']) # Not sure what's up with these tests. |
| 696 | |
| 697 | if 'TSAN' in bot: |
| 698 | match.extend(['~ReadWriteAlpha']) # Flaky on TSAN-covered on nvidia bots. |
| 699 | match.extend(['~RGBA4444TextureTest', # Flakier than they are important. |
| 700 | '~RGB565TextureTest']) |
| 701 | |
Ben Wagner | dba0bc8 | 2017-12-11 13:27:27 -0500 | [diff] [blame] | 702 | # By default, we test with GPU threading enabled, unless specifically |
| 703 | # disabled. |
| 704 | if 'NoGPUThreads' in bot: |
| 705 | args.extend(['--gpuThreads', '0']) |
| 706 | |
Greg Daniel | a86385d | 2017-06-05 11:34:29 -0400 | [diff] [blame] | 707 | if 'Vulkan' in bot and 'Adreno530' in bot: |
| 708 | # skia:5777 |
| 709 | match.extend(['~CopySurface']) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 710 | |
Brian Salomon | 3d86a19 | 2018-02-27 16:46:11 -0500 | [diff] [blame] | 711 | if 'Vulkan' in bot and 'Adreno' in bot: |
| 712 | # skia:7663 |
| 713 | match.extend(['~WritePixelsNonTextureMSAA_Gpu']) |
| 714 | match.extend(['~WritePixelsMSAA_Gpu']) |
| 715 | |
Ben Wagner | 6345757 | 2017-12-21 10:49:58 -0500 | [diff] [blame] | 716 | if 'Vulkan' in bot and api.vars.is_linux and 'IntelIris640' in bot: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 717 | match.extend(['~VkHeapTests']) # skia:6245 |
| 718 | |
Kevin Lubick | ec4e735 | 2018-04-25 07:46:55 -0400 | [diff] [blame] | 719 | if api.vars.is_linux and 'IntelIris640' in bot: |
Jim Van Verth | 5a8f3e4 | 2019-10-24 10:23:26 -0400 | [diff] [blame] | 720 | match.extend(['~Programs']) # skia:7849 |
Kevin Lubick | ec4e735 | 2018-04-25 07:46:55 -0400 | [diff] [blame] | 721 | |
Brian Osman | 8c4ee90 | 2019-07-09 12:58:26 +0000 | [diff] [blame] | 722 | if 'IntelIris640' in bot or 'IntelHD615' in bot or 'IntelHDGraphics615' in bot: |
Brian Osman | 22e47f9 | 2019-07-01 14:28:13 -0400 | [diff] [blame] | 723 | match.append('~^SRGBReadWritePixels$') # skia:9225 |
| 724 | |
Ben Wagner | b842703 | 2017-11-18 19:04:25 -0500 | [diff] [blame] | 725 | if 'Vulkan' in bot and api.vars.is_linux and 'IntelHD405' in bot: |
Ben Wagner | 32eb5ba | 2017-11-20 13:46:20 -0500 | [diff] [blame] | 726 | # skia:7322 |
Ben Wagner | b842703 | 2017-11-18 19:04:25 -0500 | [diff] [blame] | 727 | blacklist(['vk', 'gm', '_', 'skbug_257']) |
Chris Dalton | 414be9b | 2018-04-26 14:37:01 -0600 | [diff] [blame] | 728 | blacklist(['vk', 'gm', '_', 'filltypespersp']) |
Ben Wagner | b842703 | 2017-11-18 19:04:25 -0500 | [diff] [blame] | 729 | match.append('~^ClearOp$') |
Greg Daniel | ec34a71 | 2017-12-06 12:06:26 -0500 | [diff] [blame] | 730 | match.append('~^CopySurface$') |
| 731 | match.append('~^ImageNewShader_GPU$') |
Ben Wagner | b842703 | 2017-11-18 19:04:25 -0500 | [diff] [blame] | 732 | match.append('~^InitialTextureClear$') |
Greg Daniel | ec34a71 | 2017-12-06 12:06:26 -0500 | [diff] [blame] | 733 | match.append('~^PinnedImageTest$') |
Ben Wagner | b842703 | 2017-11-18 19:04:25 -0500 | [diff] [blame] | 734 | match.append('~^ReadPixels_Gpu$') |
| 735 | match.append('~^ReadPixels_Texture$') |
Greg Daniel | ec34a71 | 2017-12-06 12:06:26 -0500 | [diff] [blame] | 736 | match.append('~^SRGBReadWritePixels$') |
Ben Wagner | b842703 | 2017-11-18 19:04:25 -0500 | [diff] [blame] | 737 | match.append('~^VkUploadPixelsTests$') |
| 738 | match.append('~^WritePixelsNonTexture_Gpu$') |
Brian Salomon | 3d86a19 | 2018-02-27 16:46:11 -0500 | [diff] [blame] | 739 | match.append('~^WritePixelsNonTextureMSAA_Gpu$') |
Ben Wagner | b842703 | 2017-11-18 19:04:25 -0500 | [diff] [blame] | 740 | match.append('~^WritePixels_Gpu$') |
Brian Salomon | 3d86a19 | 2018-02-27 16:46:11 -0500 | [diff] [blame] | 741 | match.append('~^WritePixelsMSAA_Gpu$') |
Ben Wagner | b842703 | 2017-11-18 19:04:25 -0500 | [diff] [blame] | 742 | |
Greg Daniel | e5b7e6d | 2018-06-12 10:52:59 -0400 | [diff] [blame] | 743 | if 'Vulkan' in bot and 'GTX660' in bot and 'Win' in bot: |
| 744 | # skbug.com/8047 |
| 745 | match.append('~FloatingPointTextureTest$') |
| 746 | |
Jim Van Verth | 31a9e8d | 2019-07-15 12:27:31 -0400 | [diff] [blame] | 747 | if 'Metal' in bot and 'HD8870M' in bot and 'Mac' in bot: |
| 748 | # skia:9255 |
| 749 | match.append('~WritePixelsNonTextureMSAA_Gpu') |
| 750 | |
Robert Phillips | a96a101 | 2018-04-23 10:46:09 -0400 | [diff] [blame] | 751 | if 'ANGLE' in bot: |
| 752 | # skia:7835 |
| 753 | match.append('~BlurMaskBiggerThanDest') |
| 754 | |
Ben Wagner | 0473a31 | 2018-08-29 14:15:15 -0400 | [diff] [blame] | 755 | if 'IntelIris6100' in bot and 'ANGLE' in bot and 'Release' in bot: |
Ben Wagner | 1c4668d | 2018-07-23 14:25:02 -0400 | [diff] [blame] | 756 | # skia:7376 |
| 757 | match.append('~^ProcessorOptimizationValidationTest$') |
| 758 | |
Ben Wagner | c6b2e6b | 2017-10-07 18:57:25 -0400 | [diff] [blame] | 759 | if ('IntelIris6100' in bot or 'IntelHD4400' in bot) and 'ANGLE' in bot: |
| 760 | # skia:6857 |
| 761 | blacklist(['angle_d3d9_es2', 'gm', '_', 'lighting']) |
| 762 | |
Michael Ludwig | 9a56875 | 2019-03-14 16:31:45 -0400 | [diff] [blame] | 763 | if 'Chorizo' in bot: |
| 764 | # skia:8869 |
| 765 | blacklist(['_', 'gm', '_', 'compositor_quads_filter']) |
| 766 | |
Kevin Lubick | c14e5a7 | 2017-08-15 13:22:19 -0400 | [diff] [blame] | 767 | if 'PowerVRGX6250' in bot: |
| 768 | match.append('~gradients_view_perspective_nodither') #skia:6972 |
| 769 | |
Mike Klein | 3a3fbf1 | 2018-01-30 08:08:49 -0500 | [diff] [blame] | 770 | if '-arm-' in bot and 'ASAN' in bot: |
| 771 | # TODO: can we run with env allocator_may_return_null=1 instead? |
| 772 | match.append('~BadImage') |
| 773 | |
Ben Wagner | 1d8726f | 2018-02-02 14:47:31 -0500 | [diff] [blame] | 774 | if 'Mac' in bot and 'IntelHD6000' in bot: |
Ben Wagner | df43005 | 2018-02-08 16:57:04 -0500 | [diff] [blame] | 775 | # skia:7574 |
Ben Wagner | 1d8726f | 2018-02-02 14:47:31 -0500 | [diff] [blame] | 776 | match.append('~^ProcessorCloneTest$') |
| 777 | match.append('~^GrMeshTest$') |
| 778 | |
Ben Wagner | df43005 | 2018-02-08 16:57:04 -0500 | [diff] [blame] | 779 | if 'Mac' in bot and 'IntelHD615' in bot: |
| 780 | # skia:7603 |
| 781 | match.append('~^GrMeshTest$') |
| 782 | |
Ben Wagner | 1875353 | 2019-04-15 10:56:05 -0400 | [diff] [blame] | 783 | if 'LenovoYogaC630' in bot and 'ANGLE' in api.vars.extra_tokens: |
Brian Osman | 1b53191 | 2019-07-25 15:55:11 -0400 | [diff] [blame] | 784 | # skia:9275 |
Jim Van Verth | 5a8f3e4 | 2019-10-24 10:23:26 -0400 | [diff] [blame] | 785 | blacklist(['_', 'tests', '_', 'Programs']) |
Ben Wagner | 1875353 | 2019-04-15 10:56:05 -0400 | [diff] [blame] | 786 | # skia:8976 |
| 787 | blacklist(['_', 'tests', '_', 'GrDefaultPathRendererTest']) |
Chris Dalton | 786dcfd | 2019-05-21 09:25:08 -0600 | [diff] [blame] | 788 | # https://bugs.chromium.org/p/angleproject/issues/detail?id=3414 |
| 789 | blacklist(['_', 'tests', '_', 'PinnedImageTest']) |
Ben Wagner | 1875353 | 2019-04-15 10:56:05 -0400 | [diff] [blame] | 790 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 791 | if blacklisted: |
| 792 | args.append('--blacklist') |
| 793 | args.extend(blacklisted) |
| 794 | |
| 795 | if match: |
| 796 | args.append('--match') |
| 797 | args.extend(match) |
| 798 | |
| 799 | # These bots run out of memory running RAW codec tests. Do not run them in |
| 800 | # parallel |
Brian Osman | 2d170c3 | 2019-06-11 12:38:55 -0400 | [diff] [blame] | 801 | if 'Nexus5' in bot or 'Nexus9' in bot: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 802 | args.append('--noRAW_threading') |
| 803 | |
Yuqian Li | 84be3ad | 2017-10-17 10:11:21 -0400 | [diff] [blame] | 804 | if 'FSAA' in bot: |
Mike Klein | e5acd75 | 2019-03-22 09:57:16 -0500 | [diff] [blame] | 805 | args.extend(['--analyticAA', 'false']) |
Yuqian Li | 84be3ad | 2017-10-17 10:11:21 -0400 | [diff] [blame] | 806 | if 'FAAA' in bot: |
Mike Klein | e5acd75 | 2019-03-22 09:57:16 -0500 | [diff] [blame] | 807 | args.extend(['--forceAnalyticAA']) |
Yuqian Li | 84be3ad | 2017-10-17 10:11:21 -0400 | [diff] [blame] | 808 | |
Mike Klein | c207da8 | 2017-11-10 14:24:34 -0500 | [diff] [blame] | 809 | if 'NativeFonts' not in bot: |
| 810 | args.append('--nonativeFonts') |
| 811 | |
Mike Klein | 0c5fdcb | 2017-11-13 12:40:46 -0500 | [diff] [blame] | 812 | if 'GDI' in bot: |
| 813 | args.append('--gdi') |
| 814 | |
Stephan Altmueller | 74dac54 | 2017-09-11 15:32:21 -0400 | [diff] [blame] | 815 | # Let's make all bots produce verbose output by default. |
| 816 | args.append('--verbose') |
Mike Klein | c908906 | 2017-06-26 09:09:32 -0400 | [diff] [blame] | 817 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 818 | return args |
| 819 | |
| 820 | |
| 821 | def key_params(api): |
| 822 | """Build a unique key from the builder name (as a list). |
| 823 | |
| 824 | E.g. arch x86 gpu GeForce320M mode MacMini4.1 os Mac10.6 |
| 825 | """ |
| 826 | # Don't bother to include role, which is always Test. |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 827 | blacklist = ['role', 'test_filter'] |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 828 | |
| 829 | flat = [] |
| 830 | for k in sorted(api.vars.builder_cfg.keys()): |
| 831 | if k not in blacklist: |
| 832 | flat.append(k) |
| 833 | flat.append(api.vars.builder_cfg[k]) |
Kevin Lubick | 3fee923 | 2018-08-24 13:30:34 -0400 | [diff] [blame] | 834 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 835 | return flat |
| 836 | |
| 837 | |
| 838 | def test_steps(api): |
| 839 | """Run the DM test.""" |
Eric Boren | 72f6668 | 2018-05-18 07:36:55 -0400 | [diff] [blame] | 840 | b = api.properties['buildername'] |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 841 | use_hash_file = False |
Eric Boren | 72f6668 | 2018-05-18 07:36:55 -0400 | [diff] [blame] | 842 | if upload_dm_results(b): |
| 843 | host_dm_dir = str(api.flavor.host_dirs.dm_dir) |
| 844 | api.flavor.create_clean_host_dir(api.path['start_dir'].join('test')) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 845 | device_dm_dir = str(api.flavor.device_dirs.dm_dir) |
| 846 | if host_dm_dir != device_dm_dir: |
| 847 | api.flavor.create_clean_device_dir(device_dm_dir) |
| 848 | |
| 849 | # Obtain the list of already-generated hashes. |
| 850 | hash_filename = 'uninteresting_hashes.txt' |
| 851 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 852 | host_hashes_file = api.vars.tmp_dir.join(hash_filename) |
| 853 | hashes_file = api.flavor.device_path_join( |
| 854 | api.flavor.device_dirs.tmp_dir, hash_filename) |
| 855 | api.run( |
| 856 | api.python.inline, |
| 857 | 'get uninteresting hashes', |
| 858 | program=""" |
| 859 | import contextlib |
| 860 | import math |
| 861 | import socket |
| 862 | import sys |
| 863 | import time |
| 864 | import urllib2 |
| 865 | |
Stephan Altmüller | 64cc576 | 2018-08-02 08:51:38 +0200 | [diff] [blame] | 866 | HASHES_URL = sys.argv[1] |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 867 | RETRIES = 5 |
| 868 | TIMEOUT = 60 |
| 869 | WAIT_BASE = 15 |
| 870 | |
| 871 | socket.setdefaulttimeout(TIMEOUT) |
| 872 | for retry in range(RETRIES): |
| 873 | try: |
| 874 | with contextlib.closing( |
| 875 | urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w: |
| 876 | hashes = w.read() |
Stephan Altmüller | 64cc576 | 2018-08-02 08:51:38 +0200 | [diff] [blame] | 877 | with open(sys.argv[2], 'w') as f: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 878 | f.write(hashes) |
| 879 | break |
| 880 | except Exception as e: |
| 881 | print 'Failed to get uninteresting hashes from %s:' % HASHES_URL |
| 882 | print e |
| 883 | if retry == RETRIES: |
| 884 | raise |
| 885 | waittime = WAIT_BASE * math.pow(2, retry) |
| 886 | print 'Retry in %d seconds.' % waittime |
| 887 | time.sleep(waittime) |
| 888 | """, |
Stephan Altmüller | 64cc576 | 2018-08-02 08:51:38 +0200 | [diff] [blame] | 889 | args=[api.properties['gold_hashes_url'], host_hashes_file], |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 890 | abort_on_failure=False, |
| 891 | fail_build_on_failure=False, |
| 892 | infra_step=True) |
| 893 | |
| 894 | if api.path.exists(host_hashes_file): |
| 895 | api.flavor.copy_file_to_device(host_hashes_file, hashes_file) |
| 896 | use_hash_file = True |
| 897 | |
| 898 | # Run DM. |
| 899 | properties = [ |
Eric Boren | 72f6668 | 2018-05-18 07:36:55 -0400 | [diff] [blame] | 900 | 'gitHash', api.properties['revision'], |
Eric Boren | 9a9e387 | 2017-11-29 12:33:22 -0500 | [diff] [blame] | 901 | 'builder', api.vars.builder_name, |
| 902 | 'buildbucket_build_id', api.properties.get('buildbucket_build_id', ''), |
Eric Boren | 113cba8 | 2019-02-26 13:52:43 -0500 | [diff] [blame] | 903 | 'task_id', api.properties['task_id'], |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 904 | ] |
| 905 | if api.vars.is_trybot: |
| 906 | properties.extend([ |
| 907 | 'issue', api.vars.issue, |
| 908 | 'patchset', api.vars.patchset, |
| 909 | 'patch_storage', api.vars.patch_storage, |
| 910 | ]) |
Eric Boren | f9aa9e5 | 2017-04-10 09:56:10 -0400 | [diff] [blame] | 911 | properties.extend(['swarming_bot_id', api.vars.swarming_bot_id]) |
| 912 | properties.extend(['swarming_task_id', api.vars.swarming_task_id]) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 913 | |
Kevin Lubick | 2dafbd7 | 2017-08-31 10:39:05 -0400 | [diff] [blame] | 914 | if 'Chromecast' in api.vars.builder_cfg.get('os', ''): |
| 915 | # Due to limited disk space, we only deal with skps and one image. |
| 916 | args = [ |
| 917 | 'dm', |
Kevin Lubick | 2dafbd7 | 2017-08-31 10:39:05 -0400 | [diff] [blame] | 918 | '--resourcePath', api.flavor.device_dirs.resource_dir, |
| 919 | '--skps', api.flavor.device_dirs.skp_dir, |
| 920 | '--images', api.flavor.device_path_join( |
Kevin Lubick | c2f3e8d | 2018-01-24 15:48:26 -0500 | [diff] [blame] | 921 | api.flavor.device_dirs.resource_dir, 'images', 'color_wheel.jpg'), |
Kevin Lubick | 608c35a | 2018-01-16 16:15:57 -0500 | [diff] [blame] | 922 | '--nameByHash', |
Greg Daniel | f41b2bd | 2019-08-22 16:19:24 -0400 | [diff] [blame] | 923 | '--dontReduceOpsTaskSplitting', |
Kevin Lubick | 608c35a | 2018-01-16 16:15:57 -0500 | [diff] [blame] | 924 | '--properties' |
| 925 | ] + properties |
Kevin Lubick | 95379eb | 2018-01-17 11:20:19 -0500 | [diff] [blame] | 926 | else: |
| 927 | args = [ |
| 928 | 'dm', |
| 929 | '--resourcePath', api.flavor.device_dirs.resource_dir, |
| 930 | '--skps', api.flavor.device_dirs.skp_dir, |
| 931 | '--images', api.flavor.device_path_join( |
| 932 | api.flavor.device_dirs.images_dir, 'dm'), |
| 933 | '--colorImages', api.flavor.device_path_join( |
| 934 | api.flavor.device_dirs.images_dir, 'colorspace'), |
| 935 | '--nameByHash', |
| 936 | '--properties' |
| 937 | ] + properties |
| 938 | |
| 939 | args.extend(['--svgs', api.flavor.device_dirs.svg_dir]) |
Eric Boren | 8c172ba | 2018-07-19 13:27:49 -0400 | [diff] [blame] | 940 | if 'Lottie' in api.vars.builder_cfg.get('extra_config', ''): |
Florin Malita | 81eb632 | 2019-06-24 10:50:33 -0400 | [diff] [blame] | 941 | args.extend([ |
| 942 | '--lotties', |
| 943 | api.flavor.device_path_join( |
| 944 | api.flavor.device_dirs.resource_dir, 'skottie'), |
| 945 | api.flavor.device_dirs.lotties_dir]) |
Kevin Lubick | 95379eb | 2018-01-17 11:20:19 -0500 | [diff] [blame] | 946 | |
| 947 | args.append('--key') |
Kevin Lubick | 3fee923 | 2018-08-24 13:30:34 -0400 | [diff] [blame] | 948 | keys = key_params(api) |
| 949 | |
| 950 | if 'Lottie' in api.vars.builder_cfg.get('extra_config', ''): |
| 951 | keys.extend(['renderer', 'skottie']) |
Ben Wagner | 58a2e3d | 2019-02-08 13:01:40 -0500 | [diff] [blame] | 952 | if 'DDL' in api.vars.builder_cfg.get('extra_config', ''): |
| 953 | # 'DDL' style means "--skpViewportSize 2048 --pr ~small" |
| 954 | keys.extend(['style', 'DDL']) |
| 955 | else: |
| 956 | keys.extend(['style', 'default']) |
Kevin Lubick | 3fee923 | 2018-08-24 13:30:34 -0400 | [diff] [blame] | 957 | |
| 958 | args.extend(keys) |
Kevin Lubick | 608c35a | 2018-01-16 16:15:57 -0500 | [diff] [blame] | 959 | |
| 960 | if use_hash_file: |
| 961 | args.extend(['--uninterestingHashesFile', hashes_file]) |
Eric Boren | 72f6668 | 2018-05-18 07:36:55 -0400 | [diff] [blame] | 962 | if upload_dm_results(b): |
Kevin Lubick | 608c35a | 2018-01-16 16:15:57 -0500 | [diff] [blame] | 963 | args.extend(['--writePath', api.flavor.device_dirs.dm_dir]) |
Kevin Lubick | 2dafbd7 | 2017-08-31 10:39:05 -0400 | [diff] [blame] | 964 | |
Eric Boren | 89cd357 | 2017-06-28 13:50:22 -0400 | [diff] [blame] | 965 | args.extend(dm_flags(api, api.vars.builder_name)) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 966 | |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 967 | # See skia:2789. |
Ben Wagner | 37491d2 | 2017-12-13 13:00:47 -0500 | [diff] [blame] | 968 | if 'AbandonGpuContext' in api.vars.extra_tokens: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 969 | args.append('--abandonGpuContext') |
Ben Wagner | 37491d2 | 2017-12-13 13:00:47 -0500 | [diff] [blame] | 970 | if 'PreAbandonGpuContext' in api.vars.extra_tokens: |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 971 | args.append('--preAbandonGpuContext') |
Ben Wagner | 37491d2 | 2017-12-13 13:00:47 -0500 | [diff] [blame] | 972 | if 'ReleaseAndAbandonGpuContext' in api.vars.extra_tokens: |
Eric Boren | 6ec17e3 | 2017-04-26 14:25:29 -0400 | [diff] [blame] | 973 | args.append('--releaseAndAbandonGpuContext') |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 974 | |
Ben Wagner | 5655ba4 | 2017-10-02 10:48:32 -0400 | [diff] [blame] | 975 | api.run(api.flavor.step, 'dm', cmd=args, abort_on_failure=False) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 976 | |
Eric Boren | 72f6668 | 2018-05-18 07:36:55 -0400 | [diff] [blame] | 977 | if upload_dm_results(b): |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 978 | # Copy images and JSON to host machine if needed. |
| 979 | api.flavor.copy_directory_contents_to_host( |
Eric Boren | 72f6668 | 2018-05-18 07:36:55 -0400 | [diff] [blame] | 980 | api.flavor.device_dirs.dm_dir, api.flavor.host_dirs.dm_dir) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 981 | |
| 982 | |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 983 | def RunSteps(api): |
Eric Boren | b702316 | 2018-05-04 13:46:15 -0400 | [diff] [blame] | 984 | api.vars.setup() |
| 985 | api.file.ensure_directory('makedirs tmp_dir', api.vars.tmp_dir) |
| 986 | api.flavor.setup() |
| 987 | |
Robert Iannucci | 297a7ef | 2017-05-12 19:09:38 -0700 | [diff] [blame] | 988 | env = {} |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 989 | if 'iOS' in api.vars.builder_name: |
| 990 | env['IOS_BUNDLE_ID'] = 'com.google.dm' |
Stephan Altmueller | 63e843d | 2017-04-25 11:38:38 -0400 | [diff] [blame] | 991 | env['IOS_MOUNT_POINT'] = api.vars.slave_dir.join('mnt_iosdevice') |
Robert Iannucci | 297a7ef | 2017-05-12 19:09:38 -0700 | [diff] [blame] | 992 | with api.context(env=env): |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 993 | try: |
Kevin Lubick | 2dafbd7 | 2017-08-31 10:39:05 -0400 | [diff] [blame] | 994 | if 'Chromecast' in api.vars.builder_name: |
| 995 | api.flavor.install(resources=True, skps=True) |
Eric Boren | 8c172ba | 2018-07-19 13:27:49 -0400 | [diff] [blame] | 996 | elif 'Lottie' in api.vars.builder_name: |
| 997 | api.flavor.install(resources=True, lotties=True) |
Kevin Lubick | 2dafbd7 | 2017-08-31 10:39:05 -0400 | [diff] [blame] | 998 | else: |
Eric Boren | 8c172ba | 2018-07-19 13:27:49 -0400 | [diff] [blame] | 999 | api.flavor.install(skps=True, images=True, svgs=True, resources=True) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1000 | test_steps(api) |
| 1001 | finally: |
| 1002 | api.flavor.cleanup_steps() |
| 1003 | api.run.check_failure() |
| 1004 | |
| 1005 | |
Eric Boren | f9aa9e5 | 2017-04-10 09:56:10 -0400 | [diff] [blame] | 1006 | TEST_BUILDERS = [ |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 1007 | 'Test-Android-Clang-AndroidOne-GPU-Mali400MP2-arm-Release-All-Android', |
| 1008 | 'Test-Android-Clang-GalaxyS6-GPU-MaliT760-arm64-Debug-All-Android', |
Ben Wagner | 12e69e7 | 2018-07-15 15:12:01 -0400 | [diff] [blame] | 1009 | ('Test-Android-Clang-GalaxyS6-GPU-MaliT760-arm64-Debug-All' |
| 1010 | '-Android_NoGPUThreads'), |
Ben Wagner | 2107bd8 | 2018-06-12 14:16:07 -0400 | [diff] [blame] | 1011 | ('Test-Android-Clang-GalaxyS7_G930FD-GPU-MaliT880-arm64-Release-All' |
| 1012 | '-Android_Vulkan'), |
Ben Wagner | 12e69e7 | 2018-07-15 15:12:01 -0400 | [diff] [blame] | 1013 | 'Test-Android-Clang-MotoG4-CPU-Snapdragon617-arm-Release-All-Android', |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 1014 | 'Test-Android-Clang-NVIDIA_Shield-GPU-TegraX1-arm64-Debug-All-Android_CCPR', |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 1015 | 'Test-Android-Clang-Nexus5-GPU-Adreno330-arm-Release-All-Android', |
Ben Wagner | 5cf6d32 | 2017-12-07 10:23:07 -0500 | [diff] [blame] | 1016 | 'Test-Android-Clang-Nexus7-CPU-Tegra3-arm-Release-All-Android', |
Ben Wagner | 52423f3 | 2017-12-07 10:17:13 -0500 | [diff] [blame] | 1017 | 'Test-Android-Clang-Pixel-GPU-Adreno530-arm64-Debug-All-Android_Vulkan', |
Ben Wagner | 12e69e7 | 2018-07-15 15:12:01 -0400 | [diff] [blame] | 1018 | 'Test-Android-Clang-Pixel-GPU-Adreno530-arm-Debug-All-Android_ASAN', |
Brian Osman | 4af42fc | 2019-09-16 12:38:04 -0400 | [diff] [blame] | 1019 | 'Test-Android-Clang-Pixel2XL-GPU-Adreno540-arm64-Debug-All-Android', |
Robert Phillips | cd5d146 | 2019-05-01 18:25:52 -0400 | [diff] [blame] | 1020 | 'Test-Android-Clang-Pixel3-GPU-Adreno630-arm64-Debug-All-Android_Vulkan', |
Chris Dalton | 6e38ce7 | 2019-10-23 11:14:49 -0600 | [diff] [blame] | 1021 | 'Test-Android-Clang-Pixel3a-GPU-Adreno615-arm64-Debug-All-Android', |
Kevin Lubick | d7af1db | 2017-11-02 12:03:22 -0400 | [diff] [blame] | 1022 | ('Test-ChromeOS-Clang-AcerChromebookR13Convertible-GPU-PowerVRGX6250-' |
| 1023 | 'arm-Debug-All'), |
Mike Klein | 54d7b31 | 2018-06-27 13:43:51 -0400 | [diff] [blame] | 1024 | 'Test-Chromecast-Clang-Chorizo-CPU-Cortex_A7-arm-Release-All', |
| 1025 | 'Test-Chromecast-Clang-Chorizo-GPU-Cortex_A7-arm-Release-All', |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 1026 | 'Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-ASAN', |
Mike Klein | c24e0c1 | 2018-08-17 13:24:51 -0400 | [diff] [blame] | 1027 | 'Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-BonusConfigs', |
Kevin Lubick | 32f318b | 2017-10-17 13:40:52 -0400 | [diff] [blame] | 1028 | 'Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-shard_00_10-Coverage', |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 1029 | 'Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All-MSAN', |
| 1030 | ('Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Debug-All' |
Ben Wagner | 9fb285e | 2017-10-02 16:53:07 -0400 | [diff] [blame] | 1031 | '-SK_USE_DISCARDABLE_SCALEDIMAGECACHE'), |
Eric Boren | 8c172ba | 2018-07-19 13:27:49 -0400 | [diff] [blame] | 1032 | 'Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-Lottie', |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 1033 | ('Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All' |
Ben Wagner | 6e0a6b3 | 2017-09-26 14:11:15 -0400 | [diff] [blame] | 1034 | '-SK_FORCE_RASTER_PIPELINE_BLITTER'), |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 1035 | 'Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-TSAN', |
Ben Wagner | d26e446 | 2018-05-22 10:46:15 -0400 | [diff] [blame] | 1036 | 'Test-Debian9-Clang-GCE-GPU-SwiftShader-x86_64-Release-All-SwiftShader', |
Kevin Lubick | 88611a1 | 2018-04-26 09:46:45 -0400 | [diff] [blame] | 1037 | 'Test-Debian9-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Release-All-Vulkan', |
| 1038 | 'Test-Debian9-Clang-NUC7i5BNK-GPU-IntelIris640-x86_64-Debug-All-Vulkan', |
Ben Wagner | 4d3ac51 | 2019-11-21 16:32:26 -0500 | [diff] [blame^] | 1039 | 'Test-Debian10-GCC-GCE-CPU-AVX2-x86_64-Debug-All-Docker', |
Jim Van Verth | 31a9e8d | 2019-07-15 12:27:31 -0400 | [diff] [blame] | 1040 | 'Test-iOS-Clang-iPhone6-GPU-PowerVRGX6450-arm64-Release-All-Metal', |
Ben Wagner | b1f5d61 | 2019-02-21 19:24:09 -0500 | [diff] [blame] | 1041 | ('Test-Mac10.13-Clang-MacBook10.1-GPU-IntelHD615-x86_64-Release-All' |
| 1042 | '-NativeFonts'), |
| 1043 | 'Test-Mac10.13-Clang-MacBookPro11.5-CPU-AVX2-x86_64-Release-All', |
| 1044 | 'Test-Mac10.13-Clang-MacBookPro11.5-GPU-RadeonHD8870M-x86_64-Debug-All-Metal', |
Ben Wagner | b1f5d61 | 2019-02-21 19:24:09 -0500 | [diff] [blame] | 1045 | ('Test-Mac10.13-Clang-MacMini7.1-GPU-IntelIris5100-x86_64-Debug-All' |
| 1046 | '-CommandBuffer'), |
| 1047 | 'Test-Mac10.14-Clang-MacBookAir7.2-GPU-IntelHD6000-x86_64-Debug-All', |
Ben Wagner | 9f55393 | 2017-11-27 22:18:12 -0500 | [diff] [blame] | 1048 | 'Test-Ubuntu17-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-Vulkan_Coverage', |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 1049 | ('Test-Ubuntu17-GCC-Golo-GPU-QuadroP400-x86_64-Release-All' |
Mike Klein | f4a0f57 | 2019-11-19 12:41:16 -0600 | [diff] [blame] | 1050 | '-Valgrind_AbandonGpuContext'), |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 1051 | ('Test-Ubuntu17-GCC-Golo-GPU-QuadroP400-x86_64-Release-All' |
Mike Klein | f4a0f57 | 2019-11-19 12:41:16 -0600 | [diff] [blame] | 1052 | '-Valgrind_PreAbandonGpuContext'), |
Eric Boren | dd8b1fc | 2018-05-18 09:54:02 -0400 | [diff] [blame] | 1053 | 'Test-Ubuntu17-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-DDL1', |
| 1054 | 'Test-Ubuntu17-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-DDL3', |
Eric Boren | 9f4efd3 | 2018-07-20 08:25:42 -0400 | [diff] [blame] | 1055 | 'Test-Ubuntu17-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-Lottie', |
Ben Wagner | a4cdfbb | 2018-08-31 10:20:34 -0400 | [diff] [blame] | 1056 | 'Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Release-All-BonusConfigs', |
Chris Dalton | b3c9745 | 2019-06-25 20:07:56 -0600 | [diff] [blame] | 1057 | 'Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Debug-All-NonNVPR', |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 1058 | ('Test-Win10-Clang-Golo-GPU-QuadroP400-x86_64-Release-All' |
Ben Wagner | 6e0a6b3 | 2017-09-26 14:11:15 -0400 | [diff] [blame] | 1059 | '-ReleaseAndAbandonGpuContext'), |
Ben Wagner | fd66b5f | 2017-11-15 15:16:27 -0500 | [diff] [blame] | 1060 | 'Test-Win10-Clang-NUC5i7RYH-CPU-AVX2-x86_64-Debug-All-NativeFonts_GDI', |
Ben Wagner | 0473a31 | 2018-08-29 14:15:15 -0400 | [diff] [blame] | 1061 | 'Test-Win10-Clang-NUC5i7RYH-GPU-IntelIris6100-x86_64-Release-All-ANGLE', |
Ben Wagner | b2fd61a | 2017-10-23 16:01:44 -0400 | [diff] [blame] | 1062 | 'Test-Win10-Clang-NUCD34010WYKH-GPU-IntelHD4400-x86_64-Release-All-ANGLE', |
Greg Daniel | e5b7e6d | 2018-06-12 10:52:59 -0400 | [diff] [blame] | 1063 | 'Test-Win10-Clang-ShuttleA-GPU-GTX660-x86_64-Release-All-Vulkan', |
Jim Van Verth | 95df613 | 2019-09-24 12:31:57 -0400 | [diff] [blame] | 1064 | 'Test-Win10-Clang-ShuttleA-GPU-RadeonHD7770-x86_64-Release-All-Vulkan', |
Ben Wagner | b2fd61a | 2017-10-23 16:01:44 -0400 | [diff] [blame] | 1065 | 'Test-Win10-Clang-ShuttleC-GPU-GTX960-x86_64-Debug-All-ANGLE', |
Ben Wagner | 1875353 | 2019-04-15 10:56:05 -0400 | [diff] [blame] | 1066 | 'Test-Win10-MSVC-LenovoYogaC630-GPU-Adreno630-arm64-Debug-All-ANGLE', |
Ben Wagner | 78935c2 | 2017-11-15 13:21:03 -0500 | [diff] [blame] | 1067 | 'Test-Win2016-Clang-GCE-CPU-AVX2-x86_64-Debug-All-FAAA', |
Ben Wagner | 78935c2 | 2017-11-15 13:21:03 -0500 | [diff] [blame] | 1068 | 'Test-Win2016-Clang-GCE-CPU-AVX2-x86_64-Debug-All-FSAA', |
Ben Wagner | 31629a8 | 2018-08-22 13:10:32 -0400 | [diff] [blame] | 1069 | 'Test-iOS-Clang-iPadPro-GPU-PowerVRGT7800-arm64-Release-All', |
Brian Salomon | b3b98b7 | 2019-07-08 16:29:31 +0000 | [diff] [blame] | 1070 | 'Test-Mac10.13-Clang-MacBook10.1-GPU-IntelHD615-x86_64-Debug-All-CommandBuffer', |
Brian Salomon | 7c8c67e | 2019-09-11 16:53:12 -0400 | [diff] [blame] | 1071 | 'Test-Android-Clang-TecnoSpark3Pro-GPU-PowerVRGE8320-arm-Debug-All-Android', |
Eric Boren | f9aa9e5 | 2017-04-10 09:56:10 -0400 | [diff] [blame] | 1072 | ] |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 1073 | |
| 1074 | |
| 1075 | def GenTests(api): |
Eric Boren | f9aa9e5 | 2017-04-10 09:56:10 -0400 | [diff] [blame] | 1076 | for builder in TEST_BUILDERS: |
| 1077 | test = ( |
| 1078 | api.test(builder) + |
| 1079 | api.properties(buildername=builder, |
Eric Boren | 9a9e387 | 2017-11-29 12:33:22 -0500 | [diff] [blame] | 1080 | buildbucket_build_id='123454321', |
Eric Boren | f9aa9e5 | 2017-04-10 09:56:10 -0400 | [diff] [blame] | 1081 | revision='abc123', |
| 1082 | path_config='kitchen', |
Stephan Altmüller | 64cc576 | 2018-08-02 08:51:38 +0200 | [diff] [blame] | 1083 | gold_hashes_url='https://example.com/hashes.txt', |
Eric Boren | 113cba8 | 2019-02-26 13:52:43 -0500 | [diff] [blame] | 1084 | swarm_out_dir='[SWARM_OUT_DIR]', |
| 1085 | task_id='task_12345') + |
Eric Boren | f9aa9e5 | 2017-04-10 09:56:10 -0400 | [diff] [blame] | 1086 | api.path.exists( |
| 1087 | api.path['start_dir'].join('skia'), |
| 1088 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1089 | 'skimage', 'VERSION'), |
| 1090 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1091 | 'skp', 'VERSION'), |
| 1092 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1093 | 'svg', 'VERSION'), |
| 1094 | api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') |
Ben Wagner | f835c22 | 2017-04-30 11:14:51 -0400 | [diff] [blame] | 1095 | ) + |
| 1096 | api.step_data('get swarming bot id', |
| 1097 | stdout=api.raw_io.output('skia-bot-123')) + |
| 1098 | api.step_data('get swarming task id', |
| 1099 | stdout=api.raw_io.output('123456')) |
Eric Boren | f9aa9e5 | 2017-04-10 09:56:10 -0400 | [diff] [blame] | 1100 | ) |
Ben Wagner | 1875353 | 2019-04-15 10:56:05 -0400 | [diff] [blame] | 1101 | if 'Win' in builder and not 'LenovoYogaC630' in builder: |
Eric Boren | f9aa9e5 | 2017-04-10 09:56:10 -0400 | [diff] [blame] | 1102 | test += api.platform('win', 64) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1103 | |
Kevin Lubick | 2dafbd7 | 2017-08-31 10:39:05 -0400 | [diff] [blame] | 1104 | if 'Chromecast' in builder: |
| 1105 | test += api.step_data( |
| 1106 | 'read chromecast ip', |
| 1107 | stdout=api.raw_io.output('192.168.1.2:5555')) |
| 1108 | |
Eric Boren | f9aa9e5 | 2017-04-10 09:56:10 -0400 | [diff] [blame] | 1109 | yield test |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1110 | |
Eric Boren | dd8b1fc | 2018-05-18 09:54:02 -0400 | [diff] [blame] | 1111 | builder = 'Test-Win8-Clang-Golo-CPU-AVX-x86-Debug-All' |
Kevin Lubick | fe079d4 | 2017-04-12 08:31:48 -0400 | [diff] [blame] | 1112 | yield ( |
| 1113 | api.test('trybot') + |
| 1114 | api.properties(buildername=builder, |
Eric Boren | 9a9e387 | 2017-11-29 12:33:22 -0500 | [diff] [blame] | 1115 | buildbucket_build_id='123454321', |
Kevin Lubick | fe079d4 | 2017-04-12 08:31:48 -0400 | [diff] [blame] | 1116 | revision='abc123', |
| 1117 | path_config='kitchen', |
Stephan Altmüller | 64cc576 | 2018-08-02 08:51:38 +0200 | [diff] [blame] | 1118 | gold_hashes_url='https://example.com/hashes.txt', |
Eric Boren | 113cba8 | 2019-02-26 13:52:43 -0500 | [diff] [blame] | 1119 | swarm_out_dir='[SWARM_OUT_DIR]', |
| 1120 | task_id='task_12345') + |
Ben Wagner | a0dbedf | 2019-04-24 14:14:27 -0400 | [diff] [blame] | 1121 | api.platform('win', 64) + |
Kevin Lubick | fe079d4 | 2017-04-12 08:31:48 -0400 | [diff] [blame] | 1122 | api.properties(patch_storage='gerrit') + |
| 1123 | api.properties.tryserver( |
| 1124 | buildername=builder, |
| 1125 | gerrit_project='skia', |
| 1126 | gerrit_url='https://skia-review.googlesource.com/', |
| 1127 | )+ |
| 1128 | api.path.exists( |
| 1129 | api.path['start_dir'].join('skia'), |
| 1130 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1131 | 'skimage', 'VERSION'), |
| 1132 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1133 | 'skp', 'VERSION'), |
| 1134 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1135 | 'svg', 'VERSION'), |
| 1136 | api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') |
| 1137 | ) |
| 1138 | ) |
| 1139 | |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 1140 | builder = 'Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All' |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 1141 | yield ( |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1142 | api.test('failed_dm') + |
| 1143 | api.properties(buildername=builder, |
Eric Boren | 9a9e387 | 2017-11-29 12:33:22 -0500 | [diff] [blame] | 1144 | buildbucket_build_id='123454321', |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 1145 | revision='abc123', |
| 1146 | path_config='kitchen', |
Stephan Altmüller | 64cc576 | 2018-08-02 08:51:38 +0200 | [diff] [blame] | 1147 | gold_hashes_url='https://example.com/hashes.txt', |
Eric Boren | 113cba8 | 2019-02-26 13:52:43 -0500 | [diff] [blame] | 1148 | swarm_out_dir='[SWARM_OUT_DIR]', |
| 1149 | task_id='task_12345') + |
borenet | 1ed2ae4 | 2016-07-26 11:52:17 -0700 | [diff] [blame] | 1150 | api.path.exists( |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 1151 | api.path['start_dir'].join('skia'), |
| 1152 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1153 | 'skimage', 'VERSION'), |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 1154 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1155 | 'skp', 'VERSION'), |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 1156 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1157 | 'svg', 'VERSION'), |
Ravi Mistry | 9bcca6a | 2016-11-21 16:06:19 -0500 | [diff] [blame] | 1158 | api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1159 | ) + |
| 1160 | api.step_data('symbolized dm', retcode=1) |
| 1161 | ) |
| 1162 | |
Kevin Lubick | 9ef6de7 | 2017-10-15 21:05:58 -0400 | [diff] [blame] | 1163 | builder = 'Test-Android-Clang-Nexus7-GPU-Tegra3-arm-Release-All-Android' |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1164 | yield ( |
| 1165 | api.test('failed_get_hashes') + |
| 1166 | api.properties(buildername=builder, |
Eric Boren | 9a9e387 | 2017-11-29 12:33:22 -0500 | [diff] [blame] | 1167 | buildbucket_build_id='123454321', |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1168 | revision='abc123', |
| 1169 | path_config='kitchen', |
Stephan Altmüller | 64cc576 | 2018-08-02 08:51:38 +0200 | [diff] [blame] | 1170 | gold_hashes_url='https://example.com/hashes.txt', |
Eric Boren | 113cba8 | 2019-02-26 13:52:43 -0500 | [diff] [blame] | 1171 | swarm_out_dir='[SWARM_OUT_DIR]', |
| 1172 | task_id='task_12345') + |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1173 | api.path.exists( |
| 1174 | api.path['start_dir'].join('skia'), |
| 1175 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1176 | 'skimage', 'VERSION'), |
| 1177 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1178 | 'skp', 'VERSION'), |
| 1179 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1180 | 'svg', 'VERSION'), |
| 1181 | api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') |
| 1182 | ) + |
| 1183 | api.step_data('get uninteresting hashes', retcode=1) |
| 1184 | ) |
| 1185 | |
Brian Osman | 2d170c3 | 2019-06-11 12:38:55 -0400 | [diff] [blame] | 1186 | builder = 'Test-Android-Clang-Nexus7-GPU-Tegra3-arm-Debug-All-Android' |
Ben Wagner | 63acfe3 | 2019-10-14 13:03:50 -0400 | [diff] [blame] | 1187 | retry_step_name = ('push [START_DIR]/skia/resources/* ' |
| 1188 | '/sdcard/revenge_of_the_skiabot/resources.push ' |
| 1189 | '[START_DIR]/skia/resources/file1') |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1190 | yield ( |
| 1191 | api.test('failed_push') + |
| 1192 | api.properties(buildername=builder, |
Eric Boren | 9a9e387 | 2017-11-29 12:33:22 -0500 | [diff] [blame] | 1193 | buildbucket_build_id='123454321', |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1194 | revision='abc123', |
| 1195 | path_config='kitchen', |
Stephan Altmüller | 64cc576 | 2018-08-02 08:51:38 +0200 | [diff] [blame] | 1196 | gold_hashes_url='https://example.com/hashes.txt', |
Eric Boren | 113cba8 | 2019-02-26 13:52:43 -0500 | [diff] [blame] | 1197 | swarm_out_dir='[SWARM_OUT_DIR]', |
| 1198 | task_id='task_12345') + |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1199 | api.path.exists( |
| 1200 | api.path['start_dir'].join('skia'), |
| 1201 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1202 | 'skimage', 'VERSION'), |
| 1203 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1204 | 'skp', 'VERSION'), |
| 1205 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1206 | 'svg', 'VERSION'), |
| 1207 | api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') |
| 1208 | ) + |
Kevin Lubick | c6f74ca | 2018-03-01 09:21:38 -0500 | [diff] [blame] | 1209 | api.step_data('get swarming bot id', |
| 1210 | stdout=api.raw_io.output('build123-m2--device5')) + |
Ben Wagner | 63acfe3 | 2019-10-14 13:03:50 -0400 | [diff] [blame] | 1211 | api.step_data(retry_step_name, retcode=1) + |
| 1212 | api.step_data(retry_step_name + ' (attempt 2)', retcode=1) + |
| 1213 | api.step_data(retry_step_name + ' (attempt 3)', retcode=1) |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1214 | ) |
| 1215 | |
Eric Boren | cd0a98c | 2018-06-20 13:23:16 -0400 | [diff] [blame] | 1216 | retry_step_name = 'adb pull.pull /sdcard/revenge_of_the_skiabot/dm_out' |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1217 | yield ( |
| 1218 | api.test('failed_pull') + |
| 1219 | api.properties(buildername=builder, |
Eric Boren | 9a9e387 | 2017-11-29 12:33:22 -0500 | [diff] [blame] | 1220 | buildbucket_build_id='123454321', |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1221 | revision='abc123', |
| 1222 | path_config='kitchen', |
Stephan Altmüller | 64cc576 | 2018-08-02 08:51:38 +0200 | [diff] [blame] | 1223 | gold_hashes_url='https://example.com/hashes.txt', |
Eric Boren | 113cba8 | 2019-02-26 13:52:43 -0500 | [diff] [blame] | 1224 | swarm_out_dir='[SWARM_OUT_DIR]', |
| 1225 | task_id='task_12345') + |
Eric Boren | 4c7754c | 2017-04-10 08:19:10 -0400 | [diff] [blame] | 1226 | api.path.exists( |
| 1227 | api.path['start_dir'].join('skia'), |
| 1228 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1229 | 'skimage', 'VERSION'), |
| 1230 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1231 | 'skp', 'VERSION'), |
| 1232 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1233 | 'svg', 'VERSION'), |
| 1234 | api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') |
| 1235 | ) + |
| 1236 | api.step_data('dm', retcode=1) + |
Ben Wagner | e7e6e22 | 2018-05-25 09:47:37 -0400 | [diff] [blame] | 1237 | api.step_data(retry_step_name, retcode=1) + |
| 1238 | api.step_data(retry_step_name + ' (attempt 2)', retcode=1) + |
| 1239 | api.step_data(retry_step_name + ' (attempt 3)', retcode=1) |
borenet | bfa5b45 | 2016-10-19 10:13:32 -0700 | [diff] [blame] | 1240 | ) |
Eric Boren | 053d7a4 | 2017-09-15 08:35:31 -0400 | [diff] [blame] | 1241 | |
| 1242 | yield ( |
Kevin Lubick | bd27d1d | 2017-10-13 08:01:49 -0400 | [diff] [blame] | 1243 | api.test('internal_bot_2') + |
| 1244 | api.properties(buildername=builder, |
Eric Boren | 9a9e387 | 2017-11-29 12:33:22 -0500 | [diff] [blame] | 1245 | buildbucket_build_id='123454321', |
Kevin Lubick | bd27d1d | 2017-10-13 08:01:49 -0400 | [diff] [blame] | 1246 | revision='abc123', |
| 1247 | path_config='kitchen', |
| 1248 | swarm_out_dir='[SWARM_OUT_DIR]', |
Stephan Altmüller | 64cc576 | 2018-08-02 08:51:38 +0200 | [diff] [blame] | 1249 | gold_hashes_url='https://example.com/hashes.txt', |
Eric Boren | 113cba8 | 2019-02-26 13:52:43 -0500 | [diff] [blame] | 1250 | internal_hardware_label='2', |
| 1251 | task_id='task_12345') + |
Kevin Lubick | bd27d1d | 2017-10-13 08:01:49 -0400 | [diff] [blame] | 1252 | api.path.exists( |
| 1253 | api.path['start_dir'].join('skia'), |
| 1254 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1255 | 'skimage', 'VERSION'), |
| 1256 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1257 | 'skp', 'VERSION'), |
| 1258 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1259 | 'svg', 'VERSION'), |
| 1260 | api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') |
Kevin Lubick | d1bbd5f | 2017-11-21 16:47:16 -0500 | [diff] [blame] | 1261 | ) |
Kevin Lubick | bd27d1d | 2017-10-13 08:01:49 -0400 | [diff] [blame] | 1262 | ) |
Kevin Lubick | 8243988 | 2018-12-12 15:50:14 -0500 | [diff] [blame] | 1263 | |
| 1264 | yield ( |
| 1265 | api.test('internal_bot_5') + |
| 1266 | api.properties(buildername=builder, |
| 1267 | buildbucket_build_id='123454321', |
| 1268 | revision='abc123', |
| 1269 | path_config='kitchen', |
| 1270 | swarm_out_dir='[SWARM_OUT_DIR]', |
| 1271 | gold_hashes_url='https://example.com/hashes.txt', |
Eric Boren | 113cba8 | 2019-02-26 13:52:43 -0500 | [diff] [blame] | 1272 | internal_hardware_label='5', |
| 1273 | task_id='task_12345') + |
Kevin Lubick | 8243988 | 2018-12-12 15:50:14 -0500 | [diff] [blame] | 1274 | api.path.exists( |
| 1275 | api.path['start_dir'].join('skia'), |
| 1276 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1277 | 'skimage', 'VERSION'), |
| 1278 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1279 | 'skp', 'VERSION'), |
| 1280 | api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', |
| 1281 | 'svg', 'VERSION'), |
| 1282 | api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt') |
| 1283 | ) |
| 1284 | ) |