New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hack/verify-godep-licenses.sh fails on Jenkins #22843
Comments
A recent change to verify-godep-licenses.sh makes it return cleanly when Godeps/LICENSES is actually out of date:
|
@david-mcmahon |
I'm able to reproduce the failure on Jenkins locally if I use the kubekins-test image, though running verify-godep-licenses.sh directly still passes. So something about the environment in the kubekins-test image seems to make update-godep-licenses.sh behave differently. |
@ixdy The exit trap should be nuking that temp dir: https://github.com/kubernetes/kubernetes/blob/master/hack/verify-godep-licenses.sh#L36 It's possible that something else is negating the exit trap, but I'm not sure what would be deleting |
general rule: If your script has |
I don't understand what's going on. This check works fine locally, but fails on Jenkins with:
This appears to be the contents of https://github.com/opencontainers/runc/blob/902c012e85cdae6bb68d8c7a0df69a42f818ce96/NOTICE, which indeed is missing from our checked-in copy of Godeps/LICENSES, yet running
hack/update-godep-licenses.sh
doesn't add it.Interestingly, if I run
hack/update-godep-licenses.sh --create-missing
locally, I get a different diff:We probably want to disable this check until we figure out what's broken.
cc @david-mcmahon @karlkfi @eparis @wojtek-t
The text was updated successfully, but these errors were encountered: