dashboard/retrybuilds: add more flaky phrases

Change-Id: Id1a1b870a348a24040d94b157328b1632776711f
Reviewed-on: https://go-review.googlesource.com/1877
Reviewed-by: Dave Cheney <dave@cheney.net>
This commit is contained in:
Brad Fitzpatrick 2014-12-20 17:07:06 +11:00 committed by Brad Fitzpatrick
parent 864e280a1d
commit 71d0144635
1 changed files with 7 additions and 0 deletions

View File

@ -106,6 +106,7 @@ var flakePhrases = []string{
"Bseek: unknown state 0",
"error exporting repository: exit status",
"remote error: User Is Over Quota",
"fatal: remote did not send all necessary objects",
}
func isFlaky(failLog string) bool {
@ -121,6 +122,12 @@ func isFlaky(failLog string) bool {
if numLines < 20 && strings.Contains(failLog, "error: exit status") {
return true
}
// e.g. fatal: destination path 'go.tools.TMP' already exists and is not an empty directory.
// To be fixed in golang.org/issue/9407
if strings.Contains(failLog, "fatal: destination path '") &&
strings.Contains(failLog, "' already exists and is not an empty directory.") {
return true
}
return false
}