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
CNF-11213: added mixedCpus e2e test #967
CNF-11213: added mixedCpus e2e test #967
Conversation
@rbaturov: This pull request references CNF-11213 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.16.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. |
/hold |
a13feb3
to
af9eeb5
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.
Looking good, did initial pass
test/e2e/performanceprofile/functests/utils/deployment/deployment.go
Outdated
Show resolved
Hide resolved
test/e2e/performanceprofile/functests/utils/deployment/deployment.go
Outdated
Show resolved
Hide resolved
test/e2e/performanceprofile/functests/utils/deployment/deployment.go
Outdated
Show resolved
Hide resolved
test/e2e/performanceprofile/functests/utils/deployment/deployment.go
Outdated
Show resolved
Hide resolved
test/e2e/performanceprofile/functests/11_mixedcpus/mixedcpus.go
Outdated
Show resolved
Hide resolved
test/e2e/performanceprofile/functests/11_mixedcpus/mixedcpus.go
Outdated
Show resolved
Hide resolved
test/e2e/performanceprofile/functests/11_mixedcpus/mixedcpus.go
Outdated
Show resolved
Hide resolved
8e461df
to
d674963
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.
Almost there
test/e2e/performanceprofile/functests/11_mixedcpus/mixedcpus.go
Outdated
Show resolved
Hide resolved
test/e2e/performanceprofile/functests/11_mixedcpus/mixedcpus.go
Outdated
Show resolved
Hide resolved
test/e2e/performanceprofile/functests/utils/deployments/deployments.go
Outdated
Show resolved
Hide resolved
test/e2e/performanceprofile/functests/utils/deployments/deployments.go
Outdated
Show resolved
Hide resolved
5d879c0
to
69739e5
Compare
/retest-required |
69739e5
to
3181acc
Compare
/retest-required |
test/e2e/performanceprofile/functests/utils/deployments/deployments.go
Outdated
Show resolved
Hide resolved
test/e2e/performanceprofile/functests/11_mixedcpus/mixedcpus.go
Outdated
Show resolved
Hide resolved
3181acc
to
467c491
Compare
467c491
to
ac9d7e2
Compare
/retest-required |
ac9d7e2
to
f8775b7
Compare
/unhold |
Added support to deploy a test deployment Added a function to check if pod is failed to be scheduled. Signed-off-by: rbaturov <rbaturov@redhat.com>
f8775b7
to
7d7e098
Compare
This test check that pods using shared cpus in a deployment won't be able to schedule after the mixedCpus feature is disabled and the node reboots. Signed-off-by: rbaturov <rbaturov@redhat.com>
7d7e098
to
707aab8
Compare
/retest-required |
4 similar comments
/retest-required |
/retest-required |
/retest-required |
/retest-required |
/lgtm |
@rbaturov: 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. |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rbaturov, Tal-or, yanirq 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 |
[ART PR BUILD NOTIFIER] This PR has been included in build cluster-node-tuning-operator-container-v4.16.0-202403242314.p0.gd46c828.assembly.stream.el9 for distgit cluster-node-tuning-operator. |
* Added util functions Added support to deploy a test deployment Added a function to check if pod is failed to be scheduled. Signed-off-by: rbaturov <rbaturov@redhat.com> * Added mixed cpus test This test check that pods using shared cpus in a deployment won't be able to schedule after the mixedCpus feature is disabled and the node reboots. Signed-off-by: rbaturov <rbaturov@redhat.com> --------- Signed-off-by: rbaturov <rbaturov@redhat.com>
The mixed cpus added in openshift#967 has been added twice due to probably a rebase issue. This commit removes the duplicated test.
The mixed cpus test added in openshift#967 has been added twice due to probably a rebase issue. This commit removes the duplicated test.
The mixed cpus test added in #967 has been added twice due to probably a rebase issue. This commit removes the duplicated test.
Added a test for mixedCpus feature along with some util functions.
This test checks that pods using shared CPUs in a deployment won't
be able to schedule after the mixedCpus feature is disabled and the node reboots.