diff --git a/Gopkg.lock b/Gopkg.lock index 004d07277..49d801710 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -1323,14 +1323,14 @@ [[projects]] branch = "master" - digest = "1:becb98d0dc7f7201c23df580e99e64253d79cf8894fa77bce76cfbf69009557d" + digest = "1:8bd3cae999736fca901bdd918ab9e9a899f39446701a296ade11ca44ae0a741e" name = "knative.dev/test-infra" packages = [ "scripts", "tools/dep-collector", ] pruneopts = "UT" - revision = "b09617df210766782b2b8f164476ac3887c2baec" + revision = "64615f92c4ebdd4e4423015ffc0db45877660a0d" [[projects]] digest = "1:8730e0150dfb2b7e173890c8b9868e7a273082ef8e39f4940e3506a481cf895c" diff --git a/vendor/knative.dev/test-infra/scripts/README.md b/vendor/knative.dev/test-infra/scripts/README.md index 2e7ef3a11..87286fc2b 100644 --- a/vendor/knative.dev/test-infra/scripts/README.md +++ b/vendor/knative.dev/test-infra/scripts/README.md @@ -308,8 +308,8 @@ This is a helper script for Knative release scripts. To use it: `knative-nightly/` will be used. It is empty if `--publish` was not passed. - `RELEASE_DIR`: contains the directory to store the manifests if - `--release-dir` was passed. Defaults to empty value, but if - `--nopublish` was passed then points to the repository root directory. + `--release-dir` was passed. Defaults to empty value, but if `--nopublish` + was passed then points to the repository root directory. - `BUILD_COMMIT_HASH`: the commit short hash for the current repo. If the current git tree is dirty, it will have `-dirty` appended to it. - `BUILD_YYYYMMDD`: current UTC date in `YYYYMMDD` format. diff --git a/vendor/knative.dev/test-infra/scripts/library.sh b/vendor/knative.dev/test-infra/scripts/library.sh index 0c921580d..d2715650c 100755 --- a/vendor/knative.dev/test-infra/scripts/library.sh +++ b/vendor/knative.dev/test-infra/scripts/library.sh @@ -135,8 +135,8 @@ function wait_until_pods_running() { local failed_pod="" for i in {1..150}; do # timeout after 5 minutes local pods="$(kubectl get pods --no-headers -n $1 2>/dev/null)" - # All pods must be running - local not_running_pods=$(echo "${pods}" | grep -v Running | grep -v Completed) + # All pods must be running (ignore ImagePull error to allow the pod to retry) + local not_running_pods=$(echo "${pods}" | grep -v Running | grep -v Completed | grep -v ErrImagePull | grep -v ImagePullBackOff) if [[ -n "${pods}" ]] && [[ -z "${not_running_pods}" ]]; then # All Pods are running or completed. Verify the containers on each Pod. local all_ready=1