-
Notifications
You must be signed in to change notification settings - Fork 4.8k
OCPNODE-3912: Add a test for NodeSizing default change to OCP 4.20 #30467
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
OCPNODE-3912: Add a test for NodeSizing default change to OCP 4.20 #30467
Conversation
|
Skipping CI for Draft Pull Request. |
|
/test all |
|
@ngopalak-redhat: This pull request references OCPNODE-3722 which is a valid jira issue. 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. |
|
@ngopalak-redhat: This pull request references OCPNODE-3722 which is a valid jira issue. 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. |
|
/retest-required |
|
@ngopalak-redhat: This pull request references OCPNODE-3722 which is a valid jira issue. 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. |
|
@ngopalak-redhat: This pull request references OCPNODE-3722 which is a valid jira issue. 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. |
|
@haircommander @sairameshv Here's the test for OCP 4.20 for auto-sizing config. It needed not hold on the patch as it tests the existing behavior which the patch should not change. |
|
/retest-required |
|
@ngopalak-redhat: This pull request references OCPNODE-3722 which is a valid jira issue. 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. |
01e35bc to
e27355a
Compare
|
/test all |
|
/test e2e-aws-ovn-serial-1of2 |
2 similar comments
|
/test e2e-aws-ovn-serial-1of2 |
|
/test e2e-aws-ovn-serial-1of2 |
|
/test all |
|
/test e2e-aws-ovn-serial-1of2 |
|
/lgtm |
|
/test e2e-aws-ovn-serial-1of2 |
|
/test e2e-metal-ipi-ovn-ipv6 |
|
/test e2e-aws-ovn-serial-1of2 |
|
@ngopalak-redhat: 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. |
|
/verified by payload-job |
|
@ngopalak-redhat: 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. |
|
/assign @stbenjam for review/approval |
|
@ngopalak-redhat: This pull request references Jira Issue OCPBUGS-65777, which is invalid:
Comment Retaining the jira/valid-bug label as it was manually added. 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. |
|
@ngopalak-redhat: This pull request references OCPNODE-3720 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 either version "4.20." or "openshift-4.20.", but it targets "openshift-4.21" instead. Retaining the jira/valid-bug label as it was manually added. 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. |
|
@ngopalak-redhat: This pull request references OCPNODE-3720 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 either version "4.20." or "openshift-4.20.", but it targets "openshift-4.21" instead. Retaining the jira/valid-bug label as it was manually added. 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. |
|
/jira refresh |
|
@ngopalak-redhat: This pull request references OCPNODE-3720 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 only the "4.20.z" version, but multiple target versions were set. Retaining the jira/valid-bug label as it was manually added. 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. |
|
@ngopalak-redhat: This pull request references OCPNODE-3912 which is a valid jira issue. Retaining the jira/valid-bug label as it was manually added. 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. |
|
@ngopalak-redhat: This pull request references OCPNODE-3912 which is a valid jira issue. Retaining the jira/valid-bug label as it was manually added. 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. |
|
/assign @stbenjam |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, neisw, ngopalak-redhat 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 |
11e5d68
into
openshift:release-4.20
Fixes #OCPNODE-3912
Summary
This PR introduces a new E2E test case to verify the behavior of the NODE_SIZING_ENABLED feature following the changes in openshift/machine-config-operator#5387. The primary goal is to ensure that while the patch introduces a new MachineConfig, it does not automatically disable a user's ability to enable node autosizing for reserved resources.
NOTE:
[Suite:openshift/machine-config-operator/disruptive]will ensure that the container restart failures are not recorded for this test. Its a common pattern used for machine config tests.Test Steps and Verification
The test case performs the following verifications:
Initial State Check:
A new MachineConfig (related to the patch) is applied.
The test then verifies that, by default, the /etc/node-sizing-enabled.env file on the host still contains NODE_SIZING_ENABLED=false.
Goal: Confirm the new MachineConfig does not inadvertently set this flag to true or prevent it from being set to false.
Enablement Check (Positive Verification):
A KubeletConfig resource is created to enable the auto-sizing reserved feature.
The test verifies that this action successfully overrides the default state and sets NODE_SIZING_ENABLED=true in the
/etc/node-sizing-enabled.envfile.Goal: Ensure the MachineConfig patch does not block users from utilizing node autosizing when explicitly configured via KubeletConfig.
Implementation Details
The test utilizes a privileged pod to access the host filesystem (specifically
/etc/node-sizing-enabled.env) to directly read the value of the NODE_SIZING_ENABLED environment variable before and after the KubeletConfig application.This provides robust coverage to prevent a regression where the MCO patch could block or override user-configured autosizing.
Test Result with the PR: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/logs/release-openshift-origin-installer-launch-aws-modern/1987358551382691840/artifacts/launch/openshift-e2e-test/artifacts/e2e.log
Result:
Also to add without the patch the test is passing, which implies that patch does not change the current behavior of 4.20: