Skip to content
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-42365: E2E: Adjusted mixed_cpus suite for hypershift #1173

Merged

Conversation

SargunNarula
Copy link
Contributor

  • Performance Profile applying is made consistent with mcp and nodepool based environments
  • Removed deprecated API client.
  • Added test suite run in makefile

@SargunNarula SargunNarula force-pushed the hypershift_mixedcpus_tests branch from 89abada to e8b594e Compare November 22, 2024 15:55
@SargunNarula SargunNarula changed the title OCPBUGS-42365 WIP: hypershift: Adjusted mixed_cpus suite for hypershift OCPBUGS-42365: E2E: Adjusted mixed_cpus suite for hypershift Nov 22, 2024
@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Nov 22, 2024
@openshift-ci-robot
Copy link
Contributor

@SargunNarula: This pull request references Jira Issue OCPBUGS-42365, which is invalid:

  • expected the bug to target the "4.18.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

  • Performance Profile applying is made consistent with mcp and nodepool based environments
  • Removed deprecated API client.
  • Added test suite run in makefile

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.

@SargunNarula
Copy link
Contributor Author

/jira refresh

@openshift-ci-robot
Copy link
Contributor

@SargunNarula: This pull request references Jira Issue OCPBUGS-42365, which is invalid:

  • expected the bug to target the "4.18.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

/jira refresh

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.

@SargunNarula
Copy link
Contributor Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Nov 22, 2024
@openshift-ci-robot
Copy link
Contributor

@SargunNarula: This pull request references Jira Issue OCPBUGS-42365, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.18.0) matches configured target version for branch (4.18.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

No GitHub users were found matching the public email listed for the QA contact in Jira ([email protected]), skipping review request.

In response to this:

/jira refresh

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.

@SargunNarula
Copy link
Contributor Author

/retest

2 similar comments
@SargunNarula
Copy link
Contributor Author

/retest

@SargunNarula
Copy link
Contributor Author

/retest

@SargunNarula SargunNarula force-pushed the hypershift_mixedcpus_tests branch from e8b594e to 7ad57a8 Compare November 25, 2024 07:36
@SargunNarula
Copy link
Contributor Author

/retest

1 similar comment
@SargunNarula
Copy link
Contributor Author

/retest

Copy link
Contributor

@Tal-or Tal-or left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have a lane that runs HyperShift + TechPreview featuregate enable. So why are we modifying those tests in the first place?

@SargunNarula
Copy link
Contributor Author

We don't have a lane that runs HyperShift + TechPreview featuregate enable. So why are we modifying those tests in the first place?

Currently, we don't have a lane enabled. However, we can plan to have this built as part of the future developments. Alternatively, we can focus on keeping the tests updated with support, which will help accelerate the effort whenever the lane is eventually available. @Tal-or @mrniranjan

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 18, 2024
@SargunNarula SargunNarula force-pushed the hypershift_mixedcpus_tests branch from 7ad57a8 to 70164fa Compare December 18, 2024 09:53
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 18, 2024
@Tal-or
Copy link
Contributor

Tal-or commented Dec 18, 2024

lint error:

s: 272.126µs, source_code: 60.951µs, cgo: 8.84µs, invalid_issue: 5.5µs, filename_unadjuster: 3.44µs, max_same_issues: 3.03µs, uniq_by_line: 2.05µs, max_from_linter: 1.04µs, path_shortener: 810ns, max_per_file_from_linter: 450ns, diff: 360ns, skip_files: 340ns, fixer: 230ns, exclude: 210ns, sort_results: 210ns, path_prefixer: 90ns, severity-rules: 80ns"
level=info msg="[runner] linters took 26.793436469s with stages: goanalysis_metalinter: 26.78682303s"
test/e2e/performanceprofile/functests/11_mixedcpus/mixedcpus.go:548:70: `intial` is a misspelling of `initial` (misspell)
		By(fmt.Sprintf("executing teardown - revert profile %q back to its intial state", profile.Name))
		                                                                   ^
test/e2e/performanceprofile/functests/11_mixedcpus/mixedcpus.go:752:1: unnecessary trailing newline (whitespace)

@Tal-or
Copy link
Contributor

Tal-or commented Dec 18, 2024

We don't have a lane that runs HyperShift + TechPreview featuregate enable. So why are we modifying those tests in the first place?

Currently, we don't have a lane enabled. However, we can plan to have this built as part of the future developments. Alternatively, we can focus on keeping the tests updated with support, which will help accelerate the effort whenever the lane is eventually available. @Tal-or @mrniranjan

My concern is that when we'll enable the lane one day, the test will break, did we test it locally?

@SargunNarula
Copy link
Contributor Author

We don't have a lane that runs HyperShift + TechPreview featuregate enable. So why are we modifying those tests in the first place?

Currently, we don't have a lane enabled. However, we can plan to have this built as part of the future developments. Alternatively, we can focus on keeping the tests updated with support, which will help accelerate the effort whenever the lane is eventually available. @Tal-or @mrniranjan

My concern is that when we'll enable the lane one day, the test will break, did we test it locally?

Yes, I did test this PR locally, by enabling the TechPreview featuregate on a hypershift environment. I have shared the d/s test run results with you via slack.

@SargunNarula SargunNarula force-pushed the hypershift_mixedcpus_tests branch from 70164fa to a0c4f78 Compare December 18, 2024 15:39
@mrniranjan
Copy link
Contributor

We don't have a lane that runs HyperShift + TechPreview featuregate enable. So why are we modifying those tests in the first place?

Currently, we don't have a lane enabled. However, we can plan to have this built as part of the future developments. Alternatively, we can focus on keeping the tests updated with support, which will help accelerate the effort whenever the lane is eventually available. @Tal-or @mrniranjan

My concern is that when we'll enable the lane one day, the test will break, did we test it locally?

@Tal-or If it's a hard requirement to have a lane, I can enable the feature in Downstream,

Copy link
Contributor

@Tal-or Tal-or left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job,
we're almost there, please address the my last comments and i'll approve

@SargunNarula SargunNarula force-pushed the hypershift_mixedcpus_tests branch from a0c4f78 to 7ee29c2 Compare December 19, 2024 09:38
- Updated tests for Hosted Clusters compatibility.
- Centralized profile updates through poolname util methods.
- Removed deprecated API client.

Signed-off-by: Sargun Narula <[email protected]>

e2e: log: set ctrl-runtime logger for mixedcpus

Add runtime logger to prevent stacktrace when logger is unset

Signed-off-by: Sargun Narula <[email protected]>
@SargunNarula SargunNarula force-pushed the hypershift_mixedcpus_tests branch from 7ee29c2 to fd22db0 Compare December 19, 2024 10:39
@Tal-or
Copy link
Contributor

Tal-or commented Dec 19, 2024

/lgtm

Thank you for your hard work

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 19, 2024
@yanirq
Copy link
Contributor

yanirq commented Dec 19, 2024

/approve

Copy link
Contributor

openshift-ci bot commented Dec 19, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SargunNarula, 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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 19, 2024
@SargunNarula
Copy link
Contributor Author

/retest-required

1 similar comment
@SargunNarula
Copy link
Contributor Author

/retest-required

Copy link
Contributor

openshift-ci bot commented Dec 20, 2024

@SargunNarula: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/okd-scos-e2e-aws-ovn fd22db0 link false /test okd-scos-e2e-aws-ovn

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.

@Tal-or
Copy link
Contributor

Tal-or commented Dec 22, 2024

/acknowledge-critical-fixes-only

Testing only. Not part of payload

@yanirq
Copy link
Contributor

yanirq commented Dec 22, 2024

/label acknowledge-critical-fixes-only

@openshift-ci openshift-ci bot added the acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. label Dec 22, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 1fbe1ee into openshift:master Dec 23, 2024
16 of 17 checks passed
@openshift-ci-robot
Copy link
Contributor

@SargunNarula: Jira Issue OCPBUGS-42365: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-42365 has been moved to the MODIFIED state.

In response to this:

  • Performance Profile applying is made consistent with mcp and nodepool based environments
  • Removed deprecated API client.
  • Added test suite run in makefile

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-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: cluster-node-tuning-operator
This PR has been included in build cluster-node-tuning-operator-container-v4.19.0-202412230909.p0.g1fbe1ee.assembly.stream.el9.
All builds following this will include this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants