Skip to content

OCPSTRAT-3036: Update etcd test data for k8s 1.36 release#31113

Open
jubittajohn wants to merge 1 commit intoopenshift:mainfrom
jubittajohn:update-test-data-etcd-5.0
Open

OCPSTRAT-3036: Update etcd test data for k8s 1.36 release#31113
jubittajohn wants to merge 1 commit intoopenshift:mainfrom
jubittajohn:update-test-data-etcd-5.0

Conversation

@jubittajohn
Copy link
Copy Markdown
Contributor

@jubittajohn jubittajohn commented May 1, 2026

Summary by CodeRabbit

  • Tests
    • Enhanced etcd storage path tests: added entries for new API resources (mutating admission policies, podgroups, device taint rules, resourcepool status), adjusted version introduce/remove ranges, and updated expected registry paths; modified existing entries for storage volume classes and scheduling workloads to validate version and path changes.

@openshift-merge-bot
Copy link
Copy Markdown
Contributor

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: automatic mode

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label May 1, 2026
@openshift-ci-robot
Copy link
Copy Markdown

openshift-ci-robot commented May 1, 2026

@jubittajohn: This pull request references OCPSTRAT-3036 which is a valid jira issue.

Details

In response to this:

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 openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 1, 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: 34f7d53f-7a92-42c6-a75a-654aa5915302

📥 Commits

Reviewing files that changed from the base of the PR and between 94577bf and 8ad6655.

📒 Files selected for processing (1)
  • test/extended/etcd/etcd_storage_path.go
🚧 Files skipped from review as they are similar to previous changes (1)
  • test/extended/etcd/etcd_storage_path.go

Walkthrough

Update to the etcd storage path test (1.36 branch) that adds and modifies expected etcd registry entries and version metadata for mutating admission policies/bindings, scheduling podgroups/workloads, storage volumeattributesclasses, and several resource.k8s.io kinds.

Changes

etcd Storage Test Data

Layer / File(s) Summary
Added etcd data
test/extended/etcd/etcd_storage_path.go
New "Added etcd data" entries for admissionregistration.k8s.io mutatingadmissionpolicies & bindings (GVR v1, ExpectedGVK pinned to v1beta1, IntroducedVersion "1.36"), scheduling.k8s.io podgroups (Introduced "1.36", Removed "1.42"), resource.k8s.io devicetaintrules (GVR v1beta2, ExpectedGVK overridden to resource.k8s.io/v1alpha3 DeviceTaintRule, Introduced "1.36", Removed "1.42"), and resourcepoolstatusrequests (Introduced "1.36", Removed "1.42") with explicit expected etcd paths.
Modified etcd data
test/extended/etcd/etcd_storage_path.go
Updated "Modified etcd data" entries: storage.k8s.io volumeattributesclasses (v1beta1 vac2 Introduced "1.31" Removed "1.37"; v1 vac3 Introduced "1.34"), scheduling.k8s.io workloads (Introduced "1.36" Removed "1.42"), and admissionregistration.k8s.io v1beta1 mutatingadmissionpolicies/bindings (map1b1/mpb1b1 Introduced "1.34" Removed "1.40") with revised expected etcd registry paths.
Test metadata / context
test/extended/etcd/etcd_storage_path.go
All additions/updates are placed under the strings.HasPrefix(version.Minor, "36") branch of testEtcd3StoragePath, adjusting test expectations and version ranges for the 1.36 test matrix.

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 directly and clearly summarizes the main change: updating etcd test data to support Kubernetes 1.36 release, which matches the file modifications and added test data entries.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
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 adds static test data without modifying any Ginkgo test titles. The dynamic g.By() call is a step annotation for logging, not a test title.
Test Structure And Quality ✅ Passed PR modifies only test fixture data in testEtcd3StoragePath, adding entries for Kubernetes 1.36 resource types without new test cases or assertion code.
Microshift Test Compatibility ✅ Passed This pull request does not add new Ginkgo e2e tests; it only modifies test data within the existing testEtcd3StoragePath() function for Kubernetes 1.36 support.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This pull request modifies test data within an existing helper function and does not add any new Ginkgo e2e tests.
Topology-Aware Scheduling Compatibility ✅ Passed Pull request modifies only test data in test/extended/etcd/etcd_storage_path.go, adding entries to map test fixtures for Kubernetes 1.36 API objects. The file contains no deployment manifests, operator code, controllers, or scheduling constraints. Change falls entirely outside topology-aware scheduling compatibility scope.
Ote Binary Stdout Contract ✅ Passed PR modifies only test file with declarative data additions in test function. No stdout-writing operations at process level; proper Ginkgo patterns ensure framework interception.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed Pull request only adds test data to existing testEtcd3StoragePath function; no new Ginkgo test blocks (It, Describe, Context, When) are 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

Review rate limit: 9/10 reviews remaining, refill in 6 minutes.

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

@openshift-ci openshift-ci Bot requested review from hasbro17 and tjungblu May 1, 2026 22:46
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 1, 2026
Copy link
Copy Markdown

@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 the current code and only fix it if needed.

Inline comments:
In `@test/extended/etcd/etcd_storage_path.go`:
- Around line 307-312: There are two entries for gvr("scheduling.k8s.io",
"v1alpha2", "podgroups") causing the first
stub/ExpectedEtcdPath/IntroducedVersion/RemovedVersion set to be silently
overridden; remove the duplicate so only one canonical definition remains.
Locate both occurrences of gvr("scheduling.k8s.io", "v1alpha2", "podgroups") and
keep the intended stub/ExpectedEtcdPath/IntroducedVersion/RemovedVersion set
(pick which stub you want exercised), deleting the other entry to ensure the
test uses a single, unambiguous podgroups definition.
🪄 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: fc87181b-f9a5-4916-9a07-74a35cb791d6

📥 Commits

Reviewing files that changed from the base of the PR and between 046ab17 and 94577bf.

📒 Files selected for processing (1)
  • test/extended/etcd/etcd_storage_path.go

Comment thread test/extended/etcd/etcd_storage_path.go
@openshift-merge-bot
Copy link
Copy Markdown
Contributor

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

Signed-off-by: jubittajohn <jujohn@redhat.com>
@jubittajohn jubittajohn force-pushed the update-test-data-etcd-5.0 branch from 94577bf to 8ad6655 Compare May 2, 2026 01:08
@openshift-merge-bot openshift-merge-bot Bot added the ready-for-human-review Indicates a PR has been reviewed by automated tools and is ready for human review label May 2, 2026
@openshift-merge-bot
Copy link
Copy Markdown
Contributor

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 4, 2026

@jubittajohn: trigger 0 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 4, 2026

@jubittajohn: trigger 0 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

3 similar comments
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 4, 2026

@jubittajohn: trigger 0 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 4, 2026

@jubittajohn: trigger 0 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 4, 2026

@jubittajohn: trigger 0 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

@jubittajohn
Copy link
Copy Markdown
Contributor Author

jubittajohn commented May 4, 2026

/payload-job-with-prs periodic-ci-openshift-release-main-nightly-5.0-e2e-aws-ovn-serial-2of2 openshift/kubernetes#2653

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 4, 2026

@jubittajohn: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-main-nightly-5.0-e2e-aws-ovn-serial-2of2

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/32ee1a60-47d4-11f1-9707-5b372d1628a5-0

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 4, 2026

@jubittajohn: it appears that you have attempted to use some version of the payload command, but your comment was incorrectly formatted and cannot be acted upon. See the docs for usage info.

1 similar comment
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 4, 2026

@jubittajohn: it appears that you have attempted to use some version of the payload command, but your comment was incorrectly formatted and cannot be acted upon. See the docs for usage info.

@jubittajohn
Copy link
Copy Markdown
Contributor Author

/payload-job-with-prs periodic-ci-openshift-release-main-nightly-5.0-e2e-aws-ovn-serial-1of2 openshift/kubernetes#2653

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 4, 2026

@jubittajohn: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-main-nightly-5.0-e2e-aws-ovn-serial-1of2

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/62f05930-47d9-11f1-881a-09794728ed85-0

@jubittajohn
Copy link
Copy Markdown
Contributor Author

jubittajohn commented May 4, 2026

/payload-job-with-prs periodic-ci-openshift-release-main-ci-5.0-e2e-aws-ovn-techpreview-serial-2of3 openshift/kubernetes#2653

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 4, 2026

@jubittajohn: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-main-ci-5.0-e2e-aws-ovn-techpreview-serial-1of3

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/17b24a00-4806-11f1-9b8c-6139f4d47e89-0

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 4, 2026

@jubittajohn: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-main-ci-5.0-e2e-aws-ovn-techpreview-serial-2of3

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/87e03ee0-4806-11f1-8de5-cb7194e525a4-0

@jacobsee
Copy link
Copy Markdown
Member

jacobsee commented May 5, 2026

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label May 5, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 5, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jacobsee, jubittajohn

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

@jubittajohn
Copy link
Copy Markdown
Contributor Author

/verified by ci

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label May 5, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@jubittajohn: This PR has been marked as verified by ci.

Details

In response to this:

/verified by ci

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 5, 2026

@jubittajohn: 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/prow/verify-deps 8ad6655 link unknown /test verify-deps

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. ready-for-human-review Indicates a PR has been reviewed by automated tools and is ready for human review verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants