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

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

Issue 2336293002: Updating swarming api to check for chartjson results from a finished (Closed)
Patch Set: Relanding CL 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),
495 retcode=0) 496 retcode=0)
496 ) 497 )
497 498
498 yield ( 499 yield (
499 api.test('dynamic_swarmed_sharded_failed_isolated_script_test') + 500 api.test('dynamic_swarmed_sharded_failed_isolated_script_test') +
500 api.properties.generic(mastername='chromium.linux', 501 api.properties.generic(mastername='chromium.linux',
501 buildername='Linux Tests', 502 buildername='Linux Tests',
502 parent_buildername='Linux Builder') + 503 parent_buildername='Linux Builder') +
503 api.properties(swarm_hashes={ 504 api.properties(swarm_hashes={
504 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', 505 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 api.override_step_data( 593 api.override_step_data(
593 'telemetry_gpu_unittests on Ubuntu-12.04', 594 'telemetry_gpu_unittests on Ubuntu-12.04',
594 api.test_utils.canned_isolated_script_output( 595 api.test_utils.canned_isolated_script_output(
595 passing=True, is_win=False, swarming=True, 596 passing=True, is_win=False, swarming=True,
596 shards=2, isolated_script_passing=True, valid=True, 597 shards=2, isolated_script_passing=True, valid=True,
597 empty_shards=[1]), 598 empty_shards=[1]),
598 retcode=1) 599 retcode=1)
599 ) 600 )
600 601
601 yield ( 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 (
602 api.test('dynamic_swarmed_isolated_script_test_linux_gpu') + 674 api.test('dynamic_swarmed_isolated_script_test_linux_gpu') +
603 api.properties.generic(mastername='chromium.linux', 675 api.properties.generic(mastername='chromium.linux',
604 buildername='Linux Tests', 676 buildername='Linux Tests',
605 parent_buildername='Linux Builder') + 677 parent_buildername='Linux Builder') +
606 api.properties(swarm_hashes={ 678 api.properties(swarm_hashes={
607 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', 679 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
608 }) + 680 }) +
609 api.platform('linux', 64) + 681 api.platform('linux', 64) +
610 api.override_step_data( 682 api.override_step_data(
611 'read test spec (chromium.linux.json)', 683 'read test spec (chromium.linux.json)',
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
1365 yield ( 1437 yield (
1366 api.test('ensure_goma_fail') + 1438 api.test('ensure_goma_fail') +
1367 api.properties( 1439 api.properties(
1368 mastername='chromium.fyi', 1440 mastername='chromium.fyi',
1369 buildername='Linux remote_run Builder', 1441 buildername='Linux remote_run Builder',
1370 slavename='build1-a1', 1442 slavename='build1-a1',
1371 buildnumber='77457', 1443 buildnumber='77457',
1372 path_config='kitchen') + 1444 path_config='kitchen') +
1373 api.override_step_data('ensure_goma.ensure_installed', retcode=1) 1445 api.override_step_data('ensure_goma.ensure_installed', retcode=1)
1374 ) 1446 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698