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

tests: re-enable Host Firewall for AutoDirectNodeRoutes test and encryption + direct routing #16652

Merged
merged 2 commits into from Jul 15, 2021

Conversation

qmonnet
Copy link
Member

@qmonnet qmonnet commented Jun 25, 2021

Issue #12205 has been fixed via #16136, and the Host Firewall can be used again in the tests. Renable those tests that we had disabled because of the issue.

@qmonnet qmonnet added area/CI-improvement Topic or proposal to improve the Continuous Integration workflow release-note/misc This PR makes changes that have no direct user impact. area/host-firewall Impacts the host firewall or the host endpoint. labels Jun 25, 2021
@qmonnet qmonnet requested review from pchaigno and a team June 25, 2021 08:59
@qmonnet qmonnet requested a review from a team as a code owner June 25, 2021 08:59
@qmonnet
Copy link
Member Author

qmonnet commented Jun 25, 2021

test-only --focus="K8sDatapathConfig"

@qmonnet
Copy link
Member Author

qmonnet commented Jun 28, 2021

test-only --focus="K8sDatapathConfig"

@pchaigno
Copy link
Member

pchaigno commented Jun 28, 2021

test-1.16-netnext
test-1.21-4.9
test-1.19-5.4
test-1.20-4.19

@qmonnet
Copy link
Member Author

qmonnet commented Jun 29, 2021

test-gke

@qmonnet qmonnet added the dont-merge/needs-rebase This PR needs to be rebased because it has merge conflicts. label Jul 2, 2021
@qmonnet qmonnet removed the dont-merge/needs-rebase This PR needs to be rebased because it has merge conflicts. label Jul 2, 2021
@qmonnet
Copy link
Member Author

qmonnet commented Jul 2, 2021

test-me-please

This reverts commit be4e93e.

Issue cilium#12205 has been fixed via cilium#16136, and the Host Firewall can be
used again in the tests.

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
The test was disabled because of issue cilium#12205: When bpf_host was loading
on the native device, the source identity of packet on the destination
node was resolved to WORLD and policy enforcement would fail.

This has now been fixed via cilium#16136, and we can run the test again.

Also adjust the conditions for the test, to reflect the changes to
surrounding IPSec tests from f1209d0 ("test: Enable IPSec tests on
4.19").

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
@qmonnet
Copy link
Member Author

qmonnet commented Jul 15, 2021

Rebased because I left the PR aside for some time :/. I'm not running the full CI since the change is on the e2e tests.

test-1.16-netnext
test-1.19-5.4
test-1.20-4.19
test-1.21-4.9
test-gke

[Edit] Since the above passed we are good to go.

@qmonnet qmonnet added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jul 15, 2021
@aanm aanm merged commit d7eda2d into cilium:master Jul 15, 2021
@qmonnet qmonnet deleted the pr/dpc-enable-hfw-tests branch July 16, 2021 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI-improvement Topic or proposal to improve the Continuous Integration workflow area/host-firewall Impacts the host firewall or the host endpoint. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants