Skip to content

[WIP] Add jobs for Cilium for OCP 4.22 on Kubevirt and AWS-Private#79291

Open
mgencur wants to merge 1 commit into
openshift:mainfrom
mgencur:cilium_4.22
Open

[WIP] Add jobs for Cilium for OCP 4.22 on Kubevirt and AWS-Private#79291
mgencur wants to merge 1 commit into
openshift:mainfrom
mgencur:cilium_4.22

Conversation

@mgencur
Copy link
Copy Markdown
Contributor

@mgencur mgencur commented May 14, 2026

This will probably depend on #78338 to ignore the proper tests and apply the right network policies.

This PR updates OpenShift CI's HyperShift periodic test configuration (ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22__periodics.yaml) to add two Cilium-focused conformance jobs for OCP 4.22.

Practical impact:

  • Adds periodic HyperShift test coverage for Cilium networking on two deployment targets (AWS private and KubeVirt/baremetal), bringing 4.22 in line with existing Cilium test patterns used for other OCP versions.

Changes:

  1. e2e-aws-conformance-cilium-private

    • Location: openshift-hypershift-release-4.22__periodics.yaml (tests[] entry)
    • Schedule: cron: "0 0 * * 0" (weekly, Sundays)
    • Cluster profile: aws-qe
    • Env highlights: BASE_DOMAIN=qe.devcluster.openshift.com, TEST_ARGS includes --disable-monitor for apiserver-incluster-availability and service-type-load-balancer-availability
    • TEST_SKIPS: a multiline skip list that excludes several NetworkPolicy, Unidling, DNS and HTTPRoute-related tests (matches the existing skip pattern used for Cilium jobs)
    • Test/workflow: runs hypershift-conformance chain via the cucushift-installer-rehearse-aws-ipi-ovn-hypershift-private-guest-cilium workflow
    • Notes: Author notes this likely depends on PR Fix Cilium TEST_SKIPS for 4.22 conformance job #78338 to correctly ignore/handle tests and network policies.
  2. e2e-kubevirt-metal-conformance-cilium

    • Location: openshift-hypershift-release-4.22__periodics.yaml (tests[] entry)
    • Schedule: cron: "0 0 * * 0" (weekly, Sundays)
    • Cluster profile: equinix-ocp-hcp
    • Capabilities: intranet
    • Env highlights: Konflux/operator catalog/subscription flags, LVM/ODF/MetalLB operator subscription/index settings (channels/sources aligned to 4.22/4.21)
    • Test/workflow: hypershift-kubevirt-baremetalds-conformance-cilium

Other notes:

@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 May 14, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 14, 2026

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: 12baa3d5-ac66-4614-8110-8173335435c2

📥 Commits

Reviewing files that changed from the base of the PR and between 931d038 and b4dca93.

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

Walkthrough

Two new periodic HyperShift CI job definitions were added to the OpenShift Hypershift 4.22 periodics file: e2e-aws-conformance-cilium-private (AWS QE profile) and e2e-kubevirt-metal-conformance-cilium (Equinix profile, intranet capability), each with schedule, env, and workflow settings.

Changes

HyperShift Periodic Test Definitions

Layer / File(s) Summary
AWS Conformance Cilium Private job
ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22__periodics.yaml
Adds e2e-aws-conformance-cilium-private periodic entry with cron: "0 0 * * 0", cluster_profile: aws-qe, BASE_DOMAIN, TEST_ARGS disable list, multiline TEST_SKIPS, and test: - chain: hypershift-conformance wired to the cucushift-installer-rehearse-aws-ipi-ovn-hypershift-private-guest-cilium workflow.
KubeVirt Metal Conformance Cilium job
ci-operator/config/openshift/hypershift/openshift-hypershift-release-4.22__periodics.yaml
Adds e2e-kubevirt-metal-conformance-cilium periodic entry with cron: "0 0 * * 0", capabilities: [intranet], cluster_profile: equinix-ocp-hcp, and environment variables for Konflux/LVM/ODF/MetalLB catalogs/indexes/channels, running the hypershift-kubevirt-baremetalds-conformance-cilium workflow.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 12
✅ Passed checks (12 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: adding Cilium test jobs for OCP 4.22 on both Kubevirt and AWS-Private platforms, which matches the two new test definitions added.
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 custom check targets Ginkgo test names in Go test code. This PR only modifies CI operator YAML configuration, not Ginkgo tests. The check is not applicable to this PR.
Test Structure And Quality ✅ Passed PR modifies YAML CI configuration files only, not Ginkgo test code. Custom check applies to Go test implementations, which are not present.
Microshift Test Compatibility ✅ Passed This PR adds CI job config definitions to openshift/release, not actual Ginkgo test code. The MicroShift compatibility check applies to Ginkgo tests, which are absent here.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This PR modifies only a YAML CI config file, adding two CI job definitions. The custom check targets Ginkgo e2e tests (Go code with It/Describe), which are not present here.
Topology-Aware Scheduling Compatibility ✅ Passed This PR adds CI test job definitions, not deployment manifests or operator code. No scheduling constraints introduced.
Ote Binary Stdout Contract ✅ Passed PR adds YAML CI configurations and a configuration generation utility. The utility uses log.Default() which writes to stderr. No OTE test binaries introducing stdout violations are included.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed Custom check is not applicable. PR adds only YAML CI job configuration files (in openshift/release), not new Ginkgo e2e test code. Actual test implementations are in openshift/origin.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@openshift-ci openshift-ci Bot requested review from devguyio and muraee May 14, 2026 09:31
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 14, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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.22__periodics.yaml`:
- Line 198: Replace the deprecated key "minimum_interval: 168h" with a valid
periodic scheduler key by changing it to "interval: 168h" (or use a "cron:"
expression if preferred) inside the __periodics.yaml test entry; ensure the
periodic entry uses only "tests:" entries with either "interval" or "cron"
scheduling and remove any remaining "minimum_interval" occurrences so the test
conforms to the periodics schema.
🪄 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: dd9e091c-09ca-47cc-8d5f-45e1788407ee

📥 Commits

Reviewing files that changed from the base of the PR and between 0a0ff32 and 931d038.

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

the local DNS endpoint \[Suite:openshift/conformance/parallel\]
workflow: hypershift-aws-conformance-cilium
- as: e2e-aws-conformance-cilium-private
minimum_interval: 168h
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.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Use interval or cron for periodic scheduling in this file.

minimum_interval should be replaced with interval (or cron) for this __periodics.yaml test entry.

Suggested fix
-  minimum_interval: 168h
+  interval: 168h

As per coding guidelines, "ci-operator/config/**/*__periodics.yaml: Periodic tests in variant periodic configuration files (__periodics.yaml) should contain only tests: entries with interval: or cron: scheduling".

📝 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
minimum_interval: 168h
interval: 168h
🤖 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.22__periodics.yaml`
at line 198, Replace the deprecated key "minimum_interval: 168h" with a valid
periodic scheduler key by changing it to "interval: 168h" (or use a "cron:"
expression if preferred) inside the __periodics.yaml test entry; ensure the
periodic entry uses only "tests:" entries with either "interval" or "cron"
scheduling and remove any remaining "minimum_interval" occurrences so the test
conforms to the periodics schema.

@mgencur
Copy link
Copy Markdown
Contributor Author

mgencur commented May 14, 2026

/pj-rehearse periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-kubevirt-metal-conformance-cilium periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-aws-conformance-cilium-private

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@mgencur: 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]
@mgencur: 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.22-periodics-e2e-aws-conformance-cilium-private N/A periodic Periodic changed
periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-kubevirt-metal-conformance-cilium 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.

@mgencur
Copy link
Copy Markdown
Contributor Author

mgencur commented May 14, 2026

/pj-rehearse periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-kubevirt-metal-conformance-cilium periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-aws-conformance-cilium-private

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

@mgencur: 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

@mgencur: job(s): either don't exist or were not found to be affected, and cannot be rehearsed

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 14, 2026

@mgencur: 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.22-periodics-e2e-aws-conformance-cilium-private b4dca93 link unknown /pj-rehearse periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-aws-conformance-cilium-private
ci/rehearse/periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-kubevirt-metal-conformance-cilium b4dca93 link unknown /pj-rehearse periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-kubevirt-metal-conformance-cilium

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/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