-
Notifications
You must be signed in to change notification settings - Fork 105
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-46584: Adjust Workload Hints test cases based on Intel or AMD #1258
OCPBUGS-46584: Adjust Workload Hints test cases based on Intel or AMD #1258
Conversation
@mrniranjan: This pull request references Jira Issue OCPBUGS-46584, 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: 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. |
@openshift-ci-robot: GitHub didn't allow me to request PR reviews from the following users: mrniranjan. Note that only openshift members and repo collaborators can review this PR, and authors cannot review their own PRs. 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. |
if isIntel { | ||
Expect(cmdline).To(ContainSubstring("intel_pstate=passive")) | ||
Expect(cmdline).ToNot(ContainSubstring("intel_pstate=active")) | ||
} else { |
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.
Would isAMD be more descriptive with an else that throws an error? Just in case we get ARM machines in the future?
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.
Ack, i will add it
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.
fixed in the latest commit
/retest-required |
50ded99
to
9d47c77
Compare
/retest-required |
We use lscpu output and check Vendor ID to determine if the system is AMD or Intel. Signed-off-by: Niranjan M.R <[email protected]>
Adjust Workload Hints E2E test cases to verify kernel parameters depending on the Vendor in the case of x86_64 where kernel args are changed based on Intel or AMD. Signed-off-by: Niranjan M.R <[email protected]>
Signed-off-by: Niranjan M.R <[email protected]>
c91d8aa
to
b8cf664
Compare
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
/label acknowledge-critical-fixes-only test only change |
@yanirq sorry, i am adding a hold due to a bug in my patch |
/hold |
remove duplicate intel_pstate=passive from kernelParameters string slice as it's already added if system is intel Signed-off-by: Niranjan M.R <[email protected]>
/hold cancel |
/retest-required |
Signed-off-by: Niranjan M.R <[email protected]>
1dbd150
to
36b55eb
Compare
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MarSik, mrniranjan, swatisehgal 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 |
@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-sigs/prow repository. I understand the commands that are listed here. |
@mrniranjan: Jira Issue OCPBUGS-46584: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-46584 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] Distgit: cluster-node-tuning-operator |
/cherry-pick release-4.18 |
@mrniranjan: new pull request created: #1274 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 utility functions to get Cpu Vendor (intel or AMD) in case of x86_64.
Also Adjust Workload Hints test cases where kernel Args are adjusted based on Intel or AMD.