Skip to content
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

gha: add step to ensure presence/absence of the AWS iptables chains #29670

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

giorio94
Copy link
Member

@giorio94 giorio94 commented Dec 6, 2023

Recently, a regression of the poststart-eni.sh script got unnoticed, as we are not explicitly testing it as part of the E2E pipelines.

Let's add a step to the Conformance EKS and Conformance AWS-CNI workflows to assert that, in the former case, the stale AWS iptables chains are removed, and in the latter they are not modified.

Link to failing run (without the fix):

Link to successful runs (with the fix):

@giorio94 giorio94 added area/CI Continuous Integration testing issue or flake release-note/ci This PR makes changes to the CI. integration/cloud Related to integration with cloud environments such as AKS, EKS, GKE, etc. labels Dec 6, 2023
@giorio94
Copy link
Member Author

giorio94 commented Dec 6, 2023

/ci-eks

@giorio94
Copy link
Member Author

giorio94 commented Dec 6, 2023

/ci-awscni

@giorio94
Copy link
Member Author

giorio94 commented Dec 6, 2023

/ci-eks

@giorio94
Copy link
Member Author

giorio94 commented Dec 6, 2023

/ci-awscni

@giorio94 giorio94 force-pushed the pr/giorio94/main/aws-iptables-cleanup-test branch from 5ef76a4 to c97d552 Compare December 6, 2023 15:44
@giorio94
Copy link
Member Author

giorio94 commented Dec 6, 2023

/ci-awscni

@giorio94
Copy link
Member Author

giorio94 commented Dec 6, 2023

/ci-eks

@giorio94 giorio94 force-pushed the pr/giorio94/main/aws-iptables-cleanup-test branch from c97d552 to e1c0767 Compare December 6, 2023 16:11
@giorio94
Copy link
Member Author

giorio94 commented Dec 6, 2023

/ci-awscni

@giorio94
Copy link
Member Author

giorio94 commented Dec 6, 2023

/ci-eks

@giorio94 giorio94 force-pushed the pr/giorio94/main/aws-iptables-cleanup-test branch from e1c0767 to a9229e1 Compare December 6, 2023 16:41
@giorio94
Copy link
Member Author

giorio94 commented Dec 6, 2023

Marking as ready to review to start gathering feedback. It depends on #29448 to pass.

@giorio94 giorio94 added dont-merge/blocked Another PR must be merged before this one. needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch labels Dec 6, 2023
@giorio94 giorio94 marked this pull request as ready for review December 6, 2023 16:43
@giorio94 giorio94 requested review from a team as code owners December 6, 2023 16:43
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from main in 1.14.5 Dec 6, 2023
@giorio94 giorio94 requested a review from brlbil December 6, 2023 16:43
@joestringer
Copy link
Member

Seems like a reasonable approach 👍

Recently, a regression of the poststart-eni.sh script got unnoticed,
as we are not explicitly testing it as part of the E2E pipelines.

Let's add a step to the Conformance EKS and Conformance AWS-CNI
workflows to assert that, in the former case, the stale AWS iptables
chains are removed, and in the latter they are not modified.

Signed-off-by: Marco Iorio <marco.iorio@isovalent.com>
@giorio94 giorio94 force-pushed the pr/giorio94/main/aws-iptables-cleanup-test branch from a9229e1 to 6a5845c Compare December 11, 2023 07:51
@giorio94
Copy link
Member Author

#29448 got merged. Rebased onto main, and removing the blocked label

@giorio94
Copy link
Member Author

/test

@giorio94 giorio94 removed the dont-merge/blocked Another PR must be merged before this one. label Dec 11, 2023
@giorio94 giorio94 added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Dec 11, 2023
@nebril nebril added this to Needs backport from main in 1.14.6 Dec 11, 2023
@nebril nebril removed this from Needs backport from main in 1.14.5 Dec 11, 2023
@aanm aanm added this pull request to the merge queue Dec 11, 2023
Merged via the queue into main with commit 5107391 Dec 11, 2023
203 checks passed
@aanm aanm deleted the pr/giorio94/main/aws-iptables-cleanup-test branch December 11, 2023 15:57
@giorio94 giorio94 mentioned this pull request Dec 13, 2023
10 tasks
@giorio94 giorio94 added backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. and removed needs-backport/1.14 This PR / issue needs backporting to the v1.14 branch labels Dec 13, 2023
@github-actions github-actions bot added backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. and removed backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. labels Dec 14, 2023
@gentoo-root gentoo-root moved this from Needs backport from main to Backport done to v1.14 in 1.14.6 Jan 17, 2024
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 backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. integration/cloud Related to integration with cloud environments such as AKS, EKS, GKE, etc. 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
No open projects
1.14.6
Backport done to v1.14
Status: Released
Development

Successfully merging this pull request may close these issues.

None yet

5 participants