From bfae67409303cbbd5c0c4f443a56dae922cf2f51 Mon Sep 17 00:00:00 2001 From: Ryan Hitchman Date: Wed, 2 Nov 2016 17:14:08 -0700 Subject: [PATCH] Retry "godep restore" once in verify-dockerized.sh This should fix #36110. The current flake rate is 0.5%, so with the unrealistic assumption of uncorrelated flakes, a single retry will bring it down to <0.01% flake rate. --- hack/jenkins/verify-dockerized.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/jenkins/verify-dockerized.sh b/hack/jenkins/verify-dockerized.sh index 19b5d254a81..31ebfcf2248 100755 --- a/hack/jenkins/verify-dockerized.sh +++ b/hack/jenkins/verify-dockerized.sh @@ -39,7 +39,8 @@ export LOG_LEVEL=4 cd /go/src/k8s.io/kubernetes # hack/verify-client-go.sh requires all dependencies exist in the GOPATH. -godep restore +# the retry helps avoid flakes while keeping total time bounded. +godep restore || godep restore ./hack/install-etcd.sh make verify