Skip to content

Adding three job profiles for migrating ipfailover test cases#81103

Closed
melvinjoseph86 wants to merge 1 commit into
openshift:mainfrom
melvinjoseph86:prowjob_ipfailover
Closed

Adding three job profiles for migrating ipfailover test cases#81103
melvinjoseph86 wants to merge 1 commit into
openshift:mainfrom
melvinjoseph86:prowjob_ipfailover

Conversation

@melvinjoseph86

@melvinjoseph86 melvinjoseph86 commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

This change updates the OpenShift CI configuration for openshift/images to add test coverage for the ipfailover migration path. It introduces three new optional end-to-end jobs for Metal, OpenStack, and vSphere environments, each running the ipfailover test suite from tests-extension with a single worker to keep execution serialized. These jobs expand CI validation across the major target platforms where the migrated test cases need to be verified.

@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 25, 2026
@openshift-ci

openshift-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

This PR adds one tests-extension sanity job and three optional ipfailover-tests-ext e2e jobs to the OpenShift images master CI configuration.

Changes

OpenShift image CI jobs

Layer / File(s) Summary
tests-extension sanity job
ci-operator/config/openshift/images/openshift-images-master.yaml
Adds a run_if_changed job for tests-extension/ that runs make verify, make build, and make verify-metadata from src.
ipfailover e2e jobs
ci-operator/config/openshift/images/openshift-images-master.yaml
Adds three optional jobs that run ./bin/ipfailover-tests-ext run-suite ipfailover/all --max-concurrency=1 on metal, OpenStack, and vSphere workflows.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested reviewers

  • hector-vido
  • Prucek
  • mtulio
🚥 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 matches the main change: adding three new ipfailover-related CI job profiles for test migration.
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 static ci-operator job names in YAML; no Ginkgo It/Describe/Context/When titles or dynamic test names were introduced.
Test Structure And Quality ✅ Passed No Ginkgo test code changed; this PR only adds ci-operator/job YAML, so the test-structure check is not applicable.
Microshift Test Compatibility ✅ Passed Only CI job YAML was added; no new Ginkgo test bodies or names were introduced, so the MicroShift compatibility check is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed The PR only adds CI job config invoking an existing ipfailover suite; it introduces no new Ginkgo test bodies or SNO-sensitive assertions.
Topology-Aware Scheduling Compatibility ✅ Passed Only a ci-operator job config changed; no deployment manifests, operator code, or controller scheduling logic was added.
Ote Binary Stdout Contract ✅ Passed Only ci-operator YAML changed; no Go/test entrypoints or stdout-writing setup were modified, so the OTE stdout contract isn't implicated.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The PR only changes CI job YAML; no Ginkgo test source was added or modified, so IPv4/disconnected compatibility isn’t applicable.
No-Weak-Crypto ✅ Passed No exact weak-crypto algorithms or custom crypto were added in the PR diff; matching comparisons were benign shell conditionals, not secret/token checks.
Container-Privileges ✅ Passed Edited YAML only adds job definitions; searches found no privileged/hostPID/hostNetwork/hostIPC/SYS_ADMIN/allowPrivilegeEscalation/runAsUser:0 settings.
No-Sensitive-Data-In-Logs ✅ Passed The new jobs only add ci-operator test invocations and secret mounts; no logging, echoing, or hardcoded sensitive values were introduced.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ 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.

@openshift-ci

openshift-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: melvinjoseph86
Once this PR has been reviewed and has the lgtm label, please assign sdodson 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

[REHEARSALNOTIFIER]
@melvinjoseph86: 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-images-master-e2e-metal-ipi-tests-ext openshift/images presubmit Presubmit changed
pull-ci-openshift-images-master-e2e-openstack-ipi-tests-ext openshift/images presubmit Presubmit changed
pull-ci-openshift-images-master-e2e-vsphere-ovn-tests-ext openshift/images presubmit Presubmit changed
pull-ci-openshift-images-master-tests-extension openshift/images presubmit Presubmit changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

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.

