Commit graph

16817 commits

Author SHA1 Message Date
Kubernetes Prow Robot
e1ed8dd068
Merge pull request #139203 from gnufied/add-e2e-for-deleted-pvc-offline-expansion
Add an e2e for offline volume expansion
2026-05-28 06:56:51 +05:30
Kubernetes Prow Robot
c2fb6b8dec
Merge pull request #139199 from marosset/windows-skip-memory-backed-emptydir-conromance
Skip memory backed emptyDir e2e tests on Windows
2026-05-27 23:46:46 +05:30
Hemant Kumar
3884c64fbe Fix g.Expect with framework.ExpectNoError 2026-05-27 13:09:02 -04:00
Hemant Kumar
01a01e2ac4 Add additional check for restore pvc.Capacity from pv annotation 2026-05-26 17:57:16 -04:00
Hemant Kumar
46a4487a62 Add an e2e for offline volume expansion 2026-05-26 17:25:03 -04:00
Kubernetes Prow Robot
e09c6f3997
Merge pull request #138241 from SergeyKanzhelev/remove-unused-e2e-features
Remove unused e2e features
2026-05-23 21:56:43 +05:30
dom4ha
88948acc38 Remove v1alpha2 API definitions
Update client-go lister and informer imports to v1alpha3
2026-05-22 12:50:19 +00:00
dom4ha
8a52fb2ea9 Migrate references to v1alpha3 in tests, controllers, and remaining files 2026-05-22 12:50:19 +00:00
Kubernetes Prow Robot
e61737540c
Merge pull request #139098 from Jefftree/skip-hostcleanup-no-external-ip
e2e: skip HostCleanup test when worker has no NodeExternalIP
2026-05-21 10:16:43 +05:30
Mark Rossetti
4684fc6c67
Skip memory backed emptyDir e2e tests on Windows
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2026-05-20 19:25:08 +00:00
Kubernetes Prow Robot
661b086ee0
Merge pull request #139141 from bart0sh/PR236-DRAExtended-e2e
DRA E2E: improve DRAExtendedResource tests go GA graduation
2026-05-20 15:47:54 +05:30
Kubernetes Prow Robot
d0ab3fc757
Merge pull request #139160 from danwinship/named-port-non-implementation
Add an NP e2e test of correct fallback when failing to implement named ports
2026-05-20 05:05:45 +05:30
Dan Winship
7c824ea051 Remove stale OWNERS file
Just inherit the parent OWNERS
2026-05-19 16:19:17 -04:00
Kubernetes Prow Robot
04976d6f60
Merge pull request #138844 from skitt/bump-tools
Bump all tool dependencies
2026-05-20 01:31:45 +05:30
Dan Winship
700d621fd6 Add an NP e2e test of correct fallback when failing to implement named ports 2026-05-19 09:56:42 -04:00
Sai Ramesh Vanka
3f3a340240 Fix DRA extended resource quota test race condition
Signed-off-by: Sai Ramesh Vanka <svanka@redhat.com>
2026-05-19 08:57:23 +05:30
Arda Güçlü
4593dbe07e
Move kubectl apply e2e tests to dedicated file (#139086)
* Move kubectl apply e2e tests to dedicated file

* Move prune test under apply.go
2026-05-18 21:43:53 +05:30
Ed Bartosh
68c8c393d3 DRA E2E: improve DRAExtendedResource tests
Added a test verifying that when both a device plugin and a DRA
driver advertise the same resource on one node, the device plugin
wins (filterExtendedResources takes the DRA path only when
allocatable == 0).

Asserted ExtendedResourceClaimStatus in the existing "process
extended resources after device plugin uninstall" test to confirm
the DRA path is taken after DP removal.
2026-05-18 19:04:28 +03:00
Kubernetes Prow Robot
e789abc1ee
Merge pull request #138367 from timmy-wright/timmy/fix-cleanup
fix: accumulate subpath cleanup actions in makeMounts to prevent handle leak
2026-05-18 19:55:54 +05:30
Sergey Kanzhelev
39e5b92c39 test: assign owner SIGs to features in test/e2e/feature/feature.go 2026-05-16 18:51:00 +00:00
Sergey Kanzhelev
efec7c444e test: remove unused features from test/e2e/feature/feature.go 2026-05-16 18:51:00 +00:00
Jefftree
7fe9bbb5c5 e2e: skip HostCleanup test when worker has no NodeExternalIP 2026-05-15 15:45:52 -04:00
Kubernetes Prow Robot
6b0e464c7a
Merge pull request #138799 from rzlink/fix/windows-e2e-pod-overhead
e2e/windows: respect pod.Spec.Overhead in Memory Limits and Kubelet-Stats tests
2026-05-14 03:07:48 +05:30
Kubernetes Prow Robot
eaa04458b2
Merge pull request #138961 from soltysh/simplify_exec
Replace remote executor code with the DefaultExecutor from kubectl
2026-05-13 16:00:28 +05:30
Kubernetes Prow Robot
8e161c8126
Merge pull request #138963 from dims/remove-flaky-notation
Remove [Flaky] for green tests
2026-05-12 22:04:40 +05:30
Kubernetes Prow Robot
300eda2f2f
Merge pull request #138746 from humblec/update-etcd-image-3.6.11
etcd: update etcd image to v3.6.11
2026-05-12 17:39:32 +05:30
Stephen Kitt
e223a05ec7
Bump github.com/vektra/mockery/v3
mockery ignores auto-generated code by default, so this requires a
couple of configuration changes.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-05-12 11:55:38 +02:00
Kubernetes Prow Robot
874a7b40b0
Merge pull request #138617 from esotsal/kubeletHealthCheckRefactor
Move kubeletHealthCheck from e2enode to node as HealthCheck
2026-05-12 02:26:10 +05:30
Maciej Szulik
61e5542da9
Replace remote executor code with the DefaultExecutor from kubectl
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-05-11 16:59:31 +02:00
Maciej Szulik
8ecec5b156
Eliminate too many ExecWithOptions helpers
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-05-11 16:59:07 +02:00
Davanum Srinivas
1f59ea104a
Remove [Flaky] for green tests
Drops f.WithFlaky() from two test blocks where the tag has become stale:

- [sig-node] kubelet host cleanup with volume mounts [HostCleanup]
  (covers both NFS sub-tests: active and sleeping client pods)
- [sig-storage] PersistentVolumes-local "should set different fsGroup
  for second pod if first pod is deleted" (covers all 8 volume-type
  variants from the parameterized parent)

Testgrid evidence -- both dashboards show consistent passes across all
30 recent runs:
  https://testgrid.k8s.io/google-gce#gci-gce-flaky&include-filter-by-regex=Flaky
  https://testgrid.k8s.io/sig-testing-misc#gce-cos-master-flaky-repro&include-filter-by-regex=Flaky

History:
- HostCleanup was tagged [Flaky] in PR 41659 (merged 2017-04-13) as a
  quick workaround for parallel-execution interference with disruptive
  tests; the follow-up "remove [Flaky]" PR mentioned in that body never
  landed. Root-cause issue 31272 ("Hung volumes can wedge the kubelet")
  remains open.
- fsGroup test was tagged [Flaky] in PR 75015 (merged 2019-03-06) to
  skip a race in DesiredStateOfWorld re-adding terminating-pod volumes.
  Root-cause issue 73168 ("Do not remount volume again after it is
  detached") remains open. The obsolete TODO comment referencing that
  issue is also removed.

If either test regresses, the safe rollback is to restore f.WithFlaky()
and reopen the conversation on issue 31272 / 73168.
2026-05-11 08:26:29 -04:00
Tim Wright
7f8d1138ca
fix: accumulate subpath cleanup actions in makeMounts to prevent handle leak in Windows 2026-05-11 20:36:29 +12:00
Kubernetes Prow Robot
cd207808f1
Merge pull request #137936 from humblec/update-csi-sidecar-images
Update CSI sidecar images in test manifests
2026-05-10 08:47:45 +05:30
Dawei Wei
139746d315 Windows e2e: account for Pod Overhead in memory and stats tests
Two Windows e2e tests, Memory Limits and Kubelet-Stats, compute
"schedulable memory" directly from node.Status.Allocatable.Memory and
ignore pod.Spec.Overhead. That is inconsistent with how the kubelet
admits pods: admission-time accounting sums each pod's container
requests plus pod.Spec.Overhead (Pod Overhead, KEP-688, GA in 1.24).

On clusters whose admission chain injects per-pod overhead, for
example a cluster with a RuntimeClass whose scheduling overhead is
non-zero, or a mutating webhook that sets Spec.Overhead, these tests
overschedule the node and fail with OutOfmemory admission errors. On
clusters with no overhead the tests behave the same as before.

Add three helpers in test/e2e/windows/utils.go:

- detectPodOverheadMemory(ctx, c, namespace) (int64, error): performs
  a single DryRun pod create and inspects the mutated result for
  Spec.Overhead[ResourceMemory]. Result and error are cached for the
  lifetime of the test process via sync.Once. DryRun is the right
  primitive because admission webhooks may inject overhead
  conditionally on namespace, labels, or other request-scoped data
  that is not visible from a static read of the RuntimeClass API.
- sumExistingPodMemoryReservation(ctx, c, nodeName): sums per-pod
  container requests + Spec.Overhead for non-terminal pods on a
  node. Used to leave room for DaemonSets and system pods.
- waitForNodeMemoryToSettle(ctx, c, nodeName, neededBytes): polls
  until enough memory frees up after a previous [Serial] test;
  on timeout logs a tagged "did NOT settle" message but does not
  fail the test.

Adopt the helpers in:

- memory_limits.go: subtract overhead + existing reservation +
  safety buffer (256 MiB) from Allocatable.Memory when sizing the
  consume pod, instead of subtracting a hard-coded 100 MiB.
- kubelet_stats.go (10-pod test): compute maxPods = (allocatable -
  existing - safetyBuffer) / overhead, lower numPods accordingly,
  and skip cleanly when fewer than 3 pods can fit.
- kubelet_stats.go (3-pod test): apply the same
  skip-on-insufficient-room logic.

Behavior on clusters without Pod Overhead is byte-for-byte
equivalent: the helpers short-circuit and the existing per-test
code paths are unchanged.
2026-05-08 15:05:44 -07:00
Sotiris Salloumis
5486715fbf Move kubeletHealthCheck from e2enode to node
To reduce duplication of code and overcome import cycle
not allowed error during compile time, when used in non
e2e_node packages.
2026-05-05 20:39:07 +02:00
Kubernetes Prow Robot
288d1e9925
Merge pull request #138401 from jacobsee/watchlist-test-labelselector
Improve WatchList test robustness
2026-05-05 16:44:22 +05:30
Sotiris Salloumis
c306df361c Fix Summary API resource usage test
Make the process in the container more cpu intensive to make sure
we catch CPU usage more than nanocore, within the test window to overcome
a known limitation in older containerd versions.

Increase UsageNanoCores and UsageCoreNanoSeconds boundaries, to cater for
the additional cpu loads.
2026-05-03 18:31:43 +02:00
Humble Devassy Chirammal
ea67842860 etcd: update etcd image to v3.6.11
Update etcd images to v3.6.11 across build dependencies, kubeadm defaults,
GCE manifests, test manifests, and sample-apiserver deployment.

Signed-off-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
2026-05-03 19:28:50 +05:30
Kubernetes Prow Robot
6a72fbc01b
Merge pull request #138669 from pohly/dra-device-taints-crud-test
DRA E2E: add CRUD test for DeviceTaintRule
2026-04-30 13:47:25 +05:30
Kubernetes Prow Robot
4de8794676
Merge pull request #137756 from zak905/clean_up_remove_loop_variable_capture
clean up: remove loop variable capture
2026-04-30 11:37:24 +05:30
Patrick Ohly
aaa3638cd4 DRA E2E: add CRUD test for DeviceTaintRule
This test is required for graduation to GA because it'll cover the conformance
testing.
2026-04-29 10:15:53 +02:00
zak905
04286814e7 clean up: remove loop variable capture 2026-04-28 23:53:27 +02:00
Davanum Srinivas
32aedd53d8
bump cos-gpu-installer to v2.5.8 for COS M125
The GCE node image family was updated to cos-125-lts but the
nvidia-driver-installer DaemonSet image was never bumped to match.
cos-gpu-installer:v2.5.7 is only suitable for COS M121; it crashes
(CrashLoopBackOff) on cos-125-19216-220-150 nodes, blocking GPU driver
installation and causing all GPU e2e tests to time out.

Bump to v2.5.8, the first release in the COS M125 release notes:
https://cloud.google.com/container-optimized-os/docs/release-notes/m125
2026-04-28 10:31:01 -07:00
Patrick Ohly
cc391e25ba E2E framework: avoid duplicate FeatureGate tags
75448c416b added feature gate dependencies at the end of a test
name. However, if those tags were already part of the previous text, either
because they were explicitly added in the current node or in some parent node,
then redundant tags were added.

Now this special case is detected and such redundant tags do not get added
again.
2026-04-28 11:15:20 +02:00
Kubernetes Prow Robot
e556005b0d
Merge pull request #134686 from pohly/e2e-label-update
e2e framework: inject also information about feature gate dependencies
2026-04-28 05:40:48 +05:30
Lalit Chauhan
904d419c90 add support for invariant testing in integration testing 2026-04-27 18:42:09 +00:00
Patrick Ohly
75448c416b e2e framework: document also feature gate dependencies
This shouldn't substantially change which tests run in jobs (an on-by-default
beta feature can only depend on other on-by-default features, for example), but
it makes the FeatureGate list in the test name more complete.

The additional feature gate names are treated like additional meta data and get
added at the end of the full test name.
2026-04-27 11:48:01 +02:00
Kubernetes Prow Robot
75d51c4407
Merge pull request #138258 from pohly/ktesting-cgo
ktesting dependencies
2026-04-27 06:48:46 +05:30
Kubernetes Prow Robot
ff06de939d
Merge pull request #134950 from Karthik-K-N/fix-inplace-flake
[Flaking test] [InPlacePodVerticalScaling] Fix Pod Resize deferred tests
2026-04-25 11:12:46 +05:30
Kubernetes Prow Robot
fd557f3d2a
Merge pull request #134708 from pohly/e2e-unified-meta-labels
e2e framework: inject additional labels only once to leaf node
2026-04-25 02:50:46 +05:30