Skip to content

NO-ISSUE: Consider centos-10 stream for OKD clusters - #31487

Open
pablintino wants to merge 1 commit into
openshift:mainfrom
pablintino:okd-job-names-test
Open

NO-ISSUE: Consider centos-10 stream for OKD clusters#31487
pablintino wants to merge 1 commit into
openshift:mainfrom
pablintino:okd-job-names-test

Conversation

@pablintino

@pablintino pablintino commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This change adds centos-10 as the expected stream of OKD jobs. From now, jobs named okd should always match the only available stream, centos-10.

Summary by CodeRabbit

  • Bug Fixes
    • Improved validation of standalone cluster operating system configurations.
    • Correctly detects OKD clusters and verifies the required okd-scos job naming.
    • Updated stream selection for OKD, RHEL CoreOS 9 and 10, and runtime-only scenarios.
    • Upgrade validation now selects the appropriate RHEL version from the installation version, defaulting to RHEL 10 when needed.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: automatic mode

@openshift-ci-robot

Copy link
Copy Markdown

@pablintino: This pull request explicitly references no jira issue.

Details

In response to this:

This change adds centos-10 as the expected stream of OKD jobs. From now, jobs named okd should always match the only available stream, centos-10.

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-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 5, 2026
@openshift-ci openshift-ci Bot added the ready-for-human-review Indicates a PR has been reviewed by automated tools and is ready for human review label Aug 5, 2026
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

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: b78b3990-a969-4888-a9cd-ef489f68a4be

📥 Commits

Reviewing files that changed from the base of the PR and between 96002ae and f32f8cd.

📒 Files selected for processing (1)
  • test/extended/ci/job_names.go
🚧 Files skipped from review as they are similar to previous changes (1)
  • test/extended/ci/job_names.go

Walkthrough

The test now fetches cluster context before validation. It checks the okd-scos job-name marker and uses the context to select the standalone node OS stream.

Changes

Standalone OS validation

Layer / File(s) Summary
Cluster context and job-name validation
test/extended/ci/job_names.go
The test derives OKD status from the desired cluster version, validates the full job-name marker, and passes the cluster context to validateStandaloneNodeOS.
OS stream selection
test/extended/ci/job_names.go
validateStandaloneNodeOS selects centos-10 for OKD and preserves explicit RHEL 9, RHEL 10, runc, and installation-version fallback handling.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: sjenning, p0lyn0mial

🚥 Pre-merge checks | ✅ 4 | ❌ 11

❌ Failed checks (1 warning, 10 inconclusive)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Stable And Deterministic Test Names ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Test Structure And Quality ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Microshift Test Compatibility ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Single Node Openshift (Sno) Test Compatibility ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Topology-Aware Scheduling Compatibility ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Ote Binary Stdout Contract ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Ipv6 And Disconnected Network Test Compatibility ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
No-Weak-Crypto ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
Container-Privileges ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
No-Sensitive-Data-In-Logs ❓ Inconclusive Repository clone failed, so this custom check could not run with code access. Retry the review run. If this persists, inspect pre-merge custom-check logs for infrastructure or agent runtime failures.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes adding the centos-10 stream for OKD clusters, which is the main change.
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.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


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

@openshift-ci
openshift-ci Bot requested review from p0lyn0mial and sjenning August 5, 2026 14:52
@pablintino

Copy link
Copy Markdown
Contributor Author

/pipeline required
/test okd-scos-e2e-aws-ovn

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@pablintino

Copy link
Copy Markdown
Contributor Author

/pipeline required
/test okd-scos-e2e-aws-ovn

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

@openshift-trt

openshift-trt Bot commented Aug 5, 2026

Copy link
Copy Markdown

Risk analysis has seen new tests most likely introduced by this PR.
Please ensure that new tests meet guidelines for naming and stability.

New Test Risks for sha: 09a3843

Job Name New Test Risk
pull-ci-openshift-origin-main-okd-scos-e2e-aws-ovn Medium - "Find all of the input images from origin/scos-5.0 and tag them into the stable stream" is a new test, and was only seen in one job.
pull-ci-openshift-origin-main-okd-scos-e2e-aws-ovn Medium - "Find the input image origin_scos-5.0_tools and tag it into the pipeline" is a new test, and was only seen in one job.

New tests seen in this PR at sha: 09a3843

  • "Find all of the input images from origin/scos-5.0 and tag them into the stable stream" [Total: 1, Pass: 1, Fail: 0, Flake: 0]
  • "Find the input image origin_scos-5.0_tools and tag it into the pipeline" [Total: 1, Pass: 1, Fail: 0, Flake: 0]

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@pablintino

Copy link
Copy Markdown
Contributor Author

/pipeline required
/test okd-scos-e2e-aws-ovn

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

Comment thread test/extended/ci/job_names.go Outdated
clusterVersion, err := oc.AdminConfigClient().ConfigV1().ClusterVersions().Get(context.Background(), "version", metav1.GetOptions{})
o.Expect(err).NotTo(o.HaveOccurred(), "Error getting ClusterVersion version singleton")

isOKD := strings.Contains(clusterVersion.Status.Desired.Version, "okd-scos")

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.

It feels like these checks don't really belong in validateStandaloneNodeOS

Could this isOKD logic / name check be above https://github.com/pablintino/origin/blob/c30e4d8664ac0dd3ebda399ef73d8ab911ec3c12/test/extended/ci/job_names.go#L179

Understand that will lead to a duplicate isOKD check as you need that for the targetStream as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Agree. I've moved the checks to the caller.

This change adds centos-10 as the expected stream of OKD jobs. From now,
jobs named *okd* should always match the only available stream,
centos-10.

Signed-off-by: Pablo Rodriguez Nava <git@amail.pablintino.eu>
@pablintino

Copy link
Copy Markdown
Contributor Author

/pipeline required
/test okd-scos-e2e-aws-ovn

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@petr-muller petr-muller left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2026
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 6, 2026
@petr-muller

Copy link
Copy Markdown
Member

lol microshift does not have a ClusterVersion, this needs to be conditional to "not microshift", ideally just move it to the validateStandaloneNodeOS-calling conditional

/lgtm cancel

https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/31487/pull-ci-openshift-origin-main-e2e-aws-ovn-microshift-serial/2085341557656915968

@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2026
@openshift-ci

openshift-ci Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: pablintino
Once this PR has been reviewed and has the lgtm label, please ask for approval from petr-muller. 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-ci openshift-ci Bot removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 6, 2026
@openshift-trt

openshift-trt Bot commented Aug 6, 2026

Copy link
Copy Markdown

Risk analysis has seen new tests most likely introduced by this PR.
Please ensure that new tests meet guidelines for naming and stability.

New Test Risks for sha: f32f8cd

Job Name New Test Risk
pull-ci-openshift-origin-main-okd-scos-e2e-aws-ovn Medium - "Find all of the input images from origin/scos-5.0 and tag them into the stable stream" is a new test, and was only seen in one job.
pull-ci-openshift-origin-main-okd-scos-e2e-aws-ovn Medium - "Find the input image origin_scos-5.0_tools and tag it into the pipeline" is a new test, and was only seen in one job.

New tests seen in this PR at sha: f32f8cd

  • "Find all of the input images from origin/scos-5.0 and tag them into the stable stream" [Total: 1, Pass: 1, Fail: 0, Flake: 0]
  • "Find the input image origin_scos-5.0_tools and tag it into the pipeline" [Total: 1, Pass: 1, Fail: 0, Flake: 0]

@openshift-ci

openshift-ci Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

@pablintino: 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/prow/e2e-aws-ovn-microshift-serial f32f8cd link true /test e2e-aws-ovn-microshift-serial
ci/prow/e2e-gcp-ovn f32f8cd link true /test e2e-gcp-ovn
ci/prow/e2e-metal-ipi-ovn-ipv6 f32f8cd link true /test e2e-metal-ipi-ovn-ipv6
ci/prow/e2e-aws-ovn-microshift f32f8cd link true /test e2e-aws-ovn-microshift

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

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. ready-for-human-review Indicates a PR has been reviewed by automated tools and is ready for human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants