| OLD | NEW |
| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 } | 223 } |
| 224 | 224 |
| 225 yield (api.test('perf_tryjob_config_error') + api.properties.tryserver( | 225 yield (api.test('perf_tryjob_config_error') + api.properties.tryserver( |
| 226 mastername='tryserver.chromium.perf', | 226 mastername='tryserver.chromium.perf', |
| 227 buildername='linux_perf_bisect') + api.properties( | 227 buildername='linux_perf_bisect') + api.properties( |
| 228 requester='abcdxyz@chromium.org') + api.override_step_data( | 228 requester='abcdxyz@chromium.org') + api.override_step_data( |
| 229 'git diff to analyze patch', | 229 'git diff to analyze patch', |
| 230 api.raw_io.stream_output('tools/run-perf-test.cfg')) + | 230 api.raw_io.stream_output('tools/run-perf-test.cfg')) + |
| 231 api.override_step_data('load config', api.json.output(config_json))) | 231 api.override_step_data('load config', api.json.output(config_json))) |
| 232 | 232 |
| 233 yield (api.test('perf_cq_run_benchmark') + api.properties.tryserver( | 233 yield (api.test('perf_cq_run_benchmark') + |
| 234 mastername='tryserver.chromium.perf', | 234 api.properties.tryserver( |
| 235 buildername='linux_perf_bisect') + api.properties( | 235 mastername='tryserver.chromium.perf', |
| 236 requester='commit-bot@chromium.org') + api.override_step_data( | 236 buildername='linux_perf_bisect', |
| 237 'git diff to analyze patch', | 237 patch_storage='rietveld', |
| 238 api.raw_io.stream_output('tools/perf/benchmarks/blink_perf.py'))) | 238 patchset='20001', |
| 239 issue='12345', |
| 240 is_test=True, |
| 241 rietveld="https://codereview.chromium.org") + |
| 242 api.properties(requester='commit-bot@chromium.org') + |
| 243 api.override_step_data( |
| 244 'git diff to analyze patch', |
| 245 api.raw_io.stream_output('tools/perf/benchmarks/blink_perf.py')) + |
| 246 api.step_data('buildbucket.put', |
| 247 stdout=api.json.output(buildbucket_put_response)) + |
| 248 api.step_data('buildbucket.get', |
| 249 stdout=api.json.output(buildbucket_get_response))) |
| 239 | 250 |
| 240 yield (api.test('perf_cq_no_changes') + api.properties.tryserver( | 251 yield (api.test('perf_cq_no_changes') + |
| 241 mastername='tryserver.chromium.perf', | 252 api.properties.tryserver( |
| 242 buildername='linux_perf_bisect') + api.properties( | 253 mastername='tryserver.chromium.perf', |
| 243 requester='commit-bot@chromium.org') + api.override_step_data( | 254 buildername='linux_perf_bisect', |
| 255 patch_storage='rietveld', |
| 256 patchset='20001', |
| 257 issue='12345', |
| 258 is_test=True, |
| 259 rietveld="https://codereview.chromium.org") + |
| 260 api.properties(requester='commit-bot@chromium.org') + |
| 261 api.override_step_data( |
| 244 'git diff to analyze patch', | 262 'git diff to analyze patch', |
| 245 api.raw_io.stream_output('tools/no_benchmark_file'))) | 263 api.raw_io.stream_output('tools/no_benchmark_file'))) |
| 246 | 264 |
| 247 yield (api.test('perf_cq_no_benchmark_to_run') + api.properties.tryserver( | 265 yield (api.test('perf_cq_no_benchmark_to_run') + |
| 248 mastername='tryserver.chromium.perf', | 266 api.properties.tryserver( |
| 249 buildername='linux_perf_bisect') + api.properties( | 267 mastername='tryserver.chromium.perf', |
| 250 requester='commit-bot@chromium.org') + api.override_step_data( | 268 buildername='linux_perf_bisect', |
| 269 patch_storage='rietveld', |
| 270 patchset='20001', |
| 271 issue='12345', |
| 272 is_test=True, |
| 273 rietveld="https://codereview.chromium.org") + |
| 274 api.properties(requester='commit-bot@chromium.org') + |
| 275 api.override_step_data( |
| 251 'git diff to analyze patch', | 276 'git diff to analyze patch', |
| 252 api.raw_io.stream_output('tools/perf/benchmarks/sunspider.py'))) | 277 api.raw_io.stream_output('tools/perf/benchmarks/sunspider.py')) + |
| 278 api.step_data('buildbucket.put', |
| 279 stdout=api.json.output(buildbucket_put_response)) + |
| 280 api.step_data('buildbucket.get', |
| 281 stdout=api.json.output(buildbucket_get_response))) |
| 253 | 282 |
| 254 bisect_config = { | 283 bisect_config = { |
| 255 'test_type': 'perf', | 284 'test_type': 'perf', |
| 256 'command': './tools/perf/run_benchmark -v ' | 285 'command': './tools/perf/run_benchmark -v ' |
| 257 '--browser=release page_cycler.intl_ar_fa_he', | 286 '--browser=release page_cycler.intl_ar_fa_he', |
| 258 'metric': 'warm_times/page_load_time', | 287 'metric': 'warm_times/page_load_time', |
| 259 'repeat_count': '2', | 288 'repeat_count': '2', |
| 260 'max_time_minutes': '5', | 289 'max_time_minutes': '5', |
| 261 'truncate_percent': '25', | 290 'truncate_percent': '25', |
| 262 'bug_id': '425582', | 291 'bug_id': '425582', |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 buildername='linux_perf_bisect') + | 325 buildername='linux_perf_bisect') + |
| 297 api.step_data('saving url to temp file', | 326 api.step_data('saving url to temp file', |
| 298 stdout=api.raw_io.output('/tmp/dummy1')) + api.step_data( | 327 stdout=api.raw_io.output('/tmp/dummy1')) + api.step_data( |
| 299 'saving json to temp file', | 328 'saving json to temp file', |
| 300 stdout=api.raw_io.output('/tmp/dummy2')) + | 329 stdout=api.raw_io.output('/tmp/dummy2')) + |
| 301 api.properties(bisect_config=bisect_ret_code_config) + api.properties( | 330 api.properties(bisect_config=bisect_ret_code_config) + api.properties( |
| 302 job_name='f7a7b4135624439cbd27fdd5133d74ec') + | 331 job_name='f7a7b4135624439cbd27fdd5133d74ec') + |
| 303 api.bisect_tester(tempfile='/tmp/dummy') + api.properties( | 332 api.bisect_tester(tempfile='/tmp/dummy') + api.properties( |
| 304 parent_got_revision='1111111') + api.properties( | 333 parent_got_revision='1111111') + api.properties( |
| 305 parent_build_archive_url='gs://test-domain/test-archive.zip')) | 334 parent_build_archive_url='gs://test-domain/test-archive.zip')) |
| OLD | NEW |