-
Notifications
You must be signed in to change notification settings - Fork 40k
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
TEST: update codecgen #16559
TEST: update codecgen #16559
Conversation
Appearantly I am wrong and everyone else is right. |
GCE e2e test build/test passed for commit 6c49ab1. |
@mikedanese - what was your problem? Maybe we can improve this script so that you will not face the same problem again? |
@mikedanese - are you synced to head? |
@wojtek-t I'm definitely synced up to head, but still see the same issue as @mikedanese |
is what is resulting in the failure for me |
@anish hmmm Can you please add the following two lines two your script: echo ${index[@]} right after index is computed: and paste the output again |
|
@anish echo "$1" inside if !visited if in tsort function: |
@wojtek-t
|
Sorry for not being clear enough.
The change you made significantly changes the logic - that's why it changed a lot. |
aah, that's what I thought but the dangling then threw me off :)
|
@anish So one more experiment - can you please add: echo ${candidate} in depends function: |
with
I get this output : https://gist.github.com/anish/975a611a503323d74ab6 |
@anish I think I know where the problem is. The script is assuming that you have the repository under:
directory. It seems it's not the case for you. Am I right? |
So to be clear - I have my repository under:
This is matching "*/k8s.io/kubernetes" |
Yes, I don't have that path. Do you need the output with the path changed or should I just try the build with the path fixed ? |
@anish - you can try fixing the path and I'm pretty sure this will solve the problem. Let me know if that will not help you. |
thanks @wojtek-t ! should know if it's fixed in about 10 min or so |
@wojtek-t Nope, same issue still : https://api.travis-ci.org/jobs/89610431/log.txt?deansi=true Actual moving the directories and re-running showed no git changes at all
|
@anish |
Sure :
|
@anish - sorry I have no idea what is going on here. Can you please:
just after
|
output at https://gist.github.com/anish/9e2649704fdffaa0cdd8 |
Sorry - I think that if you have any "echo" inside "depends" function, then it will affect the result of that function. Can you please remove all "echo" instructions from "depends" function? |
https://gist.github.com/anish/ded6190ab950057d486f This also resulted in change to the files :
|
@anish - so I think this is what you expected right? If you run hack/verify-codecgen.sh, this should work now, right? |
@wojtek-t I believe so, trying it out now |
@wojtek-t that was it, thanks ! build is passing now |
@mikedanese - I will add a comment to the file, but I spent the whole day debugging a different issue today. |
No worries, i believe this is somewhat lower priority. |
@mikedanese thanks for actually pointing me to this, @wojtek-t deserves all the credit :) |
@anish - thanks for your patience - this wasn't obvious |
Running ./hack/update-codecgen.sh on master.
Is it out of date or am I doing something wrong?