master snap build fails: kubelite patches missing for Kubernetes 1.37
Summary
Every PR against master fails at Create snap package, which skips all six downstream test jobs. Master has been red since at least 2026-09-16.
Cause
master leaves KUBE_TRACK empty by design, so it tracks the latest upstream stable Kubernetes — now v1.37.0. The kubelite patch set in build-scripts/components/kubernetes/patches/ only goes up to v1.36.0, so the 1.36 patches are applied to 1.37 source and fail:
error: patch failed: cmd/kubelet/app/server.go:300
error: cmd/kubelet/app/server.go: patch does not apply
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Kubelite integration
'override-build' in part 'kubernetes' failed with code 128Evidence
- Run 35023136806, job
104784258556(from PR #5601) - Reproduces on any master PR — #5592, #5601, #5605 all show
Create snap package: failwith the other six jobsskipping build-scripts/components/kubernetes/patches/currently containsv1.31.0…v1.36.0, nov1.37.0
Not already covered
PR #5605 ("bump build component versions for 1.37 release") does not fix this — it only touches containerd, etcd, flannel-cni-plugin, flanneld and helm version pins. Nothing currently open addresses the kubelite patches.
Prior art: commit ff0f3da0 "feat: add Kubernetes 1.36 patches for kubelite" is the same work for the previous cycle.
Acceptance criteria
-
build-scripts/components/kubernetes/patches/v1.37.0/exists with a rebased kubelite integration patch set -
Create snap packagepasses on a master PR - The six test jobs run rather than skip
Source: canonical/microk8s