Commit Graph

28320 Commits

Author SHA1 Message Date
Carlos Panato
2a666d32a1 Bump images and versions to go 1.25.11 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2026-06-09 15:17:32 +02:00
Kubernetes Prow Robot
a48ef21c6a Merge pull request #138027 from zxqlxy/local-cherry-pick-135485-v1.34
Cherry pick of #135485: Fix device plugin admission failure after container restart
2026-04-10 04:02:18 +05:30
Marko Mudrinić
e9820abb8b Bump images and versions to go 1.25.9 and distroless iptables
Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
2026-04-09 21:57:12 +02:00
Jordan Liggitt
8d6ca236a0 Bump to go 1.25 2026-04-01 17:21:10 -04:00
Francesco Romani
aa1f18ea7d e2e: node: podresources: fix expectations for Get() and terminated pods
terminated pods should not be reported by Get() calls,
we should get an error instead

Signed-off-by: Francesco Romani <fromani@redhat.com>
2026-03-30 20:12:44 +00:00
Sascha Grunert
5dea39fc01 Fix device plugin admission failure after container restart
When a container restarts before kubelet restarts, containerMap has
multiple entries (old exited + new running). GetContainerID() may
return the exited container, causing the running check to fail. Fixed
by checking if ANY container for the pod/name is running.

Also filter terminal pods from podresources since they no longer
consume resources, and fix test error handling to avoid exiting
Eventually immediately on transient errors.

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2026-03-26 21:45:29 +00:00
Carlos Panato
f3b756a0cc Bump images and versions to go 1.24.13 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2026-02-12 14:11:01 +01:00
Kubernetes Prow Robot
e71810983a Merge pull request #136480 from rogowski-piotr/automated-cherry-pick-of-#135919-upstream-release-1.34
Automated cherry pick of #135919: kubelet(dra): fix handling of multiple ResourceClaims when one is already prepared
2026-02-06 05:38:30 +05:30
Carlos Panato
86f29bf874 Bump dependencies, images and versions used to Go 1.24.12 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2026-01-30 11:24:34 +01:00
Davanum Srinivas
4c5332710c Apparently some EC2 images we use do not have /proc/net/nf_conntrack
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-29 15:02:00 -05:00
Davanum Srinivas
77976dc0f7 test: cleanup from review
- Use netutils.IsIPv6(ip) instead of manual nil/To4 check
- Remove unnecessary ip.To16() call since IPv6 is already 16 bytes
- Remove ipFamily from grep pattern since IP format ensures correctness

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-29 15:02:00 -05:00
Davanum Srinivas
5d4cdfdee8 test: Fix KubeProxy CLOSE_WAIT test for IPv6 environments
The /proc/net/nf_conntrack file uses fully expanded IPv6 addresses
with leading zeros in each 16-bit group. For example:
  fc00:f853:ccd:e793::3 -> fc00:f853:0ccd:e793:0000:0000:0000:0003

Add expandIPv6ForConntrack() helper function to expand IPv6 addresses
to the format used by /proc/net/nf_conntrack before using them in
the grep pattern.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-29 15:01:59 -05:00
Davanum Srinivas
404bf4b04d test: Read /proc/net/nf_conntrack instead of using conntrack binary
The distroless-iptables image no longer includes the conntrack binary
as of v0.8.7 (removed in kubernetes/release#4223 since kube-proxy no
longer needs it after kubernetes#126847).

Update the KubeProxy CLOSE_WAIT timeout test to read /proc/net/nf_conntrack
directly instead of using the conntrack command. The file contains the
same connection tracking data and is accessible from the privileged
host-network pod.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-29 15:01:57 -05:00
Piotr Rogowski
dacc7257f6 test(ut/dra): add unit test for pod requesting prepared and new claims 2026-01-26 12:04:47 +00:00
Piotr Rogowski
6af7de8d1c test(e2e/dra): add test for pod requesting allocated and new claims 2026-01-23 19:40:18 +00:00
Jan Safranek
2aeace05c4 Added e2e tests with disabled SELinux
Added few tests with a CSI driver that does not support SELinux and has it
disabled in its CSIDriver instance
2026-01-08 11:16:36 +01:00
Jan Safranek
ed74b5dbd8 selinux: add e2e test with a completed pod
Add a test that checks the SELinux controller does not report conflicts
with Succeeded pods.
2026-01-08 11:16:36 +01:00
Carlos Panato
3012c0060e Bump dependencies, images and versions used to Go 1.24.11 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-12-05 11:44:04 +01:00
Carlos Panato
0eb6c41c98 Bump dependencies, images and versions used to Go 1.24.10 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-11-29 11:17:05 +01:00
Kubernetes Prow Robot
11a8eb6cb2 Merge pull request #135087 from liggitt/automated-cherry-pick-of-#135017-upstream-release-1.34
Automated cherry pick of #135017: Fix spurious statefulset rollout from 1.33 → 1.34
2025-11-07 18:13:28 -08:00
Kubernetes Prow Robot
6f91cb6c3f Merge pull request #134800 from yuanwang04/automated-cherry-pick-of-#133072-upstream-release-1.34
Automated cherry pick of #133072: Fix startup probe worker termination for sidecar containers
2025-11-07 18:13:06 -08:00
Dejan Zele Pejchev
fd812c5b05 fix: allow job startTime updates on resume from suspended state
Signed-off-by: Dejan Zele Pejchev <pejcev.dejan@gmail.com>
2025-11-05 10:00:22 +01:00
Kubernetes Prow Robot
79a8f71ff8 Merge pull request #134943 from sats-23/automated-cherry-pick-of-#134440-upstream-release-1.34
Automated cherry pick of #134440: integration test volume: fix restarting of watch
2025-11-04 10:02:08 -08:00
Kubernetes Prow Robot
0a2c1e669d Merge pull request #134621 from pohly/automated-cherry-pick-of-#133875-origin-release-1.34
Automated cherry pick of #133875: apply integration test: fix ordering test flake
2025-11-04 06:08:11 -08:00
Jordan Liggitt
aade7b8e8d Fix spurious workload rollout due to null creationTimestamp in controller revisions 2025-11-03 21:18:35 -05:00
Patrick Ohly
79ed9ffaae E2E volume: fix restarting of watch
Presumably
https://github.com/kubernetes/kubernetes/pull/127260/files#r2405215911
was meant to continue polling after a watch was closed by the apiserver.
This is something that can happen under load.

However, returning the error has the effect that polling stops.
This can be seen as test failures when testing with race
detection enabled:

    persistent_volumes_test.go:1101: Failed to wait for all claims to be bound: watch closed
2025-10-29 16:09:56 +05:30
aditya
a42f81f4b2 Fix startup probe worker termination for sidecar containers
Fixes a bug where startup probe workers terminate incorrectly for sidecar
containers with restartPolicy=Always when the pod has restartPolicy=Never,
causing main containers to remain stuck in Initializing state.

Changes:
- Add container-level restart policy check for init containers only
- Extract complex boolean logic to named variable for readability
- Refactor test helper to use existing newWorker() function
- Add comprehensive unit and e2e tests for both scenarios
2025-10-22 22:46:06 +00:00
Patrick Ohly
7191ffc390 apply integration test: fix ordering test flake
Most of the time the managed fields were returned in the order as expected,
but not always. Semantically the order is irrelevant, so the comparison gets
relaxed to ignore it by normalizing first.
2025-10-15 16:24:35 +02:00
Carlos Panato
8cd6b631ce update setcap and debian-base to bookworm-v1.0.6
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-10-15 11:44:40 +02:00
Carlos Panato
2674d8a049 Bump images, dependencies and versions to go 1.24.9 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-10-15 11:44:00 +02:00
Jordan Liggitt
bddc18b094 Add integration test for invalid SAN certificate handling 2025-10-14 09:36:50 -04:00
Hemant Kumar
5be5dc9d54 With new changes we will also have a VolumeModifying condition
Fix e2e tests to take that into account
2025-10-09 14:53:25 -04:00
Kubernetes Prow Robot
bc88c024a0 Merge pull request #134342 from bitoku/automated-cherry-pick-of-#132791-upstream-release-1.34
[release-1.34] Update pod resize test to accept new cpu.weight conversion.
2025-10-07 03:07:01 -07:00
Maciej Skoczeń
61c0fb13a7 Disable SchedulerAsyncAPICalls feature gate due to a known regression 2025-10-03 13:04:19 +00:00
Ayato Tokubi
2bfc98b313 Update pod resize test to accept new cpu.weight conversion.
Signed-off-by: Ayato Tokubi <atokubi@redhat.com>
2025-10-02 14:27:32 +00:00
Kubernetes Prow Robot
7800399fce Merge pull request #134088 from gnufied/automated-cherry-pick-of-#134071-upstream-release-1.34
Automated cherry pick of #134071: Wait for quota to report used before creating pvc
2025-09-26 05:16:23 -07:00
Kubernetes Prow Robot
1b4f581811 Merge pull request #133959 from dfajmon/automated-cherry-pick-of-#133186-upstream-release-1.34
Automated cherry pick of #133186: Do not remove PVC ClaimRef to fix flaky VAC test
2025-09-26 04:06:19 -07:00
Kubernetes Prow Robot
e438cf2a16 Merge pull request #134247 from macsko/automated-cherry-pick-of-#134245-upstream-release-1.34
Automated cherry pick of #134245: Revert "fix: handle corner cases in the async preemption"
2025-09-26 02:52:18 -07:00
Kubernetes Prow Robot
b340e9f8a1 Merge pull request #134222 from cpanato/update-go-rel-134
[release-1.34][go] Bump images, dependencies and versions to go 1.24.7 and distroless iptables
2025-09-24 09:08:17 -07:00
Maciej Skoczeń
3f170932be Revert "Merge pull request #133213 from sanposhiho/second-trial-conor"
This reverts commit a2bf45b081, reversing
changes made to 2b2ea27250.
2025-09-24 15:01:03 +00:00
Carlos Panato
09ddc5ebbf Bump images, dependencies and versions to go 1.24.7 and distroless iptables
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2025-09-23 15:23:17 +02:00
Maciej Skoczeń
b245b551f7 Split preemption integration tests to mitigate the timeout 2025-09-20 17:05:18 +05:30
Hemant Kumar
35b87e4c18 Wait for quota to report used before creating pvc
This should avoid races between pvc creation and quota creation
2025-09-16 11:12:13 -04:00
Connor Catlett
988bdd1258 Do not remove PVC ClaimRef to fix flaky VAC test
Signed-off-by: Connor Catlett <conncatl@amazon.com>
2025-09-09 11:49:26 +02:00
Jan Safranek
3e75f38819 Add missing cases to SELinuxMount tests 2025-08-28 10:29:24 +02:00
Dan Winship
db01f94032 Remove patch/update from ServiceCIDR API conformance test
They were already listed in ineligible_endpoints.yaml, so we shouldn't
be testing them here anyway.
2025-08-20 09:19:55 -04:00
Kubernetes Prow Robot
5568780ca3 Merge pull request #133562 from nojnhuh/dra-e2e-slice-controller-flake
DRA: wait for stats to converge in "creates slices" e2e test
2025-08-19 04:21:36 -07:00
Kubernetes Prow Robot
29e16ff792 Merge pull request #133286 from yliaog/deviceplugin
added WithFlaky to the device plugin test case: supports extended resources together with ResourceClaim
2025-08-19 00:43:35 -07:00
Kubernetes Prow Robot
17d6c9c551 Merge pull request #133523 from bart0sh/PR194-dra-upgrade-downgrade-use-latest
e2e_dra: use latest release if stable doesn't exist
2025-08-18 01:33:09 -07:00
Ed Bartosh
41013e7bf0 e2e_dra: use latest release if stable doesn't exist
This change updates the DRA upgrade/downgrade test to attempt
downloading the "latest" Kubernetes release if the "stable" release
entry point is not available.

This should fix test failures for the time just before the release,
when master is switched to the next release, but stable release URL
is not yet updated.
2025-08-18 10:23:42 +03:00