Change:
<!-- This form is for bug reports and feature requests ONLY! If you're looking for help check and the . --Is this a BUG REPORT or FEATURE REQUEST?: When running on my commits locally I got the following error: Affected PRs:
/sig testing
/cc
There's likely something up with your local environment. These jobs are running correctly in CI, although you need to look at the build log for output

Discussion:
source "${KUBE_ROOT}/hack/lib/init.sh" if [[ ! -f "${KUBE_ROOT}/vendor/BUILD" ]]; then <del> echo "${KUBE_ROOT}/vendor/BUILD does not exist." echo echo "Run ./hack/update-bazel.sh" </del> <ins> echo "${KUBE_ROOT}/vendor/BUILD does not exist." >&2 echo >&2 echo "Run ./hack/update-bazel.sh" >&2 </ins> exit 1 fi

diff=$(diff -Naupr "${KUBE_ROOT}" "${_tmp_kuberoot}" || true) if [[ -n "${diff}" ]]; then <del> echo "${diff}" echo echo "Run ./hack/update-bazel.sh" </del> <ins> echo "${diff}" >&2 echo >&2 echo "Run ./hack/update-bazel.sh" >&2 </ins> exit 1 fi

# Run boilerplate check if [[ ${#files_need_boilerplate[@]} -gt 0 ]]; then for file in "${files_need_boilerplate[@]}"; do <del> echo "Boilerplate header is wrong for: ${file}" </del> <ins> echo "Boilerplate header is wrong for: ${file}" >&2 </ins> done exit 1

# Compare Godep Licenses if ! _out="$(diff -Naupr ${KUBE_ROOT}/Godeps/LICENSES ${_tmpdir}/Godeps/LICENSES)"; then <del> echo "Your godep licenses file is out of date. Run hack/update-godep-licenses.sh and commit the results." echo "${_out}" </del> <ins> echo "Your godep licenses file is out of date. Run hack/update-godep-licenses.sh and commit the results." >&2 echo "${_out}" >&2 </ins> exit 1 fi

pushd "${KUBE_ROOT}" 2>&1 > /dev/null # Test for diffs if ! _out="$(diff -Naupr --ignore-matching-lines='^s*"GoVersion":' --ignore-matching-line='^s*"GodepVersion":' --ignore-matching-lines='^s*"Comment":' Godeps/Godeps.json ${_kubetmp}/Godeps/Godeps.json)"; then <del> echo "Your Godeps.json is different:" echo "${_out}" echo "Godeps Verify failed." </del> <ins> echo "Your Godeps.json is different:" >&2 echo "${_out}" >&2 echo "Godeps Verify failed." >&2 </ins> echo "${_out}" > godepdiff.patch <del> echo "If you're seeing this locally, run the below command to fix your Godeps.json:" echo "patch -p0 < godepdiff.patch" echo "(The above output can be saved as godepdiff.patch if you're not running this locally)" echo "(The patch file should also be exported as a build artifact if run through CI)" </del> <ins> echo "If you're seeing this locally, run the below command to fix your Godeps.json:" >&2 echo "patch -p0 < godepdiff.patch" >&2 echo "(The above output can be saved as godepdiff.patch if you're not running this locally)" >&2 echo "(The patch file should also be exported as a build artifact if run through CI)" >&2 </ins> KEEP_TMP=true if [[ -f godepdiff.patch && -d "${ARTIFACTS_DIR:-}" ]]; then echo "Copying patch to artifacts.."

fi if ! _out="$(diff -Naupr -x "BUILD" -x "OWNERS" -x "AUTHORS*" -x "CONTRIBUTORS*" vendor ${_kubetmp}/vendor)"; then <del> echo "Your vendored results are different:" echo "${_out}" echo "Godeps Verify failed." </del> <ins> echo "Your vendored results are different:" >&2 echo "${_out}" >&2 echo "Godeps Verify failed." >&2 </ins> echo "${_out}" > vendordiff.patch <del> echo "If you're seeing this locally, run the below command to fix your directories:" echo "patch -p0 < vendordiff.patch" echo "(The above output can be saved as godepdiff.patch if you're not running this locally)" echo "(The patch file should also be exported as a build artifact if run through CI)" </del> <ins> echo "If you're seeing this locally, run the below command to fix your directories:" >&2 echo "patch -p0 < vendordiff.patch" >&2 echo "(The above output can be saved as godepdiff.patch if you're not running this locally)" >&2 echo "(The patch file should also be exported as a build artifact if run through CI)" >&2 </ins> KEEP_TMP=true if [[ -f vendordiff.patch && -d "${ARTIFACTS_DIR:-}" ]]; then echo "Copying patch to artifacts.."

# have failed before getting to the "echo" in the block below. diff=$(find_files | xargs ${gofmt} -d -s 2>&1) || true if [[ -n "${diff}" ]]; then <del> echo "${diff}" </del> <ins> echo "${diff}" >&2 echo >&2 echo "Run ./hack/update-gofmt.sh" >&2 </ins> exit 1 fi