Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Side by Side Diff: infra/bots/recipes/swarm_test.py

Issue 2243143002: Add --serial mode to dm, runs unit tests serially (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Run test serially Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 5
6 # Recipe module for Skia Swarming test. 6 # Recipe module for Skia Swarming test.
7 7
8 8
9 DEPS = [ 9 DEPS = [
10 'build/file', 10 'build/file',
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 match.append('~CompressCheckerboard') 300 match.append('~CompressCheckerboard')
301 301
302 if 'GalaxyS3' in bot: # skia:1699 302 if 'GalaxyS3' in bot: # skia:1699
303 match.append('~WritePixels') 303 match.append('~WritePixels')
304 304
305 if 'AndroidOne' in bot: # skia:4711 305 if 'AndroidOne' in bot: # skia:4711
306 match.append('~WritePixels') 306 match.append('~WritePixels')
307 307
308 if 'NexusPlayer' in bot: 308 if 'NexusPlayer' in bot:
309 match.append('~ResourceCache') 309 match.append('~ResourceCache')
310 match.append('~ColorSpaceCRBug')
mtklein 2016/08/16 23:54:06 Is this still going to be necessary once we've mad
msarett 2016/08/17 12:40:45 I'll run the trybot, but I think we'll still need
mtklein 2016/08/17 12:45:12 So you're saying it allocates 2 giant tables, then
msarett 2016/08/17 12:51:47 This is actually what we do - the large memory use
310 311
311 if 'Nexus10' in bot: # skia:5509 312 if 'Nexus10' in bot: # skia:5509
312 match.append('~CopySurface') 313 match.append('~CopySurface')
313 314
314 if 'ANGLE' in bot and 'Debug' in bot: 315 if 'ANGLE' in bot and 'Debug' in bot:
315 match.append('~GLPrograms') # skia:4717 316 match.append('~GLPrograms') # skia:4717
316 317
317 if 'MSAN' in bot: 318 if 'MSAN' in bot:
318 match.extend(['~Once', '~Shared']) # Not sure what's up with these tests. 319 match.extend(['~Once', '~Shared']) # Not sure what's up with these tests.
319 320
320 if 'TSAN' in bot: 321 if 'TSAN' in bot:
321 match.extend(['~ReadWriteAlpha']) # Flaky on TSAN-covered on nvidia bots. 322 match.extend(['~ReadWriteAlpha']) # Flaky on TSAN-covered on nvidia bots.
322 323
324 # For memory intensive tests that we don't want to run multi-threaded.
325 serial = []
326 serial.append('ColorSpaceCRBug')
327
323 if blacklist: 328 if blacklist:
324 args.append('--blacklist') 329 args.append('--blacklist')
325 args.extend(blacklist) 330 args.extend(blacklist)
326 331
327 if match: 332 if match:
328 args.append('--match') 333 args.append('--match')
329 args.extend(match) 334 args.extend(match)
330 335
336 if serial:
337 args.append('--serial')
338 args.extend(serial)
339
331 # These bots run out of memory running RAW codec tests. Do not run them in 340 # These bots run out of memory running RAW codec tests. Do not run them in
332 # parallel 341 # parallel
333 if ('NexusPlayer' in bot or 'Nexus5' in bot or 'Nexus9' in bot 342 if ('NexusPlayer' in bot or 'Nexus5' in bot or 'Nexus9' in bot
334 or 'Win8-MSVC-ShuttleB' in bot): 343 or 'Win8-MSVC-ShuttleB' in bot):
335 args.append('--noRAW_threading') 344 args.append('--noRAW_threading')
336 345
337 return args 346 return args
338 347
339 348
340 def key_params(api): 349 def key_params(api):
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', 863 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
855 'skimage', 'VERSION'), 864 'skimage', 'VERSION'),
856 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', 865 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
857 'skp', 'VERSION'), 866 'skp', 'VERSION'),
858 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', 867 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
859 'svg', 'VERSION'), 868 'svg', 'VERSION'),
860 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 869 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
861 ) + 870 ) +
862 api.platform('win', 64) 871 api.platform('win', 64)
863 ) 872 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698