@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/images/openshift-images-master.yaml`:
- Around line 58-122: The openshift-images-master config now defines new jobs,
but the generated downstream Prow job artifacts were not updated. Regenerate the
job configs with make update so the new entries from the config are reflected in
the files under ci-operator/jobs/openshift/images/, and commit those generated
changes alongside the config update.
🪄 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: 12fb29fa-d20f-46b0-a80e-6de9360d1fa7

📥 Commits

Reviewing files that changed from the base of the PR and between 6a38d37 and f7874e3.

⛔ Files ignored due to path filters (1)
  • ci-operator/jobs/openshift/images/openshift-images-master-presubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (1)
  • ci-operator/config/openshift/images/openshift-images-master.yaml

Comment on lines +58 to +122
- as: tests-extension
run_if_changed: ^(tests-extension/)
steps:
test:
- as: sanity
commands: |
cd tests-extension
make verify
make build
make verify-metadata
from: src
resources:
requests:
cpu: 100m
- always_run: false
as: e2e-metal-ipi-tests-ext
optional: true
steps:
cluster_profile: equinix-ocp-metal
test:
- as: test
cli: latest
commands: |
cd tests-extension
make build
./bin/ipfailover-tests-ext run-suite ipfailover/all --max-concurrency=1
from: src
resources:
requests:
cpu: 100m
workflow: baremetalds-e2e-ovn-ipv4
- always_run: false
as: e2e-openstack-ipi-tests-ext
optional: true
steps:
cluster_profile: openstack-vexxhost
test:
- as: test
cli: latest
commands: |
cd tests-extension
make build
./bin/ipfailover-tests-ext run-suite ipfailover/all --max-concurrency=1
from: src
resources:
requests:
cpu: 100m
workflow: openshift-e2e-openstack-ipi
- always_run: false
as: e2e-vsphere-ovn-tests-ext
optional: true
steps:
cluster_profile: vsphere-elastic
test:
- as: test
cli: latest
commands: |
cd tests-extension
make build
./bin/ipfailover-tests-ext run-suite ipfailover/all --max-concurrency=1
from: src
resources:
requests:
cpu: 100m
workflow: openshift-e2e-vsphere-ovn

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

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Checking for generated Prow job files for openshift/images..."
fd -p 'openshift-images.*\.yaml$' ci-operator/jobs/

echo
echo "Looking for the newly added job names in generated job configs..."
rg -n -C2 'tests-extension|e2e-metal-ipi-tests-ext|e2e-openstack-ipi-tests-ext|e2e-vsphere-ovn-tests-ext' ci-operator/jobs/

Repository: openshift/release

Length of output: 50374


Regenerate and include downstream Prow job artifacts.
The modified config file ci-operator/config/openshift/images/openshift-images-master.yaml adds four new tests (tests-extension, e2e-metal-ipi-tests-ext, e2e-openstack-ipi-tests-ext, e2e-vsphere-ovn-tests-ext), but the corresponding generated files in ci-operator/jobs/openshift/images/ do not contain these new job definitions.

Run make update to regenerate the Prow job configuration files and commit the resulting changes to ci-operator/jobs/.
[classify_review_comment]

🤖 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/images/openshift-images-master.yaml` around
lines 58 - 122, The openshift-images-master config now defines new jobs, but the
generated downstream Prow job artifacts were not updated. Regenerate the job
configs with make update so the new entries from the config are reflected in the
files under ci-operator/jobs/openshift/images/, and commit those generated
changes alongside the config update.

Sources: Coding guidelines, Learnings

@openshift-ci

openshift-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

@melvinjoseph86: This PR was included in a payload test run from openshift/images#243
trigger 0 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

1 similar comment
@openshift-ci

openshift-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

@melvinjoseph86: This PR was included in a payload test run from openshift/images#243
trigger 0 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

@melvinjoseph86

Copy link
Copy Markdown
Contributor Author

/payload-job-with-prs pull-ci-openshift-images-master-e2e-metal-ipi-tests-ext images#243

@openshift-ci

openshift-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

@melvinjoseph86: the repo openshift/release does not contribute to the OpenShift official images, or the base branch is not currently having images promoted

@melvinjoseph86

Copy link
Copy Markdown
Contributor Author

/payload-job-with-prs pull-ci-openshift-images-master-e2e-metal-ipi-tests-ext openshift/images#243

@openshift-ci

openshift-ci Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

@melvinjoseph86: the repo openshift/release does not contribute to the OpenShift official images, or the base branch is not currently having images promoted

@melvinjoseph86

Copy link
Copy Markdown
Contributor Author

/close
in favor of #81231

@openshift-ci openshift-ci Bot closed this Jun 29, 2026
@openshift-ci

openshift-ci Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

@melvinjoseph86: Closed this PR.

Details

In response to this:

/close
in favor of #81231

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.

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

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant