Lines Matching refs:arguments

118 def _get_upload_log_path(arguments):  argument
121 name=commandline.get_default_logdir_name(arguments))
160 def _update_build(afe, report_log, arguments): argument
183 afe_version = version_map.get_version(arguments.board)
184 omaha_version = _get_omaha_build(arguments.board)
192 if arguments.build:
193 if utils.compare_versions(arguments.build, version) >= 0:
194 version = arguments.build
197 (arguments.build,))
198 if version != afe_version and not arguments.nostable:
199 version_map.set_version(arguments.board, version)
294 def _get_afe_host(afe, hostname, arguments, host_attr_dict): argument
329 afe_host.add_labels([Labels.BOARD_PREFIX + arguments.board])
380 def _install_test_image(host, arguments): argument
395 if not arguments.noinstall:
396 if not arguments.nostage:
399 if arguments.full_deploy:
409 def _install_and_update_afe(afe, hostname, arguments, host_attr_dict): argument
425 afe_host, unlock_on_failure = _get_afe_host(afe, hostname, arguments,
429 _install_test_image(host, arguments)
452 def _install_dut(arguments, host_attr_dict, hostname): argument
466 logpath = os.path.join(arguments.logdir, hostname + '.log')
479 afe = frontend.AFE(server=arguments.web)
481 _install_and_update_afe(afe, hostname, arguments, host_attr_dict)
686 arguments = commandline.parse_command(argv, full_deploy)
687 if not arguments:
689 sys.stderr.write('Installation output logs in %s\n' % arguments.logdir)
693 logging_file_path = os.path.join(arguments.logdir, 'debug.log')
697 report_log_path = os.path.join(arguments.logdir, 'report.log')
700 afe = frontend.AFE(server=arguments.web)
701 current_build = _update_build(afe, report_log, arguments)
704 (arguments.board, current_build))
705 host_attr_dict = _get_host_attributes(arguments.host_info_list, afe)
706 install_pool = multiprocessing.Pool(len(arguments.hostnames))
707 install_function = functools.partial(_install_dut, arguments,
709 results_list = install_pool.map(install_function, arguments.hostnames)
710 _report_results(afe, report_log, arguments.hostnames, results_list)
712 gspath = _get_upload_log_path(arguments)
716 _upload_logs(arguments.logdir, gspath)
718 upload_failure_log_path = os.path.join(arguments.logdir,