[bot_update] Set a 18 min timeout for ensure_checkout

Before if ensure_checkout hanged, it would block the bot until the 3h
execution timeout. There's only a single build that ran ensure_checkout
successfully in more than 18 mins in the last 10 days, and most are far
below.

Change-Id: I248017c00edda742da05569098efeea759191059
Reviewed-on: https://dart-review.googlesource.com/c/recipes/+/142000
Reviewed-by: William Hesse <whesse@google.com>
diff --git a/recipe_modules/dart/api.py b/recipe_modules/dart/api.py
index b223e62..ba7f65c 100644
--- a/recipe_modules/dart/api.py
+++ b/recipe_modules/dart/api.py
@@ -52,7 +52,7 @@
     with self.m.context(
         cwd=self.m.path['cache'].join('builder'),
         env={'GOMA_DIR': self.m.goma.goma_dir}):
-      self.m.bot_update.ensure_checkout()
+      self.m.bot_update.ensure_checkout(timeout=1080)
       with self.m.context(cwd=self.m.path['checkout']):
         if clobber:
           self.m.python('clobber',
diff --git a/recipe_modules/dart/examples/example.expected/analyzer-linux-release.json b/recipe_modules/dart/examples/example.expected/analyzer-linux-release.json
index 66b5d1d..ee33d91 100644
--- a/recipe_modules/dart/examples/example.expected/analyzer-linux-release.json
+++ b/recipe_modules/dart/examples/example.expected/analyzer-linux-release.json
@@ -62,6 +62,7 @@
     },
     "infra_step": true,
     "name": "bot_update",
+    "timeout": 1080,
     "~followup_annotations": [
       "@@@STEP_TEXT@Some step text@@@",
       "@@@STEP_LOG_LINE@json.output@{@@@",
diff --git a/recipe_modules/dart/examples/example.expected/basic-failure.json b/recipe_modules/dart/examples/example.expected/basic-failure.json
index d791193..2750f75 100644
--- a/recipe_modules/dart/examples/example.expected/basic-failure.json
+++ b/recipe_modules/dart/examples/example.expected/basic-failure.json
@@ -62,6 +62,7 @@
     },
     "infra_step": true,
     "name": "bot_update",
+    "timeout": 1080,
     "~followup_annotations": [
       "@@@STEP_TEXT@Some step text@@@",
       "@@@STEP_LOG_LINE@json.output@{@@@",
diff --git a/recipe_modules/dart/examples/example.expected/basic-mac.json b/recipe_modules/dart/examples/example.expected/basic-mac.json
index 19de1bb..fe9446c 100644
--- a/recipe_modules/dart/examples/example.expected/basic-mac.json
+++ b/recipe_modules/dart/examples/example.expected/basic-mac.json
@@ -62,6 +62,7 @@
     },
     "infra_step": true,
     "name": "bot_update",
+    "timeout": 1080,
     "~followup_annotations": [
       "@@@STEP_TEXT@Some step text@@@",
       "@@@STEP_LOG_LINE@json.output@{@@@",
diff --git a/recipe_modules/dart/examples/example.expected/basic-missing-name.json b/recipe_modules/dart/examples/example.expected/basic-missing-name.json
index 459dace..fcc9005 100644
--- a/recipe_modules/dart/examples/example.expected/basic-missing-name.json
+++ b/recipe_modules/dart/examples/example.expected/basic-missing-name.json
@@ -62,6 +62,7 @@
     },
     "infra_step": true,
     "name": "bot_update",
+    "timeout": 1080,
     "~followup_annotations": [
       "@@@STEP_TEXT@Some step text@@@",
       "@@@STEP_LOG_LINE@json.output@{@@@",
diff --git a/recipe_modules/dart/examples/example.expected/basic-timeout.json b/recipe_modules/dart/examples/example.expected/basic-timeout.json
index cb5fc1b..7df54ff 100644
--- a/recipe_modules/dart/examples/example.expected/basic-timeout.json
+++ b/recipe_modules/dart/examples/example.expected/basic-timeout.json
@@ -62,6 +62,7 @@
     },
     "infra_step": true,
     "name": "bot_update",
+    "timeout": 1080,
     "~followup_annotations": [
       "@@@STEP_TEXT@Some step text@@@",
       "@@@STEP_LOG_LINE@json.output@{@@@",
diff --git a/recipe_modules/dart/examples/example.expected/basic.json b/recipe_modules/dart/examples/example.expected/basic.json
index c31d4bb..d5c00ad 100644
--- a/recipe_modules/dart/examples/example.expected/basic.json
+++ b/recipe_modules/dart/examples/example.expected/basic.json
@@ -108,6 +108,7 @@
     },
     "infra_step": true,
     "name": "bot_update",
+    "timeout": 1080,
     "~followup_annotations": [
       "@@@STEP_TEXT@Some step text@@@",
       "@@@STEP_LOG_LINE@json.output@{@@@",
diff --git a/recipe_modules/dart/examples/example.expected/example-android.json b/recipe_modules/dart/examples/example.expected/example-android.json
index 377a0f4..65cdbca 100644
--- a/recipe_modules/dart/examples/example.expected/example-android.json
+++ b/recipe_modules/dart/examples/example.expected/example-android.json
@@ -62,6 +62,7 @@
     },
     "infra_step": true,
     "name": "bot_update",
+    "timeout": 1080,
     "~followup_annotations": [
       "@@@STEP_TEXT@Some step text@@@",
       "@@@STEP_LOG_LINE@json.output@{@@@",
diff --git a/recipe_modules/dart/examples/example.expected/example-mac.json b/recipe_modules/dart/examples/example.expected/example-mac.json
index 52ef9dc..ecbf230 100644
--- a/recipe_modules/dart/examples/example.expected/example-mac.json
+++ b/recipe_modules/dart/examples/example.expected/example-mac.json
@@ -62,6 +62,7 @@
     },
     "infra_step": true,
     "name": "bot_update",
+    "timeout": 1080,
     "~followup_annotations": [
       "@@@STEP_TEXT@Some step text@@@",
       "@@@STEP_LOG_LINE@json.output@{@@@",
diff --git a/recipe_modules/dart/examples/example.expected/fuzz-test.json b/recipe_modules/dart/examples/example.expected/fuzz-test.json
index 0e9abb4..113e8b8 100644
--- a/recipe_modules/dart/examples/example.expected/fuzz-test.json
+++ b/recipe_modules/dart/examples/example.expected/fuzz-test.json
@@ -62,6 +62,7 @@
     },
     "infra_step": true,
     "name": "bot_update",
+    "timeout": 1080,
     "~followup_annotations": [
       "@@@STEP_TEXT@Some step text@@@",
       "@@@STEP_LOG_LINE@json.output@{@@@",
diff --git a/recipe_modules/dart/examples/example.expected/vm-win.json b/recipe_modules/dart/examples/example.expected/vm-win.json
index 7049a6d..6cf0947 100644
--- a/recipe_modules/dart/examples/example.expected/vm-win.json
+++ b/recipe_modules/dart/examples/example.expected/vm-win.json
@@ -62,6 +62,7 @@
     },
     "infra_step": true,
     "name": "bot_update",
+    "timeout": 1080,
     "~followup_annotations": [
       "@@@STEP_TEXT@Some step text@@@",
       "@@@STEP_LOG_LINE@json.output@{@@@",
diff --git a/recipes/dart/forward_branch.expected/base.json b/recipes/dart/forward_branch.expected/base.json
index 33f76e4..8d81600 100644
--- a/recipes/dart/forward_branch.expected/base.json
+++ b/recipes/dart/forward_branch.expected/base.json
@@ -62,6 +62,7 @@
     },
     "infra_step": true,
     "name": "bot_update",
+    "timeout": 1080,
     "~followup_annotations": [
       "@@@STEP_TEXT@Some step text@@@",
       "@@@STEP_LOG_LINE@json.output@{@@@",
diff --git a/recipes/dart/neo.expected/builders_dart2js-win-debug-x64-firefox-try.json b/recipes/dart/neo.expected/builders_dart2js-win-debug-x64-firefox-try.json
index cfe7eb9..36ee5d7 100644
--- a/recipes/dart/neo.expected/builders_dart2js-win-debug-x64-firefox-try.json
+++ b/recipes/dart/neo.expected/builders_dart2js-win-debug-x64-firefox-try.json
@@ -111,6 +111,7 @@
     },
     "infra_step": true,
     "name": "bot_update",
+    "timeout": 1080,
     "~followup_annotations": [
       "@@@STEP_TEXT@Some step text@@@",
       "@@@STEP_LOG_LINE@json.output@{@@@",