[
  {
    "cmd": [
      "vpython3",
      "[CACHE]/builder/crosvm/tools/presubmit",
      "--list-checks",
      "linux_x86_64"
    ],
    "cwd": "[CACHE]/builder/crosvm",
    "env": {
      "CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container"
    },
    "luci_context": {
      "realm": {
        "name": "crosvm/crosvm:ci"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "List checks to run"
  },
  {
    "cmd": [
      "vpython3",
      "[CACHE]/builder/crosvm/tools/dev_container",
      "--no-interactive",
      "--verbose",
      "tools/presubmit",
      "--no-delta",
      "check_a"
    ],
    "cwd": "[CACHE]/builder/crosvm",
    "env": {
      "CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container",
      "NEXTEST_PROFILE": "postsubmit"
    },
    "luci_context": {
      "realm": {
        "name": "crosvm/crosvm:ci"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "tools/presubmit check_a"
  },
  {
    "cmd": [
      "vpython3",
      "[CACHE]/builder/crosvm/tools/dev_container",
      "--no-interactive",
      "--verbose",
      "tools/presubmit",
      "--no-delta",
      "check_b"
    ],
    "cwd": "[CACHE]/builder/crosvm",
    "env": {
      "CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container",
      "NEXTEST_PROFILE": "postsubmit"
    },
    "luci_context": {
      "realm": {
        "name": "crosvm/crosvm:ci"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "tools/presubmit check_b"
  },
  {
    "cmd": [],
    "name": "Collect binary sizes"
  },
  {
    "cmd": [
      "vpython3",
      "[CACHE]/builder/crosvm/tools/dev_container",
      "--no-interactive",
      "--verbose",
      "./tools/build_release",
      "--json",
      "--platform=x86_64",
      "--build-profile",
      "chromeos"
    ],
    "cwd": "[CACHE]/builder/crosvm",
    "env": {
      "CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container"
    },
    "luci_context": {
      "realm": {
        "name": "crosvm/crosvm:ci"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "Collect binary sizes.Build crosvm releases",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@",
      "@@@STEP_LOG_LINE@raw_io.output_text[Obtain release build output]@Using existing container (82e9d24cd4f0).@@@",
      "@@@STEP_LOG_LINE@raw_io.output_text[Obtain release build output]@$ docker exec 82e9d24cd4f0 /tools/entrypoint.sh ./tools/build_release --json --platform=x86_64@@@",
      "@@@STEP_LOG_LINE@raw_io.output_text[Obtain release build output]@{\"crosvm\": \"/scratch/cargo_target/crosvm/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/release/crosvm\"}@@@",
      "@@@STEP_LOG_END@raw_io.output_text[Obtain release build output]@@@"
    ]
  },
  {
    "cmd": [
      "vpython3",
      "[CACHE]/builder/crosvm/tools/dev_container",
      "--no-interactive",
      "--verbose",
      "./tools/infra/binary_size",
      "--builder-name",
      "builder",
      "--target-name",
      "crosvm",
      "--target-path",
      "/scratch/cargo_target/crosvm/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/release/crosvm",
      "--base-dir",
      "/scratch/cargo_target/crosvm",
      "--upload",
      "--builder-name",
      "builder",
      "--log-url",
      "https://cr-buildbucket.appspot.com/build/8945511751514863184",
      "--build-version",
      "2d72510e447ab60a9728aeea2362d8be2cbd7789"
    ],
    "cwd": "[CACHE]/builder/crosvm",
    "env": {
      "CROSVM_CONTAINER_CACHE": "[CACHE]/builder/dev_container"
    },
    "infra_step": true,
    "luci_context": {
      "realm": {
        "name": "crosvm/crosvm:ci"
      },
      "resultdb": {
        "current_invocation": {
          "name": "invocations/build:8945511751514863184",
          "update_token": "token"
        },
        "hostname": "rdbhost"
      }
    },
    "name": "Collect binary sizes.Get binary size for crosvm",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@"
    ]
  },
  {
    "cmd": [],
    "name": "Collect binary sizes.Write binary sizes into output",
    "~followup_annotations": [
      "@@@STEP_NEST_LEVEL@1@@@",
      "@@@SET_BUILD_PROPERTY@binary_sizes@{\"/scratch/cargo_target/crosvm/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/release/crosvm\": 22783488}@@@"
    ]
  }
]