-
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-41587: E2E: Adjust performance_update suite for hypershift #1157
base: master
Are you sure you want to change the base?
OCPBUGS-41587: E2E: Adjust performance_update suite for hypershift #1157
Conversation
SargunNarula
commented
Sep 4, 2024
- Updated tests to skip MCP resource verification on Hypershift, where MCP concept does not apply.
- Profile applying is made consistent
- Removed deprecated API client.
- Added test suite run in makefile
@SargunNarula: This pull request references CNF-13487 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.18.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. |
ce177c7
to
3aa1cc3
Compare
3aa1cc3
to
4045e84
Compare
@SargunNarula: This pull request references Jira Issue OCPBUGS-41587, 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. |
Makefile
Outdated
@@ -274,7 +274,7 @@ pao-functests-mixedcpus: $(BINDATA) | |||
pao-functests-hypershift: $(BINDATA) | |||
@echo "Cluster Version" | |||
hack/show-cluster-version.sh | |||
hack/run-test.sh -t "./test/e2e/performanceprofile/functests/0_config ./test/e2e/performanceprofile/functests/1_performance ./test/e2e/performanceprofile/functests/3_performance_status ./test/e2e/performanceprofile/functests/6_mustgather_testing" -p "-vv --label-filter="!openshift" -r --fail-fast --flake-attempts=2 --timeout=2h --junit-report=report.xml" -m "Running Functional Tests over Hypershift" | |||
hack/run-test.sh -t "./test/e2e/performanceprofile/functests/0_config ./test/e2e/performanceprofile/functests/1_performance ./test/e2e/performanceprofile/functests/2_performance_update ./test/e2e/performanceprofile/functests/3_performance_status ./test/e2e/performanceprofile/functests/6_mustgather_testing" -p "-vv --label-filter="!openshift" -r --fail-fast --flake-attempts=2 --timeout=2h --junit-report=report.xml" -m "Running Functional Tests over Hypershift" |
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.
We need a separate make target for that see #1168
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.
Revised with the new target.
) | ||
|
||
type checkFunction func(context.Context, *corev1.Node) (string, error) | ||
|
||
var _ = Describe("[rfe_id:28761][performance] Updating parameters in performance profile", func() { | ||
var workerRTNodes []corev1.Node | ||
var profile, initialProfile *performancev2.PerformanceProfile | ||
var performanceMCP string | ||
var resourcePool string |
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.
let's use poolName
instead
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.
Revised, Thanks.
|
||
By("Waiting when mcp finishes updates") | ||
mcps.WaitForCondition(performanceMCP, machineconfigv1.MachineConfigPoolUpdated, corev1.ConditionTrue) | ||
testlog.Infof("Waiting when %s finishes updates", resourcePool) |
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.
Why did we replace By
with testlog.Infof
?
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.
@SargunNarula can you replace this with By(fmt.Sprintf instead of testlog.Info
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 motivation was to keep log statements consistent. Revised with By().
Good work, left some comments |
please add this test-suite under the |
@Tal-or: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
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. |
4045e84
to
a54d484
Compare
/test help |
@Tal-or: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
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. |
/test e2e-pao-updating-profile-hypershift |
/retest |
/retest |
1 similar comment
/retest |
We need to increase the timeout of the this lane |
/retest |
/lgtm |
/test e2e-pao-updating-profile-hypershift |
3 similar comments
/test e2e-pao-updating-profile-hypershift |
/test e2e-pao-updating-profile-hypershift |
/test e2e-pao-updating-profile-hypershift |
5aaba0c
to
92fba8e
Compare
/retest |
/test e2e-pao-updating-profile-hypershift |
test/e2e/performanceprofile/functests/2_performance_update/updating_profile.go
Outdated
Show resolved
Hide resolved
b94cf86
to
08c0202
Compare
/retest |
/test e2e-pao-updating-profile-hypershift |
test/e2e/performanceprofile/functests/2_performance_update/updating_profile.go
Outdated
Show resolved
Hide resolved
test/e2e/performanceprofile/functests/2_performance_update/updating_profile.go
Outdated
Show resolved
Hide resolved
08c0202
to
6da62db
Compare
/test e2e-pao-updating-profile-hypershift |
You're trying to get MCP on Hypershift. MCP CRD are not exist on Hypershift platform
|
f5fd715
to
5c4ad45
Compare
/test e2e-pao-updating-profile-hypershift |
5c4ad45
to
5d5d55f
Compare
This is the failure from the the last run on the
|
- Updated tests to skip MCP resource verification on Hypershift, where MCP concept does not apply. - Profile applying is made consistent - Removed deprecated API client. - Added test suite run in makefile Signed-off-by: Sargun Narula <[email protected]> Added label filter on update only hypershift target - The pao-functests-update-only-hypershift lane is designed to run the performance update suite exclusively on the HyperShift platform, requiring tests to be filtered for HyperShift. Signed-off-by: Sargun Narula <[email protected]>
5d5d55f
to
7214d74
Compare
/retest |
1 similar comment
/retest |
/retest-required |
/test e2e-pao-updating-profile-hypershift |
/lgtm |
@SargunNarula: 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. |
this is tests adjustments PR and doesn't risk breaking the product |