Skip to content

NO-JIRA: Rebase release-5.0 to Kubernetes v1.36.4 - #2776

Open
jubittajohn wants to merge 21 commits into
openshift:release-5.0from
jubittajohn:bump-1.36.4
Open

jubittajohn wants to merge 21 commits into
openshift:release-5.0from
jubittajohn:bump-1.36.4

Conversation

@jubittajohn

Copy link
Copy Markdown

Bump 5.0 from v1.36.3 to v1.36.4

mattcary and others added 21 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
Kubernetes official release v1.36.4
@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: Enterprise

Run ID: c1e714ed-8ab2-4fbc-8c21-5f4609519bfc

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

@jubittajohn: 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 added vendor-update Touching vendor dir or related files approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Sep 16, 2026
@jubittajohn jubittajohn changed the title Rebase release-5.0 to Kubernetes v1.36.4 NO-JIRA: Rebase release-5.0 to Kubernetes v1.36.4 Sep 16, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Sep 16, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@jubittajohn: This pull request explicitly references no jira issue.

Details

In response to this:

Bump 5.0 from v1.36.3 to v1.36.4

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.

@jubittajohn

Copy link
Copy Markdown
Author

/pipeline required

@openshift-merge-bot

Copy link
Copy Markdown

Scheduling required tests:
/test configmap-scale
/test e2e-aws-ovn-cgroupsv2
/test e2e-aws-ovn-crun
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp
/test e2e-metal-ipi-ovn-ipv6
/test k8s-e2e-conformance-aws
/test k8s-e2e-gcp-ovn
/test k8s-e2e-gcp-serial

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test e2e-aws-ovn-downgrade
/test e2e-aws-ovn-hypershift
/test e2e-aws-ovn-upgrade
/test e2e-azure-ovn-upgrade

@openshift-ci

openshift-ci Bot commented Sep 17, 2026

Copy link
Copy Markdown

@jubittajohn: 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/prow/perfscale-control-plane-6nodes bb39ed7 link false /test perfscale-control-plane-6nodes
ci/prow/e2e-aws-ovn-fips bb39ed7 link true /test e2e-aws-ovn-fips
ci/prow/e2e-gcp bb39ed7 link true /test e2e-gcp
ci/prow/e2e-aws-ovn-serial-1of2 bb39ed7 link true /test e2e-aws-ovn-serial-1of2

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.

@jacobsee

Copy link
Copy Markdown
Member

/lgtm
/approve

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Sep 17, 2026
@openshift-ci

openshift-ci Bot commented Sep 17, 2026

Copy link
Copy Markdown

[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

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. backports/unvalidated-commits Indicates that not all commits come to merged upstream PRs. 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. vendor-update Touching vendor dir or related files

Projects

None yet

Development

Successfully merging this pull request may close these issues.