-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
SDN-5473: OVN-K: Port e2e tests for CUDN functionality, connectivity and isolation #29274
base: master
Are you sure you want to change the base?
Conversation
Skipping CI for Draft Pull Request. |
@ormergi: This pull request references SDN-5473 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/test ? |
@ormergi: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/test e2e-gcp-ovn-techpreview |
Add tests for OVN-Kubernetes user-defined-network management using ClusterUserDefinedNetwork CRD. Signed-off-by: Or Mergi <ormergi@redhat.com>
5c62235
to
aa8ec52
Compare
@ormergi: This pull request references SDN-5473 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/test e2e-gcp-ovn-techpreview |
your tests are not registered with the label before make update
after make update
|
Add additional case using the ClusterUserDefinedNetwork CRD for UDN connectivity and isolation tests. Since CUDN CRD is cluster scoped, it should be deleted after each test. Delete tests pods as part of the CUDN clean-up to unblock CR and associated NADs to deletion Signed-off-by: Or Mergi <ormergi@redhat.com>
aa8ec52
to
537c033
Compare
@jluhrsen thank you! |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ormergi The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test e2e-gcp-ovn-techpreview |
…twork exist test Signed-off-by: Or Mergi <ormergi@redhat.com>
@ormergi: This pull request references SDN-5473 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/test e2e-gcp-ovn-techpreview |
e068e62
to
e3b7172
Compare
/test e2e-gcp-ovn-techpreview |
e3b7172
to
d7cb6d6
Compare
/test e2e-gcp-ovn-techpreview |
On CUDN cleanup is inconsistent as we see some flaky tests due to CUDN "already exist" errors, implying object are not actually deleted. Wait for CUDN object be gone when deleted. The expected "not-found" error assertion checks the error string instead because the tests framework client returns error in a custom format causing the error to not match the standard k8s "no-found" typed error. Signed-off-by: Or Mergi <ormergi@redhat.com>
d7cb6d6
to
93de92f
Compare
/test e2e-gcp-ovn-techpreview |
1 similar comment
/test e2e-gcp-ovn-techpreview |
@ormergi: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
CUDN is cluster-scoped object, in case tests running in parallel, having random names avoids conflicting with other tests. Use random name for related network object metadata.name, such as NAD, UDN and CUDN. The "isolates overlapping CIDRs" tests create multiple network objects based on the 'red' and 'blue' variables, change these vars to have random names. Signed-off-by: Or Mergi <ormergi@redhat.com>
The following test create new namespace and a pod inside it, the pod because it doesnt meet cluster PSA. [sig-network][OCPFeatureGate:NetworkSegmentation] [Feature:UserDefinedPrimaryNetworks] when using openshift ovn-kubernetes ClusterUserDefinedNetwork CRD Controller pod connected to ClusterUserDefinedNetwork CR & managed NADs cannot be deleted when being used Set the tested pod with PSA to meet the cluster PSA. Signed-off-by: Or Mergi <ormergi@redhat.com>
2d97138
to
5bbf48f
Compare
@ormergi: This pull request references SDN-5473 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.18.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
/test e2e-gcp-ovn-techpreview |
@ormergi: No presubmit jobs available for openshift/origin@master In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This PR adds e2e tests for OVN-Kuberentes CluserUserDefinedNetwork CRD, introduced by ovn-kubernetes/ovn-kubernetes#4612.
Note to reviewer:
This PR depends on having the CRD deployed by CNO SDN-5472: bindata, ovn-k: Add ClusterUserDefinedNetwork CRD and RBAC cluster-network-operator#2558