Automatic merge from submit-queue (batch tested with PRs 44727, 45409, 44968, 45122, 45493) Fix gcloud retries cmd to rightly capture return code Fixes https://github.com/kubernetes/kubernetes/issues/45489 Seems like the issue was in doing this: ``` local var=$(cmd) local ret_code=$? #This actually captures return code of "local" above and not "cmd" ``` cc @wojtek-t @gmarek