Commit Graph

26161 Commits

Author SHA1 Message Date
Kevin Hannon
9b6ef250fc always use the last entry in the pidof command as that is the oldest 2024-09-20 09:05:31 -04:00
Maciej Skoczeń
287b61918a Add deletePodsOp to scheduler_perf 2024-09-20 09:46:27 +00:00
Kubernetes Prow Robot
ffabcdc6d1 Merge pull request #127448 from Nordix/esotsal/fix-123852
Potentially deflake "RuntimeClass should reject a Pod requesting a deleted RuntimeClass" test
2024-09-20 08:07:43 +01:00
Abhishek Kr Srivastav
95860cff1c Fix Go vet errors for master golang
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com>
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com>
2024-09-20 12:36:38 +05:30
Kubernetes Prow Robot
08aefc8a92 Merge pull request #119362 from pacoxu/add-new-eviction-pid-test
add new e2e test with PodAndContainerStatsFromCRI enabled for pid eviction order
2024-09-20 05:44:45 +01:00
Davanum Srinivas
3ec74e0984 split into 3 distinct tests
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-19 16:15:53 -04:00
Joe Betz
e3cae09e63 Promote RetryGenerateName to GA 2024-09-19 14:01:46 -04:00
Davanum Srinivas
630abc6929 Resurrect GPU tests that use Jobs
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-19 11:30:49 -04:00
Kubernetes Prow Robot
f0415a65b4 Merge pull request #127406 from toshikish/add-integration-test-for-nodeunschedulable
Add integration test for NodeUnschedulable in requeueing scenarios
2024-09-19 09:02:51 +01:00
Kubernetes Prow Robot
41b7ca240e Merge pull request #127354 from unvavo/add-test-noderesourcesfit-for-queueinghint
Add integration test for NodeResourcesFit in requeueing scenarios
2024-09-19 09:02:45 +01:00
toshikish
aeafb4d149 Add integration test for NodeUnschedulable in requeueing scenarios 2024-09-19 14:54:32 +09:00
Kubernetes Prow Robot
dddffaa4cf Merge pull request #127399 from saku3/add_topologyspread_test
add integration test for podtopologyspread in requeueing scenarios
2024-09-19 05:32:44 +01:00
yusuke.sakurai
b8bd6ebcce add integration test for podtopologyspread in requeueing scenarios 2024-09-19 12:27:31 +09:00
Kubernetes Prow Robot
2850d302ca Merge pull request #127269 from sanposhiho/patch-11
chore: tidy up labels in scheduler-perf
2024-09-19 04:18:44 +01:00
Kubernetes Prow Robot
bf3f651861 Merge pull request #127456 from dims/install-nvidia-daemonset-in-test-harness-for-gce
Install Nvidia Daemonset in test harness for GCE
2024-09-19 02:02:44 +01:00
Davanum Srinivas
08a8cf7865 Install Nvidia Daemonset in test harness for GCE
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-18 19:58:17 -04:00
Stephen Heywood
70f493ab9f Promote VolumeAttachmentStatus e2e test to Conformance 2024-09-19 10:20:47 +12:00
Kubernetes Prow Robot
283ff763b3 Merge pull request #127449 from lengrongfu/fix/e2e-CPUManagerReconcilePeriod
fix e2e test CPUManagerReconcilePeriod field is not allowed 0
2024-09-18 20:46:44 +01:00
rongfu.leng
0c753d1cb9 fix CPUManagerReconcilePeriod field is not allowed 0
Signed-off-by: rongfu.leng <lenronfu@gmail.com>
2024-09-18 23:54:24 +08:00
Sotiris Salloumis
197fec8c8a Deflake "RuntimeClass should reject a Pod requesting a deleted RuntimeClass" test
Test today uses deprecated method PollImmediate, which does not return errors
from context, this commit tries to fix this using instead PollUntilContextTimeout.
2024-09-18 17:29:31 +02:00
unvavo
cf3aa04ed1 add integration test for noderesourcesfit in requeueing scenarios 2024-09-19 00:01:23 +09:00
Kevin Hannon
5358be5252 set timeout to a minute to see if this resolves flakes 2024-09-18 09:03:34 -04:00
googs1025
69831b0043 chore(scheduler): refactor import package ordering 2024-09-18 20:31:03 +08:00
Kubernetes Prow Robot
6f1583990a Merge pull request #124792 from mjudeikis/mjudeikis/ctx.wiring
Wire in ctx into rbac plugins
2024-09-18 08:26:44 +01:00
carlory
1eee8ff3da fix lint 2024-09-18 10:53:00 +08:00
Manish
1a2162fb75 Enable volume group snapshots in CSI hostpath plugin
This commit updates the CSI hostpath plugin configuration by adding the `--enable-volume-group-snapshots=true` argument to the container startup parameters. This change allows the CSI hostpath plugin to support volume group snapshots functionality, enhancing testing capabilities for features that require group snapshot support in end-to-end tests.

Signed-off-by: Manish <myathnal@redhat.com>
2024-09-18 07:32:13 +05:30
Manish
6d21b621ad Add CRDs for VolumeGroupSnapshots management
This commit introduces three new CustomResourceDefinitions (CRDs) for managing volume group snapshots within Kubernetes clusters:
1. VolumeGroupSnapshotClasses: Defines the properties and parameters required for volume group snapshot classes.
2. VolumeGroupSnapshotContents: Details the structure and management of on-disk group snapshot contents.
3. VolumeGroupSnapshots: Specifies user requests and properties for creating or binding to group snapshots.

Each CRD is equipped with comprehensive specs, including fields like deletionPolicy, driver, and creationTime, tailored to enhance management capabilities and integration with the CSI driver specifications.

Approved API references:
- VolumeGroupSnapshotClasses: kubernetes-csi/external-snapshotter#814
- VolumeGroupSnapshotContents and VolumeGroupSnapshots: kubernetes-csi/external-snapshotter#1068

Signed-off-by: Manish <myathnal@redhat.com>
2024-09-18 07:32:10 +05:30
Kubernetes Prow Robot
08382213e8 Merge pull request #127423 from dims/add-some-simple-tests-for-nvidia-gpus
Add some simple tests for nvidia GPU(s)
2024-09-18 00:54:56 +01:00
Kubernetes Prow Robot
8e17456a01 Merge pull request #127417 from aojea/endpoints_updated_rv
bugfix: endpoints controller track resource version conrrectly
2024-09-18 00:54:50 +01:00
Kubernetes Prow Robot
203293ebbf Merge pull request #127046 from thockin/purge_jessie_dnsutils
Clean up DNS e2e wrt Jessie/Wheezy
2024-09-18 00:54:43 +01:00
Kubernetes Prow Robot
920e9e34b0 Merge pull request #126977 from aaron-prindle/compat-version-132
chore: bump DefaultKubeBinaryVersion to 1.32, make 1.32 CEL changes, fix int tests to handle 1 version off API deprecation, and fix prerelease-lifecycle-gen for # of APIs
2024-09-17 23:50:43 +01:00
Kubernetes Prow Robot
1874039f82 Merge pull request #127388 from p0lyn0mial/upstream-watchlist-meta-client
metadata client: add support for API streaming
2024-09-17 21:54:44 +01:00
Davanum Srinivas
71bdcab2ad Add some simple tests for nvidia GPU(s)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-09-17 16:18:00 -04:00
Tim Hockin
a9189735ac Rename DNS tests and restructure
Get rid if "wheezy" (it's not wheezy) and set it up to process an
arbitrary list of probers, but stop short of adding more.
2024-09-17 12:39:53 -07:00
Aaron Prindle
701e6c7ab1 chore: bump DefaultKubeBinaryVersion to 1.32, make 1.32 CEL changes, fix int tests to handle 1 version off API deprecation, and fix prerelease-lifecycle-gen for # of APIs 2024-09-17 19:32:14 +00:00
Tim Hockin
094a11b5cb Revert "Clean up DNS e2e wrt Jessie/Wheezy"
This reverts commit eeb36da2b97e87b3534c7bece9355cefc6f16472.
2024-09-17 10:12:54 -07:00
Tim Hockin
b228aebaf2 Clean up DNS e2e wrt Jessie/Wheezy 2024-09-17 10:12:53 -07:00
Mangirdas Judeikis
4e4eb8c5c9 wire in ctx to rbac plugins 2024-09-17 20:04:02 +03:00
Michał Woźniak
d6e5fb4a75 Make Job PodFailurePolicy e2e tests resilient to random failures to prepare them for conformance (#126169)
* Make JobPodFailurePolicy tests for ignore resilient to random failures

* Increase parallelism and evict in parallel

* Code review fixes to the job e2e tests
2024-09-17 18:00:19 +01:00
Kubernetes Prow Robot
bfd91fbb3e Merge pull request #125222 from danwinship/kind-loadbalancers-4
Fix "updates to ExternalTrafficPolicy" test
2024-09-17 14:05:14 +01:00
Yang Yang
dba4e42a39 bugfix: endpoints controller track resource version conrrectly
The endpoints controller store the resource version of the previous
Endpoints objects to avoid issues related to stale information on the
cache.

However, there can be update operations that succeed without increasing
the resource version, causing the endpoints controller to declare stale
the existing Resource Version and stopping the Endpoints to be updated.

Co-Author-By: Quan Tian <quan.tian@broadcom.com>
Co-Author-By: Yang Yang <yyyng@amazon.com>
2024-09-17 11:01:35 +00:00
Antonio Ojea
79ef4668cd remove obsolete test ClusterDns [Feature:Example] [Feature:Networking-IPv4] should create pod that uses DNS 2024-09-17 09:11:11 +00:00
Kubernetes Prow Robot
b4140391cf Merge pull request #127395 from macsko/fix_scheduler_perf_log_when_deleting_pod_failed
Fix opIndex in log when deleting pod failed in scheduler_perf
2024-09-17 00:35:14 +01:00
Dan Winship
a6b08a8ea4 Refactor "updates to ExternalTrafficPolicy" test
The LoadBalancer test "should handle updates to ExternalTrafficPolicy
field" had a bunch of problems, but the biggest is that (without doing
[Disruptive] things to the cluster or making unwarranted assumptions
about source IPs) it's very hard to *prove* that the cloud load
balancer is doing Cluster traffic policy semantics (distributing
connections to all nodes) rather than Local (distributing only to
nodes with endpoints).

So split the test into 2 new tests with more focused semantics:

  - "should implement NodePort and HealthCheckNodePort correctly when
    ExternalTrafficPolicy changes" (in service.go) tests that the
    service proxy is correctly implementing the proxy side of
    Cluster-vs-Local traffic policy for LoadBalancer Services, without
    testing the cloud load balancer itself at all.

  - "should target all nodes with endpoints" (in loadbalancer.go)
    complements the existing "should only target nodes with
    endpoints", to ensure that when a service has
    `externalTrafficPolicy: Local`, and there are endpoints on
    multiple nodes, that the cloud is correctly configured to target
    all of those endpoints, not just one.
2024-09-16 18:17:09 -04:00
Kubernetes Prow Robot
3ab0c84bac Merge pull request #126978 from huww98/e2e-storage-multi-name
e2e/storage: get driver name from storage class
2024-09-16 18:23:14 +01:00
Maciej Skoczeń
2d4d7e0b5f Fix opIndex in log when deleting pod failed in scheduler_perf 2024-09-16 13:48:24 +00:00
Lukasz Szaszkiewicz
0f933a0b14 test/apimachinery/watchlist: add scenario for metadata client's List method 2024-09-16 15:03:59 +02:00
Lukasz Szaszkiewicz
6d258660fd e2e/apimachinery/watchlist: slighty refactor unstructured tests 2024-09-16 15:03:59 +02:00
Kevin Hannon
67402fe110 Revert "add e2e test for restart kubelet" 2024-09-15 15:47:02 -04:00
Kubernetes Prow Robot
af2bf2d8f1 Merge pull request #127364 from aojea/e2e_tag_networks
Fix e2e tests tags
2024-09-15 16:23:13 +01:00