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

Side by Side Diff: scripts/slave/recipes/chromium.py

Issue 1527123002: Support swarming dimensions in src-side JSON buildbot files. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Addressed review feedback from maruel. Created 5 years 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 DEPS = [ 5 DEPS = [
6 'adb', 6 'adb',
7 'amp', 7 'amp',
8 'bisect_tester', 8 'bisect_tester',
9 'bot_update', 9 'bot_update',
10 'chromium', 10 'chromium',
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 'isolate_name': 'telemetry_gpu_unittests', 306 'isolate_name': 'telemetry_gpu_unittests',
307 'name': 'telemetry_gpu_unittests', 307 'name': 'telemetry_gpu_unittests',
308 'swarming': {'can_use_on_swarming_builders': True}, 308 'swarming': {'can_use_on_swarming_builders': True},
309 }, 309 },
310 ], 310 ],
311 }, 311 },
312 })) 312 }))
313 ) 313 )
314 314
315 yield ( 315 yield (
316 api.test('dynamic_swarmed_isolated_script_test_linux_gpu') +
317 api.properties.generic(mastername='chromium.linux',
318 buildername='Linux Tests',
319 parent_buildername='Linux Builder') +
320 api.properties(swarm_hashes={
321 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
Sergiy Byelozyorov 2015/12/16 14:44:54 nit: yupieeeeeeee... ;-)
322 }) +
323 api.platform('linux', 64) +
324 api.override_step_data('read test spec', api.json.output({
325 'Linux Tests': {
326 'isolated_scripts': [
327 {
328 'isolate_name': 'telemetry_gpu_unittests',
329 'name': 'telemetry_gpu_unittests',
330 'swarming': {
331 'can_use_on_swarming_builders': True,
332 'dimension_sets': [
333 {
334 'gpu': '10de:104a', # NVIDIA GeForce GT 610
335 'os': 'Linux',
336 },
337 ],
338 },
339 },
340 ],
341 },
342 }))
343 )
344
345 yield (
346 api.test('dynamic_swarmed_isolated_script_test_mac_gpu') +
347 api.properties.generic(mastername='chromium.mac',
348 buildername='Mac10.9 Tests',
349 parent_buildername='Mac Builder') +
350 api.properties(swarm_hashes={
351 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
352 }) +
353 api.platform('mac', 64) +
354 api.override_step_data('read test spec', api.json.output({
355 'Mac10.9 Tests': {
356 'isolated_scripts': [
357 {
358 'isolate_name': 'telemetry_gpu_unittests',
359 'name': 'telemetry_gpu_unittests',
360 'swarming': {
361 'can_use_on_swarming_builders': True,
362 'dimension_sets': [
363 {
364 'gpu': '8086:0a2e', # Intel Iris
365 'hidpi': '0',
366 'os': 'Mac-10.10',
367 }, {
368 'gpu': '10de:0fe9', # NVIDIA GeForce GT 750M
369 'hidpi': '1',
370 'os': 'Mac-10.9',
371 },
372 ],
373 },
374 },
375 ],
376 },
377 }))
378 )
379
380 yield (
381 api.test('dynamic_swarmed_isolated_script_test_win_gpu') +
382 api.properties.generic(mastername='chromium.win',
383 buildername='Win7 Tests (1)',
384 parent_buildername='Win Builder') +
385 api.properties(swarm_hashes={
386 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
387 }) +
388 api.platform('win', 64) +
389 api.override_step_data('read test spec', api.json.output({
390 'Win7 Tests (1)': {
391 'isolated_scripts': [
392 {
393 'isolate_name': 'telemetry_gpu_unittests',
394 'name': 'telemetry_gpu_unittests',
395 'swarming': {
396 'can_use_on_swarming_builders': True,
397 'dimension_sets': [
398 {
399 'gpu': '10de:104a', # NVIDIA GeForce GT 610
400 'os': 'Windows',
401 }, {
402 'gpu': '1002:6779', # AMD Radeon HD 6450
403 'os': 'Windows',
404 }, {
405 'gpu': '15ad:0405', # VMWare SVGA II Adapter
406 'os': 'Windows',
407 },
408 ],
409 },
410 },
411 ],
412 },
413 }))
414 )
415
416 yield (
417 api.test('dynamic_swarmed_isolated_script_test_win_non_gpu') +
418 api.properties.generic(mastername='chromium.win',
419 buildername='Win7 Tests (1)',
420 parent_buildername='Win Builder') +
421 api.properties(swarm_hashes={
422 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
423 }) +
424 api.platform('win', 64) +
425 api.override_step_data('read test spec', api.json.output({
426 'Win7 Tests (1)': {
427 'isolated_scripts': [
428 {
429 'isolate_name': 'telemetry_gpu_unittests',
430 'name': 'telemetry_gpu_unittests',
431 'swarming': {
432 'can_use_on_swarming_builders': True,
433 'dimension_sets': [
434 {
435 'os': 'Windows',
436 },
437 ],
438 },
439 },
440 ],
441 },
442 }))
443 )
444
445 yield (
316 api.test('dynamic_swarmed_failed_isolated_script_test') + 446 api.test('dynamic_swarmed_failed_isolated_script_test') +
317 api.properties.generic(mastername='chromium.linux', 447 api.properties.generic(mastername='chromium.linux',
318 buildername='Linux Tests', 448 buildername='Linux Tests',
319 parent_buildername='Linux Builder') + 449 parent_buildername='Linux Builder') +
320 api.properties(swarm_hashes={ 450 api.properties(swarm_hashes={
321 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', 451 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
322 }) + 452 }) +
323 api.platform('linux', 64) + 453 api.platform('linux', 64) +
324 api.override_step_data('read test spec', api.json.output({ 454 api.override_step_data('read test spec', api.json.output({
325 'Linux Tests': { 455 'Linux Tests': {
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 api.test('chromium_linux_Android_Tests_logcat_upload_timeout') + 871 api.test('chromium_linux_Android_Tests_logcat_upload_timeout') +
742 api.properties( 872 api.properties(
743 mastername='chromium.linux', 873 mastername='chromium.linux',
744 buildername='Android Tests', 874 buildername='Android Tests',
745 slavename='build1-a1', 875 slavename='build1-a1',
746 buildnumber='77457', 876 buildnumber='77457',
747 parent_buildername='Android Builder', 877 parent_buildername='Android Builder',
748 ) + 878 ) +
749 api.override_step_data('gsutil upload', retcode=-2001) 879 api.override_step_data('gsutil upload', retcode=-2001)
750 ) 880 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698