[v8_flako] switch to go swarming client
This CL switches swarming client from python to go for v8 flako recipe.
This CL is tested on
$ led get-build 8924888413929308704 | led edit-recipe-bundle | led lunch
https://chromium-swarm.appspot.com/task?id=424a9a8d8925c110
Bug: 894045
Change-Id: I1f4b321f2dd895027811f34ab78b03eee1779b35
Reviewed-on: https://chromium-review.googlesource.com/c/1402225
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Auto-Submit: Takuto Ikuta <tikuta@chromium.org>
diff --git a/scripts/slave/README.recipes.md b/scripts/slave/README.recipes.md
index 6795347..25923eb 100644
--- a/scripts/slave/README.recipes.md
+++ b/scripts/slave/README.recipes.md
@@ -3129,7 +3129,7 @@
  **@default_user.setter**<br>— **def [default\_user](/scripts/slave/recipe_modules/swarming/api.py#332)(self, value):**
-— **def [get\_collect\_cmd\_args\_for\_python](/scripts/slave/recipe_modules/swarming/api.py#1396)(self, task):**
+— **def [get\_collect\_cmd\_args\_for\_python](/scripts/slave/recipe_modules/swarming/api.py#1397)(self, task):**
SwarmingTask -> argument list for 'swarming.py' command.
@@ -5809,7 +5809,7 @@
See PROPERTIES for documentation on the recipe's interface.
-— **def [RunSteps](/scripts/slave/recipes/v8/flako.py#518)(api, bisect_mastername, bisect_buildername, build_config, extra_args, initial_commit_offset, isolated_name, num_shards, repetitions, repro_only, swarming_dimensions, test_name, timeout_sec, total_timeout_sec, to_revision, variant):**
+— **def [RunSteps](/scripts/slave/recipes/v8/flako.py#522)(api, bisect_mastername, bisect_buildername, build_config, extra_args, initial_commit_offset, isolated_name, num_shards, repetitions, repro_only, swarming_dimensions, test_name, timeout_sec, total_timeout_sec, to_revision, variant):**
— **def [bisect](/scripts/slave/recipes/v8/flako.py#419)(api, depot, initial_commit_offset, is_bad_func, offset):**
diff --git a/scripts/slave/recipe_modules/swarming/api.py b/scripts/slave/recipe_modules/swarming/api.py
index 7074810..68637e8 100644
--- a/scripts/slave/recipe_modules/swarming/api.py
+++ b/scripts/slave/recipe_modules/swarming/api.py
@@ -1366,7 +1366,8 @@
if task.use_go_client and exist_failure:
step_result.presentation.status = self.m.step.FAILURE
- raise recipe_api.StepFailure('There are failed tasks.')
+ raise recipe_api.StepFailure('There are failed tasks.',
+ result=step_result)
def _get_collect_cmd_args(self, task):
"""
diff --git a/scripts/slave/recipe_modules/swarming/examples/full.expected/isolated_script_non_zero_exit_status.json b/scripts/slave/recipe_modules/swarming/examples/full.expected/isolated_script_non_zero_exit_status.json
index d291a92..e389e26 100644
--- a/scripts/slave/recipe_modules/swarming/examples/full.expected/isolated_script_non_zero_exit_status.json
+++ b/scripts/slave/recipe_modules/swarming/examples/full.expected/isolated_script_non_zero_exit_status.json
@@ -380,9 +380,9 @@
{
"failure": {
"failure": {
- "step": ""
+ "step": "There are failed tasks."
},
- "humanReason": "There are failed tasks."
+ "humanReason": "Step('There are failed tasks.') failed with return_code 0"
},
"name": "$result"
}
diff --git a/scripts/slave/recipes/v8/flako.expected/full_bisect.json b/scripts/slave/recipes/v8/flako.expected/full_bisect.json
index 176aac5..d6d78ab 100644
--- a/scripts/slave/recipes/v8/flako.expected/full_bisect.json
+++ b/scripts/slave/recipes/v8/flako.expected/full_bisect.json
@@ -454,19 +454,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #1 - shard 0/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #1 - shard 0/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"10000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -530,19 +533,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #1 - shard 1/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #1 - shard 1/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"110000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/110000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"110000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -1053,19 +1059,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #1 - shard 0/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #1 - shard 0/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"120000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/120000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"120000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -1131,19 +1140,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #1 - shard 1/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #1 - shard 1/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"130000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/130000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"130000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -1209,19 +1221,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #1 - shard 2/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #1 - shard 2/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"140000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/140000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"140000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -1773,19 +1788,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #2 - shard 0/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #2 - shard 0/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"160000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/160000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"160000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -1851,19 +1869,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #2 - shard 1/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #2 - shard 1/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"170000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/170000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"170000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -1927,19 +1948,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #2 - shard 2/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #2 - shard 2/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"180000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/180000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"180000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -2003,19 +2027,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #2 - shard 3/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #2 - shard 3/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"190000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/190000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"190000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -2610,19 +2637,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #5 - shard 0/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #5 - shard 0/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"1100000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/1100000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"1100000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -2686,19 +2716,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #5 - shard 1/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #5 - shard 1/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"1110000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/1110000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"1110000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -2762,19 +2795,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #5 - shard 2/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #5 - shard 2/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"1120000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/1120000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"1120000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -2838,19 +2874,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #5 - shard 3/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #5 - shard 3/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"1130000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/1130000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"1130000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -3404,19 +3443,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #3 - shard 0/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #3 - shard 0/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"1140000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/1140000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"1140000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -3482,19 +3524,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #3 - shard 1/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #3 - shard 1/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"1150000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/1150000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"1150000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -3558,19 +3603,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #3 - shard 2/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #3 - shard 2/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"1160000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/1160000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"1160000\"}]}"
],
"env_prefixes": {
"PATH": [
@@ -3634,19 +3682,22 @@
"/path/to/tmp/merge_script_log",
"--merge-additional-args",
"[]",
+ "--use-go-client",
+ "--summary-json-file",
+ "/path/to/tmp/json",
"--",
- "python",
- "-u",
- "[START_DIR]/swarming.client/swarming.py",
+ "swarming",
"collect",
- "--swarming",
+ "-server",
"https://chromium-swarm.appspot.com",
- "--decorate",
- "--print-status-updates",
- "--json",
- "{\"base_task_name\": \"check mjsunit/foobar at #3 - shard 3/Ubuntu-14.04/[dummy has\", \"tasks\": {\"check mjsunit/foobar at #3 - shard 3/Ubuntu-14.04/[dummy has\": {\"shard_index\": 0, \"task_id\": \"1170000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/1170000\"}}}",
- "--task-summary-json",
- "/path/to/tmp/json"
+ "-worker",
+ "50",
+ "-task-summary-python",
+ "-task-output-stdout",
+ "json",
+ "-verbose",
+ "-requests-json",
+ "{\"tasks\": [{\"task_id\": \"1170000\"}]}"
],
"env_prefixes": {
"PATH": [
diff --git a/scripts/slave/recipes/v8/flako.py b/scripts/slave/recipes/v8/flako.py
index 13ac25d..d02639f 100644
--- a/scripts/slave/recipes/v8/flako.py
+++ b/scripts/slave/recipes/v8/flako.py
@@ -510,6 +510,10 @@
api.swarming.add_default_tag('purpose:v8-flake-bisect')
api.swarming.set_default_dimension('pool', 'Chrome')
api.swarming.set_default_dimension('gpu', 'none')
+
+ # TODO(tikuta): Remove this after the switch (crbug.com/894045).
+ api.swarming.use_go_client = True
+
for item in swarming_dimensions:
k, v = item.split(':')
api.swarming.set_default_dimension(k, v)