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 2391353002: Revert of Updating the SwarmingIsolatedScriptTest to upload chartjson results to the (Closed)
Patch Set: 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 got_revision_cp='refs/heads/master@{#291141}', 470 api.properties(swarm_hashes={
471 buildnumber='1234', 471 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
472 version='v23523', 472 }) +
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'}) +
481 api.platform('linux', 64) + 473 api.platform('linux', 64) +
482 api.override_step_data( 474 api.override_step_data(
483 'read test spec (chromium.linux.json)', 475 'read test spec (chromium.linux.json)',
484 api.json.output({ 476 api.json.output({
485 'Linux Tests': { 477 'Linux Tests': {
486 'isolated_scripts': [ 478 'isolated_scripts': [
487 { 479 {
488 'isolate_name': 'telemetry_gpu_unittests', 480 'isolate_name': 'telemetry_gpu_unittests',
489 'name': 'telemetry_gpu_unittests', 481 'name': 'telemetry_gpu_unittests',
490 'swarming': { 482 'swarming': {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 api.override_step_data( 629 api.override_step_data(
638 'telemetry_gpu_unittests on Ubuntu-12.04', 630 'telemetry_gpu_unittests on Ubuntu-12.04',
639 api.test_utils.canned_isolated_script_output( 631 api.test_utils.canned_isolated_script_output(
640 passing=True, is_win=False, swarming=True, 632 passing=True, is_win=False, swarming=True,
641 shards=4, isolated_script_passing=True, valid=True, 633 shards=4, isolated_script_passing=True, valid=True,
642 empty_shards=[1], output_chartjson=True), 634 empty_shards=[1], output_chartjson=True),
643 retcode=1) 635 retcode=1)
644 ) 636 )
645 637
646 yield ( 638 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 (
682 api.test('dynamic_swarmed_sharded_isolated_chartjson_test_missing_shard') + 639 api.test('dynamic_swarmed_sharded_isolated_chartjson_test_missing_shard') +
683 api.properties.generic(mastername='chromium.linux', 640 api.properties.generic(mastername='chromium.linux',
684 buildername='Linux Tests', 641 buildername='Linux Tests',
685 parent_buildername='Linux Builder', 642 parent_buildername='Linux Builder') +
686 got_revision_cp='refs/heads/master@{#291141}'
687 ) +
688 api.properties(swarm_hashes={ 643 api.properties(swarm_hashes={
689 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', 644 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
690 }) + 645 }) +
691 api.platform('linux', 64) + 646 api.platform('linux', 64) +
692 api.override_step_data( 647 api.override_step_data(
693 'read test spec (chromium.linux.json)', 648 'read test spec (chromium.linux.json)',
694 api.json.output({ 649 api.json.output({
695 'Linux Tests': { 650 'Linux Tests': {
696 'isolated_scripts': [ 651 'isolated_scripts': [
697 { 652 {
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
1482 yield ( 1437 yield (
1483 api.test('ensure_goma_fail') + 1438 api.test('ensure_goma_fail') +
1484 api.properties( 1439 api.properties(
1485 mastername='chromium.fyi', 1440 mastername='chromium.fyi',
1486 buildername='Linux remote_run Builder', 1441 buildername='Linux remote_run Builder',
1487 slavename='build1-a1', 1442 slavename='build1-a1',
1488 buildnumber='77457', 1443 buildnumber='77457',
1489 path_config='kitchen') + 1444 path_config='kitchen') +
1490 api.override_step_data('ensure_goma.ensure_installed', retcode=1) 1445 api.override_step_data('ensure_goma.ensure_installed', retcode=1)
1491 ) 1446 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698