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:
parent
864e280a1d
commit
71d0144635
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue