Commit Graph

134712 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
036cd9fc6e Merge pull request #136151 from pohly/e2e-ktesting-revert
testing: partial revert of E2E + DRA upgrade/downgrade
2026-01-11 17:29:57 +05:30
Patrick Ohly
e999d595b1 testing: partial revert of E2E + DRA upgrade/downgrade
Refactoring the DRA upgrade/downgrade testing such that it runs as Go test
depended on supporting ktesting in the E2E framework. That change worked during
presubmit testing, but broke some periodic jobs. Therefore the relevant commits
from https://github.com/kubernetes/kubernetes/pull/135664/commits get reverted:

c47ad64820 DRA e2e+integration: test ResourceSlice controller
047682908d ktesting: replace Begin/End with TContext.Step
de47714879 DRA upgrade/downgrade: rewrite as Go unit test
7c7b1e1018 DRA e2e: make driver deployment possible in Go unit tests
65ef31973c DRA upgrade/downgrade: split out individual test steps
47b613eded e2e framework: support creating TContext

The last one is what must have caused the problem, but the other commits depend
on it.
2026-01-11 09:55:17 +01:00
Kubernetes Prow Robot
6714aef4aa Merge pull request #136130 from LoginovIlia/kubeadm_use_newclientset
kubeadm: switch tests to NewClientset
2026-01-11 03:53:57 +05:30
Kubernetes Prow Robot
8f20f72526 Merge pull request #136079 from lalitc375/for-each
Re-apply "Migrate ResourceSlice map key validation to declarative validation"
2026-01-10 07:27:46 +05:30
Kubernetes Prow Robot
51579e9c36 Merge pull request #135890 from CLBRITTON2/discovery-endpoint-dv
Feat: wire discovery group for declarative validation and migrate Endpoint.Addresses + EndpointSlice.AddressType
2026-01-10 07:27:38 +05:30
Kubernetes Prow Robot
5151096d1f Merge pull request #136096 from pacoxu/patch-14
Update error message expectation in criproxy_test
2026-01-10 05:47:47 +05:30
Kubernetes Prow Robot
3ad5f1b8a9 Merge pull request #134681 from JoelSpeed/enable-kal-nonullable
Enable nonullable rule for Kube API Linter
2026-01-10 05:47:40 +05:30
Kubernetes Prow Robot
c71eec3c3f Merge pull request #135687 from yashsingh74/cni-bump
Update CNI plugins to v1.9.0
2026-01-10 04:57:41 +05:30
Kubernetes Prow Robot
03e8ca9faa Merge pull request #136115 from harche/remove_year
Remove year from runtime_test.go file copyright notice
2026-01-10 03:23:38 +05:30
Kubernetes Prow Robot
da22735138 Merge pull request #136041 from richabanker/update-metrics-docs-1.35
Update metrics docs 1.35
2026-01-10 02:13:41 +05:30
Kubernetes Prow Robot
98e6935d43 Merge pull request #136140 from pohly/e2e-framework-tcontext-fix
E2E framework: fix nil pointer crash in TContext
2026-01-09 23:09:41 +05:30
CLBRITTON2
6d69ee0937 Add declarative validation tests for EndpointSlice addressType supported values 2026-01-09 11:54:52 -05:00
CLBRITTON2
5ee4b49ebd Add declarative validation tests for EndpointSlice addressType immutability 2026-01-09 11:54:51 -05:00
CLBRITTON2
1ee5d304a9 Add declarative validation tests for EndpointSlice addressType required 2026-01-09 11:54:51 -05:00
CLBRITTON2
a6618afc29 Wire discovery v1/v1beta1 for fuzz testing 2026-01-09 11:54:51 -05:00
chris britton
2c3516edb0 Add maxItems tag to Endpoint.Addresses, update tests 2026-01-09 11:54:51 -05:00
chris britton
5e4d5fe599 Mark Endpoint.Addresses required, add test cases 2026-01-09 11:54:51 -05:00
chris britton
494e27a059 Wire discovery group for declarative validation 2026-01-09 11:54:51 -05:00
Kubernetes Prow Robot
c68de67df3 Merge pull request #136132 from pohly/ktesting-default-verbosity
ktesting: avoid increasing default verbosity
2026-01-09 22:17:50 +05:30
Kubernetes Prow Robot
908dab36f4 Merge pull request #136119 from lalitc375/ignore-conversion
Bring the fuzz testing  changes back which was removed due to  an accident
2026-01-09 22:17:42 +05:30
Patrick Ohly
80cc14831e E2E framework: fix nil pointer crash in TContext
Not all framework instances have a default namespace. TContext
crashed for those.
2026-01-09 16:23:11 +01:00
Kubernetes Prow Robot
aee92bc072 Merge pull request #136085 from richabanker/watchlist-init-log
Log WatchList initial listing phase completion
2026-01-09 20:51:48 +05:30
Kubernetes Prow Robot
a221280c53 Merge pull request #136084 from richabanker/watchlist-logs-audit
Add auditID to Watch start logs
2026-01-09 20:51:41 +05:30
Kubernetes Prow Robot
b1d3ab8a4b Merge pull request #136136 from dims/fix-devicemanager-race-condition
Fix data race in devicemanager PluginDisconnected logging
2026-01-09 19:39:43 +05:30
Patrick Ohly
36a95a05eb ktesting: avoid increasing default verbosity
Bumping to 5 is useful in unit tests. Those tend to not produce less output and
ideally use per-test output, so we end up keeping only the output of failed
tests where increased verbosity also in CI runs is useful.

But ktesting now also gets imported into e2e test binaries through the
framework. There the increased verbosity is apparently causing OOM killing in
some jobs which previously worked fine.

Long term we need a better solution than simply disabling the verbosity
change. We could modify each unit test to call SetDefaultVerbosity, but that's
tedious. Perhaps an env variable? It cannot be a command line flag because not
all unit tests accept `-v`.
2026-01-09 14:54:09 +01:00
Davanum Srinivas
1b33c52ef1 Fix data race in devicemanager PluginDisconnected logging
Don't log the endpoint struct in PluginDisconnected() - it contains
a gRPC client and logging it via reflection races with Close().

The logger walks the struct with reflection, reading gRPC internals,
while Close() is modifying mutex state in the background. Removing
the endpoint from the log avoids the race. The resourceName is already
logged which is enough to identify which endpoint disconnected.

This race becomes visible with gRPC v1.76.0+ due to timing changes
in buffer handling and goroutine lifecycle during Close(). The
ci-kubernetes-unit-dependencies job was hitting this ~10% of the time
when testing with updated dependencies.

CI failures:
- https://storage.googleapis.com/kubernetes-ci-logs/logs/ci-kubernetes-unit-dependencies/2009065501396832256/build-log.txt
- https://storage.googleapis.com/kubernetes-ci-logs/logs/ci-kubernetes-unit-dependencies/2008641956699181056/build-log.txt
- https://storage.googleapis.com/kubernetes-ci-logs/logs/ci-kubernetes-unit-dependencies/2007491912692404224/build-log.txt
- https://storage.googleapis.com/kubernetes-ci-logs/logs/ci-kubernetes-unit-dependencies/2007431281842851840/build-log.txt

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-09 08:19:33 -05:00
Kubernetes Prow Robot
c36cb4913d Merge pull request #136128 from p0lyn0mial/upstream-watchlist-kcm-options-cleanup
kcm: remove WatchListClient feature gate override
2026-01-09 16:39:47 +05:30
Kubernetes Prow Robot
407b1de3bf Merge pull request #136076 from kannon92/fix-flake-mutable-job
[flake] wait for job suspended condition for JobMutable test cases
2026-01-09 16:39:39 +05:30
Joel Speed
a64e802673 Enable nonullable rule for Kube API Linter 2026-01-09 10:38:15 +00:00
Kubernetes Prow Robot
6f93518c7f Merge pull request #136124 from MohammedMutee/fix-typecheck-flake
Fix flaky typecheck by enforcing serial execution
2026-01-09 15:05:41 +05:30
LoginovIlia
bfe4b7ecd7 kubeadm: switch tests to NewClientset 2026-01-09 04:30:53 -05:00
Lukasz Szaszkiewicz
4cccfe28e6 kcm: remove WatchListClient feature gate override
WatchListClient is enabled by default since 1.35, so the
kcm specific override in flags is no longer needed.
2026-01-09 10:23:25 +01:00
MohammedMutee
53d94b06b9 Fix flaky typecheck: enforce serial execution to prevent OOM 2026-01-09 10:40:43 +05:30
Lalit Chauhan
55041b832f Bring the changes back which was removed due to accident in #134909 2026-01-09 00:02:41 +00:00
Richa Banker
739e4150e6 Add auditID to Watch start logs 2026-01-08 14:33:56 -08:00
Darshan Murthy
1c24a05ce1 wire network group for declarative validation and +k8s:required to IngressClassParametersReference.Name and IngressClassParametersReference.Kind (#134909) 2026-01-09 03:11:43 +05:30
Kevin Hannon
2a9c44b329 wait for job suspended condition 2026-01-08 15:57:00 -05:00
Harshal Patil
6027ac1f2c Remove year from runtime_test.go file copyright notice
Signed-off-by: Harshal Patil <12152047+harche@users.noreply.github.com>
2026-01-08 15:45:56 -05:00
Kubernetes Prow Robot
758ef0ffbc Merge pull request #136108 from pohly/ginkgo-gomega-update
dependencies: ginkgo v2.27.4, gomega v1.39.0
2026-01-09 02:11:54 +05:30
Kubernetes Prow Robot
25b452b971 Merge pull request #135631 from danwinship/ipvs-winkernel-resync-period
Switch ipvs and winkernel back to more regular forced syncs
2026-01-09 02:11:46 +05:30
Kubernetes Prow Robot
f22cda03cb Merge pull request #135358 from harche/sort_hanlders
Sort runtime handlers list coming from the CRI runtime
2026-01-09 02:11:39 +05:30
Richa Banker
d6c7b24af3 Log WatchList initial listing phase completion 2026-01-08 12:28:37 -08:00
Kubernetes Prow Robot
d8556481df Merge pull request #135551 from Jefftree/deployment
Add pod indexer to deployment controller
2026-01-09 01:19:49 +05:30
Kubernetes Prow Robot
e551ea5ea5 Merge pull request #133678 from mortent/AllocatorPerfImprovements
DRA: Avoid unnecessary work in allocator
2026-01-09 01:19:41 +05:30
Kubernetes Prow Robot
72eaa2d5c9 Merge pull request #136111 from aojea/endpointslice_optional
define endpointslice.endpoints as optional
2026-01-09 00:27:46 +05:30
Kubernetes Prow Robot
228e56eddc Merge pull request #136110 from liggitt/kyaml-watch-event
Fix kyaml output of watch events
2026-01-09 00:27:39 +05:30
Kubernetes Prow Robot
60e420eac3 Merge pull request #135930 from 249043822/br001
Fix:globalmount path may be residual while pod creation-deletion
2026-01-08 23:01:40 +05:30
Jordan Liggitt
c280c22ea4 Fix kyaml output of watch events 2026-01-08 12:14:41 -05:00
Antonio Ojea
e0c545353c define endpointslice.endpoints as optional
The field is actually optional but defined as required in OpenAPI, causing issues
with clients that expected the field to be required when it was not.
2026-01-08 17:12:25 +00:00
Morten Torkildsen
9562aa8ba5 DRA: Avoid unnecessary work in allocator 2026-01-08 16:52:44 +00:00