-
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
Update to buildroot 2023.02.9 & Golang 1.21.6 #18020
Conversation
Hi @travier. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Can one of the admins verify this patch? |
You might want to separate the ISO updates from the CI updates |
They were all together in the parent PRs. A lot of the ISO updates are removing packages to use the one from the new buildroot version. Could you clarify which changes do you think I should split? |
I just meant the deploy/iso vs. the hack/update, but if they were together before it might be easier for @spowelljr |
The hack/update change is because we were managing the CNI plugins package ourself, but the new Buildroot version has it included, so I was removing our CI from auto updating the CNI plugins in ISO since the files no longer exist, so I think it makes sense to include it |
ok-to-build-iso |
Documenting missing bits / issues as I find them:
|
Just a heads up that we're resolving issues with our CI infrastructure so won't be able to build the ISO right now, but bear with us and we'll try building this as soon as we can |
@travier thank you very much for this contribution, glad to find another developer touching this code, this part of the code requires special experties, our CI machine is currently having issue, as soon as we fix that we can build the ISO again |
How would you prefer to go for From experiments so far, we can not have external packages with the same names as the ones in buildroot so we would need to rename them to keep them in the minikube tree. Otherwise this will need "large" patches for the buildroot tree. |
From a maintenance standpoint I think having a custom module with a different name would be ideal. Unless there is an easy to to update the patches. I'm just thinking if Buildroot updates crun they we have to remove the patches that are now included, and a new version comes out we have to add new patches, seems like more work than the custom package. |
139ed6d
to
3a735df
Compare
So, with this update, this still runs crun 1.7.2 (not sure why it's not pulling the latest yet) but it uses the right cni-plugins and thus the pods can run. I pulled in some other package updates. Let me know if you prefer to have them split from this PR. |
Awesome thanks! I've made significant progress in resolving the CI infrastructure issues. The machines are running again, but there are 1,000 test jobs in the backlog, I'm working on resolving the login issue and then I can clear the backlog and we can try building this. |
Sorry for the delay, just finished resolving the CI issues, let's try building this finally |
/ok-to-build-iso |
Due to the backup in the whole CI I'm happy to merge this with all the package updates as long as the build is successful |
For the GitHub workflow, this fails on:
I don't have access to the ISO PR Build Push logs. Edit: I've tried enabling the dashboard and "it worked" as far as I could see. I've not tried running the test yet. |
The DashboardCmd failure you can ignore, the test is flaky and needs to be fixed. The ISO build failed with VCS stamping cri-dockerd
Also, looking at the log we're in an aarch64 ( Edit: Looks like you added the disable VCS for x86 but forgot to add it to aarch64, so that should be a simple fix. Edit 2: It's using
And since the machine building the ISO is |
fe5dab7
to
9b496d8
Compare
/ok-to-build-iso |
Updated to fix the issues above. It builds on x86_64 for me. Not tested. |
Only update to 1.28.3 due to Go 1.21 requirement for 1.29+.
This file is no longer needed. See: buildroot/buildroot@3efb5e3 See: https://github.com/buildroot/buildroot/blob/2021.02.12/board/pc/genimage-efi.cfg?rgh-link-date=2024-02-21T17%3A42%3A39Z See: https://github.com/buildroot/buildroot/blob/2023.02.9/board/pc/genimage-efi.cfg?rgh-link-date=2024-02-21T17%3A42%3A39Z See: kubernetes#18020 (comment)
312637e
to
28687d6
Compare
Thanks! Updated. |
ok-to-build-iso |
Hi @travier, we have updated your PR with the reference to newly built ISO. Pull the changes locally if you want to test with them or update your PR further. |
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube ingress: 27.6s 27.0s 28.6s 28.1s 27.6s Times for minikube start: 52.5s 49.7s 52.4s 49.7s 55.1s docker driver with docker runtime
Times for minikube ingress: 20.8s 20.8s 20.8s 20.8s 20.8s Times for minikube start: 25.6s 25.9s 24.5s 21.7s 24.5s docker driver with containerd runtime
Times for minikube start: 20.8s 20.4s 20.2s 23.6s 23.6s Times for minikube ingress: 31.3s 31.4s 31.3s 31.3s 30.3s |
These are the flake rates of all failed tests.
Too many tests failed - See test logs for more details. To see the flake rates of all tests by environment, click here. |
I've started looking at I have not looked at the other failures yet. |
We talked about it in office hours today, basically as of 1.28(?) the cri-o is built for the matching version of Kubernetes and there is no backwards compatibility guaranteed. So the updated cri-o is not working with the old version of Kubernetes we're testing with (1.16). As long as it works with a newer version say 1.24 then I'm happy to bump the "old" version we use for testing. |
This worked down to K8s v1.20 for me, so looks good to me |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: spowelljr, travier The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thank you very much for your continued pursuit of this PR @travier, happy to be back on the current version of Buildroot, and unblocks using Go 1.21 and will allow us to install new packages that were blocked like Docker buildx |
@spowelljr Thanks for the help and reviews! I'll likely be looking at crun and other components updates now. |
Heavily inspired by #17093
Building and launching an instance using the KVM2 driver & cri-o runtime works.
Did not do any further tests so far.
Fixes: #15841