logging.info("FIO Results:")
vm.RemoteCommand(fio_command, should_log=True)
// TODO(user): The hard work! Parsing this output!
return []
def Cleanup(benchmark_spec):
Uninstall packages required for fio and remove benchmark files.
After Change
stdout, stderr = vm.RemoteCommand(fio_command, should_log=True)
with open(data.ResourcePath(flags.FLAGS.fio_jobfile)) as f:
job_file = f.read()
return fio.ParseResults(job_file, json.loads(stdout))
def Cleanup(benchmark_spec):
Uninstall packages required for fio and remove benchmark files.