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
OCPBUGS-31694: E2E: Workload hints test cases fixes #1012
OCPBUGS-31694: E2E: Workload hints test cases fixes #1012
Conversation
/test e2e-gcp-pao-updating-profile |
@mrniranjan: This pull request references Jira Issue OCPBUGS-31694, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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. |
… stuck Signed-off-by: Niranjan M.R <mrniranjan@redhat.com>
ae68995
to
9f87013
Compare
/jira refresh |
@mrniranjan: This pull request references Jira Issue OCPBUGS-31694, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: 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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
LGTM once a inline question is addressed
@@ -258,28 +259,32 @@ var _ = Describe("[rfe_id:49062][workloadHints] Telco friendly workload specific | |||
|
|||
When("realtime and high power consumption enabled", func() { | |||
It("[test_id:50993][crit:high][vendor:cnf-qe@redhat.com][level:acceptance]should update kernel arguments and tuned accordingly", func() { | |||
currentWorkloadHints := profile.Spec.WorkloadHints |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need a DeepCopy() here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean should we DeepCopy() ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, i only intend to get the current profile before i modify, to check if the current profile is already contains the changes i intend to make further, if the current profile already contains the changes needed, then don't need to apply the spec changes , directly check the tuning parameters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason we need this in Downstream we already have performance profile created before test runs and in the performance profile highPowerConsumption and realTime workload hints are already set to True, with this profile when this test runs, where we are setting these to true , the mcp is hung because there is nothing to change and test timesout waiting on mcp update.
this patch addresses this issue by getting the current workloadhints and if they are same skip the mcp update and test the tunings.
@@ -320,27 +325,29 @@ var _ = Describe("[rfe_id:49062][workloadHints] Telco friendly workload specific | |||
|
|||
When("perPodPowerManagent enabled", func() { | |||
It("[test_id:54177]should update kernel arguments and tuned accordingly", func() { | |||
currentWorkloadHints := profile.Spec.WorkloadHints |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto: do we need a DeepCopy() here?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ffromani, mrniranjan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Niranjan M.R <mrniranjan@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
@mrniranjan: 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/test-infra repository. I understand the commands that are listed here. |
@mrniranjan: Jira Issue OCPBUGS-31694: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-31694 has been moved to the MODIFIED state. 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. |
[ART PR BUILD NOTIFIER] This PR has been included in build cluster-node-tuning-operator-container-v4.16.0-202404151450.p0.g0d90b86.assembly.stream.el9 for distgit cluster-node-tuning-operator. |
Fix included in accepted release 4.16.0-0.nightly-2024-04-16-015315 |
/cherry-pick release-4.15 |
@mrniranjan: #1012 failed to apply on top of branch "release-4.15":
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/test-infra repository. |
* compare existing profile with changes being made to avoid mcp getting stuck Signed-off-by: Niranjan M.R <mrniranjan@redhat.com> * Extend the comparing the of workloadhints to few more test cases Signed-off-by: Niranjan M.R <mrniranjan@redhat.com> --------- Signed-off-by: Niranjan M.R <mrniranjan@redhat.com> Co-authored-by: Niranjan M.R <mrniranjan@redhat.com>
* compare existing profile with changes being made to avoid mcp getting stuck Signed-off-by: Niranjan M.R <mrniranjan@redhat.com> * Extend the comparing the of workloadhints to few more test cases Signed-off-by: Niranjan M.R <mrniranjan@redhat.com> --------- Signed-off-by: Niranjan M.R <mrniranjan@redhat.com> Co-authored-by: Niranjan M.R <mrniranjan@redhat.com>
* compare existing profile with changes being made to avoid mcp getting stuck * Extend the comparing the of workloadhints to few more test cases --------- Signed-off-by: Niranjan M.R <mrniranjan@redhat.com> Co-authored-by: Niranjan M.R <mrniranjan@redhat.com>
No description provided.