Mads Jensen
757647786d
Remove redundant re-assignments in for-loops in test/{e2e,integration,utils}
...
The modernize forvar rule was applied. There are more details in this blog
post: https://go.dev/blog/loopvar-preview
2026-01-25 22:58:27 +01:00
Sotiris Salloumis
d9c3ec29ad
Move getNodeAllocatableAndAvailableValues to framework
...
To allow use of this good method from future tests using
e2enode test framework.
2026-01-21 19:41:08 +01:00
Patrick Ohly
47d02070ba
E2E: remove unnecessary trailing spaces in test names
...
The spaces are unnecessary because Ginkgo adds spaces automatically.
This was detected before only for tests using the wrapper functions,
now it also gets detected for ginkgo methods.
2026-01-07 12:05:43 +01:00
ndixita
10b73f8ef9
Test fixes
...
Signed-off-by: ndixita <ndixita@google.com >
2025-11-12 06:21:06 +00:00
ndixita
1733d8fc8c
e2e tests
...
Signed-off-by: ndixita <ndixita@google.com >
2025-11-11 18:19:09 +00:00
ndixita
efc3126b76
Adding Resources and AllocatedResoures fields to the list of expected fields in PodStatus in admission test
2025-11-11 18:15:20 +00:00
Yuan Wang
0b47a37861
Keep pod in running state and prune past container status from runtime
2025-11-11 06:37:49 +00:00
Yuan Wang
aac951d902
Add dependency for NodeDeclaredFeatures
2025-11-10 09:41:02 +00:00
Yuan Wang
2eb1eeeabf
add disruptive tests
2025-11-10 09:41:02 +00:00
Yuan Wang
83c5cd5526
Implement restartPod action
2025-11-10 09:41:02 +00:00
Lubomir I. Ivanov
396a7c1a12
test/e2e/node: add minimum kubelet version to some pod tests
...
A couple of tests were recently promoted to conformance
but they did not include a minimimum kubelet version,
which broke the kubeadm/kinder e2e jobs that skew the kubelet
version against the apiserver version.
2025-11-05 12:06:47 +02:00
Natasha Sarkar
2a217a9bfd
promote pod generation tests to conformance
2025-10-29 20:57:59 +00:00
Natasha Sarkar
21c832b47d
promote pod generation to GA
2025-10-29 15:52:17 +00:00
Kubernetes Prow Robot
c7f910ed1f
Merge pull request #133762 from natasha41575/expandQuotaTests
...
[InPlacePodVerticalScaling] Expand coverage for resourceQuota and limitRanger e2e tests
2025-10-02 00:10:56 -07:00
Michael Aspinwall
84f85712be
feat: Add matcher and conformance tests ensuring that RV is uint128
2025-10-01 00:01:50 +00:00
Michael Aspinwall
37fcfcd29e
feat: Add conformance tests for all resources for comparable resource version
2025-09-29 23:32:07 +00:00
Natasha Sarkar
89b75e998d
expand coverage for resource quota and limit ranger tests
2025-09-19 15:44:42 +00:00
Mauricio Poppe
55700685bd
Revert "Add retries to node's crictl test"
2025-09-08 20:35:31 -04:00
Sascha Grunert
c8f8f66e6d
Increase termination timeout for evicted pods should be terminal test
...
This doubles the termination timeout for the eviction test from 5min to
10min. Reason for that is that the eviction manager relies on pod stats
metrics, which may not be acceessible during a period of time because of
the kubelet API unreachable. This could be reasoned in hardware or
network pressure when multiple tests run in parallel.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2025-09-03 08:58:46 +02:00
Natasha Sarkar
f1d980adf9
separate resource-quota and limit-ranger resize tests
2025-08-28 15:56:10 +00:00
Mauricio Poppe
e1dd085ffe
Add retries to node's crictl test.
...
In addition, simplify the test by only considering the output of
`crictl version` which already displays info about the container
runtime.
2025-08-12 16:31:39 +00:00
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