Skip to content

Conversation

pchaigno
Copy link
Member

See commits for details.

@pchaigno pchaigno added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. feature/ipv6 Relates to IPv6 protocol support feature/ipsec Relates to Cilium's IPsec feature labels Jun 10, 2025
pchaigno added 5 commits June 10, 2025 13:57
This test used to run only for IPv4-only configs. Let's make it run for
dual-stack and IPv6-only clusters as well.

Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
This change aims to prepare for the coverage of IPv6 addresses in a
subsequent commit. We will need to change the test IPs to be IPv6
addresses instead of IPv4 addresses. That will happen via a setup
function so making these into global variables helps. These tests can't
run in parallel due to the XFRM states and policies so there's no risk
of race condition on the global variables.

Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
This change will ease the refactoring in the next commit, to allow
covering both IPv4 and IPv6 addresses. These tests can't run in parallel
anyway due to the XFRM states and policies, so there's no risk of race
condition.

Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
This commit refactors some tests in ipsec_linux_test.go to be able to
cover IPv6 in a subsequent commit. Tests that will cover both IPv4 and
IPv6 addresses are folded into a TestAll function.

Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
@pchaigno pchaigno force-pushed the pr/pchaigno/extend-ipsec-ipv6-golang-tests branch from b663b08 to 6312d0a Compare June 10, 2025 11:57
@pchaigno
Copy link
Member Author

/test

@pchaigno pchaigno marked this pull request as ready for review June 10, 2025 12:34
@pchaigno pchaigno requested review from a team as code owners June 10, 2025 12:34
@pchaigno pchaigno requested a review from ldelossa June 10, 2025 12:34
@pchaigno pchaigno enabled auto-merge June 13, 2025 09:43
Copy link
Contributor

@ldelossa ldelossa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, LGTM

@pchaigno pchaigno added this pull request to the merge queue Jul 1, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 1, 2025
Merged via the queue into main with commit 160d438 Jul 1, 2025
160 of 162 checks passed
@pchaigno pchaigno deleted the pr/pchaigno/extend-ipsec-ipv6-golang-tests branch July 1, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI Continuous Integration testing issue or flake feature/ipsec Relates to Cilium's IPsec feature feature/ipv6 Relates to IPv6 protocol support ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants