SPLAT-2220: tests/ote: introduce openshift-only e2e to validate feature by feature gate#126
Conversation
|
Skipping CI for Draft Pull Request. |
|
/test ? |
|
/test e2e-aws-ovn-techpreview |
ad54805 to
e2e75ad
Compare
|
/test e2e-aws-ovn-techpreview |
|
2/3 tests with prefix /test e2e-aws-ovn-techpreview |
abba814 to
1c7edf2
Compare
|
Perfect, both e2e-aws-ovn(1) and e2e-aws-ovn-techpreview(2) are now green, and tests with prefix I just sent cleaned up the code to capture readiness. /test e2e-aws-ovn-techpreview |
|
@mtulio: This pull request references SPLAT-2220 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.22.0" version, but no target version was set. DetailsIn 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. |
|
@mtulio: This pull request references SPLAT-2220 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.22.0" version, but no target version was set. DetailsIn 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 okd-scos-images |
tests/aws-cloud-controller-manager-tests-ext/e2e/loadbalancer.go
Outdated
Show resolved
Hide resolved
|
Second round of jobs are passing for test prefix
I just added minor changes improving how the feature gate is validated from the cluster, instead of unstructured API validation, now it is using the openshift API. Re-run for green signals: /test e2e-aws-ovn-techpreview Tested locally successfully (except last one which was skipped due my cluster limitation: non NLB for ingress): |
1c7edf2 to
19a61ca
Compare
|
/lgtm |
|
/retest-required |
|
@mtulio: This pull request references SPLAT-2220 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.22.0" version, but no target version was set. DetailsIn 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. |
|
@mtulio: This pull request references SPLAT-2220 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.22.0" version, but no target version was set. DetailsIn 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. |
|
/verified by @mtulio #126 (comment) |
|
@mtulio: This PR has been marked as verified by DetailsIn 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. |
|
@mtulio: This pull request references SPLAT-2220 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.22.0" version, but no target version was set. DetailsIn 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. |
tests/aws-cloud-controller-manager-tests-ext/e2e/loadbalancer.go
Outdated
Show resolved
Hide resolved
Update Go dependencies for OTE binary to use openshift api for feature gate. https://issues.redhat.com/browse/SPLAT-2220 https://issues.redhat.com/browse/SPLAT-2553
19a61ca to
cc1d49e
Compare
Introduce e2e tests (openshift/downstream only) to test features on OpenShift, exposing those through OTE binary interface. The tests are exercising the feature 'managed security group to NLB' under the gate "AWSServiceLBNetworkSecurityGroup". Currently it is under TechPreviewNoUpgrade feature set, but those tests must check if the gate is enabled under the current feature set, skip otherwise. https://issues.redhat.com/browse/SPLAT-2220 https://issues.redhat.com/browse/SPLAT-2553 Reviewed-by: Claude Sonnet 4.5 <noreply@anthropic.com>
cc1d49e to
716f71d
Compare
|
Last commit only removed header comments. /verified by #126 (comment) |
|
@mtulio: This PR has been marked as verified by DetailsIn 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-aws-ovn-techpreview |
|
@mtulio: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
This is a critical feature for product: |
|
/lgtm |
| }) | ||
|
|
||
| // Checker function to verify if the feature gate is enabled for the group of tests for feature AWSServiceLBNetworkSecurityGroup. | ||
| isNLBFeatureEnabled := func(ctx context.Context) { |
There was a problem hiding this comment.
Might be nice to mark this as a GinkgoHelper in case we hit errors, but not a blocker.
There was a problem hiding this comment.
Good suggestion, Nolan. Since this PR has been merged, I created the card SPLAT-2638 to track this.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nrb The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Summary
This PR introduces OpenShift-specific e2e tests for the
AWSServiceLBNetworkSecurityGroupfeature gate, which enables managed security groups for Network Load Balancers (NLB).The tests introduced in this proposal exercises the feature, which is currently (4.21) under TechPreviewNoUpgrade feature set, validating the following changes exposed by the feature:
NLBSecurityGroupModeis added and set to valueManaged, so that CCM controller will react to new configuration by default creating security groups for all NLBsTest Coverage
The test suite includes three comprehensive test cases:
cloud-configConfigMap containsNLBSecurityGroupMode = ManagedTest Behavior
Validation
Note to Reviewer
There are two commits on this PR:
Jira: SPLAT-2220