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

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: Adding correct recipe test for chartjson 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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 api.override_step_data( 592 api.override_step_data(
593 'telemetry_gpu_unittests on Ubuntu-12.04', 593 'telemetry_gpu_unittests on Ubuntu-12.04',
594 api.test_utils.canned_isolated_script_output( 594 api.test_utils.canned_isolated_script_output(
595 passing=True, is_win=False, swarming=True, 595 passing=True, is_win=False, swarming=True,
596 shards=2, isolated_script_passing=True, valid=True, 596 shards=2, isolated_script_passing=True, valid=True,
597 empty_shards=[1]), 597 empty_shards=[1]),
598 retcode=1) 598 retcode=1)
599 ) 599 )
600 600
601 yield ( 601 yield (
602 api.test(
603 'dynamic_swarmed_sharded_isolated_chartjson_test_harness_failure') +
604 api.properties.generic(mastername='chromium.linux',
605 buildername='Linux Tests',
606 parent_buildername='Linux Builder') +
607 api.properties(swarm_hashes={
608 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
609 }) +
610 api.platform('linux', 64) +
611 api.override_step_data(
612 'read test spec (chromium.linux.json)',
613 api.json.output({
614 'Linux Tests': {
615 'isolated_scripts': [
616 {
617 'isolate_name': 'telemetry_gpu_unittests',
618 'name': 'telemetry_gpu_unittests',
619 'swarming': {
620 'can_use_on_swarming_builders': True,
621 'shards': 2,
622 },
623 },
624 ],
625 },
626 })
627 ) +
628 api.override_step_data(
629 'telemetry_gpu_unittests on Ubuntu-12.04',
630 api.test_utils.canned_isolated_script_output(
631 passing=True, is_win=False, swarming=True,
632 shards=4, isolated_script_passing=True, valid=True,
633 empty_shards=[1], output_chartjson=True),
634 retcode=1)
Ken Russell (switch to Gerrit) 2016/09/17 03:33:47 As far as I can tell the parameters for this fake
eyaich1 2016/09/19 17:56:16 missing/empty shards are the difference in the par
635 )
636
637 yield (
638 api.test('dynamic_swarmed_sharded_isolated_chartjson_test_missing_shard') +
639 api.properties.generic(mastername='chromium.linux',
640 buildername='Linux Tests',
641 parent_buildername='Linux Builder') +
642 api.properties(swarm_hashes={
643 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
644 }) +
645 api.platform('linux', 64) +
646 api.override_step_data(
647 'read test spec (chromium.linux.json)',
648 api.json.output({
649 'Linux Tests': {
650 'isolated_scripts': [
651 {
652 'isolate_name': 'telemetry_gpu_unittests',
653 'name': 'telemetry_gpu_unittests',
654 'swarming': {
655 'can_use_on_swarming_builders': True,
656 'shards': 2,
657 },
658 },
659 ],
660 },
661 })
662 ) +
663 api.override_step_data(
664 'telemetry_gpu_unittests on Ubuntu-12.04',
665 api.test_utils.canned_isolated_script_output(
666 passing=True, is_win=False, swarming=True,
667 shards=2, isolated_script_passing=True, valid=True,
668 missing_shards=[1], output_chartjson=True),
669 retcode=1)
670 )
671
672 yield (
602 api.test('dynamic_swarmed_isolated_script_test_linux_gpu') + 673 api.test('dynamic_swarmed_isolated_script_test_linux_gpu') +
603 api.properties.generic(mastername='chromium.linux', 674 api.properties.generic(mastername='chromium.linux',
604 buildername='Linux Tests', 675 buildername='Linux Tests',
605 parent_buildername='Linux Builder') + 676 parent_buildername='Linux Builder') +
606 api.properties(swarm_hashes={ 677 api.properties(swarm_hashes={
607 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', 678 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
608 }) + 679 }) +
609 api.platform('linux', 64) + 680 api.platform('linux', 64) +
610 api.override_step_data( 681 api.override_step_data(
611 'read test spec (chromium.linux.json)', 682 'read test spec (chromium.linux.json)',
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
1365 yield ( 1436 yield (
1366 api.test('ensure_goma_fail') + 1437 api.test('ensure_goma_fail') +
1367 api.properties( 1438 api.properties(
1368 mastername='chromium.fyi', 1439 mastername='chromium.fyi',
1369 buildername='Linux remote_run Builder', 1440 buildername='Linux remote_run Builder',
1370 slavename='build1-a1', 1441 slavename='build1-a1',
1371 buildnumber='77457', 1442 buildnumber='77457',
1372 path_config='kitchen') + 1443 path_config='kitchen') +
1373 api.override_step_data('ensure_goma.ensure_installed', retcode=1) 1444 api.override_step_data('ensure_goma.ensure_installed', retcode=1)
1374 ) 1445 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698