-
Notifications
You must be signed in to change notification settings - Fork 495
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
Release process breaks when cloning kubernetes/kubernetes #2094
Comments
Is this transient or consistent? /remove-priority important-soon |
It has been consistently failing for the last ~12 hrs or so |
Got it. Let us know if you need any help. |
I've been looking into this and it seems to be something in the way go-git interacts specifically with k/k. I've boiled down the cloning code to a POC: func main() {
_, err := git.CloneOrOpenGitHubRepo(
"/tmp/a", "kubernetes", "kubernetes", false,
)
if err != nil {
logrus.Fatal(errors.Wrap(err, "clone k/k repository"))
}
} From my machine, cloning k/k fails with the same message as the release process:
But cloning k/release works fine:
I'm still investigating. |
OK, I found what broke it. Last week dependabot bumped the go-git module from 5.3 to 5.4. For some reason, 5.4.0 and 5.4.1 cannot clone k/k. I downgraded it locally to 5.3.0 and it worked:
Looking at the go-git project I think it was this: issue: go-git/go-git#323 and the fix seems to be already in flight: go-git/go-git#326 I propose we wait for the patch to merge. If it delays, we can downgrade at the end of next week to cut v1.22.0-alpha.3 |
Thank you for the investigations @puerco, I agree with your suggestion! 🙏 |
/cc @wilsonehusin as Release Manager Associate performing the next release cut |
What happened:
When staging a new kubernetes release, the release process stops with an error when cloning
kubernetes/kubernetes
.`What you expected to happen:
The git clone of the repository should finish correctly and staging should proceed
How to reproduce it (as minimally and precisely as possible):
run
krel stage
it will break at Preparing workspace step=5/9Anything else we need to know?:
At first, I thought it was a problem with Github but its been going on for hours so it must be something else. I cannot reproduce it locally either. Here is a sample run:
https://console.cloud.google.com/cloud-build/builds/eabeba1e-d018-49de-870e-81b2f08352da?project=kubernetes-release-test
Environment:
/priority important-soon
/milestone v1.22
/cc @kubernetes/release-engineering
The text was updated successfully, but these errors were encountered: