Commit Graph

28667 Commits

Author SHA1 Message Date
Stanislav Láznička
bb1b23a34e e2e fake registry: add function docs
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-10-29 13:17:04 +01:00
Stanislav Láznička
fc81e22735 fix Node Conformance Container Runtime test with fake registry
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-10-29 13:17:03 +01:00
Stanislav Láznička
a0e64c21f2 Use fake registry in Node's container runtime image pulling tests
Signed-off-by: Stanislav Láznička <slznika@microsoft.com>
2025-10-29 13:06:34 +01:00
Stanislav Láznička
a3f242676c Revert "remove failing test that depends on expired credential, remove credential, add TODOs"
This reverts commit 8ace0fb89f.
2025-10-28 14:23:54 +01:00
Kubernetes Prow Robot
59616d50fd Merge pull request #134691 from SergeyKanzhelev/watchdogIsGA
Lock SystemdWatchdog feature gate
2025-10-27 03:43:37 -07:00
Kubernetes Prow Robot
084bac6896 Merge pull request #134888 from yt2985/podcertificates-agnhost-2
Fix the error "unknown flag: --logtostderr" in Agnhost 2.58
2025-10-26 15:21:34 -07:00
Kubernetes Prow Robot
1b87cedb7f Merge pull request #134822 from humblec/update-base
test/images: Update tf-wide-deep base image from Python 3.6 to 3.11
2025-10-26 07:49:33 -07:00
Humble Devassy Chirammal
f8ca585b66 test/images: Update tf-wide-deep container image with Python 3.11 and TensorFlow 2.20.0
- Updated base image from python:3.6-slim-stretch to python:3.11-slim-bookworm
- Bumped version from 1.3 to 1.4
- Updated TensorFlow from 1.9.0 to 2.20.0 (latest stable)
- Updated TensorFlow models from v1.9.0 to v2.15.0

Signed-off-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
2025-10-26 11:42:47 +05:30
tinatingyu
36654a9ecb --no-edit 2025-10-26 04:01:23 +00:00
tinatingyu
cff8bc8686 fix the unknown flag: --logtostderr error 2025-10-26 03:48:43 +00:00
Kubernetes Prow Robot
1d16b7f3a8 Merge pull request #134856 from soltysh/flake_events
Improve cmd tests for kubectl events
2025-10-24 23:27:33 -07:00
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
83e8760449 Merge pull request #134552 from danwinship/network-kep-cleanup-1.35
SIG Network KEP cleanup for 1.35
2025-10-24 10:59:42 -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
97702bb776 Merge pull request #134778 from yt2985/podcertificates-agnhost-2
Add mtlsclient and mtlsserver for the mtls validations
2025-10-24 10:09:45 -07:00
Maciej Szulik
167ccbc8ec Improve cmd tests for kubectl events
kube::test::if_has_string and kube::test::if_has_not_string only match
the first argument, and don't allow regular expressions, so we need to
split the checks into separate buckets, ensuring they are strictly tied
to this particular test.

Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-10-24 16:37:03 +02:00
Dan Winship
715228f478 Remove LoadBalancerIPMode feature gate 2025-10-24 09:12:03 -04:00
Dan Winship
b5297b18ab Remove AllowServiceLBStatusOnNonLB feature gate 2025-10-24 09:12:01 -04: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
9e5b6ad748 fix error checks 2025-10-23 16:18:18 +00:00
Kubernetes Prow Robot
57c243f33c Merge pull request #134450 from mayank-agrwl/controller-contextual-logs
Replace HandleCrash and HandleError calls to use context-aware alternatives
2025-10-23 00:49:02 -07:00
Kubernetes Prow Robot
905d72b9bb Merge pull request #134757 from neolit123/1.35-fix-e2e-test-hostname-override
/test: use a different image for hostname override e2e tests
2025-10-22 17:38:45 -07:00
Kubernetes Prow Robot
972517f0dd Merge pull request #134281 from siyuanfoundation/fix-test
adopt consistent way to set feature gate based on emulation version for kcm and scheduler test server.
2025-10-22 13:26:39 -07:00
Kubernetes Prow Robot
cc74055f3f Merge pull request #134745 from swatisehgal/device-plugin-e2e-flakiness-1
node: e2e: Ensure device plugin pod is Running/Ready before registration
2025-10-22 11:54:47 -07:00
Siyuan Zhang
70ac573619 adopt consistent way to set feature gate based on emulation version for kcm and scheduler test server.
Signed-off-by: Siyuan Zhang <sizhang@google.com>
2025-10-22 13:20:30 -05: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
Kubernetes Prow Robot
d8a53105dd Merge pull request #134631 from yuanwang04/restart-rules
Promote ContainerRestartRules to beta
2025-10-21 19:44:44 -07:00
Yuan Wang
f2a4ffd5b8 Promote ContainerRestartRules to beta
Fix prober not running properly with containerRestartRules and add unit test coverage
2025-10-21 23:58:39 +00:00
Benjamin Elder
b0a15b9163 switch storage e2e tests from md5 to sha256 2025-10-21 15:25:11 -07:00
Sean Sullivan
413c34f319 Added feature gate and tests 2025-10-21 20:31:24 +00:00
Swati Sehgal
13511897bd node: e2e: extend wait for resources exported by sample device plugin
In the device plugin node reboot e2e test, the test previously waited a
short period for the resources exported by the sample device plugin to
appear on the local node. On slower test nodes, the plugin may take
longer to register, causing flakes where the expected devices are not
yet available.

