-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
integration test: jenkins running the wrong binary but showing the right commit id #5605
Comments
I added the following to the common.sh integration script:
and I expected it to see in the logs but !!!! it did not show up, even though the logs point to the right commit ID the common.sh is not the new one !
no sign of the version I added !!!! |
@sharifelgamal mentioned there were some observed gsutil behavioral changes with a recent update, which got me thinking: this has to be related. I took a look at the repository, and did an experiment, and indeed, updated scripts/binaries are being placed into a subfolder rather than at root. Here is what I believe is the errant command:
The first time this command is run, it creates a new folder: gs://minikube-builds/5530 However, the second time this command is run, a new folder is created by gsutil v4.43 (what jenkins master has): gs://minikube-builds/5530/out/ I believe this behavioral change is what the gsutil changelog states coyly as: "Fixed cp/mv errors that occur when destination directory is a substring of another directory. Behavior now more closely matches OS cp/mv commands.". I'll send out a PR to fix the command line. |
Ahh !!! |
@tstromberg that was some great detective work ! |
while doing this PR: #5530
I noticed a spooky behaviour that my integraiton tests would pass on local machine but fail horribly the jenkins
The logs showed that it had the right commit :
https://storage.googleapis.com/minikube-builds/logs/5530/KVM_Linux.txt
but I suspected that it actually runs the right binary !
I added a logging message and I expected it to see in the logs:
however I got this error that doesn't belong to that code !
Also : I see the following failed to delete in the beggining of the script
The text was updated successfully, but these errors were encountered: