• Home
  • Raw
  • Download

Lines Matching full:results

124     @param resultsdir: Folder to store results. This could be different from
125 parser.options.results: parser.options.results can be set to None
126 for results to be stored in a temp folder. resultsdir can be None
154 def _run_with_ssp(job, container_id, job_id, results, parser, ssp_url, argument
161 @param results: Folder to store results. This could be different from
162 parser.options.results:
163 parser.options.results can be set to None for results to be
165 results can be None for autoserv run requires no logging.
181 results, control=control,
212 if parser.options.results:
213 paths_to_replace[parser.options.results] = container_result_dir
216 # Apply --use-existing-results, results directory is aready created and
218 if not '--use-existing-results' in args:
219 args.append('--use-existing-results')
234 debug_files = os.listdir(os.path.join(results, 'debug'))
247 def correct_results_folder_permission(results): argument
248 """Make sure the results folder has the right permission settings.
250 For tests running with server-side packaging, the results folder has the
252 process, so parsing job can access the results folder.
256 @param results: Path to the results folder.
259 if not results:
262 utils.run('sudo -n chown -R %s "%s"' % (os.getuid(), results))
263 utils.run('sudo -n chgrp -R %s "%s"' % (os.getgid(), results))
339 @param results_dir: Results directory to stage the control file into.
348 def run_autoserv(pid_file_manager, results, parser, ssp_url, use_ssp): argument
352 @param results: Folder to store results.
371 parser.options.results)
381 # Update results folder's file permission. This needs to be done ASAP
383 if use_ssp and results:
384 correct_results_folder_permission(results)
407 if results:
408 correct_results_folder_permission(results)
478 results)
505 'resultdir': results,
511 store_dir=os.path.join(results,
567 results, parser, ssp_url, machines)
570 correct_results_folder_permission(results)
578 correct_results_folder_permission(results)
599 if results and (repair or verify or reset or cleanup or provision):
603 results, control_data.DEFAULT_MAX_RESULT_SIZE_KB)
606 'Non-critical failure: Failed to throttle results '
607 'in directory %s.', results)
609 site_utils.collect_result_sizes(results)
686 results = None
688 results = parser.options.results
689 if not results:
690 results = 'results.' + time.strftime('%Y-%m-%d-%H.%M.%S')
691 results = os.path.abspath(results)
694 if os.path.exists(os.path.join(results, filename)):
697 error = "Error: results directory already exists: %s\n" % results
701 # Now that we certified that there's no leftover results dir from
704 if not os.path.isdir(results):
705 os.makedirs(results)
716 log_dir = os.path.join(results, 'ssp_logs') if results else None
720 log_dir = results
734 ssp_url = _stage_ssp(parser, results)
738 if results:
739 logging.info("Results placed in %s" % results)
744 logging.error("No existing results directory found: %s", results)
747 if parser.options.write_pidfile and results:
749 results)
779 parser.options.results)
789 # happy signals without faking results.
791 machine = parser.options.results.split('/')[-1]
800 'unknown-test', parser.options.results, machine
805 run_autoserv(pid_file_manager, results, parser, ssp_url,