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

connectivity: add full egress gateway test suite #1657

Merged
merged 3 commits into from
May 31, 2023
Merged

Conversation

jibi
Copy link
Member

@jibi jibi commented May 25, 2023

see individual commits

Towards: cilium/cilium#24151

@jibi jibi added the area/CI Continuous Integration testing issue or flake label May 25, 2023
@jibi jibi temporarily deployed to ci May 25, 2023 07:11 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 5fd81f3 to 8b8a856 Compare May 25, 2023 07:32
@jibi jibi temporarily deployed to ci May 25, 2023 07:32 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 8b8a856 to 86abceb Compare May 25, 2023 07:48
@jibi jibi temporarily deployed to ci May 25, 2023 07:48 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 86abceb to 5443e30 Compare May 25, 2023 07:58
@jibi jibi temporarily deployed to ci May 25, 2023 07:58 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 5443e30 to 562392c Compare May 25, 2023 08:29
@brb
Copy link
Member

brb commented May 25, 2023

I'm going to merge #1579 in a bit. There is a bit of overlap between your PR and the former.

@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 562392c to 286e791 Compare May 25, 2023 08:43
@jibi jibi temporarily deployed to ci May 25, 2023 08:43 — with GitHub Actions Inactive
@jibi
Copy link
Member Author

jibi commented May 25, 2023

I'm going to merge #1579 in a bit. There is a bit of overlap between your PR and the former.

ack, still a few issues to solve here so all good 👍

@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 286e791 to 3bde22b Compare May 25, 2023 08:48
@jibi jibi temporarily deployed to ci May 25, 2023 08:48 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 3bde22b to 7b2b043 Compare May 25, 2023 09:14
@jibi jibi temporarily deployed to ci May 25, 2023 09:14 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 7b2b043 to edc4702 Compare May 25, 2023 10:32
@jibi jibi temporarily deployed to ci May 25, 2023 10:32 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from edc4702 to 450da90 Compare May 26, 2023 10:05
@jibi jibi temporarily deployed to ci May 26, 2023 10:05 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 450da90 to 9274730 Compare May 26, 2023 10:23
@jibi jibi temporarily deployed to ci May 26, 2023 10:23 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 9274730 to 981232a Compare May 26, 2023 10:35
@jibi jibi temporarily deployed to ci May 26, 2023 10:35 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 981232a to c6eef1f Compare May 26, 2023 11:20
@jibi jibi temporarily deployed to ci May 26, 2023 11:20 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from c6eef1f to 30530db Compare May 26, 2023 11:55
@jibi jibi temporarily deployed to ci May 26, 2023 11:56 — with GitHub Actions Inactive
@jibi jibi requested review from a team as code owners May 29, 2023 14:42
@jibi jibi requested a review from youngnick May 29, 2023 14:42
@jibi
Copy link
Member Author

jibi commented May 29, 2023

connectivity/check/context.go Outdated Show resolved Hide resolved
connectivity/check/test.go Outdated Show resolved Hide resolved
connectivity/tests/egressgateway.go Outdated Show resolved Hide resolved
connectivity/tests/egressgateway.go Outdated Show resolved Hide resolved
@jibi jibi marked this pull request as draft May 30, 2023 09:39
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from b1325fd to 0cca1c7 Compare May 30, 2023 09:43
@jibi jibi temporarily deployed to ci May 30, 2023 09:43 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 0cca1c7 to f6498c3 Compare May 30, 2023 10:03
jibi added 2 commits May 30, 2023 12:06
NodeportService wraps a Service object and can be used to expose said
Service through its nodeport with the Peer interface.

Signed-off-by: Gilberto Bertin <[email protected]>
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from f6498c3 to 463f74f Compare May 30, 2023 10:06
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 463f74f to d7f1a40 Compare May 30, 2023 10:08
@jibi jibi temporarily deployed to ci May 30, 2023 10:08 — with GitHub Actions Inactive
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from d7f1a40 to 17c9ed0 Compare May 30, 2023 12:02
@jibi jibi temporarily deployed to ci May 30, 2023 12:02 — with GitHub Actions Inactive
@jibi
Copy link
Member Author

jibi commented May 30, 2023

@jibi jibi marked this pull request as ready for review May 30, 2023 12:49
connectivity/suite.go Outdated Show resolved Hide resolved
This commit reimplement the Ginkgo test suite for egress gateway as a
connectivity test for the CLI.

The changes are split in 2 test suites:

* egress-gateway, which tests connectivity for pods matched by an egress
  gateway policy: pod to host, pod to service, pod to external IP, reply
  traffic for services and pods
* egress-gateway-excluded-cidrs, which tests the excludedCIDRs property
  and ensure traffic matching an excluded CIDR does not get masqueraded
  with the egress IP

Signed-off-by: Gilberto Bertin <[email protected]>
@jibi jibi force-pushed the pr/jibi/egressgw-tests branch from 17c9ed0 to 6f17c07 Compare May 30, 2023 13:02
@jibi jibi temporarily deployed to ci May 30, 2023 13:02 — with GitHub Actions Inactive
Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

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

🍕

@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 May 31, 2023
@tklauser tklauser merged commit 4cce091 into main May 31, 2023
@tklauser tklauser deleted the pr/jibi/egressgw-tests branch May 31, 2023 10:41
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 ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants