Commit Graph

29487 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
887929bb95 Merge pull request #137147 from haojiwu/haoji/fix-issue-136288
Fix RepairIPAddress controller startup failure when namespace informer is not yet synced
2026-02-27 04:13:55 +05:30
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
Kubernetes Prow Robot
f60990d3f9 Merge pull request #136459 from Karthik-K-N/refactor
Refactor NewTestContext to return Context instead of TContext
2026-02-26 14:56:25 +05:30
Kubernetes Prow Robot
a04516e8ce Merge pull request #137255 from pohly/ktesting-contexthelper-test-fix
Ktesting: contexthelper panic + test fix
2026-02-26 14:04:26 +05:30
Patrick Ohly
620c1b6305 ktesting: fix potential unit test flake
I've not been able to trigger the flake, but it could happen:
- time.Sleep unblocks some background goroutines inside the synctest bubble.
- Those goroutines do not actually run yet.
- The main test checks for the result of those goroutines.

Adding a `synctest.Wait` ensures that all background processing is complete
because it waits for all goroutines to be durably blocked.
2026-02-26 08:45:35 +01:00
Patrick Ohly
8a2d153817 ktesting: fix potential log panic
If the goroutine happens to log after the test has already terminated,
testing.T.Log panics. We must ensure that the goroutine has stopped before
allowing the test to terminate.
2026-02-26 08:44:18 +01:00
Karthik Bhat
43bfd8615d Refactor NewTestContext to return Context instead of TContext 2026-02-26 11:27:26 +05:30
haojiwu
ef30ab659e Update startup_race_test.go 2026-02-25 20:52:44 -08:00
Kubernetes Prow Robot
1ec27767f3 Merge pull request #136758 from harche/shareid_test
KEP-4680: Add tests to validate ShareID does not interfere with DRA Resource Health Status
2026-02-26 05:16:22 +05:30
Michael Aspinwall
f18f0df7fe Add the ability for the replicaset controller to read its own writes 2026-02-25 17:15:53 +00:00
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
Maciej Wyrzuc
ee5e2b1ec1 Extract tCtx and collectorCtx from executor 2026-02-25 10:16:50 +00:00
Maciej Wyrzuc
e123d5caf1 Separate operations and executor in scheduler_perf directory 2026-02-25 10:16:49 +00:00
Maciej Wyrzuc
fa36069c7f Extend template functions supported in scheduler perf 2026-02-25 10:16:49 +00:00
Kubernetes Prow Robot
158364332a Merge pull request #137235 from danwinship/no-snat-timeout
Fix the pod startup timeout in the NoSNAT test
2026-02-25 12:53:41 +05:30
Kubernetes Prow Robot
7b7c291631 Merge pull request #137210 from michaelasp/consistentJobController
Add the ability for the job controller to read its own writes
2026-02-25 07:51:34 +05:30
Michael Aspinwall
61d0dd30fb Add the ability for the job controller to read its own writes 2026-02-25 01:19:48 +00:00
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
862b0673c2 Merge pull request #136959 from natasha41575/allocated_status_cleanup
remove the InPlacePodVerticalScalingAllocatedStatus feature gate
2026-02-25 00:47:35 +05:30
Kubernetes Prow Robot
85e4e386d4 Merge pull request #137171 from liggitt/component-helpers-deps
Clean up direct external dependencies from component-helpers
2026-02-24 02:23:35 +05:30
Kubernetes Prow Robot
60433d43cf Merge pull request #137200 from tosi3k/was-wap-feature-gate
KEP-5710: Add WorkloadAwarePreemption feature gate
2026-02-23 20:59:44 +05:30
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
Antoni Zawodny
ee5f014e51 KEP-5710: Add WorkloadAwarePreemption feature gate 2026-02-23 14:05:27 +01:00
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
haojiwu
ce984590a2 Update startup_race_test.go 2026-02-20 16:02:28 -08:00
Jordan Liggitt
4ab6ae2a59 Drop direct use of github.com/stretchr/testify in component-helpers 2026-02-20 14:50:15 -05: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
f3c452e8f4 Merge pull request #137128 from brejman/tas-feature-gate
KEP-5732: Add TopologyAwareWorkloadScheduling feature gate
2026-02-20 05:09:38 +05:30
Kubernetes Prow Robot
7336e04752 Merge pull request #137101 from richabanker/informer-metric-latency
Add processing latency metric for RealFIFO
2026-02-20 03:31:46 +05:30
Kubernetes Prow Robot
855ee92e19 Merge pull request #133407 from richabanker/mvp-egress-dialer
Add egress dialer to proxyClientConfig for Mixed Version Proxy
2026-02-20 01:45:43 +05:30
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
Richa Banker
50d2f0fce1 Add egress dialer to proxyClientConfig for Mixed Version Prpxy 2026-02-19 10:10:24 -08:00
Richa Banker
d049bd1233 Add processing latency metric for RealFIFO 2026-02-19 10:04:03 -08:00
Kubernetes Prow Robot
6adb2afe55 Merge pull request #134937 from michaelasp/pocConsistentDs
Daemonset controller staleness detection
2026-02-19 23:11:38 +05:30
Michael Aspinwall
65eb0e94c2 Daemonset Consistency
Add the ability for the daemonset controller to figure out whether it has read its own writes for pods and daemonset objects.
2026-02-19 16:53:19 +00:00
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