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

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

Issue 1758603004: Checking for failure in requested builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Updating expectations after rebase and sync. Yet again. Created 4 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import base64 5 import base64
6 import collections 6 import collections
7 import json 7 import json
8 8
9 DEPS = [ 9 DEPS = [
10 'auto_bisect', 10 'auto_bisect',
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 'metric': 'warm_times/page_load_time', 55 'metric': 'warm_times/page_load_time',
56 'repeat_count': '2', 56 'repeat_count': '2',
57 'max_time_minutes': '5', 57 'max_time_minutes': '5',
58 'bug_id': '425582', 58 'bug_id': '425582',
59 'gs_bucket': 'chrome-perf', 59 'gs_bucket': 'chrome-perf',
60 'builder_host': 'master4.golo.chromium.org', 60 'builder_host': 'master4.golo.chromium.org',
61 'builder_port': '8341', 61 'builder_port': '8341',
62 'dummy_initial_confidence': '95', 62 'dummy_initial_confidence': '95',
63 'poll_sleep': 0, 63 'poll_sleep': 0,
64 'dummy_builds': True, 64 'dummy_builds': True,
65 'dummy_job_names': True,
65 'bypass_stats_check': True, 66 'bypass_stats_check': True,
66 } 67 }
67 invalid_cp_bisect_config = dict(bisect_config) 68 invalid_cp_bisect_config = dict(bisect_config)
68 invalid_cp_bisect_config['good_revision'] = 'XXX' 69 invalid_cp_bisect_config['good_revision'] = 'XXX'
69 70
70 basic_test += api.properties(bisect_config=bisect_config) 71 basic_test += api.properties(bisect_config=bisect_config)
71 broken_bad_rev_test += api.properties(bisect_config=bisect_config) 72 broken_bad_rev_test += api.properties(bisect_config=bisect_config)
72 broken_good_rev_test += api.properties(bisect_config=bisect_config) 73 broken_good_rev_test += api.properties(bisect_config=bisect_config)
73 74
74 # This data represents fake results for a basic scenario, the items in it are 75 # This data represents fake results for a basic scenario, the items in it are
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 step_name = 'Reading culprit cl information.' 286 step_name = 'Reading culprit cl information.'
286 stdout = api.json.output(revision_data['cl_info']) 287 stdout = api.json.output(revision_data['cl_info'])
287 yield api.step_data(step_name, stdout=stdout) 288 yield api.step_data(step_name, stdout=stdout)
288 289
289 290
290 def _get_post_bisect_step_data(api, parent_step=''): 291 def _get_post_bisect_step_data(api, parent_step=''):
291 """Gets step data for perf_dashboard/resource/post_json.py.""" 292 """Gets step data for perf_dashboard/resource/post_json.py."""
292 response = {'status_code': 200} 293 response = {'status_code': 200}
293 return api.step_data(parent_step + 'Post bisect results', 294 return api.step_data(parent_step + 'Post bisect results',
294 stdout=api.json.output(response)) 295 stdout=api.json.output(response))
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/auto_bisect/revision_state.py ('k') | scripts/slave/recipes/bisect.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698