[
  {
    "cmd": [
      "python",
      "-u",
      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
      "--json-output",
      "/path/to/tmp/json",
      "glob",
      "[START_DIR]",
      "*.profraw"
    ],
    "infra_step": true,
    "name": "find raw inputs",
    "stdout": "/path/to/tmp/",
    "~followup_annotations": [
      "@@@STEP_LOG_LINE@glob@[START_DIR]/a.raw@@@",
      "@@@STEP_LOG_LINE@glob@[START_DIR]/b.raw@@@",
      "@@@STEP_LOG_LINE@glob@[START_DIR]/c.raw@@@",
      "@@@STEP_LOG_END@glob@@@"
    ]
  },
  {
    "cmd": [
      "tar",
      "-zcvf",
      "[START_DIR]/raw_data.profraw.tar.gz",
      "[START_DIR]/a.raw",
      "[START_DIR]/b.raw",
      "[START_DIR]/c.raw"
    ],
    "name": "create raw data archive"
  },
  {
    "cmd": [
      "gsutil",
      "cp",
      "[START_DIR]/raw_data.profraw.tar.gz",
      "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profraw.tar.gz"
    ],
    "name": "upload raw data archive"
  },
  {
    "cmd": [
      "[START_DIR]/clang_linux/bin/llvm-profdata",
      "merge",
      "-sparse",
      "-o",
      "[START_DIR]/output.profdata",
      "[START_DIR]/a.raw",
      "[START_DIR]/b.raw",
      "[START_DIR]/c.raw"
    ],
    "name": "merge and index"
  },
  {
    "cmd": [
      "gsutil",
      "cp",
      "-Z",
      "[START_DIR]/output.profdata",
      "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profdata"
    ],
    "name": "upload parsed data",
    "~followup_annotations": [
      "step returned non-zero exit code: 1",
      "@@@STEP_FAILURE@@@"
    ]
  },
  {
    "cmd": [
      "gsutil",
      "cp",
      "-Z",
      "[START_DIR]/output.profdata",
      "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profdata"
    ],
    "name": "upload parsed data (attempt 2)",
    "~followup_annotations": [
      "step returned non-zero exit code: 1",
      "@@@STEP_FAILURE@@@"
    ]
  },
  {
    "cmd": [
      "gsutil",
      "cp",
      "-Z",
      "[START_DIR]/output.profdata",
      "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profdata"
    ],
    "name": "upload parsed data (attempt 3)",
    "~followup_annotations": [
      "step returned non-zero exit code: 1",
      "@@@STEP_FAILURE@@@"
    ]
  },
  {
    "cmd": [
      "gsutil",
      "cp",
      "-Z",
      "[START_DIR]/output.profdata",
      "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profdata"
    ],
    "name": "upload parsed data (attempt 4)",
    "~followup_annotations": [
      "step returned non-zero exit code: 1",
      "@@@STEP_FAILURE@@@"
    ]
  },
  {
    "cmd": [
      "gsutil",
      "cp",
      "-Z",
      "[START_DIR]/output.profdata",
      "gs://skia-coverage/commit/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug-All.profdata"
    ],
    "name": "upload parsed data (attempt 5)",
    "~followup_annotations": [
      "step returned non-zero exit code: 1",
      "@@@STEP_FAILURE@@@"
    ]
  },
  {
    "name": "$result",
    "reason": "Step('upload parsed data (attempt 5)') failed with return_code 1",
    "recipe_result": null,
    "status_code": 1
  }
]