Commit Graph

16583 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
26a82cd894 Merge pull request #136173 from Phaow/add-vgs-tests
test: add vgs retain policy test
2026-02-26 19:12:24 +05:30
Penghao
d7cc386716 fix: refine cleanup logic
Signed-off-by: Penghao <pewang@redhat.com>
2026-02-25 22:16:00 +08:00
Kubernetes Prow Robot
691a44c3b5 Merge pull request #137119 from danwinship/dual-stack-tests
dual stack test fixups
2026-02-25 19:43:47 +05:30
Dan Winship
aee4ca0ee8 Fix the pod startup timeout in the NoSNAT test
It was using a hardcoded timeout of 1 minute, as opposed to
framework.PodStartTimeout, which is 5 minutes, which is likely the
cause of some recent flakes.

Also, use a helper function.
2026-02-24 17:32:27 -05:00
Kubernetes Prow Robot
3bc0b290e9 Merge pull request #136937 from p0lyn0mial/upstream-reflector-list-unsupported-table
client-go/reflector: reject Table format resources in List and Watch paths
2026-02-23 20:59:36 +05:30
Kubernetes Prow Robot
c18ca07846 Merge pull request #137182 from danwinship/node-killer-killer
Drop k/k's copy of e2e NodeKiller
2026-02-21 20:43:38 +05:30
Dan Winship
a401451df8 Drop NodeKiller
This was supposed to have been removed shortly after it was added (the
functionality was moved to kubernetes/perf-tests, where it has since
been improved).
2026-02-21 08:30:04 -05:00
Adrian Moisey
130641d6fd Remove WithSerial
This test is very slow (15 minutes). This is testing if it can be run in
parallel
2026-02-21 12:13:49 +02:00
Adrian Moisey
a3bf19813c Style linting 2026-02-21 07:22:56 +02:00
Adrian Moisey
45a6ede4fe Mark some HPA slow tests as slow
This will put the tests near the start of the run
2026-02-21 07:22:11 +02:00
Kubernetes Prow Robot
54241eea4d Merge pull request #137046 from bart0sh/PR223-e2e-refactor-extended-resources
e2e: DRA: refactor device class creation API
2026-02-21 00:41:40 +05:30
Kubernetes Prow Robot
9cd74d8c96 Merge pull request #137168 from adrianmoisey/adrian-deflake-test
Decrease likelihood of HPA flake in Configurable Tolerance
2026-02-20 23:01:49 +05:30
Dan Winship
05ca657434 Rewrite an incorrect dual-stack e2e test
The test was previously asserting that in a dual-stack cluster, every
node had exactly 2 InternalIPs, where 1 was IPv4 and 1 was IPv6. Even
ignoring the possibility of having some single-stack nodes in a
dual-stack cluster, this test was wrong since (a) it didn't allow
nodes to have additional non-primary node IPs, and (b) it
discriminated against ExternalIPs.

Fix it to just assert that in a dual-stack cluster, at least 1 node
has at least 1 IPv4 IP and at least 1 IPv6 IP.
2026-02-20 08:02:49 -05:00
Adrian Moisey
419960798a Decrease likelihood of HPA flake 2026-02-20 13:53:13 +02:00
Ed Bartosh
1b258b0de7 e2e: DRA: refactor device class creation API
Replace numeric index-based extended resource naming with descriptive
string-based naming in DRA E2E tests for improved readability and
maintainability.

Changes:
- Replaced ExtendedResourceName(int) with ExtendedResourceName(string)
  to use descriptive suffixes instead of numeric indices
- Replaced Class(int) with Class() and add ClassWithExtendedResource()
  for explicit extended resource creation
- Removed SingletonIndex constant in favor of e2enode.SampleDeviceResourceName
- Added DeviceClassWrapper with builder pattern methods
  (WithName, WithExtendedResource)
- Updated all test cases to use descriptive resource names ("cleanup",
  "quota", "overcommitment", etc.) instead of numeric indices (0, 1, 2)
- Used resourceapi.ResourceDeviceClassPrefix for implicit extended
  resource names

This refactoring  makes test code more readable and maintainable by making
extended resources and device class naming explicit rather than implicit through
index values.
2026-02-20 12:14:16 +02:00
Kubernetes Prow Robot
8bcd09d171 Merge pull request #137134 from adrianmoisey/try-fix-test
Mark HPA's configurable tolerance test as serial
2026-02-20 00:57:59 +05:30
Kubernetes Prow Robot
ca40b5ba19 Merge pull request #137129 from danwinship/node-authn-fix
Fix the NodeAuthenticator e2e tests to not be no-ops
2026-02-20 00:57:50 +05:30
Kubernetes Prow Robot
8812ec563c Merge pull request #134353 from skitt/drop-string-slice
Deprecate obsolete slice utility functions
2026-02-20 00:57:41 +05:30
Kubernetes Prow Robot
e7ce1e10d0 Merge pull request #137131 from danwinship/unused-networking-framework
Remove some dead e2e networking test framework code
2026-02-19 22:13:46 +05:30
Kubernetes Prow Robot
d600aa009e Merge pull request #137123 from jacobsee/dra-replicaset-scale-during-test-teardown
Scale ReplicaSet in DRA test down once in total, not once per pod
2026-02-19 22:13:39 +05:30
Kubernetes Prow Robot
0536cfdf8d Merge pull request #137107 from joshjms/update-etcd-3.6.8
etcd: update etcd image to v3.6.8
2026-02-19 21:05:40 +05:30
Adrian Moisey
278cdba56e Mark HPA's configurable tolerance test as serial 2026-02-19 16:53:02 +02:00
Dan Winship
8c9b2153e1 Remove some more dead code 2026-02-19 09:10:02 -05:00
Dan Winship
db71bd462f Remove test/e2e/framework/ingress
Nothing uses this any more (all the code that used it was removed
along with the GCP provider).
2026-02-19 09:10:02 -05:00
Dan Winship
cf1db16450 Fix the NodeAuthenticator e2e tests
The tests were accidentally shadowing the nodeIPs variable, resulting
in them being no-ops.

Noticed while trying to fix them to only act on a single node IP
anyway, because there's no guarantee that kubelet is listening on
every reported node IP.
2026-02-19 07:22:21 -05:00
Jacob See
88ed94e342 Scale ReplicaSet in DRA test down once in total, not once per pod
The RS scale down closure was registered inside the per-pod loop,
causing it to run several times during cleanup. On the second+
iteration the RS Get/Update could fail with a conflict error if the
resourceVersion changed, failing the test during teardown even
though the test itself passed. Move it out of the loop so it runs once.
2026-02-18 14:04:05 -08:00
Dan Winship
755a7261ee Fix some dual-stack tests to use svc.Spec.IPFamilies 2026-02-18 13:52:36 -05:00
Lalit Chauhan
4c13c220f5 Add conformance tests for MutatingAdmissionPolicy 2026-02-18 18:33:22 +00:00
joshjms
7c54689847 etcd: update etcd image to v3.6.8
Signed-off-by: joshjms <joshjms1607@gmail.com>
2026-02-18 21:29:56 +08:00
Kubernetes Prow Robot
d820c046f5 Merge pull request #137090 from adrianmoisey/adrian-hpa
Update HPA Configurable Tolerance e2e test feature
2026-02-18 18:13:47 +05:30
Kubernetes Prow Robot
0ca5cba140 Merge pull request #135965 from kannon92/kep-5440-feature-gate-enable-e2e-test
set KEP-5440 to enabled by default
2026-02-18 18:13:38 +05:30
Kubernetes Prow Robot
5fa8c7f7e6 Merge pull request #137081 from guettli/fallback-to-external-ip-in-tests
Fallback to ExternalIP in tests.
2026-02-18 15:11:37 +05:30
Kubernetes Prow Robot
5e8bc18171 Merge pull request #137076 from atilsensalduz/chore/hpa-e2e-update-deprecated-apis-to-current
chore(test/autoscaling): update HPA e2e DynamicResourceConsumer to use current APIs
2026-02-18 14:05:38 +05:30
Kubernetes Prow Robot
1bb4d4f7b3 Merge pull request #137057 from iPraveenParihar/e2e/fix-flaky-snapshot-metadata-test
e2e: fix snapshot metadata test flakes by removing in-test CRD creation
2026-02-18 00:23:53 +05:30
Adrian Moisey
3014499d20 Update HPA Configurable Tolerance e2e test feature
This should be "HPA"
2026-02-17 20:11:13 +02:00
Kubernetes Prow Robot
e7e9eebc02 Merge pull request #137088 from soltysh/logs_timeout
Bump logs e2e timeout to 3s to match log generator
2026-02-17 23:31:55 +05:30
Praveen M
0e6bf008b8 e2e: fix snapshot metadata test flakes by removing in-test CRD creation
Signed-off-by: Praveen M <m.praveen@ibm.com>
2026-02-17 22:17:16 +05:30
Thomas Güttler
8e7eb56023 Fallback to ExternalIP in tests.
Make test code behave like [GetNodeHostIPs()](https://pkg.go.dev/k8s.io/kubernetes/pkg/util/node#GetNodeHostIPs)

First try InternalIP, then ExternalIP.
2026-02-17 17:24:08 +01:00
Maciej Szulik
76ba5f101c Bump logs e2e timeout to 3s to match log generator
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-02-17 17:11:09 +01:00
Patrick Ohly
ff551f387f DRA E2E: disarm footgun in PodExternal
The implicit matching of the ResourceClaim name to ExternalClaim was
convenient (no need to specify the parameter) but did go wrong in integration
testing where there are multiple calls to ExternalClaim.
2026-02-17 16:35:36 +01:00
Patrick Ohly
aa3f79d4c9 DRA upgrade/downgrade: add DeviceTaints test
This automatically tests a few scenarios across cluster upgrade/downgrade.
2026-02-17 16:35:36 +01:00
atilsensalduz
7e3bd4cfa5 chore(test/autoscaling): replace RC with ReplicaSet and update deprecated API versions in HPA e2e
Signed-off-by: atilsensalduz <atil.sensalduz@gmail.com>
2026-02-17 14:01:02 +03:00
Kubernetes Prow Robot
c99adcec1a Merge pull request #136799 from omerap12/external-metrics-e2e
Add e2e test for external metrics
2026-02-16 19:44:02 +05:30
Stephen Kitt
d42d1e3d1f Deprecate obsolete slice utility functions
... and update users to use standard library functions.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2026-02-16 10:04:33 +01:00
Kubernetes Prow Robot
9210644161 Merge pull request #136501 from adrianmoisey/remove-CustomMetricsAutoscaling
Remove unused variable CustomMetricsAutoscaling
2026-02-15 21:23:58 +05:30
Kubernetes Prow Robot
d7f6f91dae Merge pull request #135820 from pohly/dra-sharing-claim-sequentially-test
DRA: sharing claim sequentially test
2026-02-13 01:50:09 +05:30
Kubernetes Prow Robot
b6eb3d0546 Merge pull request #136970 from iPraveenParihar/e2e/snapshot-metadata-typo-fixes
e2e: fix typos in snapshot-metadata testfile
2026-02-12 23:30:02 +05:30
Kubernetes Prow Robot
5b63a8c68e Merge pull request #136921 from dims/dump-from-utils
Move dump package from apimachinery to k8s.io/utils
2026-02-12 22:28:10 +05:30
Kubernetes Prow Robot
150247a304 Merge pull request #136981 from soltysh/simplify_logs_e2e
Add slight timeout after pods are running, and drop duplicate log lines checks
2026-02-12 20:30:09 +05:30
Maciej Szulik
c2bf995e96 Add 1s timeout after pods get ready, to ensure log generator produces output
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2026-02-12 13:36:27 +01:00