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

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

Issue 2104143003: Build delegation for CQ jobs (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Remove compile method 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 (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 from recipe_engine.types import freeze 5 from recipe_engine.types import freeze
6 6
7 DEPS = [ 7 DEPS = [
8 'auto_bisect', 8 'auto_bisect',
9 'bisect_tester', 9 'bisect_tester',
10 'depot_tools/bot_update', 10 'depot_tools/bot_update',
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 api.properties.tryserver( 315 api.properties.tryserver(
316 mastername='tryserver.chromium.perf', 316 mastername='tryserver.chromium.perf',
317 buildername=buildername) + api.properties( 317 buildername=buildername) + api.properties(
318 requester='abcdxyz@chromium.org') + api.override_step_data( 318 requester='abcdxyz@chromium.org') + api.override_step_data(
319 'git diff to analyze patch', 319 'git diff to analyze patch',
320 api.raw_io.stream_output('tools/run-perf-test.cfg')) + 320 api.raw_io.stream_output('tools/run-perf-test.cfg')) +
321 api.override_step_data('load config', api.json.output(config_json))) 321 api.override_step_data('load config', api.json.output(config_json)))
322 322
323 yield ( 323 yield (
324 api.test('perf_cq_run_benchmark_' + buildername) + 324 api.test('perf_cq_run_benchmark_' + buildername) +
325 api.properties.tryserver(mastername='tryserver.chromium.perf', 325 api.properties.tryserver(
326 buildername=buildername) + api.properties( 326 mastername='tryserver.chromium.perf',
327 requester='commit-bot@chromium.org') + 327 buildername=buildername,
328 patch_storage='rietveld',
329 patchset='20001',
330 issue='12345',
331 is_test=True,
332 rietveld="https://codereview.chromium.org") +
333 api.properties(requester='commit-bot@chromium.org') +
328 api.override_step_data( 334 api.override_step_data(
329 'git diff to analyze patch', 335 'git diff to analyze patch',
330 api.raw_io.stream_output('tools/perf/benchmarks/blink_perf.py'))) 336 api.raw_io.stream_output('tools/perf/benchmarks/blink_perf.py')) +
337 api.step_data('buildbucket.put',
338 stdout=api.json.output(buildbucket_put_response)) +
339 api.step_data('buildbucket.get',
340 stdout=api.json.output(buildbucket_get_response)))
331 341
332 yield (api.test('perf_cq_no_changes_' + buildername) + 342 yield (api.test('perf_cq_no_changes_' + buildername) +
333 api.properties.tryserver(mastername='tryserver.chromium.perf', 343 api.properties.tryserver(
334 buildername=buildername) + api.properties( 344 mastername='tryserver.chromium.perf',
335 requester='commit-bot@chromium.org') + 345 buildername=buildername,
336 api.override_step_data( 346 patch_storage='rietveld',
347 patchset='20001',
348 issue='12345',
349 is_test=True,
350 rietveld="https://codereview.chromium.org") +
351 api.properties(requester='commit-bot@chromium.org') +
352 api.override_step_data(
337 'git diff to analyze patch', 353 'git diff to analyze patch',
338 api.raw_io.stream_output('tools/no_benchmark_file'))) 354 api.raw_io.stream_output('tools/no_benchmark_file')))
339 355
340 yield ( 356 yield (
341 api.test('perf_cq_no_benchmark_to_run_' + buildername) + 357 api.test('perf_cq_no_benchmark_to_run_' + buildername) +
342 api.properties.tryserver(mastername='tryserver.chromium.perf', 358 api.properties.tryserver(
343 buildername=buildername) + api.properties( 359 mastername='tryserver.chromium.perf',
344 requester='commit-bot@chromium.org') + 360 buildername=buildername,
361 patch_storage='rietveld',
362 patchset='20001',
363 issue='12345',
364 is_test=True,
365 rietveld="https://codereview.chromium.org") +
366 api.properties(requester='commit-bot@chromium.org') +
345 api.override_step_data( 367 api.override_step_data(
346 'git diff to analyze patch', 368 'git diff to analyze patch',
347 api.raw_io.stream_output('tools/perf/benchmarks/sunspider.py'))) 369 api.raw_io.stream_output('tools/perf/benchmarks/sunspider.py')) +
370 api.step_data('buildbucket.put',
371 stdout=api.json.output(buildbucket_put_response)) +
372 api.step_data('buildbucket.get',
373 stdout=api.json.output(buildbucket_get_response)))
348 374
349 bisect_config = { 375 bisect_config = {
350 'test_type': 'perf', 376 'test_type': 'perf',
351 'command': './tools/perf/run_benchmark -v ' 377 'command': './tools/perf/run_benchmark -v '
352 '--browser=android-chromium page_cycler.intl_ar_fa_he', 378 '--browser=android-chromium page_cycler.intl_ar_fa_he',
353 'metric': 'warm_times/page_load_time', 379 'metric': 'warm_times/page_load_time',
354 'repeat_count': '2', 380 'repeat_count': '2',
355 'max_time_minutes': '5', 381 'max_time_minutes': '5',
356 'truncate_percent': '25', 382 'truncate_percent': '25',
357 'bug_id': '425582', 383 'bug_id': '425582',
358 'gs_bucket': 'chrome-perf', 384 'gs_bucket': 'chrome-perf',
359 'builder_host': 'master4.golo.chromium.org', 385 'builder_host': 'master4.golo.chromium.org',
360 'builder_port': '8341', 386 'builder_port': '8341',
361 } 387 }
362 yield (api.test('basic_recipe_' + buildername) + api.properties.tryserver( 388 yield (api.test('basic_recipe_' + buildername) + api.properties.tryserver(
363 mastername='tryserver.chromium.perf', 389 mastername='tryserver.chromium.perf',
364 buildername=buildername) + api.step_data( 390 buildername=buildername) + api.step_data(
365 'saving url to temp file', 391 'saving url to temp file',
366 stdout=api.raw_io.output('/tmp/dummy1')) + api.step_data( 392 stdout=api.raw_io.output('/tmp/dummy1')) + api.step_data(
367 'saving json to temp file', 393 'saving json to temp file',
368 stdout=api.raw_io.output('/tmp/dummy2')) + api.properties( 394 stdout=api.raw_io.output('/tmp/dummy2')) + api.properties(
369 bisect_config=bisect_config) + api.properties( 395 bisect_config=bisect_config) + api.properties(
370 job_name='f7a7b4135624439cbd27fdd5133d74ec') + 396 job_name='f7a7b4135624439cbd27fdd5133d74ec') +
371 api.bisect_tester(tempfile='/tmp/dummy') + 397 api.bisect_tester(tempfile='/tmp/dummy') +
372 api.properties(parent_got_revision='1111111') + api.properties( 398 api.properties(parent_got_revision='1111111') + api.properties(
373 parent_build_archive_url='gs://test-domain/test-archive.zip')) 399 parent_build_archive_url='gs://test-domain/test-archive.zip'))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698