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

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

Issue 2352183002: Revert of Updating swarming api to check for chartjson results from a finished (Closed)
Patch Set: Created 4 years, 3 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 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 'shards': 2, 484 'shards': 2,
485 }, 485 },
486 }, 486 },
487 ], 487 ],
488 }, 488 },
489 }) 489 })
490 ) + 490 ) +
491 api.override_step_data('telemetry_gpu_unittests on Ubuntu-12.04', 491 api.override_step_data('telemetry_gpu_unittests on Ubuntu-12.04',
492 api.test_utils.canned_isolated_script_output( 492 api.test_utils.canned_isolated_script_output(
493 passing=True, is_win=False, swarming=True, 493 passing=True, is_win=False, swarming=True,
494 shards=2, isolated_script_passing=True, valid=True, 494 shards=2, isolated_script_passing=True, valid=True),
495 output_chartjson=True),
496 retcode=0) 495 retcode=0)
497 ) 496 )
498 497
499 yield ( 498 yield (
500 api.test('dynamic_swarmed_sharded_failed_isolated_script_test') + 499 api.test('dynamic_swarmed_sharded_failed_isolated_script_test') +
501 api.properties.generic(mastername='chromium.linux', 500 api.properties.generic(mastername='chromium.linux',
502 buildername='Linux Tests', 501 buildername='Linux Tests',
503 parent_buildername='Linux Builder') + 502 parent_buildername='Linux Builder') +
504 api.properties(swarm_hashes={ 503 api.properties(swarm_hashes={
505 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', 504 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 ) + 591 ) +
593 api.override_step_data( 592 api.override_step_data(
594 'telemetry_gpu_unittests on Ubuntu-12.04', 593 'telemetry_gpu_unittests on Ubuntu-12.04',
595 api.test_utils.canned_isolated_script_output( 594 api.test_utils.canned_isolated_script_output(
596 passing=True, is_win=False, swarming=True, 595 passing=True, is_win=False, swarming=True,
597 shards=2, isolated_script_passing=True, valid=True, 596 shards=2, isolated_script_passing=True, valid=True,
598 empty_shards=[1]), 597 empty_shards=[1]),
599 retcode=1) 598 retcode=1)
600 ) 599 )
601 600
602 yield (
603 api.test(
604 'dynamic_swarmed_sharded_isolated_chartjson_test_harness_failure') +
605 api.properties.generic(mastername='chromium.linux',
606 buildername='Linux Tests',
607 parent_buildername='Linux Builder') +
608 api.properties(swarm_hashes={
609 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
610 }) +
611 api.platform('linux', 64) +
612 api.override_step_data(
613 'read test spec (chromium.linux.json)',
614 api.json.output({
615 'Linux Tests': {
616 'isolated_scripts': [
617 {
618 'isolate_name': 'telemetry_gpu_unittests',
619 'name': 'telemetry_gpu_unittests',
620 'swarming': {
621 'can_use_on_swarming_builders': True,
622 'shards': 2,
623 },
624 },
625 ],
626 },
627 })
628 ) +
629 api.override_step_data(
630 'telemetry_gpu_unittests on Ubuntu-12.04',
631 api.test_utils.canned_isolated_script_output(
632 passing=True, is_win=False, swarming=True,
633 shards=4, isolated_script_passing=True, valid=True,
634 empty_shards=[1], output_chartjson=True),
635 retcode=1)
636 )
637
638 yield (
639 api.test('dynamic_swarmed_sharded_isolated_chartjson_test_missing_shard') +
640 api.properties.generic(mastername='chromium.linux',
641 buildername='Linux Tests',
642 parent_buildername='Linux Builder') +
643 api.properties(swarm_hashes={
644 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
645 }) +
646 api.platform('linux', 64) +
647 api.override_step_data(
648 'read test spec (chromium.linux.json)',
649 api.json.output({
650 'Linux Tests': {
651 'isolated_scripts': [
652 {
653 'isolate_name': 'telemetry_gpu_unittests',
654 'name': 'telemetry_gpu_unittests',
655 'swarming': {
656 'can_use_on_swarming_builders': True,
657 'shards': 2,
658 },
659 },
660 ],
661 },
662 })
663 ) +
664 api.override_step_data(
665 'telemetry_gpu_unittests on Ubuntu-12.04',
666 api.test_utils.canned_isolated_script_output(
667 passing=True, is_win=False, swarming=True,
668 shards=2, isolated_script_passing=True, valid=True,
669 missing_shards=[1], output_chartjson=True),
670 retcode=1)
671 )
672
673 yield ( 601 yield (
674 api.test('dynamic_swarmed_isolated_script_test_linux_gpu') + 602 api.test('dynamic_swarmed_isolated_script_test_linux_gpu') +
675 api.properties.generic(mastername='chromium.linux', 603 api.properties.generic(mastername='chromium.linux',
676 buildername='Linux Tests', 604 buildername='Linux Tests',
677 parent_buildername='Linux Builder') + 605 parent_buildername='Linux Builder') +
678 api.properties(swarm_hashes={ 606 api.properties(swarm_hashes={
679 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', 607 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
680 }) + 608 }) +
681 api.platform('linux', 64) + 609 api.platform('linux', 64) +
682 api.override_step_data( 610 api.override_step_data(
(...skipping 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
1437 yield ( 1365 yield (
1438 api.test('ensure_goma_fail') + 1366 api.test('ensure_goma_fail') +
1439 api.properties( 1367 api.properties(
1440 mastername='chromium.fyi', 1368 mastername='chromium.fyi',
1441 buildername='Linux remote_run Builder', 1369 buildername='Linux remote_run Builder',
1442 slavename='build1-a1', 1370 slavename='build1-a1',
1443 buildnumber='77457', 1371 buildnumber='77457',
1444 path_config='kitchen') + 1372 path_config='kitchen') +
1445 api.override_step_data('ensure_goma.ensure_installed', retcode=1) 1373 api.override_step_data('ensure_goma.ensure_installed', retcode=1)
1446 ) 1374 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698