[infra] Enable retries for Windows compiles

They're flaky due to https://github.com/golang/go/issues/21376

Bug: skia:
Change-Id: Ic629c84b72c492b35d393328aa2178762ce3c7d8
Reviewed-on: https://skia-review.googlesource.com/123932
Reviewed-by: Ravi Mistry <rmistry@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
This commit is contained in:
Eric Boren 2018-04-26 11:56:09 -04:00 committed by Skia Commit-Bot
parent f695cf117f
commit c2a8870316
2 changed files with 21 additions and 18 deletions

View File

@ -728,6 +728,9 @@ func compile(b *specs.TasksCfgBuilder, name string, parts map[string]string) str
}
task.MaxAttempts = 1
if strings.Contains(name, "Win") {
task.MaxAttempts = 2
}
// Add the task.
b.MustAddTask(name, task)

View File

@ -12716,7 +12716,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -12830,7 +12830,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -12944,7 +12944,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -13058,7 +13058,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -13172,7 +13172,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -13286,7 +13286,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -13400,7 +13400,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -13515,7 +13515,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -13629,7 +13629,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -13743,7 +13743,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -13857,7 +13857,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -13972,7 +13972,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -14081,7 +14081,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -14190,7 +14190,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -14299,7 +14299,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -14409,7 +14409,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -14518,7 +14518,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],
@ -14628,7 +14628,7 @@
"log_location": "logdog://logs.chromium.org/skia/<(TASK_ID)/+/annotations"
},
"isolate": "swarm_recipe.isolate",
"max_attempts": 1,
"max_attempts": 2,
"outputs": [
"build"
],