[testing_requests] Add smart-integration Revision

When uploading from a smart-integration checkout, also include an
environment variable indicating the smart-integration revision and the
corresponding internal revision it is based on.

Bug: b/326307398

Change-Id: I62414b8c872d82da64c603bad341031de3478507
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/recipes/+/1033842
Commit-Queue: Gwen Mittertreiner <gmtr@google.com>
Reviewed-by: Mark Seaborn <mseaborn@google.com>
Reviewed-by: Oliver Newman <olivernewman@google.com>
Fuchsia-Auto-Submit: Gwen Mittertreiner <gmtr@google.com>
diff --git a/recipe_modules/testing_requests/api.py b/recipe_modules/testing_requests/api.py
index 456af58..299089b 100644
--- a/recipe_modules/testing_requests/api.py
+++ b/recipe_modules/testing_requests/api.py
@@ -490,8 +490,9 @@
         # compatible with Skia Perf.
         internal_integration_revision = None
         public_integration_revision = None
+        smart_integration_revision = None
 
-        # There are 2 integration repositories we need to deal with:
+        # There are 3 integration repositories we need to deal with:
         #
         # 1) The public integration which is based in the internal integration. For the public
         #    integration, we'll provide the public integration revision and the corresponding
@@ -500,9 +501,13 @@
         #    "turquoise-internal.googlesource.com".
         # 2) internal integration, which is the integration repository with a host of
         #    "turquoise-internal.googlesource.com".
+        # 3) smart-integration which is also based on the internal integration. smart-integration is
+        #    also internal (its host will be turquoise-internal.googlesource.com) and also has a
+        #    corresponding internal revision from where it was derived. We'll provide both
+        #    revisions.
         #
         # TL;DR: We'll always have an internal integration revision. If this is a commit from the
-        # public integration or smart-integration, we include both the public revision and the
+        # public integration or smart-integration, we include both the public/smart revision and the
         # internal revision.
         project = buildbucket_build.input.gitiles_commit.project
         commit_host = buildbucket_build.input.gitiles_commit.host
@@ -517,6 +522,14 @@
                 build_results.checkout.corresponding_internal_integration_revision
             )
             public_integration_revision = build_results.checkout.integration_revision
+        elif (
+            commit_host == "turquoise-internal.googlesource.com"
+            and project == "smart-integration"
+        ):
+            internal_integration_revision = (
+                build_results.checkout.corresponding_internal_integration_revision
+            )
+            smart_integration_revision = build_results.checkout.integration_revision
 
         env_vars = self._test_task_env_vars(
             buildbucket_build,
@@ -539,6 +552,7 @@
             bootserver_path=register_tool("bootserver_new"),
             internal_integration_revision=internal_integration_revision,
             public_integration_revision=public_integration_revision,
+            smart_integration_revision=smart_integration_revision,
         )
 
         cas_input_root = self.m.cas_util.upload(
@@ -624,6 +638,7 @@
         bootserver_path,
         internal_integration_revision,
         public_integration_revision,
+        smart_integration_revision,
     ):
         # Note that this will sometimes point to the wrong commit for tryjobs,
         # which re-resolve HEAD on the fly rather than respecting the input
@@ -676,6 +691,9 @@
         if public_integration_revision:
             env_vars.update(INTEGRATION_PUBLIC_GIT_COMMIT=public_integration_revision)
 
