[
  {
    "cmd": [],
    "name": "git"
  },
  {
    "cmd": [
      "git",
      "init",
      "[START_DIR]/gn"
    ],
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "git.init",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "git",
      "fetch",
      "--tags",
      "https://gn.googlesource.com/gn",
      ""
    ],
    "cwd": "[START_DIR]/gn",
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "git.fetch",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "git",
      "checkout",
      "FETCH_HEAD"
    ],
    "cwd": "[START_DIR]/gn",
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "git.checkout",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "git",
      "rev-parse",
      "HEAD"
    ],
    "cwd": "[START_DIR]/gn",
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "git.rev-parse",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "git",
      "fetch",
      "https://gn.googlesource.com/gn",
      "refs/changes/56/123456/7"
    ],
    "cwd": "[START_DIR]/gn",
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "git.fetch 123456/7",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "git",
      "checkout",
      "FETCH_HEAD"
    ],
    "cwd": "[START_DIR]/gn",
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "git.checkout 123456/7",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "cipd",
      "ensure",
      "-root",
      "[START_DIR]/cipd",
      "-ensure-file",
      "infra/ninja/${platform} version:1.8.2\nfuchsia/third_party/clang/${platform} integration\n@Subdir sysroot\nfuchsia/third_party/sysroot/linux git_revision:c912d089c3d46d8982fdef76a50514cca79b6132\n@Subdir sysroot-focal\nfuchsia/third_party/sysroot/focal git_revision:fa7a5a9710540f30ff98ae48b62f2cdf72ed2acd",
      "-max-threads",
      "0",
      "-json-output",
      "/path/to/tmp/json"
    ],
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "ensure_installed",
    "~followup_annotations": [
      "@@@STEP_LOG_LINE@json.output@{@@@",
      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
      "@@@STEP_LOG_LINE@json.output@    \"\": [@@@",
      "@@@STEP_LOG_LINE@json.output@      {@@@",
      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-integration-----\",@@@",
      "@@@STEP_LOG_LINE@json.output@        \"package\": \"fuchsia/third_party/clang/resolved-platform\"@@@",
      "@@@STEP_LOG_LINE@json.output@      },@@@",
      "@@@STEP_LOG_LINE@json.output@      {@@@",
      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-version:1.8.2---\",@@@",
      "@@@STEP_LOG_LINE@json.output@        \"package\": \"infra/ninja/resolved-platform\"@@@",
      "@@@STEP_LOG_LINE@json.output@      }@@@",
      "@@@STEP_LOG_LINE@json.output@    ],@@@",
      "@@@STEP_LOG_LINE@json.output@    \"sysroot\": [@@@",
      "@@@STEP_LOG_LINE@json.output@      {@@@",
      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-git_revision:c91\",@@@",
      "@@@STEP_LOG_LINE@json.output@        \"package\": \"fuchsia/third_party/sysroot/linux\"@@@",
      "@@@STEP_LOG_LINE@json.output@      }@@@",
      "@@@STEP_LOG_LINE@json.output@    ],@@@",
      "@@@STEP_LOG_LINE@json.output@    \"sysroot-focal\": [@@@",
      "@@@STEP_LOG_LINE@json.output@      {@@@",
      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-git_revision:fa7\",@@@",
      "@@@STEP_LOG_LINE@json.output@        \"package\": \"fuchsia/third_party/sysroot/focal\"@@@",
      "@@@STEP_LOG_LINE@json.output@      }@@@",
      "@@@STEP_LOG_LINE@json.output@    ]@@@",
      "@@@STEP_LOG_LINE@json.output@  }@@@",
      "@@@STEP_LOG_LINE@json.output@}@@@",
      "@@@STEP_LOG_END@json.output@@@"
    ]
  },
  {
    "cmd": [],
    "name": "jemalloc"
  },
  {
    "cmd": [
      "git",
      "init",
      "[START_DIR]/jemalloc"
    ],
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.init",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "git",
      "fetch",
      "https://fuchsia.googlesource.com/third_party/github.com/jemalloc/jemalloc.git",
      "refs/tags/5.3.0",
      "--depth=1"
    ],
    "cwd": "[START_DIR]/jemalloc",
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.fetch",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "git",
      "checkout",
      "FETCH_HEAD"
    ],
    "cwd": "[START_DIR]/jemalloc",
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.checkout",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [],
    "name": "jemalloc.install infra/3pp/tools/autoconf",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "vpython3",
      "-u",
      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
      "--json-output",
      "/path/to/tmp/json",
      "ensure-directory",
      "--mode",
      "0777",
      "[START_DIR]/cipd_tool/infra/3pp/tools/autoconf/79821582576f6f08410b2d2f2c0658c2be62aae6ca2df4ab28cc6b4d75002f20"
    ],
    "cwd": "[START_DIR]/jemalloc",
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.install infra/3pp/tools/autoconf.ensure package directory",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "cipd",
      "ensure",
      "-root",
      "[START_DIR]/cipd_tool/infra/3pp/tools/autoconf/79821582576f6f08410b2d2f2c0658c2be62aae6ca2df4ab28cc6b4d75002f20",
      "-ensure-file",
      "infra/3pp/tools/autoconf/${platform} version:3@2.71.chromium.1",
      "-max-threads",
      "0",
      "-json-output",
      "/path/to/tmp/json"
    ],
    "cwd": "[START_DIR]/jemalloc",
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.install infra/3pp/tools/autoconf.ensure_installed",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@",
      "@@@STEP_LOG_LINE@json.output@{@@@",
      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
      "@@@STEP_LOG_LINE@json.output@    \"\": [@@@",
      "@@@STEP_LOG_LINE@json.output@      {@@@",
      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-version:3@2.71.c\",@@@",
      "@@@STEP_LOG_LINE@json.output@        \"package\": \"infra/3pp/tools/autoconf/resolved-platform\"@@@",
      "@@@STEP_LOG_LINE@json.output@      }@@@",
      "@@@STEP_LOG_LINE@json.output@    ]@@@",
      "@@@STEP_LOG_LINE@json.output@  }@@@",
      "@@@STEP_LOG_LINE@json.output@}@@@",
      "@@@STEP_LOG_END@json.output@@@"
    ]
  },
  {
    "cmd": [
      "[START_DIR]/cipd_tool/infra/3pp/tools/autoconf/79821582576f6f08410b2d2f2c0658c2be62aae6ca2df4ab28cc6b4d75002f20/bin/autoconf"
    ],
    "cwd": "[START_DIR]/jemalloc",
    "env_prefixes": {
      "PATH": [
        "[START_DIR]/cipd_tool/infra/3pp/tools/autoconf/79821582576f6f08410b2d2f2c0658c2be62aae6ca2df4ab28cc6b4d75002f20/bin"
      ]
    },
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.autoconf",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "mkdir",
      "-p",
      "[START_DIR]/jemalloc/build-linux-amd64"
    ],
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.prepare linux-amd64 build",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [],
    "name": "jemalloc.build jemalloc-linux-amd64",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "../configure",
      "--build=x86_64-linux-gnu",
      "--host=x86_64-linux-gnu",
      "--disable-shared",
      "--enable-static",
      "--disable-syscall",
      "--disable-stats"
    ],
    "cwd": "[START_DIR]/jemalloc/build-linux-amd64",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -Wno-error",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "CXXFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -Wno-error",
      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.build jemalloc-linux-amd64.configure",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "make",
      "-j8",
      "build_lib_static"
    ],
    "cwd": "[START_DIR]/jemalloc/build-linux-amd64",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -Wno-error",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "CXXFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -Wno-error",
      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.build jemalloc-linux-amd64.build",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "mkdir",
      "-p",
      "[START_DIR]/jemalloc/build-linux-arm64"
    ],
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.prepare linux-arm64 build",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [],
    "name": "jemalloc.build jemalloc-linux-arm64",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "../configure",
      "--build=x86_64-linux-gnu",
      "--host=aarch64-linux-gnu",
      "--disable-shared",
      "--enable-static",
      "--disable-syscall",
      "--disable-stats",
      "--with-lg-page=16"
    ],
    "cwd": "[START_DIR]/jemalloc/build-linux-arm64",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -Wno-error",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "CXXFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -Wno-error",
      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.build jemalloc-linux-arm64.configure",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "make",
      "-j8",
      "build_lib_static"
    ],
    "cwd": "[START_DIR]/jemalloc/build-linux-arm64",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -Wno-error",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "CXXFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -Wno-error",
      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.build jemalloc-linux-arm64.build",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "mkdir",
      "-p",
      "[START_DIR]/jemalloc/build-linux-riscv64"
    ],
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.prepare linux-riscv64 build",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [],
    "name": "jemalloc.build jemalloc-linux-riscv64",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "../configure",
      "--build=x86_64-linux-gnu",
      "--host=riscv64-linux-gnu",
      "--disable-shared",
      "--enable-static",
      "--disable-syscall",
      "--disable-stats"
    ],
    "cwd": "[START_DIR]/jemalloc/build-linux-riscv64",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=riscv64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot-focal -Wno-error",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "CXXFLAGS": "--target=riscv64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot-focal -Wno-error",
      "LDFLAGS": "--target=riscv64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot-focal -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.build jemalloc-linux-riscv64.configure",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "make",
      "-j8",
      "build_lib_static"
    ],
    "cwd": "[START_DIR]/jemalloc/build-linux-riscv64",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=riscv64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot-focal -Wno-error",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "CXXFLAGS": "--target=riscv64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot-focal -Wno-error",
      "LDFLAGS": "--target=riscv64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot-focal -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "jemalloc.build jemalloc-linux-riscv64.build",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [],
    "name": "debug"
  },
  {
    "cmd": [],
    "name": "debug.linux-amd64",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "python3",
      "-u",
      "[START_DIR]/gn/build/gen.py",
      "-d",
      "--use-asan",
      "--use-ubsan"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "debug.linux-amd64.generate",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "[START_DIR]/cipd/ninja",
      "-C",
      "[START_DIR]/gn/out"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "debug.linux-amd64.build",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "[START_DIR]/gn/out/gn_unittests"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "debug.linux-amd64.test",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [],
    "name": "release"
  },
  {
    "cmd": [],
    "name": "release.linux-amd64",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "python3",
      "-u",
      "[START_DIR]/gn/build/gen.py",
      "--use-lto",
      "--use-icf",
      "--link-lib=[START_DIR]/jemalloc/build-linux-amd64/lib/libjemalloc.a"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-amd64.generate",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "[START_DIR]/cipd/ninja",
      "-C",
      "[START_DIR]/gn/out"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-amd64.build",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "[START_DIR]/gn/out/gn_unittests"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-amd64.test",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [],
    "name": "release.linux-amd64.upload",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "vpython3",
      "-u",
      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
      "--json-output",
      "/path/to/tmp/json",
      "copy",
      "RECIPE_MODULE[recipe_engine::cas]/resources/infra.sha1",
      "/path/to/tmp/"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-amd64.upload.read infra revision",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@3@@@",
      "@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@",
      "@@@STEP_LOG_END@infra.sha1@@@"
    ]
  },
  {
    "cmd": [],
    "name": "release.linux-amd64.upload.install infra/tools/luci/cas",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@3@@@"
    ]
  },
  {
    "cmd": [
      "vpython3",
      "-u",
      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
      "--json-output",
      "/path/to/tmp/json",
      "ensure-directory",
      "--mode",
      "0777",
      "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-amd64.upload.install infra/tools/luci/cas.ensure package directory",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@4@@@"
    ]
  },
  {
    "cmd": [
      "cipd",
      "ensure",
      "-root",
      "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee",
      "-ensure-file",
      "infra/tools/luci/cas/${platform} git_revision:mock_infra_git_revision",
      "-max-threads",
      "0",
      "-json-output",
      "/path/to/tmp/json"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-amd64.upload.install infra/tools/luci/cas.ensure_installed",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@4@@@",
      "@@@STEP_LOG_LINE@json.output@{@@@",
      "@@@STEP_LOG_LINE@json.output@  \"result\": {@@@",
      "@@@STEP_LOG_LINE@json.output@    \"\": [@@@",
      "@@@STEP_LOG_LINE@json.output@      {@@@",
      "@@@STEP_LOG_LINE@json.output@        \"instance_id\": \"resolved-instance_id-of-git_revision:moc\",@@@",
      "@@@STEP_LOG_LINE@json.output@        \"package\": \"infra/tools/luci/cas/resolved-platform\"@@@",
      "@@@STEP_LOG_LINE@json.output@      }@@@",
      "@@@STEP_LOG_LINE@json.output@    ]@@@",
      "@@@STEP_LOG_LINE@json.output@  }@@@",
      "@@@STEP_LOG_LINE@json.output@}@@@",
      "@@@STEP_LOG_END@json.output@@@"
    ]
  },
  {
    "cmd": [
      "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee/cas",
      "archive",
      "-log-level",
      "info",
      "-cas-instance",
      "projects/example-cas-server/instances/default_instance",
      "-dump-digest",
      "/path/to/tmp/",
      "-paths-json",
      "[[\"[START_DIR]/gn/out\", \"gn\"]]"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=x86_64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-amd64.upload.upload binary to CAS",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@3@@@",
      "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@"
    ]
  },
  {
    "cmd": [],
    "name": "release.linux-arm64",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "python3",
      "-u",
      "[START_DIR]/gn/build/gen.py",
      "--use-lto",
      "--use-icf",
      "--link-lib=[START_DIR]/jemalloc/build-linux-arm64/lib/libjemalloc.a"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-arm64.generate",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "[START_DIR]/cipd/ninja",
      "-C",
      "[START_DIR]/gn/out"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-arm64.build",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [],
    "name": "release.linux-arm64.upload",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee/cas",
      "archive",
      "-log-level",
      "info",
      "-cas-instance",
      "projects/example-cas-server/instances/default_instance",
      "-dump-digest",
      "/path/to/tmp/",
      "-paths-json",
      "[[\"[START_DIR]/gn/out\", \"gn\"]]"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=aarch64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot -static-libstdc++"
    },
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-arm64.upload.upload binary to CAS",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@3@@@",
      "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@"
    ]
  },
  {
    "cmd": [],
    "name": "release.linux-riscv64",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [
      "python3",
      "-u",
      "[START_DIR]/gn/build/gen.py",
      "--use-lto",
      "--use-icf",
      "--link-lib=[START_DIR]/jemalloc/build-linux-riscv64/lib/libjemalloc.a"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=riscv64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot-focal",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=riscv64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot-focal -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-riscv64.generate",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "[START_DIR]/cipd/ninja",
      "-C",
      "[START_DIR]/gn/out"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=riscv64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot-focal",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=riscv64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot-focal -static-libstdc++"
    },
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-riscv64.build",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [],
    "name": "release.linux-riscv64.upload",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@2@@@"
    ]
  },
  {
    "cmd": [
      "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee/cas",
      "archive",
      "-log-level",
      "info",
      "-cas-instance",
      "projects/example-cas-server/instances/default_instance",
      "-dump-digest",
      "/path/to/tmp/",
      "-paths-json",
      "[[\"[START_DIR]/gn/out\", \"gn\"]]"
    ],
    "cwd": "[START_DIR]/gn",
    "env": {
      "AR": "[START_DIR]/cipd/bin/llvm-ar",
      "CC": "[START_DIR]/cipd/bin/clang",
      "CFLAGS": "--target=riscv64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot-focal",
      "CXX": "[START_DIR]/cipd/bin/clang++",
      "LDFLAGS": "--target=riscv64-linux-gnu --sysroot=[START_DIR]/cipd/sysroot-focal -static-libstdc++"
    },
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "gn:try"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "release.linux-riscv64.upload.upload binary to CAS",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@3@@@",
      "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@"
    ]
  },
  {
    "name": "$result"
  }
]