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

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

Issue 2150993005: Make _merge_isolated_script_shards robust to harness failures. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Addressed review feedback from vadimsh. Created 4 years, 5 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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 api.override_step_data( 585 api.override_step_data(
586 'telemetry_gpu_unittests on Ubuntu-12.04', 586 'telemetry_gpu_unittests on Ubuntu-12.04',
587 api.test_utils.canned_isolated_script_output( 587 api.test_utils.canned_isolated_script_output(
588 passing=True, is_win=False, swarming=True, 588 passing=True, is_win=False, swarming=True,
589 shards=2, isolated_script_passing=True, valid=True, 589 shards=2, isolated_script_passing=True, valid=True,
590 missing_shards=[1]), 590 missing_shards=[1]),
591 retcode=1) 591 retcode=1)
592 ) 592 )
593 593
594 yield ( 594 yield (
595 api.test('dynamic_swarmed_sharded_isolated_script_test_harness_failure') +
596 api.properties.generic(mastername='chromium.linux',
597 buildername='Linux Tests',
598 parent_buildername='Linux Builder') +
599 api.properties(swarm_hashes={
600 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
601 }) +
602 api.platform('linux', 64) +
603 api.override_step_data(
604 'read test spec (chromium.linux.json)',
605 api.json.output({
606 'Linux Tests': {
607 'isolated_scripts': [
608 {
609 'isolate_name': 'telemetry_gpu_unittests',
610 'name': 'telemetry_gpu_unittests',
611 'swarming': {
612 'can_use_on_swarming_builders': True,
613 'shards': 2,
614 },
615 },
616 ],
617 },
618 })
619 ) +
620 api.override_step_data(
621 'telemetry_gpu_unittests on Ubuntu-12.04',
622 api.test_utils.canned_isolated_script_output(
623 passing=True, is_win=False, swarming=True,
624 shards=2, isolated_script_passing=True, valid=True,
625 empty_shards=[1]),
626 retcode=1)
627 )
628
629 yield (
595 api.test('dynamic_swarmed_isolated_script_test_linux_gpu') + 630 api.test('dynamic_swarmed_isolated_script_test_linux_gpu') +
596 api.properties.generic(mastername='chromium.linux', 631 api.properties.generic(mastername='chromium.linux',
597 buildername='Linux Tests', 632 buildername='Linux Tests',
598 parent_buildername='Linux Builder') + 633 parent_buildername='Linux Builder') +
599 api.properties(swarm_hashes={ 634 api.properties(swarm_hashes={
600 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee', 635 'telemetry_gpu_unittests': 'eeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
601 }) + 636 }) +
602 api.platform('linux', 64) + 637 api.platform('linux', 64) +
603 api.override_step_data( 638 api.override_step_data(
604 'read test spec (chromium.linux.json)', 639 'read test spec (chromium.linux.json)',
(...skipping 756 matching lines...) Expand 10 before | Expand all | Expand 10 after
1361 yield ( 1396 yield (
1362 api.test('ensure_goma_fail') + 1397 api.test('ensure_goma_fail') +
1363 api.properties( 1398 api.properties(
1364 mastername='chromium.fyi', 1399 mastername='chromium.fyi',
1365 buildername='Linux remote_run Builder', 1400 buildername='Linux remote_run Builder',
1366 slavename='build1-a1', 1401 slavename='build1-a1',
1367 buildnumber='77457', 1402 buildnumber='77457',
1368 path_config='kitchen') + 1403 path_config='kitchen') +
1369 api.override_step_data('ensure_goma.ensure_installed', retcode=1) 1404 api.override_step_data('ensure_goma.ensure_installed', retcode=1)
1370 ) 1405 )
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698