-
Notifications
You must be signed in to change notification settings - Fork 3.4k
cilium-cli: skip some IPv6 connectivity tests for Cilium<1.14 when IPsec is enabled #36664
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
Conversation
Signed-off-by: gray <gray.liang@isovalent.com>
/ci-ipsec-upgrade |
Signed-off-by: gray <gray.liang@isovalent.com>
Signed-off-by: gray <gray.liang@isovalent.com>
Signed-off-by: gray <gray.liang@isovalent.com>
/test |
0cb64a1
to
30c9a74
Compare
/test |
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.
git bisect said so 😶🌫️ I was also surprised |
That PR removes several "skip IPv6 on <v1.14" checks. So in essence this is a regression, and ideally we'd restore those checks so that the downgrade to v1.13 works again. cc @squeed |
Pull request was converted to draft
30c9a74
to
a6cc4de
Compare
Signed-off-by: gray <gray.liang@isovalent.com>
a6cc4de
to
313b84a
Compare
/test |
313b84a
to
bd7a9fe
Compare
/test |
It wasn't until #23445 was fixed in 1.14 when Cilium had robust IPv6 connectivity for IPsec[1]. Previously CI workflows didn't run IPv6 connectivity for IPsec in 1.13, until #35314 recently enabled it. Subsequently, We noticed a number of CI failures in ci-ipsec-upgrade, caused by testing IPv6 connectivity in 1.13. This patch reverts the deletion of `if <1.14 then skip` made by #35314. [2] [1] #23461 [2] git diff aabda4b aabda4b~ ``` func (t *Test) ForEachIPFamily(do func(features.IPFamily)) { + // The per-endpoint routes feature is broken with IPv6 on < v1.14 when there + // are any netpols installed (#23852 + // and #23910). + if f, ok := t.Context().Feature(features.EndpointRoutes); ok && + f.Enabled && (len(t.cnps) > 0 || len(t.knps) > 0) && + versioncheck.MustCompile("<1.14.0")(t.Context().CiliumVersion) { + + ipFams = []features.IPFamily{features.IPFamilyV4} + } + func curlNodePort(ctx context.Context, s check.Scenario, t *check.Test, + // Skip IPv6 requests when running on <1.14.0 Cilium with CNPs + if features.GetIPFamily(addr.Address) == features.IPFamilyV6 && + versioncheck.MustCompile("<1.14.0")(t.Context().CiliumVersion) && + (len(t.CiliumNetworkPolicies()) > 0 || len(t.KubernetesNetworkPolicies()) > 0) { + continue + } + ``` Signed-off-by: gray <gray.liang@isovalent.com>
bd7a9fe
to
4cc0d20
Compare
/test |
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.
🚀
It wasn't until #23445 was fixed in 1.14 when Cilium had robust IPv6 connectivity for IPsec[1]. Previously CI workflows didn't run IPv6 connectivity test for IPsec in 1.13, until #35314 recently enabled it. Subsequently, We noticed a number of CI failures in ci-ipsec-upgrade, caused by testing IPv6 connectivity in 1.13.
This patch reverts the deletion of
if <1.14 then skip
made by #35314 [2][1] #23461
[2] git diff aabda4b aabda4b~ | grep '<1.14.0' -C8
1.14 ci-ipsec-upgrade test: #36668