Skip to content

Make e2e-metal-ipi-ovn-virtualmedia mandatory for CBO#82155

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
elfosardo:re-enable-vmedia-cbo
Jul 20, 2026
Merged

Make e2e-metal-ipi-ovn-virtualmedia mandatory for CBO#82155
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
elfosardo:re-enable-vmedia-cbo

Conversation

@elfosardo

@elfosardo elfosardo commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

The virtualmedia job was unintentionally made optional in 2021 as part of a bulk "sync optional field from jobs to ci-op config" change (48e313a). Restore it as a required presubmit across all active releases (4.15 through 5.1 and main).

Summary by CodeRabbit

Re-enables e2e-metal-ipi-ovn-virtualmedia as a required presubmit for cluster-baremetal-operator across main and release branches 4.15–5.1 by updating the CI job definitions in ci-operator/config/openshift/cluster-baremetal-operator/*.

Practically, the job is no longer marked optional and is no longer disabled via always_run: false; instead it will be selected for CBO runs when code/functional changes are present. To avoid unnecessary runs on documentation/metadata-only changes, each job now adds skip_if_only_changed so it’s skipped when the PR only modifies markdown and top-level governance files (matching the \.md$|^(DCO|LICENSE|OWNERS|PROJECT)$ pattern). The rest of the job wiring (including the intranet capability and underlying baremetalds-e2e-virtualmedia workflow steps) remains unchanged.

@coderabbitai

coderabbitai Bot commented Jul 20, 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: 8b14ac6c-1748-42cd-908f-d872a935e651

📥 Commits

Reviewing files that changed from the base of the PR and between 1d4c892 and 01aeb9a.

⛔ Files ignored due to path filters (12)
  • ci-operator/jobs/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-main-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.15-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.16-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.17-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.18-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.19-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.20-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.21-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.22-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.23-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-5.0-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-5.1-presubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (12)
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-main.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.15.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.16.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.17.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.18.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.19.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.20.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.21.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.22.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.23.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-5.0.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-5.1.yaml
🚧 Files skipped from review as they are similar to previous changes (10)
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.20.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-main.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-5.0.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.18.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.23.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.16.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-5.1.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.15.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.21.yaml
  • ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-release-4.22.yaml

Walkthrough

The e2e-metal-ipi-ovn-virtualmedia CI configurations now skip runs for documentation and selected metadata-only changes while removing the previous always_run and optional settings across main and release branches.

Changes

Virtualmedia CI scheduling

Layer / File(s) Summary
Apply virtualmedia scheduling rules
ci-operator/config/openshift/cluster-baremetal-operator/openshift-cluster-baremetal-operator-*.yaml
The test definitions remove always_run: false and optional: true, and add skip_if_only_changed patterns for Markdown and selected project metadata files while preserving existing wiring.

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

Possibly related PRs

Suggested reviewers: honza, dtantsur, tdomnesc

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the main change: restoring the e2e-metal-ipi-ovn-virtualmedia job to a mandatory presubmit for CBO.
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 only edits ci-operator YAML job config; no Ginkgo test titles or test code were changed.
Test Structure And Quality ✅ Passed Only ci-operator YAML changed; no Ginkgo test code was modified, so the test-quality check is not applicable.
Microshift Test Compatibility ✅ Passed No Ginkgo e2e tests were added or modified; the PR only updates CI YAML to make an existing virtualmedia job required.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only updates ci-operator/job YAML; no Ginkgo tests or test code were added, so the SNO check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed Only ci-operator test selection changed; no deployment manifests, operator code, or scheduling constraints were added.
Ote Binary Stdout Contract ✅ Passed Only ci-operator YAML configs changed; no process-level binary code or stdout writes were touched.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No Ginkgo test code was added or changed; this PR only updates CI job configs for existing presubmits, so the IPv4/disconnected-network check is not applicable.
No-Weak-Crypto ✅ Passed The commit only edits CI YAML for e2e-metal-ipi-ovn-virtualmedia, removing optional/always_run and adding skip_if_only_changed; no weak-crypto patterns appear.
Container-Privileges ✅ Passed Touched ci-operator YAML only changes job selection; no privileged, hostPID/Network/IPC, SYS_ADMIN, root, or allowPrivilegeEscalation settings were added.
No-Sensitive-Data-In-Logs ✅ Passed PASS: Diff only changes CI job config (optional→required, skip_if_only_changed); added lines contain no log statements or sensitive values.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@dtantsur

Copy link
Copy Markdown
Member

/approve

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 20, 2026
@openshift-ci
openshift-ci Bot requested review from dtantsur and honza July 20, 2026 15:02
@elfosardo

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

we're not testing here, we know it will fail, we need to re-enable it to test it in CBO

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@elfosardo: 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 Jul 20, 2026
@elfosardo
elfosardo force-pushed the re-enable-vmedia-cbo branch from 30d9ec6 to edea223 Compare July 20, 2026 15:46
@openshift-merge-bot openshift-merge-bot Bot removed the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jul 20, 2026
@elfosardo

Copy link
Copy Markdown
Contributor Author

/hold

@openshift-ci openshift-ci Bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 20, 2026
@elfosardo
elfosardo force-pushed the re-enable-vmedia-cbo branch from edea223 to 1d4c892 Compare July 20, 2026 15:59
@elfosardo

Copy link
Copy Markdown
Contributor Author

/unhold

@openshift-ci openshift-ci Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Jul 20, 2026
@elfosardo

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@elfosardo: 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 Jul 20, 2026
…perator

The virtualmedia job was unintentionally made optional in 2021 as part
of a bulk "sync optional field from jobs to ci-op config" change
(48e313a). Restore it as a required presubmit across all active
releases (4.15 through 5.1 and main).
@elfosardo
elfosardo force-pushed the re-enable-vmedia-cbo branch from 1d4c892 to 01aeb9a Compare July 20, 2026 18:06
@elfosardo

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@elfosardo: 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 removed the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jul 20, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@elfosardo: 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-baremetal-operator-main-e2e-metal-ipi-ovn-virtualmedia openshift/cluster-baremetal-operator presubmit Presubmit changed
pull-ci-openshift-cluster-baremetal-operator-release-4.15-e2e-metal-ipi-ovn-virtualmedia openshift/cluster-baremetal-operator presubmit Presubmit changed
pull-ci-openshift-cluster-baremetal-operator-release-4.16-e2e-metal-ipi-ovn-virtualmedia openshift/cluster-baremetal-operator presubmit Presubmit changed
pull-ci-openshift-cluster-baremetal-operator-release-4.17-e2e-metal-ipi-ovn-virtualmedia openshift/cluster-baremetal-operator presubmit Presubmit changed
pull-ci-openshift-cluster-baremetal-operator-release-4.18-e2e-metal-ipi-ovn-virtualmedia openshift/cluster-baremetal-operator presubmit Presubmit changed
pull-ci-openshift-cluster-baremetal-operator-release-4.19-e2e-metal-ipi-ovn-virtualmedia openshift/cluster-baremetal-operator presubmit Presubmit changed
pull-ci-openshift-cluster-baremetal-operator-release-4.20-e2e-metal-ipi-ovn-virtualmedia openshift/cluster-baremetal-operator presubmit Presubmit changed
pull-ci-openshift-cluster-baremetal-operator-release-4.21-e2e-metal-ipi-ovn-virtualmedia openshift/cluster-baremetal-operator presubmit Presubmit changed
pull-ci-openshift-cluster-baremetal-operator-release-4.22-e2e-metal-ipi-ovn-virtualmedia openshift/cluster-baremetal-operator presubmit Presubmit changed
pull-ci-openshift-cluster-baremetal-operator-release-4.23-e2e-metal-ipi-ovn-virtualmedia openshift/cluster-baremetal-operator presubmit Presubmit changed
pull-ci-openshift-cluster-baremetal-operator-release-5.0-e2e-metal-ipi-ovn-virtualmedia openshift/cluster-baremetal-operator presubmit Presubmit changed
pull-ci-openshift-cluster-baremetal-operator-release-5.1-e2e-metal-ipi-ovn-virtualmedia openshift/cluster-baremetal-operator presubmit Presubmit 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.

@elfosardo

Copy link
Copy Markdown
Contributor Author

/pj-rehearse ack

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@elfosardo: 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 Jul 20, 2026
@iurygregory

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 20, 2026
@openshift-ci

openshift-ci Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur, elfosardo, iurygregory

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 commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

@elfosardo: all tests passed!

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 7a105f2 into openshift:main Jul 20, 2026
16 checks passed
fracappa pushed a commit to fracappa/release that referenced this pull request Jul 22, 2026
…perator (openshift#82155)

The virtualmedia job was unintentionally made optional in 2021 as part
of a bulk "sync optional field from jobs to ci-op config" change
(48e313a). Restore it as a required presubmit across all active
releases (4.15 through 5.1 and main).
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. 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