Skip to content

CNTRLPLANE-772: Add request serving test to HCM periodics#79884

Merged
openshift-merge-bot[bot] merged 3 commits into
openshift:mainfrom
jiezhao16:add-reqserving-hcm-periodics
Jun 3, 2026
Merged

CNTRLPLANE-772: Add request serving test to HCM periodics#79884
openshift-merge-bot[bot] merged 3 commits into
openshift:mainfrom
jiezhao16:add-reqserving-hcm-periodics

Conversation

@jiezhao16
Copy link
Copy Markdown
Contributor

@jiezhao16 jiezhao16 commented May 29, 2026

Summary

  • Add reqserving-e2e-aws periodic job to the HCM periodics for 4.21
  • Uses hypershift-aws-reqserving-e2e workflow which creates a standalone IPI cluster, installs HyperShift, configures MachineSets with autoscaler, and runs the full request-serving test suite
  • Matches the pattern used by the main branch presubmit (reqserving-e2e-aws in openshift-hypershift-main.yaml)
  • Runs both TestCreateRequestServingIsolationCluster and TestControlPlaneAutoscalingIncreasesSize

Related

Test plan

  • Rehearse with /pj-rehearse to verify the job runs successfully

Enable REQUEST_SERVING_COMPONENT_TEST in the HCM periodic e2e-aws job
to validate request-serving topology against real ROSA management clusters.
The hypershift-aws-run-e2e-external-commands.sh script already supports
this flag — this change only sets the env var in the job config.

Related: openshift/hypershift#7031 (test implementation)
Related: openshift#70989 (self-managed CI workflow)
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label May 29, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

openshift-ci-robot commented May 29, 2026

@jiezhao16: This pull request references CNTRLPLANE-772 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 "5.0.0" version, but no target version was set.

Details

In response to this:

Summary

  • Enable REQUEST_SERVING_COMPONENT_TEST in the HCM periodic e2e-aws job for 4.21
  • This validates request-serving topology against real ROSA management clusters
  • The run script already supports this flag; this change only sets the env var

Related

Test plan

  • Rehearse with /pj-rehearse to verify the job runs successfully

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.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 29, 2026

Walkthrough

Adds a new periodic test reqserving-e2e-aws (cron 0 4 * * *) to Hypershift 4.21 periodics; it runs the hypershift-aws-reqserving-e2e workflow with cluster_profile: openshift-org-aws and sets OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:latest.

Changes

HyperShift Release 4.21 Periodic Tests

Layer / File(s) Summary
Add periodic job for request-serving e2e
ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21__periodics-hcm.yaml
Adds reqserving-e2e-aws periodic test with cron: "0 4 * * *", cluster_profile: openshift-org-aws, workflow: hypershift-aws-reqserving-e2e, and env.OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: "release:latest".

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

area/pipelines, rehearsals-ack


Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 error)

Check name Status Explanation Resolution
No-Sensitive-Data-In-Logs ❌ Error The PR enables use of hypershift-aws-run-reqserving-e2e step which has set -o xtrace enabled, logging credential file paths to CI logs. Remove or disable set -o xtrace from hypershift-aws-run-reqserving-e2e-commands.sh, or add set +x before credential export statements to prevent sensitive paths from being logged.
✅ Passed checks (14 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: adding a request serving test to HCM periodics, directly aligned with the PR objective to enable REQUEST_SERVING_COMPONENT_TEST in the HCM periodic job.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed The PR modifies only CI/CD YAML configuration files, not Go test code. The custom check applies to Ginkgo test names in Go source files, making it not applicable to this YAML-only change.
Test Structure And Quality ✅ Passed PR contains no Ginkgo test code; it only modifies workflow configuration YAML and adds documentation/tooling files. The custom check is not applicable to this PR's scope.
Microshift Test Compatibility ✅ Passed PR only updates CI configuration YAML to schedule existing tests via the hypershift-aws-reqserving-e2e workflow. No new Ginkgo e2e test code is added, so MicroShift compatibility check does not apply.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This PR only modifies CI configuration YAML for scheduling existing workflows; it does not add new Ginkgo e2e test code, so SNO compatibility check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed CI-Operator test config file change only. No deployment manifests, operator code, controllers, or scheduling constraints present.
Ote Binary Stdout Contract ✅ Passed PR only modifies YAML configuration and adds helper tools; does not add/modify test binaries or OTE implementations that communicate with openshift-tests.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR adds CI configuration only (YAML job definition), not new Ginkgo test code. The custom check applies to new test implementations, which are not present here.
No-Weak-Crypto ✅ Passed PR modifies only YAML CI configuration; no weak crypto patterns, custom implementations, or insecure comparisons are introduced.
Container-Privileges ✅ Passed PR modifies CI-operator config (not container/K8s manifest) and contains no privilege-escalation settings like privileged:true, hostPID, hostNetwork, hostIPC, SYS_ADMIN, allowPrivilegeEscalation.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot requested review from csrwng and jparrill May 29, 2026 21:56
@jiezhao16
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-hcm-e2e-aws

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@jiezhao16: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@jiezhao16
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-hcm-e2e-aws-request-serving

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@jiezhao16: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21__periodics-hcm.yaml`:
- Around line 41-47: The new periodic job "e2e-aws-request-serving" was added to
ci-operator config but the generated Prow job artifacts under ci-operator/jobs
were not updated; run the repository's job generation (e.g., execute make update
or the project’s generation target) to regenerate Prow job configs, verify the
generated changes include the new periodic job, and commit those generated files
(or if generation intentionally yields no diffs, add a short note/evidence in
the PR describing why no generated changes occurred); ensure the job name
"e2e-aws-request-serving" appears in the regenerated artifacts before finalizing
the PR.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 3882d26e-43a1-4224-a023-259434eff010

📥 Commits

Reviewing files that changed from the base of the PR and between cfed648 and ca28fa2.

⛔ Files ignored due to path filters (1)
  • ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.21-periodics.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (1)
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21__periodics-hcm.yaml

Use the dedicated reqserving-e2e workflow which creates a standalone
IPI cluster with MachineSets and autoscaler, matching production ROSA
HCP topology more closely than the nested management cluster approach.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@openshift-merge-bot
Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@jiezhao16: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
periodic-ci-openshift-hypershift-release-4.21-periodics-hcm-reqserving-e2e-aws N/A periodic Periodic changed
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

♻️ Duplicate comments (1)
ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21__periodics-hcm.yaml (1)

41-47: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Regenerate CI artifacts for the new periodic test entry.

This adds a new periodic test (reqserving-e2e-aws), which is a structural ci-operator/config change and should be accompanied by regenerated ci-operator/jobs/** output via make update (or explicit evidence that generation is intentionally no-op).

As per coding guidelines, “CI configuration files in ci-operator/config/ must be regenerated via make update after modifications, which generates Prow job configs and validates configuration.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21__periodics-hcm.yaml`
around lines 41 - 47, You added a new periodic ci-operator config entry for
reqserving-e2e-aws (workflow: hypershift-aws-reqserving-e2e) but did not
regenerate derived job artifacts; run the repository generation step (invoke
`make update`) to regenerate ci-operator/jobs/** and prow job outputs so the new
periodic is reflected, then commit the updated generated files alongside the
config change (or include a short note if generation is intentionally skipped).
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In
`@ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21__periodics-hcm.yaml`:
- Around line 41-47: You added a new periodic ci-operator config entry for
reqserving-e2e-aws (workflow: hypershift-aws-reqserving-e2e) but did not
regenerate derived job artifacts; run the repository generation step (invoke
`make update`) to regenerate ci-operator/jobs/** and prow job outputs so the new
periodic is reflected, then commit the updated generated files alongside the
config change (or include a short note if generation is intentionally skipped).

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 00b7fc23-9b73-4725-a83f-1eb044e0773f

📥 Commits

Reviewing files that changed from the base of the PR and between ca28fa2 and fcd61e3.

⛔ Files ignored due to path filters (1)
  • ci-operator/jobs/openshift/hypershift/openshift-hypershift-release-4.21-periodics.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (1)
  • ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.21__periodics-hcm.yaml

@jiezhao16
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-hcm-reqserving-e2e-aws

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@jiezhao16: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@jiezhao16
Copy link
Copy Markdown
Contributor Author

/pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-hcm-reqserving-e2e-aws

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@jiezhao16: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@csrwng
Copy link
Copy Markdown
Contributor

csrwng commented Jun 3, 2026

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jun 3, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 3, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: csrwng, jiezhao16

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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 Jun 3, 2026
@jiezhao16
Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@jiezhao16: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-merge-bot openshift-merge-bot Bot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jun 3, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jun 3, 2026

@jiezhao16: The following tests 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/rehearse/periodic-ci-openshift-hypershift-release-4.21-periodics-hcm-e2e-aws cfed648 link unknown /pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-hcm-e2e-aws
ci/rehearse/periodic-ci-openshift-hypershift-release-4.21-periodics-hcm-reqserving-e2e-aws fcd61e3 link unknown /pj-rehearse periodic-ci-openshift-hypershift-release-4.21-periodics-hcm-reqserving-e2e-aws

Full PR test history. Your PR dashboard.

Details

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.

@openshift-merge-bot openshift-merge-bot Bot merged commit 7b3044d into openshift:main Jun 3, 2026
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. 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. rehearsals-ack Signifies that rehearsal jobs have been acknowledged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants