Skip to content

Skip endpoint admission tests incompatible with managed clusters#80310

Open
dustman9000 wants to merge 1 commit into
openshift:mainfrom
dustman9000:fix/skip-endpoint-admission-managed
Open

Skip endpoint admission tests incompatible with managed clusters#80310
dustman9000 wants to merge 1 commit into
openshift:mainfrom
dustman9000:fix/skip-endpoint-admission-managed

Conversation

@dustman9000

@dustman9000 dustman9000 commented Jun 9, 2026

Copy link
Copy Markdown
Member

Summary

Skip two [sig-network][endpoints] admission tests in both ROSA HCP and Classic STS conformance workflows.

These tests create ServiceAccounts in kube-system, which is blocked by the managed-cluster-validating-webhooks serviceaccount-validation webhook on ROSA clusters. The test user is not a system: prefixed user, so the webhook correctly denies it.

Tests skipped:

  • [sig-network][endpoints] admission blocks manual creation of EndpointSlices pointing to the cluster or service network
  • [sig-network][endpoints] admission blocks manual creation of Endpoints pointing to the cluster or service network

Files changed

  • ci-operator/step-registry/rosa/aws/hcp/conformance/rosa-aws-hcp-conformance-workflow.yaml
  • ci-operator/step-registry/rosa/aws/sts/conformance/rosa-aws-sts-conformance-workflow.yaml

Summary by CodeRabbit

This PR updates OpenShift CI configuration in the openshift/release repository to skip two conformance tests that are incompatible with managed ROSA clusters.

What changed:

  • Modified the TEST_SKIPS in the ROSA AWS HCP and ROSA AWS STS conformance workflow definitions:
    • admission.*blocks manual creation of EndpointSlices pointing to the cluster or service network
    • admission.*blocks manual creation of Endpoints pointing to the cluster or service network

Why:

  • These tests create ServiceAccounts in the kube-system namespace. On ROSA managed clusters the managed-cluster-validating-webhooks (serviceaccount-validation) webhook blocks such actions for non-system: users, producing false failures unrelated to ROSA functionality.

Impact:

  • Affects ROSA CI conformance runs for both Hosted Control Plane (HCP) and Classic STS workflows. Skipping these tests prevents known false failures from failing CI while preserving other conformance coverage.

Additional notes:

  • The PR author requested rehearse runs for the periodic ROSA HCP and STS e2e jobs to validate the changes.

@coderabbitai

coderabbitai Bot commented Jun 9, 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: ceb34b5e-ccd3-493f-8da4-56a30b3f4c05

📥 Commits

Reviewing files that changed from the base of the PR and between 2c21ddc and e1fb94e.

📒 Files selected for processing (2)
  • ci-operator/step-registry/rosa/aws/hcp/conformance/rosa-aws-hcp-conformance-workflow.yaml
  • ci-operator/step-registry/rosa/aws/sts/conformance/rosa-aws-sts-conformance-workflow.yaml
🚧 Files skipped from review as they are similar to previous changes (2)
  • ci-operator/step-registry/rosa/aws/hcp/conformance/rosa-aws-hcp-conformance-workflow.yaml
  • ci-operator/step-registry/rosa/aws/sts/conformance/rosa-aws-sts-conformance-workflow.yaml

Walkthrough

Two ROSA conformance workflows are updated to expand their test skip patterns. HCP and STS configurations now include additional conformance test skips for admission-blocking manual creation of EndpointSlices and Endpoints resources.

Changes

ROSA Conformance Test Skip Patterns

Layer / File(s) Summary
Conformance test skip patterns for HCP and STS workflows
ci-operator/step-registry/rosa/aws/hcp/conformance/rosa-aws-hcp-conformance-workflow.yaml, ci-operator/step-registry/rosa/aws/sts/conformance/rosa-aws-sts-conformance-workflow.yaml
HCP and STS ROSA conformance workflows expand their TEST_SKIPS lists to add patterns for admission-blocked manual creation of EndpointSlices and Endpoints resources, alongside existing skip patterns.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

🚥 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 summarizes the main change: skipping endpoint admission tests that are incompatible with managed ROSA clusters due to webhook restrictions.
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 Test skip patterns added contain no dynamic information (timestamps, UUIDs, generated IDs, node/pod/namespace names, IP addresses) and use stable, descriptive static strings.
Test Structure And Quality ✅ Passed Custom check for Ginkgo test quality is not applicable; PR only modifies YAML workflow config files (TEST_SKIPS) with no Ginkgo test code changes.
Microshift Test Compatibility ✅ Passed This PR does not add new Ginkgo e2e tests; it only modifies YAML workflow configurations to skip existing tests via TEST_SKIPS patterns. The check applies only when new tests are added.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only modifies YAML workflow configuration files to skip existing admission tests; does not add any new Ginkgo e2e tests, so SNO compatibility check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies CI/CD test workflow configuration files only, adding TEST_SKIPS patterns. No deployment manifests, operator code, controllers, or scheduling constraints are introduced.
Ote Binary Stdout Contract ✅ Passed PR only modifies YAML workflow configuration files to add test skip patterns; no source code changes that could violate OTE Binary Stdout Contract.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR does not add new Ginkgo e2e tests; it only modifies YAML workflow configs to skip existing tests incompatible with ROSA. The custom check applies only when new tests are added.
No-Weak-Crypto ✅ Passed Modified files are YAML configuration with only test skip patterns; no cryptographic code, weak crypto, or unsafe secret comparisons found.
Container-Privileges ✅ Passed Modified files are workflow configuration files with no container specifications or security context definitions. No privileged configurations, root users, or capability escalations found.
No-Sensitive-Data-In-Logs ✅ Passed The PR only adds test skip patterns to workflow YAML files; no logging configurations or sensitive data exposure changes are present in the modifications.

✏️ 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 jfrazierRedHat and ravitri June 9, 2026 19:35
@openshift-ci

openshift-ci Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dustman9000

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 9, 2026
@dustman9000

Copy link
Copy Markdown
Member Author

/pj-rehearse periodic-ci-openshift-release-main-nightly-4.21-e2e-rosa-hcp-ovn periodic-ci-openshift-release-main-nightly-4.19-e2e-rosa-sts-ovn

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

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

The [sig-network][endpoints] admission tests create ServiceAccounts
in kube-system, which is blocked by the managed-cluster-validating-webhooks
serviceaccount-validation webhook on ROSA clusters. The test user is not
a system: prefixed user so the webhook correctly denies it.

Skip these tests in both HCP and Classic STS conformance workflows.
@dustman9000 dustman9000 force-pushed the fix/skip-endpoint-admission-managed branch from 2c21ddc to e1fb94e Compare June 9, 2026 22:38
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@dustman9000: 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-operator-framework-operator-controller-release-5.0-periodics-e2e-rosa-sts-ovn-slow-extended-f3 N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.18-e2e-rosa-sts-ovn N/A periodic Registry content changed
periodic-ci-openshift-operator-framework-operator-controller-release-4.21-periodics-e2e-rosa-sts-ovn-extended-f3 N/A periodic Registry content changed
periodic-ci-openshift-operator-framework-operator-controller-release-4.22-periodics-e2e-rosa-sts-ovn-slow-extended-f3 N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-5.0-e2e-rosa-hcp-ovn N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.21-e2e-rosa-sts-ovn N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.19-e2e-rosa-sts-ovn N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.22-e2e-rosa-hcp-ovn N/A periodic Registry content changed
periodic-ci-openshift-operator-framework-olm-release-4.22-periodics-e2e-rosa-sts-ovn-extended-f3 N/A periodic Registry content changed
periodic-ci-openshift-operator-framework-olm-release-4.23-periodics-e2e-rosa-sts-ovn-extended-f3 N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.20-e2e-rosa-hcp-ovn N/A periodic Registry content changed
periodic-ci-openshift-operator-framework-operator-controller-release-4.23-periodics-e2e-rosa-sts-ovn-extended-f3 N/A periodic Registry content changed
periodic-ci-openshift-operator-framework-operator-controller-release-5.0-periodics-e2e-rosa-sts-ovn-extended-f3 N/A periodic Registry content changed
periodic-ci-openshift-operator-framework-olm-release-5.0-periodics-e2e-rosa-sts-ovn-extended-f3 N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.19-e2e-rosa-hcp-ovn N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.21-e2e-rosa-hcp-ovn N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.20-e2e-rosa-sts-ovn N/A periodic Registry content changed
periodic-ci-openshift-release-main-nightly-4.22-e2e-rosa-sts-ovn N/A periodic Registry content changed
periodic-ci-openshift-operator-framework-operator-controller-release-4.21-periodics-e2e-rosa-sts-ovn-slow-extended-f3 N/A periodic Registry content changed
periodic-ci-openshift-operator-framework-operator-controller-release-4.22-periodics-e2e-rosa-sts-ovn-extended-f3 N/A periodic Registry content changed
periodic-ci-openshift-operator-framework-olm-release-4.21-periodics-e2e-rosa-sts-ovn-extended-f3 N/A periodic Registry content changed
periodic-ci-openshift-operator-framework-operator-controller-release-4.23-periodics-e2e-rosa-sts-ovn-slow-extended-f3 N/A periodic Registry content 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 9, 2026

Copy link
Copy Markdown
Contributor

@dustman9000: 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-release-main-nightly-4.21-e2e-rosa-hcp-ovn 2c21ddc link unknown /pj-rehearse periodic-ci-openshift-release-main-nightly-4.21-e2e-rosa-hcp-ovn
ci/rehearse/periodic-ci-openshift-release-main-nightly-4.19-e2e-rosa-sts-ovn 2c21ddc link unknown /pj-rehearse periodic-ci-openshift-release-main-nightly-4.19-e2e-rosa-sts-ovn

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