|
|
|
@ -183,7 +183,7 @@ def archive_repo(languages): |
|
|
|
|
|
|
|
|
|
jobset.message('START', 'Archiving local repository.', do_newline=True) |
|
|
|
|
num_failures, _ = jobset.run( |
|
|
|
|
[archive_job], newline_on_success=True, maxjobs=1, clear_alarms=False) |
|
|
|
|
[archive_job], newline_on_success=True, maxjobs=1) |
|
|
|
|
if num_failures == 0: |
|
|
|
|
jobset.message('SUCCESS', |
|
|
|
|
'Archive with local repository created successfully.', |
|
|
|
@ -215,7 +215,7 @@ def prepare_remote_hosts(hosts, prepare_local=False): |
|
|
|
|
timeout_seconds=prepare_timeout)) |
|
|
|
|
jobset.message('START', 'Preparing hosts.', do_newline=True) |
|
|
|
|
num_failures, _ = jobset.run( |
|
|
|
|
prepare_jobs, newline_on_success=True, maxjobs=10, clear_alarms=False) |
|
|
|
|
prepare_jobs, newline_on_success=True, maxjobs=10) |
|
|
|
|
if num_failures == 0: |
|
|
|
|
jobset.message('SUCCESS', |
|
|
|
|
'Prepare step completed successfully.', |
|
|
|
@ -248,7 +248,7 @@ def build_on_remote_hosts(hosts, languages=scenario_config.LANGUAGES.keys(), bui |
|
|
|
|
timeout_seconds=build_timeout)) |
|
|
|
|
jobset.message('START', 'Building.', do_newline=True) |
|
|
|
|
num_failures, _ = jobset.run( |
|
|
|
|
build_jobs, newline_on_success=True, maxjobs=10, clear_alarms=False) |
|
|
|
|
build_jobs, newline_on_success=True, maxjobs=10) |
|
|
|
|
if num_failures == 0: |
|
|
|
|
jobset.message('SUCCESS', |
|
|
|
|
'Built successfully.', |
|
|
|
@ -414,7 +414,7 @@ def run_collect_perf_profile_jobs(hosts_and_base_names, scenario_name): |
|
|
|
|
perf_report_jobs.append(perf_report_processor_job(host, perf_base_name, output_filename)) |
|
|
|
|
|
|
|
|
|
jobset.message('START', 'Collecting perf reports from qps workers', do_newline=True) |
|
|
|
|
failures, _ = jobset.run(perf_report_jobs, newline_on_success=True, maxjobs=1, clear_alarms=False) |
|
|
|
|
failures, _ = jobset.run(perf_report_jobs, newline_on_success=True, maxjobs=1) |
|
|
|
|
jobset.message('END', 'Collecting perf reports from qps workers', do_newline=True) |
|
|
|
|
return failures |
|
|
|
|
|
|
|
|
@ -556,7 +556,7 @@ for scenario in scenarios: |
|
|
|
|
jobs = [scenario.jobspec] |
|
|
|
|
if scenario.workers: |
|
|
|
|
jobs.append(create_quit_jobspec(scenario.workers, remote_host=args.remote_driver_host)) |
|
|
|
|
scenario_failures, resultset = jobset.run(jobs, newline_on_success=True, maxjobs=1, clear_alarms=False) |
|
|
|
|
scenario_failures, resultset = jobset.run(jobs, newline_on_success=True, maxjobs=1) |
|
|
|
|
total_scenario_failures += scenario_failures |
|
|
|
|
merged_resultset = dict(itertools.chain(six.iteritems(merged_resultset), |
|
|
|
|
six.iteritems(resultset))) |
|
|
|
|