def METHOD_NAME(output: str) -> Dict[str, str]:
  """Creates samples containing metrics.
  Args:
    output: string, command output
  Example output:
    perfkitbenchmarker/tests/linux_benchmarks/mlperf_inference_cpu_benchmark_test.py
  Returns:
    Samples containing training metrics.
  """
  result = regex_util.ExtractAllMatches(r'(.*):(.*)', output)
  return {key.strip(): value.strip() for key, value in result}