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

Side by Side Diff: scripts/slave/recipes/bisection/desktop_bisect.py

Issue 2172553003: The second solution solution for ToT catapult. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Addressing feedback and rebasing Created 4 years, 4 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 (c) 2015 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 DEPS = [ 5 DEPS = [
6 'auto_bisect', 6 'auto_bisect',
7 'bisect_tester', 7 'bisect_tester',
8 'chromium', 8 'chromium',
9 'chromium_tests', 9 'chromium_tests',
10 'depot_tools/gclient', 10 'depot_tools/gclient',
(...skipping 11 matching lines...) Expand all
22 buildername = api.properties.get('buildername') 22 buildername = api.properties.get('buildername')
23 # TODO(akuegel): Explicitly load the builder configs instead of relying on 23 # TODO(akuegel): Explicitly load the builder configs instead of relying on
24 # builder.py from chromium_tests recipe module. 24 # builder.py from chromium_tests recipe module.
25 bot_config = api.chromium_tests.create_bot_config_object(mastername, 25 bot_config = api.chromium_tests.create_bot_config_object(mastername,
26 buildername) 26 buildername)
27 api.chromium_tests.configure_build(bot_config) 27 api.chromium_tests.configure_build(bot_config)
28 api.gclient.apply_config('perf') 28 api.gclient.apply_config('perf')
29 # TODO(robertocn): remove do_not_nest_wait_for_revision once downstream 29 # TODO(robertocn): remove do_not_nest_wait_for_revision once downstream
30 # expectations have been fixed, and make it behave like this by default. 30 # expectations have been fixed, and make it behave like this by default.
31 update_step, bot_db = api.chromium_tests.prepare_checkout(bot_config) 31 update_step, bot_db = api.chromium_tests.prepare_checkout(bot_config)
32 api.path.c.dynamic_paths['catapult'] = api.path['slave_build'].join(
33 'catapult')
32 api.auto_bisect.start_try_job(api, update_step=update_step, bot_db=bot_db, 34 api.auto_bisect.start_try_job(api, update_step=update_step, bot_db=bot_db,
33 do_not_nest_wait_for_revision=True) 35 do_not_nest_wait_for_revision=True)
34 36
35 37
36 def GenTests(api): 38 def GenTests(api):
37 yield (api.test('basic') + api.properties.tryserver( 39 yield (api.test('basic') + api.properties.tryserver(
38 path_config='kitchen', 40 path_config='kitchen',
39 mastername='tryserver.chromium.perf', 41 mastername='tryserver.chromium.perf',
40 buildername='linux_perf_bisect') + api.override_step_data( 42 buildername='linux_perf_bisect') + api.override_step_data(
41 'git diff to analyze patch', 43 'git diff to analyze patch',
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 buildername='linux_perf_bisect') + 338 buildername='linux_perf_bisect') +
337 api.step_data('saving url to temp file', 339 api.step_data('saving url to temp file',
338 stdout=api.raw_io.output('/tmp/dummy1')) + api.step_data( 340 stdout=api.raw_io.output('/tmp/dummy1')) + api.step_data(
339 'saving json to temp file', 341 'saving json to temp file',
340 stdout=api.raw_io.output('/tmp/dummy2')) + 342 stdout=api.raw_io.output('/tmp/dummy2')) +
341 api.properties(bisect_config=bisect_ret_code_config) + api.properties( 343 api.properties(bisect_config=bisect_ret_code_config) + api.properties(
342 job_name='f7a7b4135624439cbd27fdd5133d74ec') + 344 job_name='f7a7b4135624439cbd27fdd5133d74ec') +
343 api.bisect_tester(tempfile='/tmp/dummy') + api.properties( 345 api.bisect_tester(tempfile='/tmp/dummy') + api.properties(
344 parent_got_revision='1111111') + api.properties( 346 parent_got_revision='1111111') + api.properties(
345 parent_build_archive_url='gs://test-domain/test-archive.zip')) 347 parent_build_archive_url='gs://test-domain/test-archive.zip'))
OLDNEW
« no previous file with comments | « scripts/slave/recipes/bisection/android_bisect.py ('k') | scripts/slave/recipes/bisection/desktop_bisect.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698