This change increases the polling duration to 2 minutes, ensuring the test
waits long enough for the expected device capacity and allocatable resources
to appear, improving test stability.

This commit also updates the assertion message to be more explicit making
failures clearer and improving test reliability.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-10-21 13:59:17 +01:00
Swati Sehgal
c2e1fdeb7a node: e2e: Ensure device plugin pod is Running/Ready before registration
In the device plugin node reboot e2e test, the registration trigger
(control file deletion) was being executed immediately after pod creation.
This could create a race condition: the device plugin container might not
be fully running, causing the test to flake when devices were not reported
as available on the node.

This change explicitly waits for the sample device plugin pod to reach the
Running/Ready state before deleting the registration control file. This
ensures that the device plugin is ready to register its devices with the
kubelet, eliminating a possible source of test flakiness.

Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2025-10-21 13:41:30 +01: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
031f4d541a Merge pull request #133072 from AadiDev005/fix-sidecar-startup-probe
Fix startup probe worker termination for sidecar containers
2025-10-20 12:26:37 -07:00
HirazawaUi
ba6074dd0b Promote HostnameOverride feature gate to beta stage 2025-10-20 20:22:39 +08: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
b067e45290 Merge pull request #134695 from kannon92/procmount-usernamespace
usernamespace and procmount are tightly coupled. Disable them together
2025-10-17 21:56:40 -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
Kubernetes Prow Robot
9dcfb3d04b Merge pull request #133373 from AkihiroSuda/carry-133278
[Carry 133278] kubelet: Don't ignore idsPerPod config #133278
2025-10-17 15:40:43 -07:00
Kevin Hannon
03c7962d17 usernamespace and procmount are tightly coupled. Disable them together 2025-10-17 16:40:45 -04: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
Sergey Kanzhelev
9864c29861 Lock SystemdWatchdog feature gate 2025-10-17 17:50:41 +00: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
7af016ec31 Merge pull request #133153 from helayoty/helayoty/enable-beta-maxUnavailable
Update MaxUnavailableStatefulSet feature gate to beta
2025-10-16 12:04:50 -07:00
Kubernetes Prow Robot
50e3cb3f58 Merge pull request #133128 from jm-franc/set-gate-to-beta
Promote HPAConfigurableTolerance gate to beta
2025-10-16 12:04:43 -07:00