+        if smart_integration_revision:
+            env_vars.update(SMART_INTEGRATION_GIT_COMMIT=smart_integration_revision)
+
         env_vars.update(
             self._get_catapult_dashboard_env_vars(
                 catapult_dashboard_master, catapult_dashboard_bot, commit_ref
diff --git a/recipe_modules/testing_requests/tests/full.expected/ci_commit_id_smart_integration.json b/recipe_modules/testing_requests/tests/full.expected/ci_commit_id_smart_integration.json
new file mode 100644
index 0000000..8097064
--- /dev/null
+++ b/recipe_modules/testing_requests/tests/full.expected/ci_commit_id_smart_integration.json
@@ -0,0 +1,1277 @@
+[
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "copy",
+      "[START_DIR]/out/not-default/tool_paths.json",
+      "/path/to/tmp/"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "read tool_paths manifest",
+    "~followup_annotations": [
+      "@@@STEP_LOG_LINE@tool_paths.json@[@@@",
+      "@@@STEP_LOG_LINE@tool_paths.json@  {@@@",
+      "@@@STEP_LOG_LINE@tool_paths.json@    \"cpu\": \"x64\",@@@",
+      "@@@STEP_LOG_LINE@tool_paths.json@    \"name\": \"foo\",@@@",
+      "@@@STEP_LOG_LINE@tool_paths.json@    \"os\": \"linux\",@@@",
+      "@@@STEP_LOG_LINE@tool_paths.json@    \"path\": \"linux_x64/foo\"@@@",
+      "@@@STEP_LOG_LINE@tool_paths.json@  }@@@",
+      "@@@STEP_LOG_LINE@tool_paths.json@]@@@",
+      "@@@STEP_LOG_END@tool_paths.json@@@"
+    ]
+  },
+  {
+    "cmd": [],
+    "name": "shard NAME"
+  },
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "copy",
+      "[\n  {\n    \"label\": \"//path/to/test:test(//toolchain)\",\n    \"name\": \"TEST\",\n    \"os\": \"linux\",\n    \"path\": \"/path/to/test\"\n  }\n]",
+      "[START_DIR]/out/not-default/NAME_tests.json"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.write test manifest",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@",
+      "@@@STEP_LOG_LINE@NAME_tests.json@[@@@",
+      "@@@STEP_LOG_LINE@NAME_tests.json@  {@@@",
+      "@@@STEP_LOG_LINE@NAME_tests.json@    \"label\": \"//path/to/test:test(//toolchain)\",@@@",
+      "@@@STEP_LOG_LINE@NAME_tests.json@    \"name\": \"TEST\",@@@",
+      "@@@STEP_LOG_LINE@NAME_tests.json@    \"os\": \"linux\",@@@",
+      "@@@STEP_LOG_LINE@NAME_tests.json@    \"path\": \"/path/to/test\"@@@",
+      "@@@STEP_LOG_LINE@NAME_tests.json@  }@@@",
+      "@@@STEP_LOG_LINE@NAME_tests.json@]@@@",
+      "@@@STEP_LOG_END@NAME_tests.json@@@"
+    ]
+  },
+  {
+    "cmd": [],
+    "name": "shard NAME.read rdb package",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "copy",
+      "RECIPE_MODULE[fuchsia::testing_requests]/resources/rdb/cipd.ensure",
+      "/path/to/tmp/"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.read rdb package.read ensure file",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@2@@@",
+      "@@@STEP_LOG_LINE@cipd.ensure@infra/tools/rdb/${platform} version:pinned-version@@@",
+      "@@@STEP_LOG_END@cipd.ensure@@@"
+    ]
+  },
+  {
+    "cmd": [],
+    "name": "shard NAME.read luci-auth package",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "copy",
+      "RECIPE_MODULE[fuchsia::testing_requests]/resources/luci-auth/cipd.ensure",
+      "/path/to/tmp/"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.read luci-auth package.read ensure file",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@2@@@",
+      "@@@STEP_LOG_LINE@cipd.ensure@infra/tools/luci-auth/${platform} version:pinned-version@@@",
+      "@@@STEP_LOG_END@cipd.ensure@@@"
+    ]
+  },
+  {
+    "cmd": [],
+    "name": "shard NAME.read nsjail package",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "copy",
+      "RECIPE_MODULE[fuchsia::nsjail]/resources/nsjail/cipd.ensure",
+      "/path/to/tmp/"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.read nsjail package.read ensure file",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@2@@@",
+      "@@@STEP_LOG_LINE@cipd.ensure@infra/3pp/tools/nsjail/${platform} version:pinned-version@@@",
+      "@@@STEP_LOG_END@cipd.ensure@@@"
+    ]
+  },
+  {
+    "cmd": [],
+    "name": "shard NAME.ensure fuchsia/tools/jiri/${platform}",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@"
+    ]
+  },
+  {
+    "cmd": [],
+    "name": "shard NAME.ensure fuchsia/tools/jiri/${platform}.get packages",
+    "~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[fuchsia::jiri]/resources/cipd.ensure",
+      "/path/to/tmp/"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.ensure fuchsia/tools/jiri/${platform}.get packages.read ensure file",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@3@@@",
+      "@@@STEP_LOG_LINE@cipd.ensure@fuchsia/tools/jiri/${platform} version:pinned-version@@@",
+      "@@@STEP_LOG_END@cipd.ensure@@@"
+    ]
+  },
+  {
+    "cmd": [],
+    "name": "shard NAME2"
+  },
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "copy",
+      "[\n  {\n    \"label\": \"//path/to/test:test(//toolchain)\",\n    \"name\": \"TEST2\",\n    \"os\": \"linux\",\n    \"path\": \"/path/to/test\"\n  }\n]",
+      "[START_DIR]/out/not-default/NAME2_tests.json"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME2.write test manifest",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@",
+      "@@@STEP_LOG_LINE@NAME2_tests.json@[@@@",
+      "@@@STEP_LOG_LINE@NAME2_tests.json@  {@@@",
+      "@@@STEP_LOG_LINE@NAME2_tests.json@    \"label\": \"//path/to/test:test(//toolchain)\",@@@",
+      "@@@STEP_LOG_LINE@NAME2_tests.json@    \"name\": \"TEST2\",@@@",
+      "@@@STEP_LOG_LINE@NAME2_tests.json@    \"os\": \"linux\",@@@",
+      "@@@STEP_LOG_LINE@NAME2_tests.json@    \"path\": \"/path/to/test\"@@@",
+      "@@@STEP_LOG_LINE@NAME2_tests.json@  }@@@",
+      "@@@STEP_LOG_LINE@NAME2_tests.json@]@@@",
+      "@@@STEP_LOG_END@NAME2_tests.json@@@"
+    ]
+  },
+  {
+    "cmd": [],
+    "name": "shard NAME2.read rdb package",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "copy",
+      "RECIPE_MODULE[fuchsia::testing_requests]/resources/rdb/cipd.ensure",
+      "/path/to/tmp/"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME2.read rdb package.read ensure file",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@2@@@",
+      "@@@STEP_LOG_LINE@cipd.ensure@infra/tools/rdb/${platform} version:pinned-version@@@",
+      "@@@STEP_LOG_END@cipd.ensure@@@"
+    ]
+  },
+  {
+    "cmd": [],
+    "name": "shard NAME2.read luci-auth package",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "copy",
+      "RECIPE_MODULE[fuchsia::testing_requests]/resources/luci-auth/cipd.ensure",
+      "/path/to/tmp/"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME2.read luci-auth package.read ensure file",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@2@@@",
+      "@@@STEP_LOG_LINE@cipd.ensure@infra/tools/luci-auth/${platform} version:pinned-version@@@",
+      "@@@STEP_LOG_END@cipd.ensure@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "git",
+      "show",
+      "HEAD",
+      "--format=%B",
+      "--no-patch"
+    ],
+    "cwd": "[START_DIR]/integration",
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME2.get commit msg",
+    "timeout": 300.0,
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@",
+      "@@@STEP_LOG_LINE@commit message@[roll] Roll fuchsia [test] This is a test commit@@@",
+      "@@@STEP_LOG_LINE@commit message@@@@",
+      "@@@STEP_LOG_LINE@commit message@Sample public Commit@@@",
+      "@@@STEP_LOG_LINE@commit message@@@@",
+      "@@@STEP_LOG_LINE@commit message@Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/123456@@@",
+      "@@@STEP_LOG_LINE@commit message@Original-Revision: bbbb51a61bc81e41ce261661dab20ed032c81fc@@@",
+      "@@@STEP_LOG_LINE@commit message@GitOrigin-RevId: aaaac79496eb20fdf52d250437fda791562754ff@@@",
+      "@@@STEP_LOG_LINE@commit message@Change-Id: I1c8bba9e37aac395db3c83988ec27d8567ab5c89@@@",
+      "@@@STEP_LOG_END@commit message@@@"
+    ]
+  },
+  {
+    "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/"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME2.read infra revision",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@",
+      "@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@",
+      "@@@STEP_LOG_END@infra.sha1@@@"
+    ]
+  },
+  {
+    "cmd": [],
+    "name": "shard NAME.ensure fuchsia/tools/jiri/${platform}.install fuchsia/tools/jiri",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@2@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "ensure-directory",
+      "--mode",
+      "0o777",
+      "[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.ensure fuchsia/tools/jiri/${platform}.install fuchsia/tools/jiri.ensure package directory",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@3@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "cipd",
+      "ensure",
+      "-root",
+      "[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07",
+      "-ensure-file",
+      "fuchsia/tools/jiri/${platform} version:pinned-version",
+      "-max-threads",
+      "0",
+      "-json-output",
+      "/path/to/tmp/json"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.ensure fuchsia/tools/jiri/${platform}.install fuchsia/tools/jiri.ensure_installed",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@3@@@",
+      "@@@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:pinned-v\",@@@",
+      "@@@STEP_LOG_LINE@json.output@        \"package\": \"fuchsia/tools/jiri/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": [],
+    "name": "shard NAME2.install infra/tools/luci/cas",
+    "~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",
+      "0o777",
+      "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME2.install infra/tools/luci/cas.ensure package directory",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@2@@@"
+    ]
+  },
+  {
+    "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"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME2.install infra/tools/luci/cas.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-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/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
+      "package",
+      "-vv",
+      "-time",
+      "-timefile",
+      "/path/to/tmp/",
+      "-j=8",
+      "-json-output",
+      "/path/to/tmp/json",
+      "fuchsia/third_party/edk2"
+    ],
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.jiri package",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@",
+      "@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
+      "@@@STEP_LOG_LINE@json.output@[@@@",
+      "@@@STEP_LOG_LINE@json.output@  {@@@",
+      "@@@STEP_LOG_LINE@json.output@    \"manifest\": \"[START_DIR]/fuchsia/third_party/edk2/manifest\",@@@",
+      "@@@STEP_LOG_LINE@json.output@    \"name\": \"fuchsia/third_party/edk2\",@@@",
+      "@@@STEP_LOG_LINE@json.output@    \"path\": \"[START_DIR]/path/to/fuchsia/third_party/edk2\",@@@",
+      "@@@STEP_LOG_LINE@json.output@    \"version\": \"git_revision:0f3fc5584ab59ed7d53db93f5bd89d61f8fee337\"@@@",
+      "@@@STEP_LOG_LINE@json.output@  }@@@",
+      "@@@STEP_LOG_LINE@json.output@]@@@",
+      "@@@STEP_LOG_END@json.output@@@",
+      "@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
+      "package",
+      "-vv",
+      "-time",
+      "-timefile",
+      "/path/to/tmp/",
+      "-j=8",
+      "-json-output",
+      "/path/to/tmp/json",
+      "fuchsia/third_party/qemu/${platform}"
+    ],
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.jiri package (2)",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@",
+      "@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
+      "@@@STEP_LOG_LINE@json.output@[@@@",
+      "@@@STEP_LOG_LINE@json.output@  {@@@",
+      "@@@STEP_LOG_LINE@json.output@    \"manifest\": \"[START_DIR]/fuchsia/third_party/qemu/${platform}/manifest\",@@@",
+      "@@@STEP_LOG_LINE@json.output@    \"name\": \"fuchsia/third_party/qemu/${platform}\",@@@",
+      "@@@STEP_LOG_LINE@json.output@    \"path\": \"[START_DIR]/path/to/fuchsia/third_party/qemu/${platform}\",@@@",
+      "@@@STEP_LOG_LINE@json.output@    \"version\": \"git_revision:0f3fc5584ab59ed7d53db93f5bd89d61f8fee337\"@@@",
+      "@@@STEP_LOG_LINE@json.output@  }@@@",
+      "@@@STEP_LOG_LINE@json.output@]@@@",
+      "@@@STEP_LOG_END@json.output@@@",
+      "@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "copy",
+      "[\n  {\n    \"cpu\": 4,\n    \"edk2_dir\": \"./edk2\",\n    \"fvm_tool\": \"linux_x64/fvm\",\n    \"kvm\": true,\n    \"logfile\": \"../../serial_logs/serial_log.txt\",\n    \"memory\": 4096,\n    \"path\": \"./qemu/bin\",\n    \"serial\": false,\n    \"target\": \"x64\",\n    \"type\": \"qemu\",\n    \"zbi_tool\": \"linux_x64/zbi\"\n  }\n]",
+      "[START_DIR]/out/not-default/NAME.botanist.json"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.write qemu config",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@[@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@  {@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@    \"cpu\": 4,@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@    \"edk2_dir\": \"./edk2\",@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@    \"fvm_tool\": \"linux_x64/fvm\",@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@    \"kvm\": true,@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@    \"logfile\": \"../../serial_logs/serial_log.txt\",@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@    \"memory\": 4096,@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@    \"path\": \"./qemu/bin\",@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@    \"serial\": false,@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@    \"target\": \"x64\",@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@    \"type\": \"qemu\",@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@    \"zbi_tool\": \"linux_x64/zbi\"@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@  }@@@",
+      "@@@STEP_LOG_LINE@NAME.botanist.json@]@@@",
+      "@@@STEP_LOG_END@NAME.botanist.json@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee/cas",
+      "archive",
+      "-log-level",
+      "debug",
+      "-cas-instance",
+      "projects/example-cas-server/instances/default_instance",
+      "-dump-digest",
+      "/path/to/tmp/",
+      "-paths-json",
+      "[[\"[START_DIR]\", \"out/not-default/NAME.botanist.json\"], [\"[START_DIR]\", \"out/not-default/NAME_tests.json\"], [\"[START_DIR]\", \"out/not-default/linux_x64/bootserver_new\"], [\"[START_DIR]\", \"out/not-default/linux_x64/botanist\"], [\"[START_DIR]\", \"out/not-default/linux_x64/ffx\"], [\"[START_DIR]\", \"out/not-default/linux_x64/fvm\"], [\"[START_DIR]\", \"out/not-default/linux_x64/llvm-symbolizer\"], [\"[START_DIR]\", \"out/not-default/linux_x64/ssh\"], [\"[START_DIR]\", \"out/not-default/linux_x64/zbi\"], [\"[START_DIR]\", \"out/not-default/path/to/a/dep\"]]"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.upload task inputs to CAS",
+    "timeout": 900.0,
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@",
+      "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "remove",
+      "[START_DIR]/out/not-default/NAME_tests.json"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.remove NAME_tests.json",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "remove",
+      "[START_DIR]/out/not-default/NAME.botanist.json"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME.remove NAME.botanist.json",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee/cas",
+      "archive",
+      "-log-level",
+      "debug",
+      "-cas-instance",
+      "projects/example-cas-server/instances/default_instance",
+      "-dump-digest",
+      "/path/to/tmp/",
+      "-paths-json",
+      "[[\"[START_DIR]\", \"out/not-default/NAME2_tests.json\"], [\"[START_DIR]\", \"out/not-default/linux_x64/bootserver_new\"], [\"[START_DIR]\", \"out/not-default/linux_x64/botanist\"], [\"[START_DIR]\", \"out/not-default/linux_x64/llvm-symbolizer\"], [\"[START_DIR]\", \"out/not-default/linux_x64/ssh\"], [\"[START_DIR]\", \"out/not-default/path/to/a/dep\"]]"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME2.upload task inputs to CAS",
+    "timeout": 900.0,
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@",
+      "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@"
+    ]
+  },
+  {
+    "cmd": [
+      "vpython3",
+      "-u",
+      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
+      "--json-output",
+      "/path/to/tmp/json",
+      "remove",
+      "[START_DIR]/out/not-default/NAME2_tests.json"
+    ],
+    "infra_step": true,
+    "luci_context": {
+      "realm": {
+        "name": "fuchsia:ci"
+      },
+      "resultdb": {
+        "current_invocation": {
+          "name": "invocations/build:8945511751514863184",
+          "update_token": "token"
+        },
+        "hostname": "rdbhost"
+      }
+    },
+    "name": "shard NAME2.remove NAME2_tests.json",
+    "~followup_annotations": [
+      "@@@STEP_NEST_LEVEL@1@@@"
+    ]
+  },
+  {
+    "cmd": [],
+    "name": "task requests",
+    "~followup_annotations": [
+      "@@@STEP_LOG_LINE@requests@[@@@",
+      "@@@STEP_LOG_LINE@requests@  {@@@",
+      "@@@STEP_LOG_LINE@requests@    \"name\": \"NAME\",@@@",
+      "@@@STEP_LOG_LINE@requests@    \"priority\": \"200\",@@@",
+      "@@@STEP_LOG_LINE@requests@    \"realm\": \"fuchsia:ci\",@@@",
+      "@@@STEP_LOG_LINE@requests@    \"resultdb\": {@@@",
+      "@@@STEP_LOG_LINE@requests@      \"enable\": true@@@",
+      "@@@STEP_LOG_LINE@requests@    },@@@",
+      "@@@STEP_LOG_LINE@requests@    \"service_account\": \"foo@bar.com\",@@@",
+      "@@@STEP_LOG_LINE@requests@    \"tags\": [@@@",
+      "@@@STEP_LOG_LINE@requests@      \"board:boards/bar.gni\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"build_type:release\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"buildbucket_bucket:ci\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"buildbucket_builder:builder\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"product:products/foo.gni\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"role:tester\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"task_name:NAME\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"test_environment_name:QEMU-x64\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"test_shard_hash:58595b99a79071b7f3ab1d897d7baeb5edde2beb3ad64537c693faa6338dae8d\"@@@",
+      "@@@STEP_LOG_LINE@requests@    ],@@@",
+      "@@@STEP_LOG_LINE@requests@    \"task_slices\": [@@@",
+      "@@@STEP_LOG_LINE@requests@      {@@@",
+      "@@@STEP_LOG_LINE@requests@        \"expiration_secs\": \"0\",@@@",
+      "@@@STEP_LOG_LINE@requests@        \"properties\": {@@@",
+      "@@@STEP_LOG_LINE@requests@          \"cas_input_root\": {@@@",
+      "@@@STEP_LOG_LINE@requests@            \"cas_instance\": \"projects/example-cas-server/instances/default_instance\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"digest\": {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"hash\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"size_bytes\": \"0\"@@@",
+      "@@@STEP_LOG_LINE@requests@            }@@@",
+      "@@@STEP_LOG_LINE@requests@          },@@@",
+      "@@@STEP_LOG_LINE@requests@          \"cipd_input\": {@@@",
+      "@@@STEP_LOG_LINE@requests@            \"packages\": [@@@",
+      "@@@STEP_LOG_LINE@requests@              {@@@",
+      "@@@STEP_LOG_LINE@requests@                \"package_name\": \"infra/tools/rdb/${platform}\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"path\": \"out/not-default\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"version\": \"version:pinned-version\"@@@",
+      "@@@STEP_LOG_LINE@requests@              },@@@",
+      "@@@STEP_LOG_LINE@requests@              {@@@",
+      "@@@STEP_LOG_LINE@requests@                \"package_name\": \"infra/tools/luci-auth/${platform}\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"path\": \"out/not-default\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"version\": \"version:pinned-version\"@@@",
+      "@@@STEP_LOG_LINE@requests@              },@@@",
+      "@@@STEP_LOG_LINE@requests@              {@@@",
+      "@@@STEP_LOG_LINE@requests@                \"package_name\": \"infra/3pp/tools/nsjail/${platform}\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"path\": \"out/not-default\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"version\": \"version:pinned-version\"@@@",
+      "@@@STEP_LOG_LINE@requests@              },@@@",
+      "@@@STEP_LOG_LINE@requests@              {@@@",
+      "@@@STEP_LOG_LINE@requests@                \"package_name\": \"fuchsia/third_party/edk2\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"path\": \"out/not-default/edk2\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"version\": \"git_revision:0f3fc5584ab59ed7d53db93f5bd89d61f8fee337\"@@@",
+      "@@@STEP_LOG_LINE@requests@              },@@@",
+      "@@@STEP_LOG_LINE@requests@              {@@@",
+      "@@@STEP_LOG_LINE@requests@                \"package_name\": \"fuchsia/third_party/qemu/${platform}\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"path\": \"out/not-default/qemu\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"version\": \"git_revision:0f3fc5584ab59ed7d53db93f5bd89d61f8fee337\"@@@",
+      "@@@STEP_LOG_LINE@requests@              }@@@",
+      "@@@STEP_LOG_LINE@requests@            ]@@@",
+      "@@@STEP_LOG_LINE@requests@          },@@@",
+      "@@@STEP_LOG_LINE@requests@          \"command\": [@@@",
+      "@@@STEP_LOG_LINE@requests@            \"./rdb\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"stream\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-var\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"builder:builder\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"--\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"./luci-auth\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"context\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-scopes\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/firebase https://www.googleapis.com/auth/gerritcodereview https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/nest-account\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"--\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"./linux_x64/botanist\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-level\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"debug\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"run\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-images\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"gs://fuchsia-artifacts/builds/8945511751514863184/images/images.json\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-timeout\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"1800s\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-ffx\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"./linux_x64/ffx\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-product-bundles\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"product_bundles.json\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-product-bundle-name\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"foo.bar\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-repo\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"gs://fuchsia-artifacts/builds/8945511751514863184/packages/repository\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-blobs\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"gs://fuchsia-artifacts/blobs\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-local-repo\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"path/to/pkg/repo\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-download-manifest\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"../../blob_downloads.json\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-syslog-dir\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"../../syslogs\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-config\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"./NAME.botanist.json\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-out-dir\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"out\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-snapshot-output\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"snapshot.zip\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-nsjail\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"./nsjail\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-nsjail-root\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"../..\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"NAME_tests.json\"@@@",
+      "@@@STEP_LOG_LINE@requests@          ],@@@",
+      "@@@STEP_LOG_LINE@requests@          \"containment\": {@@@",
+      "@@@STEP_LOG_LINE@requests@            \"containment_type\": \"NONE\"@@@",
+      "@@@STEP_LOG_LINE@requests@          },@@@",
+      "@@@STEP_LOG_LINE@requests@          \"dimensions\": [@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"cores\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"8\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"cpu\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"x64\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"gce\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"1\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"kvm\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"1\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"os\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"Debian\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"pool\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"fuchsia.tests\"@@@",
+      "@@@STEP_LOG_LINE@requests@            }@@@",
+      "@@@STEP_LOG_LINE@requests@          ],@@@",
+      "@@@STEP_LOG_LINE@requests@          \"env\": [@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"ASAN_SYMBOLIZER_PATH\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"linux_x64/llvm-symbolizer\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"BOOTSERVER_PATH\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"./linux_x64/bootserver_new\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"BUILDBUCKET_ID\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"8945511751514863184\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"BUILDER_NAME\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"builder\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"BUILD_CREATE_TIME\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"1527292217\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"FUCHSIA_DEVICE_TYPE\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"QEMU\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"FUCHSIA_TEST_OUTDIR\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"${ISOLATED_OUTDIR}\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"IMAGE_MANIFEST_PATH\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"gs://fuchsia-artifacts/builds/8945511751514863184/images/images.json\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"INPUT_COMMIT_HOST\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"turquoise-internal.googlesource.com\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"INTEGRATION_INTERNAL_GIT_COMMIT\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"aaaac79496eb20fdf52d250437fda791562754ff\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"LSAN_SYMBOLIZER_PATH\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"linux_x64/llvm-symbolizer\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"RELEASE_VERSION\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"0.20200531.0.1\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"SMART_INTEGRATION_GIT_COMMIT\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"a491082dc1b632bbcd60ba3618d20b503c2de738\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"SWARMING_BOT_FILE\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"${SWARMING_BOT_FILE}\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"TSAN_OPTIONS\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"external_symbolizer_path=linux_x64/llvm-symbolizer\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"UBSAN_SYMBOLIZER_PATH\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"linux_x64/llvm-symbolizer\"@@@",
+      "@@@STEP_LOG_LINE@requests@            }@@@",
+      "@@@STEP_LOG_LINE@requests@          ],@@@",
+      "@@@STEP_LOG_LINE@requests@          \"env_prefixes\": [@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"PATH\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": [@@@",
+      "@@@STEP_LOG_LINE@requests@                \"out/not-default/linux_x64\"@@@",
+      "@@@STEP_LOG_LINE@requests@              ]@@@",
+      "@@@STEP_LOG_LINE@requests@            }@@@",
+      "@@@STEP_LOG_LINE@requests@          ],@@@",
+      "@@@STEP_LOG_LINE@requests@          \"execution_timeout_secs\": \"1860\",@@@",
+      "@@@STEP_LOG_LINE@requests@          \"grace_period_secs\": \"30\",@@@",
+      "@@@STEP_LOG_LINE@requests@          \"idempotent\": false,@@@",
+      "@@@STEP_LOG_LINE@requests@          \"io_timeout_secs\": \"0\",@@@",
+      "@@@STEP_LOG_LINE@requests@          \"outputs\": [@@@",
+      "@@@STEP_LOG_LINE@requests@            \"serial_logs\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"blob_downloads.json\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"syslogs\"@@@",
+      "@@@STEP_LOG_LINE@requests@          ],@@@",
+      "@@@STEP_LOG_LINE@requests@          \"relative_cwd\": \"out/not-default\"@@@",
+      "@@@STEP_LOG_LINE@requests@        },@@@",
+      "@@@STEP_LOG_LINE@requests@        \"wait_for_capacity\": false@@@",
+      "@@@STEP_LOG_LINE@requests@      }@@@",
+      "@@@STEP_LOG_LINE@requests@    ]@@@",
+      "@@@STEP_LOG_LINE@requests@  },@@@",
+      "@@@STEP_LOG_LINE@requests@  {@@@",
+      "@@@STEP_LOG_LINE@requests@    \"name\": \"NAME2\",@@@",
+      "@@@STEP_LOG_LINE@requests@    \"priority\": \"200\",@@@",
+      "@@@STEP_LOG_LINE@requests@    \"realm\": \"fuchsia:ci\",@@@",
+      "@@@STEP_LOG_LINE@requests@    \"resultdb\": {@@@",
+      "@@@STEP_LOG_LINE@requests@      \"enable\": true@@@",
+      "@@@STEP_LOG_LINE@requests@    },@@@",
+      "@@@STEP_LOG_LINE@requests@    \"service_account\": \"foo@bar.com\",@@@",
+      "@@@STEP_LOG_LINE@requests@    \"tags\": [@@@",
+      "@@@STEP_LOG_LINE@requests@      \"board:boards/bar.gni\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"build_type:release\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"buildbucket_bucket:ci\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"buildbucket_builder:builder\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"product:products/foo.gni\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"role:tester\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"task_name:NAME2\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"test_environment_name:Linux-x64\",@@@",
+      "@@@STEP_LOG_LINE@requests@      \"test_shard_hash:7489494d872bec70121d4c5e3d6531c00c714cbbac7ae4e6feef4fbd7361e5f9\"@@@",
+      "@@@STEP_LOG_LINE@requests@    ],@@@",
+      "@@@STEP_LOG_LINE@requests@    \"task_slices\": [@@@",
+      "@@@STEP_LOG_LINE@requests@      {@@@",
+      "@@@STEP_LOG_LINE@requests@        \"expiration_secs\": \"0\",@@@",
+      "@@@STEP_LOG_LINE@requests@        \"properties\": {@@@",
+      "@@@STEP_LOG_LINE@requests@          \"cas_input_root\": {@@@",
+      "@@@STEP_LOG_LINE@requests@            \"cas_instance\": \"projects/example-cas-server/instances/default_instance\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"digest\": {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"hash\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"size_bytes\": \"0\"@@@",
+      "@@@STEP_LOG_LINE@requests@            }@@@",
+      "@@@STEP_LOG_LINE@requests@          },@@@",
+      "@@@STEP_LOG_LINE@requests@          \"cipd_input\": {@@@",
+      "@@@STEP_LOG_LINE@requests@            \"packages\": [@@@",
+      "@@@STEP_LOG_LINE@requests@              {@@@",
+      "@@@STEP_LOG_LINE@requests@                \"package_name\": \"infra/tools/rdb/${platform}\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"path\": \"out/not-default\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"version\": \"version:pinned-version\"@@@",
+      "@@@STEP_LOG_LINE@requests@              },@@@",
+      "@@@STEP_LOG_LINE@requests@              {@@@",
+      "@@@STEP_LOG_LINE@requests@                \"package_name\": \"infra/tools/luci-auth/${platform}\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"path\": \"out/not-default\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"version\": \"version:pinned-version\"@@@",
+      "@@@STEP_LOG_LINE@requests@              },@@@",
+      "@@@STEP_LOG_LINE@requests@              {@@@",
+      "@@@STEP_LOG_LINE@requests@                \"package_name\": \"infra/3pp/tools/nsjail/${platform}\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"path\": \"out/not-default\",@@@",
+      "@@@STEP_LOG_LINE@requests@                \"version\": \"version:pinned-version\"@@@",
+      "@@@STEP_LOG_LINE@requests@              }@@@",
+      "@@@STEP_LOG_LINE@requests@            ]@@@",
+      "@@@STEP_LOG_LINE@requests@          },@@@",
+      "@@@STEP_LOG_LINE@requests@          \"command\": [@@@",
+      "@@@STEP_LOG_LINE@requests@            \"./rdb\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"stream\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-var\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"builder:builder\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"--\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"./luci-auth\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"context\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-scopes\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"https://www.googleapis.com/auth/cloud-platform https://www.googleapis.com/auth/firebase https://www.googleapis.com/auth/gerritcodereview https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/nest-account\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"--\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"./linux_x64/botanist\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-level\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"debug\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"run\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-skip-setup\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-out-dir\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"out\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-snapshot-output\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"snapshot.zip\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-nsjail\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"./nsjail\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"-nsjail-root\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"../..\",@@@",
+      "@@@STEP_LOG_LINE@requests@            \"NAME2_tests.json\"@@@",
+      "@@@STEP_LOG_LINE@requests@          ],@@@",
+      "@@@STEP_LOG_LINE@requests@          \"containment\": {@@@",
+      "@@@STEP_LOG_LINE@requests@            \"containment_type\": \"NONE\"@@@",
+      "@@@STEP_LOG_LINE@requests@          },@@@",
+      "@@@STEP_LOG_LINE@requests@          \"dimensions\": [@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"cores\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"8\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"gce\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"1\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"kvm\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"1\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"os\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"Linux\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"pool\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"fuchsia.tests\"@@@",
+      "@@@STEP_LOG_LINE@requests@            }@@@",
+      "@@@STEP_LOG_LINE@requests@          ],@@@",
+      "@@@STEP_LOG_LINE@requests@          \"env\": [@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"ASAN_SYMBOLIZER_PATH\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"linux_x64/llvm-symbolizer\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"BOOTSERVER_PATH\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"./linux_x64/bootserver_new\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"BUILDBUCKET_ID\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"8945511751514863184\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"BUILDER_NAME\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"builder\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"BUILD_CREATE_TIME\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"1527292217\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"FUCHSIA_TEST_OUTDIR\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"${ISOLATED_OUTDIR}\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"IMAGE_MANIFEST_PATH\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"gs://fuchsia-artifacts/builds/8945511751514863184/images/images.json\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"INPUT_COMMIT_HOST\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"turquoise-internal.googlesource.com\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"INTEGRATION_INTERNAL_GIT_COMMIT\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"aaaac79496eb20fdf52d250437fda791562754ff\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"LSAN_SYMBOLIZER_PATH\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"linux_x64/llvm-symbolizer\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"RELEASE_VERSION\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"0.20200531.0.1\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"SMART_INTEGRATION_GIT_COMMIT\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"a491082dc1b632bbcd60ba3618d20b503c2de738\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"SWARMING_BOT_FILE\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"${SWARMING_BOT_FILE}\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"TSAN_OPTIONS\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"external_symbolizer_path=linux_x64/llvm-symbolizer\"@@@",
+      "@@@STEP_LOG_LINE@requests@            },@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"UBSAN_SYMBOLIZER_PATH\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": \"linux_x64/llvm-symbolizer\"@@@",
+      "@@@STEP_LOG_LINE@requests@            }@@@",
+      "@@@STEP_LOG_LINE@requests@          ],@@@",
+      "@@@STEP_LOG_LINE@requests@          \"env_prefixes\": [@@@",
+      "@@@STEP_LOG_LINE@requests@            {@@@",
+      "@@@STEP_LOG_LINE@requests@              \"key\": \"PATH\",@@@",
+      "@@@STEP_LOG_LINE@requests@              \"value\": [@@@",
+      "@@@STEP_LOG_LINE@requests@                \"out/not-default/linux_x64\"@@@",
+      "@@@STEP_LOG_LINE@requests@              ]@@@",
+      "@@@STEP_LOG_LINE@requests@            }@@@",
+      "@@@STEP_LOG_LINE@requests@          ],@@@",
+      "@@@STEP_LOG_LINE@requests@          \"execution_timeout_secs\": \"1860\",@@@",
+      "@@@STEP_LOG_LINE@requests@          \"grace_period_secs\": \"30\",@@@",
+      "@@@STEP_LOG_LINE@requests@          \"idempotent\": false,@@@",
+      "@@@STEP_LOG_LINE@requests@          \"io_timeout_secs\": \"0\",@@@",
+      "@@@STEP_LOG_LINE@requests@          \"outputs\": [],@@@",
+      "@@@STEP_LOG_LINE@requests@          \"relative_cwd\": \"out/not-default\"@@@",
+      "@@@STEP_LOG_LINE@requests@        },@@@",
+      "@@@STEP_LOG_LINE@requests@        \"wait_for_capacity\": false@@@",
+      "@@@STEP_LOG_LINE@requests@      }@@@",
+      "@@@STEP_LOG_LINE@requests@    ]@@@",
+      "@@@STEP_LOG_LINE@requests@  }@@@",
+      "@@@STEP_LOG_LINE@requests@]@@@",
+      "@@@STEP_LOG_END@requests@@@"
+    ]
+  },
+  {
+    "name": "$result"
+  }
+]
\ No newline at end of file
diff --git a/recipe_modules/testing_requests/tests/full.py b/recipe_modules/testing_requests/tests/full.py
index a1276bd..f821b39 100644
--- a/recipe_modules/testing_requests/tests/full.py
+++ b/recipe_modules/testing_requests/tests/full.py
@@ -400,3 +400,14 @@
             git_repo="https://turquoise-internal.googlesource.com/integration",
         )
     )
+    yield (
+        api.buildbucket_util.test(
+            "ci_commit_id_smart_integration",
+            tryjob=False,
+            revision="base-revision",
+            repo="smart-integration",
+            git_repo="https://turquoise-internal.googlesource.com/smart-integration",
+        )
+    ) + api.git.get_commit_message(
+        "shard NAME2.get commit msg", sample_public_commit_message
+    )