Commit Graph

16277 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
5034140085 Merge pull request #134439 from pohly/dra-e2e-crud-conformance
Promote DRA e2e CRUD tests to Conformance
2025-10-24 16:33:37 -07:00
Kubernetes Prow Robot
1135d04f1d Merge pull request #134826 from aramase/aramase/f/kep_5538_beta_impl
CSI driver opt-in for service account tokens via secrets field
2025-10-24 13:57:35 -07:00
Anish Ramasekar
30a6d4b389 Add CSI driver opt-in for service account tokens via secrets field
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2025-10-24 11:04:02 -07:00
Kubernetes Prow Robot
60e1f61a63 Merge pull request #133511 from BenTheElder/no-md5
eliminate md5 usage, block new usage
2025-10-24 10:59:35 -07:00
Kubernetes Prow Robot
6652c9fadf Merge pull request #134457 from danwinship/prefersamenode
KEP-3015: update PreferSameTrafficDistribution to GA
2025-10-23 14:41:33 -07:00
Lubomir I. Ivanov
804708df53 /test: use a different image for hostname override e2e tests
As discovered in ticket 134737 `hostname` is buggy on busybox
due to the musl backend that it uses. something in the /etc/hosts
that k8s generates trips its parser and it doesn't work properly
in the ipv6 tests.

To workaround that use an image that has a glibc backend,
so that the hostname command works.
2025-10-22 15:07:01 +02:00
Benjamin Elder
b0a15b9163 switch storage e2e tests from md5 to sha256 2025-10-21 15:25:11 -07:00
Kubernetes Prow Robot
cba95d3e42 Merge pull request #132601 from toVersus/test/more-pod-level-resources
[PodLevelResources] Add more comprehensive test cases to kubelet
2025-10-20 14:26:36 -07:00
Kubernetes Prow Robot
e34f01402f Merge pull request #134703 from pohly/e2e-fix-test-name-uniqueness
e2e: find and fix reuse of test names
2025-10-18 15:38:07 -07:00
Kubernetes Prow Robot
1f34c16772 Merge pull request #134690 from haircommander/gc-conformance
test: move kubelet GC tests to node conformance
2025-10-17 19:00:40 -07:00
Kubernetes Prow Robot
76f5a1c8c2 Merge pull request #134635 from vivzbansal/execprobe1
Locked the (generally available) feature gate `ExecProbeTimeout` to true.
2025-10-17 18:06:40 -07:00
Vivek Bansal
af17392630 Setting the default feature-gate ExecProbeTimeout value to TRUE 2025-10-17 18:38:05 +00:00
Patrick Ohly
d0a2a0d22e e2e: find and fix reuse of test names
This reports and fixes for test/e2e:

    ERROR: E2E suite initialization was faulty, these errors must be fixed:
    ERROR: apimachinery/mutatingadmissionpolicy.go:184: full test name is not unique: "[sig-api-machinery] MutatingAdmissionPolicy [Privileged:ClusterAdmin] [Feature:MutatingAdmissionPolicy] [FeatureGate:MutatingAdmissionPolicy] [Beta] [Feature:OffByDefault] should support MutatingAdmissionPolicy API operations" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e/apimachinery/mutatingadmissionpolicy.go:184, /nvme/gopath/src/k8s.io/kubernetes/test/e2e/apimachinery/mutatingadmissionpolicy.go:606)
    ERROR: apimachinery/mutatingadmissionpolicy.go:412: full test name is not unique: "[sig-api-machinery] MutatingAdmissionPolicy [Privileged:ClusterAdmin] [Feature:MutatingAdmissionPolicy] [FeatureGate:MutatingAdmissionPolicy] [Beta] [Feature:OffByDefault] should support MutatingAdmissionPolicyBinding API operations" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e/apimachinery/mutatingadmissionpolicy.go:412, /nvme/gopath/src/k8s.io/kubernetes/test/e2e/apimachinery/mutatingadmissionpolicy.go:834)
    ERROR: common/node/pod_level_resources.go:250: full test name is not unique: "[sig-node] Pod Level Resources [Serial] [Feature:PodLevelResources] [FeatureGate:PodLevelResources] [Beta] Guaranteed QoS pod with container resources" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e/common/node/pod_level_resources.go:250 (2x))
    ERROR: dra/dra.go:1899: full test name is not unique: "[sig-node] [DRA] kubelet [Feature:DynamicResourceAllocation] [FeatureGate:DRAConsumableCapacity] [Alpha] [Feature:OffByDefault] [FeatureGate:DynamicResourceAllocation] must allow multiple allocations and consume capacity [KubeletMinVersion:1.34]" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e/dra/dra.go:1899 (2x))
    ERROR: storage/testsuites/volume_group_snapshottable.go:173: full test name is not unique: "[sig-storage] CSI Volumes [Driver: csi-hostpath] [Testpattern:  (delete policy)] volumegroupsnapshottable [Feature:volumegroupsnapshot] VolumeGroupSnapshottable  should create snapshots for multiple volumes in a pod" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e/storage/testsuites/volume_group_snapshottable.go:173 (2x))
    ERROR: storage/testsuites/volume_group_snapshottable.go:173: full test name is not unique: "[sig-storage] CSI Volumes [Driver: pd.csi.storage.gke.io] [Serial] [Testpattern:  (delete policy)] volumegroupsnapshottable [Feature:volumegroupsnapshot] VolumeGroupSnapshottable  should create snapshots for multiple volumes in a pod" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e/storage/testsuites/volume_group_snapshottable.go:173 (2x))

And for test/e2e_node:

    ERROR: cpu_manager_test.go:1622: full test name is not unique: "[sig-node] CPU Manager [Serial] [Feature:CPUManager] when checking the CFS quota management should disable for guaranteed pod with exclusive CPUs assigned" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e_node/cpu_manager_test.go:1622, /nvme/gopath/src/k8s.io/kubernetes/test/e2e_node/cpu_manager_test.go:1642)
    ERROR: eviction_test.go:800: full test name is not unique: "[sig-node] LocalStorageCapacityIsolationFSQuotaMonitoring [Slow] [Serial] [Disruptive] [Feature:LocalStorageCapacityIsolationQuota] [Feature:LSCIQuotaMonitoring] [Feature:UserNamespacesSupport] when we run containers that should cause use quotas for LSCI monitoring (quotas enabled: true)  should eventually evict all of the correct pods" (/nvme/gopath/src/k8s.io/kubernetes/test/e2e_node/eviction_test.go:800 (2x))
2025-10-17 20:19:52 +02:00
Peter Hunt
70a8babb09 test: move kubelet GC tests to node conformance
and drop the feature.GarbageCollect, as it's not needed anymore

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2025-10-17 13:32:46 -04:00
Kubernetes Prow Robot
5c7325dbda Merge pull request #134407 from natasha41575/ippr-tests
[InPlacePodVerticalScaling] add e2e coverage for pod resize 'read' and 'replace' endpoints
2025-10-16 16:54:39 -07:00
Kubernetes Prow Robot
4885c6d462 Merge pull request #134645 from joshjms/make-aggregator-test-linuxonly
Mark aggregator-supports-the-sample-apiserver test as LinuxOnly
2025-10-16 11:14:50 -07:00
Natasha Sarkar
4eead9306d add coverage for pod resize 'read' and 'replace' endpoints 2025-10-16 16:49:47 +00:00
Kubernetes Prow Robot
3b632270e9 Merge pull request #134633 from Phaow/add-vgs-csi-e2e
Enable external VolumeGroupSnapshot tests
2025-10-16 08:50:41 -07:00
joshjms
ae3605d109 mark aggregator test LinuxOnly
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-10-16 23:07:28 +08:00
Kubernetes Prow Robot
f4315436e1 Merge pull request #134214 from Phaow/dev
Refine: VolumeGroupSnapshot tests
2025-10-16 08:00:45 -07:00
Penghao
9763935518 Refine: VolumeGroupSnapshot tests
Signed-off-by: Penghao <pewang@redhat.com>
2025-10-16 15:33:10 +08:00
Penghao
78830afba8 Enable external VolumeGroupSnapshot tests
Signed-off-by: Penghao <pewang@redhat.com>
2025-10-16 11:14:08 +08:00
Tsubasa Nagasawa
476824c2a1 [PodLevelResources] Add more comprehensive test cases to kubelet
Signed-off-by: Tsubasa Nagasawa <toversus2357@gmail.com>
2025-10-15 10:50:21 +09:00
Dan Winship
02926c9563 Update PreferSameTrafficDistribution to GA 2025-10-14 08:20:43 -04:00
Kubernetes Prow Robot
6fd03094c7 Merge pull request #134554 from rzlink/reboot_test
e2e: skip the windows reboot node test case
2025-10-13 14:37:33 -07:00
Kubernetes Prow Robot
b6eb2dd747 Merge pull request #133993 from danwinship/endpoints-slices-e2e-split
clean up/reorganize endpoints conformance tests, split Endpoints/EndpointSlices
2025-10-13 08:13:36 -07:00
Dawei Wei
9ae5039b7f e2e: skip the reboot node test case 2025-10-12 16:37:20 -07:00
Kubernetes Prow Robot
ee1ff4866e Merge pull request #134479 from pohly/dra-device-taint-no-execute-toleration-fix
DRA device taints: fix toleration of NoExecute
2025-10-10 00:47:00 -07:00
Kubernetes Prow Robot
0a4651c991 Merge pull request #134495 from borg-land/cos-121-gpu
bump cos-gpu-installer to support cos 121
2025-10-09 13:47:00 -07:00
Kubernetes Prow Robot
628845b567 Merge pull request #134456 from gnufied/fix-e2e-modify-volume
With new changes we will also have a VolumeModifying condition
2025-10-09 11:31:02 -07:00
Kubernetes Prow Robot
6c258fa74b Merge pull request #134376 from bertinatto/update-hostpathplugin-image-dra-manifest
Update hostpathplugin image version in DRA test driver manifest
2025-10-09 01:05:00 -07:00
upodroid
4f7e9ff1ef bump cos-gpu-installer to support cos 121 2025-10-09 10:56:29 +03:00
Kubernetes Prow Robot
51e35e61ce Merge pull request #133870 from pohly/build-data-race-detection
build: also support KUBE_RACE for test binaries
2025-10-08 12:57:01 -07:00
Patrick Ohly
6f51446802 DRA device taints: fix toleration of NoExecute
As usual, consumers of an allocated claim react to the information stored in
the status. In this case, the scheduler did not copy the tolerations into the
status and as a result a pod with a toleration for NoExecute got scheduled and
then immediately evicted.

Some additional logging gets added to make the handling easier to track in the
eviction controller. Example YAMLs allow reproducing the use case manually.
2025-10-08 13:13:47 +02:00
Patrick Ohly
9702a2dca2 E2E framework: enable data race detection only if needed
When building the test binary without race detection, we don't
need the post-processing of the JUnit file because it cannot
contain data race reports. This can be done via build tags.
2025-10-08 08:45:21 +02:00
Dan Winship
c189e9d82f Split Endpoints controller and EndpointSlice controller conformance tests 2025-10-07 17:32:53 -04:00
Dan Winship
7b7145a594 Update kubernetes.default endpoints test a bit
Inline the endpointSlicesEqual() method into the test, since despite
its generic-sounding name, it made assumptions specific to this test.

Also, port to generic sets.
2025-10-07 17:32:36 -04:00
Dan Winship
e627b3b2bf Move some network conformance tests around.
Move the Endpoints API test from endpointslice.go to endpoints.go

Move the "kubernetes.default Service exists" and "kubernetes.default
endpoints exist" tests to apiserver.go, since (unlike the rest of
service.go/endpointslice.go) they aren't testing the behavior of the
Service/EndpointSlice/Endpoints APIs.

(No code changes, but fixed a typo in a comment.)
2025-10-07 17:32:34 -04:00
Dan Winship
d46f15bd12 Fix some linter errors before splitting out code
(In particular, fix the wait.PollImmediate calls even in the code
that's staying here, not just the code that's moving.)
2025-10-07 17:32:32 -04:00
Dan Winship
07959fd168 Remove redundant test of "empty EndpointSlice for Service with no Pods"
This was being checked by two different conformance tests.
2025-10-07 17:32:27 -04:00
Dan Winship
ff83235f35 Fix up EndpointSlice conformance test descriptions 2025-10-07 17:32:25 -04:00
Hemant Kumar
01264d3970 With new changes we will also have a VolumeModifying condition
Fix e2e tests to take that into account
2025-10-07 10:31:29 -04:00
Patrick Ohly
c82f2caaa4 DRA E2E: promote CRUD tests to conformance 2025-10-06 17:15:20 +02:00
Kubernetes Prow Robot
0dd78f632e Merge pull request #133747 from pohly/dra-e2e-crud-conformance
DRA: CRUD conformance tests
2025-10-02 20:22:56 -07:00
Kubernetes Prow Robot
5c73384abb Merge pull request #134283 from natasha41575/ippr-tests
[InPlacePodVerticalScaling] refactor and increase coverage for pod resize tests
2025-10-02 17:39:10 -07:00
Benjamin Elder
52dec274b3 add TODO to migrate when new metrics mature and old metrics are deprecated 2025-10-02 15:03:29 -07:00
Benjamin Elder
7c529f25f4 add apiserver_validation_declarative_validation_panic_total invariant 2025-10-02 15:00:44 -07:00
Benjamin Elder
84ce0f57f2 add test to verify invariants are fully specified 2025-10-02 14:57:49 -07:00
Benjamin Elder
41ae5cdf4b check invariant metrics after e2e tests 2025-10-02 14:08:08 -07:00
Natasha Sarkar
748510b8ee refactor and increase coverage for pod resize tests 2025-10-02 20:47:40 +00:00