454 Commits

Author SHA1 Message Date
yliao
23d6f73e72 extended resource backed by DRA: test 2025-07-29 18:55:28 +00:00
Yuan Wang
4b479da4b5 Remove the feature from e2e test 2025-07-28 16:33:20 +00:00
Yuan Wang
b34f8782e2 Add e2e tests 2025-07-24 16:49:54 +00:00
Kubernetes Prow Robot
4676341457 Merge pull request #133065 from natasha41575/dedupe-resize-test
dedupe fetching allocatable and available resources in node test
2025-07-22 17:56:27 -07:00
ylink-lfs
fb4e252224 test: add batch pod deletion for kubelet e2e tests 2025-07-19 14:13:59 +08:00
Natasha Sarkar
13a6d2121c check a couple extra failure scenarios 2025-07-18 23:30:54 +00:00
Natasha Sarkar
5d31866313 dedupe fetching allocatable and available resources in node test 2025-07-18 17:50:07 +00:00
Natasha Sarkar
f456a70bde use CreateBatch and MakeResizePatch 2025-07-17 19:19:05 +00:00
Natasha Sarkar
86bc1bf0a4 more complex e2e test for deferred resizes 2025-07-17 17:50:45 +00:00
Natasha Sarkar
237fbde8b1 clean up e2e test and sorting code 2025-07-10 22:30:21 +00:00
Natasha Sarkar
6052c569db prioritize resize requests by priorityClass and qos class 2025-07-10 18:01:15 +00:00
PatrickLaabs
e74bbd5db4 chore: depr. pointer pkg replacement for test/e2e 2025-07-06 22:32:21 +02:00
carlory
5e54df3e72 Fix [Failing test] [sig-node] [Feature:GPUDevicePlugin] [Serial]-related tests 2025-06-19 15:32:23 +08:00
Kubernetes Prow Robot
0e674fd468 Merge pull request #130107 from carlory/fix-getPodMatches
fix getPodMatches should call /runningpods endpoint
2025-06-13 01:46:56 -07:00
Kubernetes Prow Robot
901d1249b5 Merge pull request #131801 from natasha41575/move-handle-pod-additions
move pod admission and resize logic into the allocation manager
2025-06-02 13:42:38 -07:00
Natasha Sarkar
676978641e address feedback 2025-05-19 19:38:42 +00:00
Natasha Sarkar
88e1909e51 move pod admission and resize logic into the allocation manager 2025-05-19 19:38:42 +00:00
Peter Hunt
c5e4cab9b1 e2e: add corresponding featuregate label to node features
there are many cases of an e2e feature being the main filtering mechanism for a test.
However, this makes it tricky for suite authors to filter tests based on available features.
This mechanism is still useful for e.g. making sure a runtime on a suite is of the correct level,
but in general we should both label tests with the Feature set they require (whether runtime is correct) as well
as the feature gates they test.

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2025-05-13 13:14:47 -04:00
Kubernetes Prow Robot
79d1cf301e Merge pull request #131409 from bertinatto/fix-authz-test
e2e: set appropriate groups in SAR of kubelet authz test
2025-05-08 14:39:15 -07:00
Kubernetes Prow Robot
b1ce2a61b5 Merge pull request #131249 from MaysaMacedo/randomize-name
Kubelet: Randomize ClusterRole name in e2e
2025-05-07 07:59:16 -07:00
Maysa Macedo
b1bb9a5885 Kubelet: Randomize ClusterRole name in e2e
It's possible that a conflict will happen when
attempting to create a `ClusterRole` resource
without a randomized name given that is a cluster
scoped object and another object with same name
might exist. This commit fixes this issue by ensuring
the name of the `ClusterRole` is randomized. Additionally,
it adds clean up for the clusterRole and clusterRoleBinding.
2025-05-06 14:30:10 -03:00
Kubernetes Prow Robot
73b5f84cb6 Merge pull request #131487 from hshiina/dedup-cgroup-verification
e2e: Deduplicate cgroup verification
2025-05-06 04:03:17 -07:00
Fabio Bertinatto
e36a168a63 test/e2e/node/kubelet_authz.go: fix SAR to include service account groups
This sets the appropriate groups (system:authenticated, system:serviceaccounts,
system:serviceaccounts:<ns>) in the SAR used in WaitForAuthzUpdate to accurately
simulate the service account’s identity.
2025-05-05 10:37:42 -03:00
Kubernetes Prow Robot
c87ed899e6 Merge pull request #131378 from cuishuang/master
fix: Fix non-constant format string in framework.Logf call
2025-05-04 19:31:56 -07:00
Hironori Shiina
7e1cec680e e2e: Deduplicate cgroup verification
This fix deduplicates cgroup verification in tests for
InPlacePodVerticalScaling and PodLevelResources.
2025-05-01 14:53:26 +02:00
Kubernetes Prow Robot
e0dbdc9d17 Merge pull request #131518 from kevinrizza/pod-resize-test-namespace
Don't create extra namespaces during pod resize tests
2025-04-29 09:18:02 -07:00
Kubernetes Prow Robot
ea08d4df93 Merge pull request #128946 from jackfrancis/SetPVCVACName-eventually-gomega
test: don't panic during an Eventually retry loop
2025-04-29 09:17:55 -07:00
kevinrizza
903d6d4f03 Don't reinitialize test framework during each test case
This commit updates pod resize tests to resolve an
issue where extraneous unused namespaces are created
when the tests are run. This happens because a new
instance of the test framework is generated when
looping over the test specs, registering BeforeEach each
time.
2025-04-29 09:17:40 -04:00
Kubernetes Prow Robot
30f8f3d146 Merge pull request #131361 from jkyros/fix-inplace-test-wait-quota-status
[FG:InPlacePodVerticalScaling] deflake - wait for resourceQuota status to be populated
2025-04-25 13:35:22 -07:00
John Kyros
00908ce2d1 Wait for resource quota status to be populated
Trying to create a pod using a resourcequota whose status has not been
populated will result in api admission rejecting it with a 403
Forbidden. The pod resize tests do not wait/check to make sure the
resourcequota status is populated before trying to use the quota when
creating a pod, so in scenarious where either the test runs too fast, or
the resourcequota controller is too slow, the tests will fail.

This just makes the test wait up to a minute for the quota status to
populate. The status generation timing/logic gets tested separately in
test/e2e/apimachinery/resource_quota.go, and it waits a minute, so we
wait a minute, but in practice it takes at worst seconds.
2025-04-25 01:09:08 -05:00
Kubernetes Prow Robot
4bcaa515c9 Merge pull request #131267 from tallclair/resize-helpers
Move pod resize e2e utilities out of e2e/framework
2025-04-24 01:28:44 -07:00
Tim Allclair
947a9f26fa Move pod resize e2e utilities out of e2e/framework 2025-04-23 14:02:36 -07:00
cuishuang
d10eb86927 fix: Fix non-constant format string in framework.Logf call
Signed-off-by: cuishuang <imcusg@gmail.com>
2025-04-22 14:01:41 +08:00
Ryan Phillips
58ff3129ad update kubelet_authz.go to new test framework 2025-04-03 15:57:08 -05:00
Natasha Sarkar
83bb5d5705 deflake restart count assertions in in-place resize tests (#131055) 2025-03-27 07:56:40 -07:00
Natasha Sarkar
2350e7a911 deflake pod-resize-resource-quota-test 2025-03-25 21:12:29 +00:00
Kubernetes Prow Robot
dd43c3d29d Merge pull request #130953 from tallclair/ippr-e2e
Run in-place resize tests in default CI jobs
2025-03-21 12:18:31 -07:00
Tim Allclair
16f5fe6a26 Fix infeasible resize test 2025-03-20 19:17:13 -07:00
Tim Allclair
6873e81929 Run in-place resize tests in default CI jobs 2025-03-20 14:44:37 -07:00
Kubernetes Prow Robot
451d032915 Merge pull request #130210 from everpeace/KEP-3619-promote-SupplementalGroupsPolicy-to-Beta
KEP-3619: Promote SupplementalGroupsPolicy feature to Beta
2025-03-20 11:24:37 -07:00
Kubernetes Prow Robot
9193be3aec Merge pull request #130383 from toVersus/chore/e2e-node-aghnhost
[e2e/node] update base image from busybox to agnhost
2025-03-20 09:22:40 -07:00
Shingo Omura
586af6b568 KEP-3619: move SupplementalGroupsPolicy e2e test from /e2e/node/ to /e2e/common/node/ 2025-03-20 13:46:01 +09:00
Shingo Omura
4055b1a9b5 KEP-3619: update e2e test to check a pod with SupplementalGroupsPolicy=Strict should be rejected when the node does not support the feature 2025-03-20 13:45:23 +09:00
Natasha Sarkar
1889e0cad6 scheduler sets observedGeneration in pod conditions 2025-03-19 15:45:41 +00:00
Natasha Sarkar
4c2be4bdde kubelet sets observedGeneration in conditions 2025-03-18 15:43:24 +00:00
Natasha Sarkar
a15520fbea Move pod resize status to pod conditions 2025-03-17 22:01:05 +00:00
Jack Francis
53499d97ee prefer error over bool, prefer Should(gomega.Succeed())
Signed-off-by: Jack Francis <jackfrancis@gmail.com>
2025-03-13 16:15:24 -07:00
Jack Francis
d54ff7441e test: don't panic during an Eventually retry loop
Signed-off-by: Jack Francis <jackfrancis@gmail.com>
2025-03-13 13:57:55 -07:00
Kubernetes Prow Robot
07d66d9c26 Merge pull request #130574 from natasha41575/drop_proposed_resize_status
[FG:InPlacePodVerticalScaling] Drop `Proposed` resize status
2025-03-11 09:49:46 -07:00
Natasha Sarkar
8a20e90839 [FG:InPlacePodVerticalScaling] Drop 'Proposed' resize status 2025-03-10 20:46:02 +00:00