Skip to content

Rebase release-5.0 to Kubernetes v1.36.4 (automation verification) - #2778

Open
redhat-chai-bot wants to merge 20 commits into
openshift:release-5.0from
redhat-chai-bot:automation-rebase-v1.36.4-release-5.0
Open

redhat-chai-bot wants to merge 20 commits into
openshift:release-5.0from
redhat-chai-bot:automation-rebase-v1.36.4-release-5.0

Conversation

@redhat-chai-bot

Copy link
Copy Markdown

Purpose

This pull request was generated by rerunning the repository-prescribed openshift-hack/rebase.sh automation for release-5.0 and Kubernetes v1.36.4. It is a verification PR only; please do not merge it alongside openshift/kubernetes#2776.

Automation

  • Script: openshift-hack/rebase.sh --k8s-tag=v1.36.4 --openshift-release=release-5.0
  • Automation commit: 1910745f8f81ca79579089b63a181490351e9943
  • Common release-5.0 parent: b376ee7b841bed5a51cb9520b37d87931c48a821

Validation

  • make passed
  • make verify passed
  • make update passed
  • git diff --check passed
  • Diffstat: 147 files changed, 3,521 insertions, 1,631 deletions

Comparison with #2776

  • Manual PR head: bb39ed79c7e3c288f27a3b6fe44a803f83d73038
  • Automation head: 1910745f8f81ca79579089b63a181490351e9943
  • Both tips have tree d5dfe0774a1621ae332671d78ac5eebf3552fcd6
  • Complete patches are byte-identical (SHA-256: 98ebe31ff4ee3f5ca750369515b02ff173dac5ca4f0d18fbad5968a8f7f6c4dd)
  • Only commit topology and metadata differ; the file content is identical.

AI-generated. Review for accuracy.

@jubittajohn requested in Slack thread

mattcary and others added 20 commits May 18, 2026 20:29
Change-Id: Id5e68c515d3b4d7c55be72da081604aad8705c76
checkAvailableCounters caches per-pool counter availability under the
pool name alone: availableCounters and consumedCounters are keyed by
pool.PoolID.Pool. A pool is identified by its driver and name together,
and the allocator keys its pool map by PoolID. When two drivers publish
a pool with the same name on the same node and both consume counters,
the name-only key collides: the second pool's devices are evaluated
against the first driver's cached counter set definition and aggregate
consumption instead of their own, so a device can be incorrectly
rejected or accepted.

Key both counter caches by PoolID (driver and pool) instead of the pool
name, matching how the pool map is keyed. PoolID is a comparable value,
so the map type now enforces the pool identity: a lookup can no longer
be written with the pool name alone. All three allocator variants
(stable, incubating, experimental) carry the same shape and are fixed
together, and their stale "resource pool names" comments are corrected.

Two regression cases live in the shared allocatortesting table so they
run against every variant. counter-cache-scoped-by-pool-ID gives the two
same-named pools different counter capacities, so it fails unless both
caches are keyed by PoolID. counter-cache-not-crossed-between-driver-
schemas gives them different counter sets and over-consumes the second,
covering the incorrect-accept direction. Both fail on the current code
and pass with the change.

(cherry picked from commit 2065125)
PrepareResources appends devices to a claim's DriverState as each
per-driver NodePrepareResources response comes in. If a driver in
the batch returns before the setPrepared step and another driver in
the same batch subsequently fails, the successful driver's devices
stay in the cache with prepared=false. On retry, isPrepared() is
false, so the claim is re-batched, the driver's response is applied
again, and its devices end up duplicated in DriverState. This can
cause CRI runtimes to fail container start or attach devices twice.

Treat the driver's response as authoritative for the (claim, driver)
pair: clear the pre-existing device list before rebuilding it from
the response.
Store gained Bookmark and LastStoreSyncResourceVersion in kubernetes#134827
without FakeCustomStore being updated, so the fake no longer satisfies
cache.Store and downstream test code fails to compile. Add the two func
fields and delegating methods following the file's existing pattern,
plus a compile-time assertion so a future Store change cannot silently
break the fake again.
Co-authored-by: hai.yue <20416005+yuehaii@users.noreply.github.com>
…ry-pick-of-#140966-upstream-release-1.36

Automated cherry pick of kubernetes#140966: client-go: restore FakeCustomStore conformance to cache.Store
Update to golang.org/x/text@v0.39.0+ for https://pkg.go.dev/vuln/GO-2026-5970

Update to golang.org/x/net@v0.55.0+ for https://pkg.go.dev/vuln/GO-2026-5026
…ick-of-#138837-upstream-release-1.36

Automated cherry pick of kubernetes#138837: Clarify multi-attach events
…ry-pick-of-#140387-upstream-release-1.36

[1.36] Automated cherry pick of kubernetes#140387: Always set UpdatePodResources when a starting container is resized
…backport-1.36

Automated cherry pick of kubernetes#140435: DRA: key the structured allocator counter caches by PoolID
…-pick-of-#139162-kubernetes#139330-kubernetes#139331-release-1.36

Automated cherry pick of kubernetes#139162: Fix case where preemptor may be stuck in unschedulable queue
kubernetes#139330: Unset WasFlushedFromUnschedulable for gated pods
kubernetes#139331: Make sure gated pods are flushed with the same frequency as non-gated
…ck-of-#140274-upstream-release-1.36

Automated cherry pick of kubernetes#140274: kubelet/dra: reset devices before processing gRPC response
@openshift-merge-bot

Copy link
Copy Markdown

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: LGTM mode

@openshift-ci-robot openshift-ci-robot added the backports/unvalidated-commits Indicates that not all commits come to merged upstream PRs. label Sep 16, 2026
@coderabbitai

coderabbitai Bot commented Sep 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: a0292a8b-23f2-4353-b644-67bcb28ecdbe

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

@openshift-ci-robot

Copy link
Copy Markdown

@redhat-chai-bot: the contents of this pull request could not be automatically validated.

The following commits could not be validated and must be approved by a top-level approver:

Comment /validate-backports to re-evaluate validity of the upstream PRs, for example when they are merged upstream.

@openshift-ci
openshift-ci Bot requested review from jacobsee and mrunalp September 16, 2026 22:22
@openshift-ci openshift-ci Bot added the vendor-update Touching vendor dir or related files label Sep 16, 2026
@openshift-ci

openshift-ci Bot commented Sep 16, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: redhat-chai-bot
Once this PR has been reviewed and has the lgtm label, please assign jacobsee 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-ci

openshift-ci Bot commented Sep 17, 2026

Copy link
Copy Markdown

@redhat-chai-bot: 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/perfscale-control-plane-6nodes 1910745 link false /test perfscale-control-plane-6nodes

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

backports/unvalidated-commits Indicates that not all commits come to merged upstream PRs. vendor-update Touching vendor dir or related files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants