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
bgpv1: Don't use net package for addressing #25313
bgpv1: Don't use net package for addressing #25313
Conversation
a3d2752
to
041573b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
much awaited net/netip, amazing to see this change!
/test Job 'Cilium-PR-K8s-1.25-kernel-4.19' failed: Click to show.Test Name
Failure Output
Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.25-kernel-4.19/2049/ If it is a flake and a GitHub issue doesn't already exist to track it, comment Then please upload the Jenkins artifacts to that issue. |
k8s-1.25-kernel-4.19: #25096 |
/test-1.25-4.19 |
/test-runtime |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did not know about this package until now, this is very nice!
/test-runtime |
041573b
to
a50aca8
Compare
Fixed minor grammar mistakes in the commit message. Also wanted to try triggering the test-runtime with the right commit again. |
/test |
Very weird... GHA now started to pick older commits for other workflows: https://github.com/cilium/cilium/actions/runs/4927081052/jobs/8803538691?pr=25313 |
a50aca8
to
7a010ec
Compare
Ok, I have no luck today. I don't know if this is due to the ongoing GH incident, but I'll retry tomorrow. |
7a010ec
to
c735864
Compare
/test Job 'Cilium-PR-K8s-1.26-kernel-net-next' failed: Click to show.Test Name
Failure Output
Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.26-kernel-net-next/2186/ If it is a flake and a GitHub issue doesn't already exist to track it, comment Then please upload the Jenkins artifacts to that issue. |
Let me close and open this PR. Some workflow keeps grabbing the old commits. |
/test |
Go-related checks / lint: https://github.com/cilium/cilium/actions/runs/4956257837/jobs/8866490366?pr=25313
ClusterMesh: https://github.com/cilium/cilium/actions/runs/4956670271
Travis: https://github.com/cilium/cilium/pull/25313/checks?check_run_id=13426991588
k8s-1.26-kernel-net-next: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.26-kernel-net-next/2244/
runtime: https://jenkins.cilium.io/job/Cilium-PR-Runtime-net-next/6638/
|
/ci-multicluster |
/test-1.26-net-next |
ClusterMesh: Filed a new issue #25442 |
/ci-multicluster |
For golang lint and precheck, I run these tests locally and they are passing.
For |
The Travis test fails with the following error:
Same for the runtime test:
That does not seem like a flake :( |
@dylandreimerink That is a GH issue. It picks an old commit, as I mentioned in this comment (#25313 (comment)). In the latest commit, it is fixed. If it still has that issue, every workflow compiles the source should also fail, but they don't. @YutaroHayakawa FYI - I triggered rebase from the GH UI. |
c735864
to
3019115
Compare
@YutaroHayakawa There are still failures after rebase. PTAL. I'm removing the ready-to-merge label for now. Feel free to add it back with notes in case there are failures. |
c735864
to
f86c8c1
Compare
We're now discouraging using net package for addressing. Convert all net.IP and net.IPNet to netip.Addr and netip.Prefix. During the conversion, I found routerID resolution code is duplicated to two places. As a part of the cleanup, I consolidated them into the single function. Related: cilium#24246 Signed-off-by: Yutaro Hayakawa <yutaro.hayakawa@isovalent.com>
f86c8c1
to
6b5f1e9
Compare
Ashame, I noticed I was stupid 🤦 I kept saying the failure was due to the GitHub issue, but it wasn't. The CI noticed line 107 of the However, what I was missing was the CI rebases my changes on top of the latest main, and the latest main recently got a change in line 107 (a0254cd#diff-0bf546cea985047b084104fb137a2205d0060842e36f92bf5660ecbbe51cfe88R107). My local branch was not rebased on top of the latest main. That's why retry never helped. Now I pushed the fix on top of the latest main, and now the CI recovered. My bad 🤦 thanks @aditighag @dylandreimerink for stopping before I break the tree 🙇 |
/test Job 'Cilium-PR-K8s-1.26-kernel-net-next' failed: Click to show.Test Name
Failure Output
Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.26-kernel-net-next/2311/ If it is a flake and a GitHub issue doesn't already exist to track it, comment Then please upload the Jenkins artifacts to that issue. |
k8s-1.26-kernel-net-next: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.26-kernel-net-next/2311/ |
/test-1.26-net-next Job 'Cilium-PR-K8s-1.26-kernel-net-next' failed: Click to show.Test Name
Failure Output
Jenkins URL: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.26-kernel-net-next/2313/ If it is a flake and a GitHub issue doesn't already exist to track it, comment Then please upload the Jenkins artifacts to that issue. |
k8s-1.26-kernel-net-next: Again failing with #25411 |
/test-1.26-net-next |
We're now discouraging using net package for addressing. Convert all
net.IP and net.IPNet to netip.Addr and netip.Prefix. During the
conversion, routerID resolution code is duplicated to two places. As a
part of the cleanup, I consolidated them into the single function.
Related: #24246