Skip to content

Limit recert hardware jobs to intranet#80482

Open
omertuc wants to merge 1 commit into
openshift:mainfrom
omertuc:intra
Open

Limit recert hardware jobs to intranet#80482
omertuc wants to merge 1 commit into
openshift:mainfrom
omertuc:intra

Conversation

@omertuc

@omertuc omertuc commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Otherwise ofcir times out on acquire when on the wrong cluster

Summary by CodeRabbit

This PR updates the rh-ecosystem-edge recert CI operator configs to restrict the baremetalds-sno-recert-cluster-rename test to run only on intranet-capable clusters. Concretely, it adds a capabilities: [intranet] entry to the baremetalds-sno-recert-cluster-rename test in the following CI config files:

  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-main.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.14.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.16.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.18.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.19.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.20.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.21.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.22.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-v0.yaml

Practical effect: these hardware-dependent recert jobs will only be scheduled on clusters labeled for intranet access, preventing failures (e.g., ofcir acquire timeouts) when they would otherwise run on clusters lacking the required internal connectivity.

Note: I verified the changes in the repository; the jobs still use the existing cluster_profile (equinix-edge-enablement) in the shown hunks — the PR only adds the intranet capability flag.

@coderabbitai

coderabbitai Bot commented Jun 12, 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: c725ec16-c646-4a89-b14c-41625f5e4314

📥 Commits

Reviewing files that changed from the base of the PR and between b27dbc1 and 7c47c51.

⛔ Files ignored due to path filters (9)
  • ci-operator/jobs/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-main-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.14-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.16-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.18-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.19-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.20-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.21-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.22-presubmits.yaml is excluded by !ci-operator/jobs/**
  • ci-operator/jobs/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-v0-presubmits.yaml is excluded by !ci-operator/jobs/**
📒 Files selected for processing (9)
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-main.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.14.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.16.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.18.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.19.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.20.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.21.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.22.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-v0.yaml
✅ Files skipped from review due to trivial changes (2)
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.14.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.18.yaml
🚧 Files skipped from review as they are similar to previous changes (3)
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.22.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.16.yaml
  • ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-main.yaml

Walkthrough

Adds a capabilities: ["intranet"] declaration to the baremetalds-sno-recert-cluster-rename test job in nine recert ci-operator configuration files; no other fields or jobs are changed in the provided diffs.

Changes

Intranet Capability for Recert Tests

Layer / File(s) Summary
Intranet capability across recert CI configurations
ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-main.yaml, ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.14.yaml, ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.16.yaml, ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.18.yaml, ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.19.yaml, ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.20.yaml, ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.21.yaml, ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-release-4.22.yaml, ci-operator/config/rh-ecosystem-edge/recert/rh-ecosystem-edge-recert-v0.yaml
Each baremetalds-sno-recert-cluster-rename job gains a capabilities block declaring intranet, inserted before existing skip_if_only_changed/steps fields.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

lgtm, rehearsals-ack

🚥 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 clearly and specifically describes the main change: enabling intranet capability for recert hardware jobs.
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 Scanned the recert YAMLs and all Go files for Ginkgo title constructs (It/Describe/Context/When) and none were found; PR only updates job capabilities.
Test Structure And Quality ✅ Passed PR diff only updates recert CI YAML configs by adding capabilities: - intranet; no Ginkgo test code (Describe/It/Eventually/etc.) was changed, so the test-structure quality check is not applicable.
Microshift Test Compatibility ✅ Passed PR #80482 only adds capabilities: [intranet] to recert CI operator YAML job entries; no new Ginkgo e2e test code changes are present, so MicroShift compatibility is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR modifies only CI/CD YAML configuration files, not Ginkgo e2e test code. Custom check for SNO compatibility applies only to new test code, making it inapplicable here.
Topology-Aware Scheduling Compatibility ✅ Passed PR diff in the listed rh-ecosystem-edge recert YAMLs only adds capabilities: [intranet] to the baremetalds-sno-recert-cluster-rename test; no pod scheduling constraints (affinity/anti-affinity/...
Ote Binary Stdout Contract ✅ Passed PR #80482 only edits recert YAML configs to add capabilities: [intranet]; no Go/OTE binary stdout-code changes. citeturn1view0turn2view2
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR #80482 changes only ci-operator recert YAML files (capabilities/intranet) and adds no new Ginkgo/Go e2e test code; IPv4/IPv6 assumptions check is not applicable.
No-Weak-Crypto ✅ Passed PR diff only adds capabilities: [intranet] to recert YAML jobs/presubmits; no occurrences of MD5/SHA1/DES/RC4/3DES/Blowfish/ECB or crypto code found.
Container-Privileges ✅ Passed In the updated recert YAMLs, the only security-related change is adding capabilities: [intranet]; no privileged/hostPID/hostNetwork/hostIPC/SYS_ADMIN/allowPrivilegeEscalation/runAsUser:0 found.
No-Sensitive-Data-In-Logs ✅ Passed Checked the recert YAMLs for the PR: only added capabilities: [intranet]. Searches for password/token/API-key/echo/oc login/kubectl/http found none (only idp-htpasswd ref).

✏️ 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 commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: omertuc

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 added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 12, 2026
@omertuc

omertuc commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-rh-ecosystem-edge-recert-main-baremetalds-sno-recert-cluster-rename

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

@omertuc

omertuc commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-rh-ecosystem-edge-recert-main-baremetalds-sno-recert-cluster-rename

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

Otherwise ofcir times out on acquire when on the wrong cluster
@omertuc

omertuc commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

/pj-rehearse pull-ci-rh-ecosystem-edge-recert-main-baremetalds-sno-recert-cluster-rename

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@omertuc: 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]
@omertuc: 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-rh-ecosystem-edge-recert-release-4.18-baremetalds-sno-recert-cluster-rename rh-ecosystem-edge/recert presubmit Ci-operator config changed
pull-ci-rh-ecosystem-edge-recert-v0-baremetalds-sno-recert-cluster-rename rh-ecosystem-edge/recert presubmit Ci-operator config changed
pull-ci-rh-ecosystem-edge-recert-release-4.16-baremetalds-sno-recert-cluster-rename rh-ecosystem-edge/recert presubmit Ci-operator config changed
pull-ci-rh-ecosystem-edge-recert-release-4.22-baremetalds-sno-recert-cluster-rename rh-ecosystem-edge/recert presubmit Ci-operator config changed
pull-ci-rh-ecosystem-edge-recert-release-4.21-baremetalds-sno-recert-cluster-rename rh-ecosystem-edge/recert presubmit Ci-operator config changed
pull-ci-rh-ecosystem-edge-recert-release-4.14-baremetalds-sno-recert-cluster-rename rh-ecosystem-edge/recert presubmit Ci-operator config changed
pull-ci-rh-ecosystem-edge-recert-release-4.20-baremetalds-sno-recert-cluster-rename rh-ecosystem-edge/recert presubmit Ci-operator config changed
pull-ci-rh-ecosystem-edge-recert-main-baremetalds-sno-recert-cluster-rename rh-ecosystem-edge/recert presubmit Ci-operator config changed
pull-ci-rh-ecosystem-edge-recert-release-4.19-baremetalds-sno-recert-cluster-rename rh-ecosystem-edge/recert presubmit Ci-operator config 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 12, 2026

Copy link
Copy Markdown
Contributor

@omertuc: 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/rehearse/rh-ecosystem-edge/recert/main/baremetalds-sno-recert-cluster-rename 7c47c51 link unknown /pj-rehearse pull-ci-rh-ecosystem-edge-recert-main-baremetalds-sno-recert-cluster-rename

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

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant