Skip to content

[Draft] - Testing compact installations after capabilities changes#81134

Open
miyadav wants to merge 2 commits into
openshift:mainfrom
miyadav:ocpcloud3368tests
Open

[Draft] - Testing compact installations after capabilities changes#81134
miyadav wants to merge 2 commits into
openshift:mainfrom
miyadav:ocpcloud3368tests

Conversation

@miyadav

@miyadav miyadav commented Jun 26, 2026

Copy link
Copy Markdown
Member

/hold

Summary by CodeRabbit

Added a new Cluster Version Operator periodics CI configuration for the release-5.0 branch in ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml.

This config builds the cluster-version-operator image from Dockerfile.rhel, keeps 5.0 promotion disabled into the ocp namespace, and sets default pod resource requests (cpu: 100m, memory: 200Mi). It also introduces an E2E GCP compact-install periodic test e2e-gcp-compact-install running every 168h with the gcp-qe profile, using CUSTOM_OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE to point to a release image override, and executes the cucushift-installer-rehearse-gcp-ipi-compact workflow. Metadata is recorded for openshift/cluster-version-operator under the periodics variant and release-5.0 branch.

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 26, 2026
@coderabbitai

coderabbitai Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

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

Review profile: CHILL

Plan: Enterprise

Run ID: 1fb37f8b-a1c6-41cb-b1d2-d615c8bf4521

📥 Commits

Reviewing files that changed from the base of the PR and between 6aba18c and ca2505e.

⛔ Files ignored due to path filters (3)
  • ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-periodics.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-postsubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-presubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (1)
  • ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml

Walkthrough

Adds a new periodic CI config for cluster-version-operator on release 5.0, including build and release settings, default pod resources, and an e2e-gcp-compact-install periodic job with generated metadata.

Changes

Release 5.0 periodic config

Layer / File(s) Summary
Build and release settings
ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml
Defines the build root, image mapping from Dockerfile.rhel, 5.0 promotion settings, release integration, and default pod resource requests.
Periodic E2E job and metadata
ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml
Adds the e2e-gcp-compact-install periodic job with its interval, cluster profile, install image override, workflow, and generated metadata.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • memodi
  • oliver-smakal
🚥 Pre-merge checks | ✅ 14 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Microshift Test Compatibility ⚠️ Warning The new periodic provisions an OpenShift compact GCP IPI cluster and has no MicroShift skip/tag/guard, so it assumes unsupported multi-node behavior. Add a MicroShift exclusion/guard in the underlying e2e entry, or keep this job out of MicroShift CI; compact IPI isn’t supported on MicroShift.
✅ Passed checks (14 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the main change: adding compact-install testing for the capabilities-related release CI 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 PR only adds CI YAML; no Ginkgo test titles or code tests were introduced, so the stability check is not applicable.
Test Structure And Quality ✅ Passed PASS: The PR only adds a ci-operator periodic YAML; it contains no Ginkgo It/BeforeEach test code, so this test-structure check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only adds ci-operator periodic config reusing an existing compact-install workflow; no new Ginkgo test bodies or SNO-sensitive assertions were added.
Topology-Aware Scheduling Compatibility ✅ Passed The change is only a ci-operator periodic YAML for CI/test metadata; it adds no deployment manifests, replicas, affinity, node selectors, or PDBs.
Ote Binary Stdout Contract ✅ Passed PR only adds a ci-operator YAML config; no process-level binary code or stdout writes were changed.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR only adds ci-operator YAML; no new Ginkgo test code. It reuses an existing GCP compact workflow rather than adding IPv4-sensitive logic.
No-Weak-Crypto ✅ Passed The added CVO periodic YAML contains only build/test config; no MD5/SHA1/DES/RC4/3DES/Blowfish/ECB or custom crypto code was found.
Container-Privileges ✅ Passed The new ci-operator YAML only defines build, release, resource, and test settings; it contains no privileged/root/hostPID/hostNetwork/hostIPC/capability or allowPrivilegeEscalation fields.
No-Sensitive-Data-In-Logs ✅ Passed The added CI YAML only defines test config and a release-image override; no log statements, credentials, tokens, PII, or other sensitive data appear.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@miyadav

miyadav commented Jun 26, 2026

Copy link
Copy Markdown
Member Author

/pj-rehearse periodic-ci-openshift-cluster-version-operator-release-5.0-periodics-e2e-gcp-compact-install

@openshift-ci

openshift-ci Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: miyadav
Once this PR has been reviewed and has the lgtm label, please assign pratikmahajan for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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-merge-bot

Copy link
Copy Markdown
Contributor

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

@openshift-ci openshift-ci Bot requested review from DavidHurta and hongkailiu June 26, 2026 10:35

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

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/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml`:
- Around line 32-33: The periodic job is hardcoding a specific CI pullspec in
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE instead of using the configured release
alias. Update the dependencies in the cluster-version-operator periodic config
to reference the ci-operator release alias from the existing releases section,
and remove the fixed
registry.build10.ci.openshift.org/ci-ln-llimy2k/release:latest value so the job
resolves the payload dynamically.
🪄 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: 359560c7-157e-4c40-be18-6a88435734f1

📥 Commits

Reviewing files that changed from the base of the PR and between dfc2ca4 and 6aba18c.

⛔ Files ignored due to path filters (3)
  • ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-periodics.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-postsubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0-presubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (1)
  • ci-operator/config/openshift/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml

Comment on lines +32 to +33
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: registry.build10.ci.openshift.org/ci-ln-llimy2k/release:latest

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Use the ci-operator release alias here instead of a fixed CI pullspec.

Hardcoding registry.build10.ci.openshift.org/ci-ln-llimy2k/release:latest ties this periodic to one ephemeral CI namespace and bypasses the releases configuration above, so the job can start pulling the wrong payload or fail once that namespace is cleaned up.

Suggested fix
     dependencies:
-      OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: registry.build10.ci.openshift.org/ci-ln-llimy2k/release:latest
+      OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:latest
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: registry.build10.ci.openshift.org/ci-ln-llimy2k/release:latest
dependencies:
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE: release:latest
🤖 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/cluster-version-operator/openshift-cluster-version-operator-release-5.0__periodics.yaml`
around lines 32 - 33, The periodic job is hardcoding a specific CI pullspec in
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE instead of using the configured release
alias. Update the dependencies in the cluster-version-operator periodic config
to reference the ci-operator release alias from the existing releases section,
and remove the fixed
registry.build10.ci.openshift.org/ci-ln-llimy2k/release:latest value so the job
resolves the payload dynamically.

@miyadav

miyadav commented Jun 26, 2026

Copy link
Copy Markdown
Member Author

/pj-rehearse periodic-ci-openshift-cluster-version-operator-release-5.0-periodics-e2e-gcp-compact-install

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@miyadav miyadav force-pushed the ocpcloud3368tests branch from 31f71da to ca2505e Compare June 26, 2026 11:21
@miyadav

miyadav commented Jun 26, 2026

Copy link
Copy Markdown
Member Author

/pj-rehearse periodic-ci-openshift-cluster-version-operator-release-5.0-periodics-e2e-gcp-compact-install

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@miyadav: 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
pull-ci-openshift-cluster-version-operator-release-5.0-periodics-images openshift/cluster-version-operator presubmit Presubmit changed
periodic-ci-openshift-cluster-version-operator-release-5.0-periodics-e2e-gcp-compact-install 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.

@openshift-ci

openshift-ci Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@miyadav: 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/generated-config ca2505e link true /test generated-config

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant