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

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

Issue 2330133002: Updating the SwarmingIsolatedScriptTest to upload chartjson results to the (Closed)
Patch Set: Fixing presubmit issues Created 4 years, 2 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 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 'bisect_tester', 7 'bisect_tester',
8 'depot_tools/bot_update', 8 'depot_tools/bot_update',
9 'chromium', 9 'chromium',
10 'chromium_android', 10 'chromium_android',
(...skipping 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 ], 459 ],
460 }, 460 },
461 }) 461 })
462 ) 462 )
463 ) 463 )
464 464
465 yield ( 465 yield (
466 api.test('dynamic_swarmed_sharded_passed_isolated_script_test') + 466 api.test('dynamic_swarmed_sharded_passed_isolated_script_test') +
467 api.properties.generic(mastername='chromium.linux', 467 api.properties.generic(mastername='chromium.linux',
468 buildername='Linux Tests', 468 buildername='Linux Tests',
469 parent_buildername='Linux Builder') + 469 parent_buildername='Linux Builder',
470 api.properties(swarm_hashes={ 470 got_revision_cp='refs/heads/master@{#291141}',
471 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', 471 buildnumber='1234',
472 }) + 472 version='v23523',
473 git_revision='asdfawe2342',
474 got_webrtc_revision='asdfas',
475 got_v8_revision='asdfadsfa4e3w') +
476
477 api.properties(
478 swarm_hashes={
479 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee'
480 }, **{'perf-id': 'testid', 'results-url': 'http://test-results-url'}) +
473 api.platform('linux', 64) + 481 api.platform('linux', 64) +
474 api.override_step_data( 482 api.override_step_data(
475 'read test spec (chromium.linux.json)', 483 'read test spec (chromium.linux.json)',
476 api.json.output({ 484 api.json.output({
477 'Linux Tests': { 485 'Linux Tests': {
478 'isolated_scripts': [ 486 'isolated_scripts': [
479 { 487 {
480 'isolate_name': 'telemetry_gpu_unittests', 488 'isolate_name': 'telemetry_gpu_unittests',
481 'name': 'telemetry_gpu_unittests', 489 'name': 'telemetry_gpu_unittests',
482 'swarming': { 490 'swarming': {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
629 api.override_step_data( 637 api.override_step_data(
630 'telemetry_gpu_unittests on Ubuntu-12.04', 638 'telemetry_gpu_unittests on Ubuntu-12.04',
631 api.test_utils.canned_isolated_script_output( 639 api.test_utils.canned_isolated_script_output(
632 passing=True, is_win=False, swarming=True, 640 passing=True, is_win=False, swarming=True,
633 shards=4, isolated_script_passing=True, valid=True, 641 shards=4, isolated_script_passing=True, valid=True,
634 empty_shards=[1], output_chartjson=True), 642 empty_shards=[1], output_chartjson=True),
635 retcode=1) 643 retcode=1)
636 ) 644 )
637 645
638 yield ( 646 yield (
647 api.test('dynamic_swarmed_sharded_isolated_chartjson_test_disabled') +
648 api.properties.generic(mastername='chromium.linux',
649 buildername='Linux Tests',
650 parent_buildername='Linux Builder',
651 got_revision_cp='refs/heads/master@{#291141}') +
652 api.properties(swarm_hashes={
653 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
654 }) +
655 api.platform('linux', 64) +
656 api.override_step_data(
657 'read test spec (chromium.linux.json)',
658 api.json.output({
659 'Linux Tests': {
660 'isolated_scripts': [
661 {
662 'isolate_name': 'telemetry_gpu_unittests',
663 'name': 'telemetry_gpu_unittests',
664 'swarming': {
665 'can_use_on_swarming_builders': True,
666 'shards': 2,
667 },
668 },
669 ],
670 },
671 })
672 ) +
673 api.override_step_data('telemetry_gpu_unittests on Ubuntu-12.04',
674 api.test_utils.canned_isolated_script_output(
675 passing=True, is_win=False, swarming=True,
676 shards=2, isolated_script_passing=True, valid=True,
677 output_chartjson=True, benchmark_enabled=False),
678 retcode=0)
679 )
680
681 yield (
639 api.test('dynamic_swarmed_sharded_isolated_chartjson_test_missing_shard') + 682 api.test('dynamic_swarmed_sharded_isolated_chartjson_test_missing_shard') +
640 api.properties.generic(mastername='chromium.linux', 683 api.properties.generic(mastername='chromium.linux',
641 buildername='Linux Tests', 684 buildername='Linux Tests',
642 parent_buildername='Linux Builder') + 685 parent_buildername='Linux Builder',
686 got_revision_cp='refs/heads/master@{#291141}'
687 ) +
643 api.properties(swarm_hashes={ 688 api.properties(swarm_hashes={
644 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', 689 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
645 }) + 690 }) +
646 api.platform('linux', 64) + 691 api.platform('linux', 64) +
647 api.override_step_data( 692 api.override_step_data(
648 'read test spec (chromium.linux.json)', 693 'read test spec (chromium.linux.json)',
649 api.json.output({ 694 api.json.output({
650 'Linux Tests': { 695 'Linux Tests': {
651 'isolated_scripts': [ 696 'isolated_scripts': [
652 { 697 {
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
1437 yield ( 1482 yield (
1438 api.test('ensure_goma_fail') + 1483 api.test('ensure_goma_fail') +
1439 api.properties( 1484 api.properties(
1440 mastername='chromium.fyi', 1485 mastername='chromium.fyi',
1441 buildername='Linux remote_run Builder', 1486 buildername='Linux remote_run Builder',
1442 slavename='build1-a1', 1487 slavename='build1-a1',
1443 buildnumber='77457', 1488 buildnumber='77457',
1444 path_config='kitchen') + 1489 path_config='kitchen') +
1445 api.override_step_data('ensure_goma.ensure_installed', retcode=1) 1490 api.override_step_data('ensure_goma.ensure_installed', retcode=1)
1446 ) 1491 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698