Commit Graph

29229 Commits

Author SHA1 Message Date
Maciej Wyrzuc
264f403ffb Pass threshold to collected metrics in scheduler perf.
With this change, the metrics for which the threshold is defined, will have a "Threshold" data point that should be visible in perf dash.
2026-01-30 08:48:52 +00:00
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
Kubernetes Prow Robot
af5dd4492e Merge pull request #136484 from dims/fix-container-restart-test-aftereach
Fix container_restart_test AfterEach failing when CRI Proxy is undefined
2026-01-24 12:19:26 +05:30
Kubernetes Prow Robot
4bfdd672b5 Merge pull request #136442 from borg-land/drop-ipc-utils-image-one
add util-linux to agnhost so we can replace ipc-utils with agnhost
2026-01-24 10:33:55 +05:30
Kubernetes Prow Robot
56583f4464 Merge pull request #136444 from borg-land/drop-arm-from-e2e-test-images
drop armv7 from our e2e test images
2026-01-24 07:39:35 +05:30
Davanum Srinivas
03e6622c92 Fix container_restart_test AfterEach failing when CRI Proxy is undefined
Two test contexts were failing because their AfterEach blocks run even
when BeforeEach skips the test (standard Ginkgo behavior). This caused
resetCRIProxyInjector to fail with "CRI Proxy is undefined".

Switched to using DeferCleanup inside BeforeEach instead, which only
runs if BeforeEach succeeds. This is the same pattern the other test
contexts in this file already use.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-23 19:59:22 -05:00
Davanum Srinivas
48f67b9656 Add timeout to ImagePullTest poll loop to prevent infinite hangs
ImagePullTest was using wait.PollUntilContextCancel which has no
timeout, causing tests to hang for hours when the expected container
state is never reached (e.g., ErrImageNeverPull).

Changed to wait.PollUntilContextTimeout with ContainerStatusRetryTimeout
(5 minutes), matching the pattern used by other tests in the same file.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-23 18:19:17 -05:00
Kubernetes Prow Robot
4c221cdc56 Merge pull request #133335 from bart0sh/PR190-pluginmanager-fix-handling-registration-failures
pluginmanager: fix handling registration failures
2026-01-23 23:35:29 +05:30
upodroid
111c4cfb9f add util-linux-misc to agnhost so we can replace ipc-utils with agnhost 2026-01-23 20:19:46 +03:00
Kubernetes Prow Robot
a90cf50004 Merge pull request #136443 from dims/bump-e2e-test-images
Bump e2e test images to latest promoted versions
2026-01-23 18:57:38 +05:30
Mahamed Ali
00238edfdd drop armv7 from our e2e test images 2026-01-23 12:20:32 +00:00
Davanum Srinivas
bceadbece2 Bump e2e test images to latest promoted versions
Image updates:
- ipc-utils: 1.3 → 1.4
- kitten: 1.7 → 1.8
- nautilus: 1.7 → 1.8
- nginx: 1.14-4 → 1.15-4
- nginx (new): 1.15-4 → 1.27-0
- node-perf/npb-ep: 1.2 → 1.6.0
- node-perf/npb-is: 1.2 → 1.7.0
- nonewprivs: 1.3 → 1.4
- nonroot: 1.4 → 1.5
- resource-consumer: 1.13 → 1.14
- volume/nfs: 1.4 → 1.6.0
- volume/iscsi: 2.6 → 2.7

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-23 06:19:30 -05:00
Kubernetes Prow Robot
c2618d48c0 Merge pull request #136445 from dims/fix-volume-nfs-centos-stream9
Fix volume/nfs image for CentOS Stream 9
2026-01-23 09:25:25 +05:30
Davanum Srinivas
e8d1e3563b Fix volume/nfs image for CentOS Stream 9
The volume/nfs:1.5 image was updated from CentOS 8 to CentOS Stream 9
in commit 9b47a096f4, but this broke NFS server startup because
NFSv2 is no longer supported in RHEL 9 / CentOS Stream 9.

The `-N 2` flag (disable NFSv2) passed to rpc.mountd and rpc.nfsd
causes them to fail with "2: Unsupported version" since there's no
NFSv2 to disable. This prevented rpc.nfsd from starting, causing
NFS mount timeouts in e2e tests.

Fix by removing the `-N 2` flags. NFSv2 is already unavailable in
CentOS Stream 9, so explicitly disabling it is unnecessary.

Red Hat documentation states: "NFS version 2 (NFSv2) is no longer
supported by Red Hat."

Reference: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/managing_file_systems/mounting-nfs-shares_managing-file-systems

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-22 21:13:15 -05:00
Kubernetes Prow Robot
5f4adaf579 Merge pull request #136303 from ShaanveerS/fix-flake
scheduler: deflake TestUnReservePreBindPlugins
2026-01-23 05:17:27 +05:30
Kubernetes Prow Robot
3863ed83f1 Merge pull request #136429 from dims/fix-npb-is-ppc64le
Remove ppc64le and s390x support from npb-is image
2026-01-23 03:03:35 +05:30
Kubernetes Prow Robot
ed4c206ffa Merge pull request #136398 from dims/use-pytorch-wide-deep-in-tests
Switch node perf tests from TensorFlow to PyTorch Wide-Deep
2026-01-23 02:09:27 +05:30
Kubernetes Prow Robot
789e38ef03 Merge pull request #136404 from borg-land/nonewprivs-agnhost
add nonewprivs to agnhost
2026-01-22 22:47:29 +05:30
Davanum Srinivas
00e1a2e9a2 Switch node perf tests from TensorFlow to PyTorch Wide-Deep
Replace the TensorFlow-based wide-deep workload with the PyTorch
implementation. This change:

- Adds pytorchWideDeepWorkload using the new pytorch-wide-deep image (1.0.0)
- Removes tfWideDeepWorkload and tf-wide-deep image references
- Enables arm64 support (PyTorch image is multi-arch)
- Uses the same log parsing (time -p output format)

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-22 12:02:58 -05:00
Kubernetes Prow Robot
01c430acd5 Merge pull request #136359 from dims/glibc-dns-testing-code-update
test: update code to use GlibcDnsTesting image
2026-01-22 21:55:31 +05:30
Davanum Srinivas
4060725e7b Remove ppc64le and s390x support from npb-is image
The npb-is image was failing to build on ppc64le with relocation overflow:
  relocation truncated to fit: R_PPC64_TOC16_HA against symbol 'key_array'

Remove ppc64le and s390x from supported architectures:
- The IS benchmark with CLASS=D has ~8GB data arrays that require special
  compiler flags for non-x86 architectures
- ppc64le and s390x builds are difficult to test and maintain
- Keep amd64 and arm64 which are the primary node performance test targets

I don't think these arch(es) ever worked!

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-22 10:50:21 -05:00
Kubernetes Prow Robot
a4272922fc Merge pull request #136397 from dims/add-pytorch-wide-deep-test-image
Add PyTorch Wide-Deep node performance test image
2026-01-22 20:15:28 +05:30
upodroid
8fb70f8716 add nonewprivs to agnhost 2026-01-22 17:08:03 +03:00
Davanum Srinivas
0183b5547a test: update code to use GlibcDnsTesting image
Updates the codebase to use the new glibc-dns-testing image which replaces
the deprecated jessie-dnsutils image.

This PR depends on the glibc-dns-testing image being available in the
registry (registry.k8s.io/e2e-test-images/glibc-dns-testing:2.0.0).

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-22 08:39:46 -05:00
Davanum Srinivas
ad361ce193 Add PyTorch Wide-Deep node performance test image
Add a new PyTorch-based Wide-Deep benchmark image to replace the
TensorFlow version which has compatibility issues with tf.estimator
removal in TensorFlow 2.16+.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-22 07:59:11 -05:00
Kubernetes Prow Robot
1b187f883d Merge pull request #136414 from dims/fix-post-kubernetes-push-e2e-node-perf-npb-is-test-images-problem-arm64
Fix post-kubernetes-push-e2e-node-perf-npb-is-test-images problem (arm64)
2026-01-22 18:11:37 +05:30
Kubernetes Prow Robot
30607b55b4 Merge pull request #136389 from adrianmoisey/promote-kep-5311-to-beta
Promote KEP-5311 (Relaxed validation for Services names) to beta
2026-01-22 18:11:28 +05:30
ShaanveerS
42b16a8dd8 scheduler: deflake TestUnReservePreBindPlugins 2026-01-22 12:27:45 +01:00
Patrick Ohly
dd78c81057 E2E framework ssh: avoid log spam in runSSHCommand
Emitting "error dialing" on each retry spams the test log output even when the
tests succeed.

Using Eventually also has other advantages (better failure message, support for
Gingko progress reports when a test is stuck).
2026-01-22 12:00:09 +01:00
Kubernetes Prow Robot
2274f69d9a Merge pull request #136342 from esotsal/GetNodeAllocatableAndAvailableValues
Move getNodeAllocatableAndAvailableValues to test e2e framework node
2026-01-22 13:49:29 +05:30
Davanum Srinivas
e08030fa5f Fix post-kubernetes-push-e2e-node-perf-npb-is-test-images problem (arm64)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-21 23:03:54 -05:00
Davanum Srinivas
45e30087fd Fix NPB test images arm64 cross-build failures
The NPB (NAS Parallel Benchmarks) test images were failing to build
for arm64 architecture due to missing shebangs in NPB shell scripts.

The sys/print_header and sys/print_instructions scripts in NPB lack
default /bin/sh), they fail with "Error 127" (command not found) during
QEMU-emulated cross-builds.

Fix by adding shebangs to these scripts during the Docker build.

Changes:
- npb-ep: Add shebang fix, bump version 1.5 → 1.6.0
- npb-is: Add shebang fix, bump version 1.4 → 1.5.0

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-21 19:41:18 -05:00
Kubernetes Prow Robot
97df11dfd1 Merge pull request #136381 from ffromani/remove-memmgr-fg
remove the MemoryManager FG
2026-01-22 04:15:34 +05:30
Kubernetes Prow Robot
3d5e3da18f Merge pull request #136380 from ffromani/topo-mgr-opts-lock-defaults
features: lock TopologyManagerOptions
2026-01-22 04:15:26 +05:30
Kubernetes Prow Robot
6fde485ec9 Merge pull request #135309 from richabanker/zpages
Enhance content negotiation for zpages
2026-01-22 03:17:25 +05:30
Kubernetes Prow Robot
bf613ce5b5 Merge pull request #136401 from dims/update-glibc-dns-testing-version
test/images: use semver for glibc-dns-testing image
2026-01-22 02:23:33 +05:30
Kubernetes Prow Robot
dff962ddbb Merge pull request #136264 from michaelasp/unlockWhileProcess
Ensure that processing does not block queue writers in RealFIFO
2026-01-22 00:15:26 +05:30
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
Davanum Srinivas
a7c6da07f1 test/images: use semver for glibc-dns-testing image
Update VERSION to 2.0.0 for consistency with semver format.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-21 13:23:19 -05:00
Michael Aspinwall
40c01b99a7 Ensure that processing does not block queue writers 2026-01-21 17:56:00 +00:00
Kubernetes Prow Robot
7fb075627f Merge pull request #136395 from dims/use-semver-for-pets/zookeeper-installer-image
use semver for pets/zookeeper-installer image
2026-01-21 22:21:42 +05:30
Davanum Srinivas
bcc8b0ab62 use semver for pets/zookeeper-installer image
1.7 -> 1.7.0
2026-01-21 09:43:11 -05:00
Adrian Moisey
1b338eec1c Promote KEP-5311 (Relaxed validation for Services names) to beta 2026-01-21 15:44:21 +02:00
Davanum Srinivas
af51cc3911 dummy commit to trigger glibc-dns-testing image build 2026-01-21 08:07:45 -05:00
Kubernetes Prow Robot
a66a59fc6f Merge pull request #136371 from dims/fix-npb-cross-build-permissions
Fix NPB test image cross-build for arm64
2026-01-21 18:27:30 +05:30
Kubernetes Prow Robot
31e7bacdca Merge pull request #136370 from dims/fix-sample-apiserver-build
Fix sample-apiserver image build failure
2026-01-21 16:31:26 +05:30
Francesco Romani
078c7dfd90 features: lock TopologyManagerOptions
TopologyManagerOptions went to GA but were not LockedToDefaults
unlike other GA features. Fix that.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2026-01-21 10:56:19 +01:00
Francesco Romani
401a73ceb1 remove the MemoryManager FG
MemoryManager went GA and LockedToDefault in 1.32,
but it seems we forgot to mark the FG for removal.
Enough time (1.36 cycle beginning at time of writing)
has passed, we can remove it.

Signed-off-by: Francesco Romani <fromani@redhat.com>
2026-01-21 10:32:29 +01:00
Kubernetes Prow Robot
2bd9d39bb3 Merge pull request #136358 from dims/glibc-dns-testing-image
test/images: add glibc-dns-testing image (replaces jessie-dnsutils)
2026-01-21 12:57:26 +05:30
Davanum Srinivas
ff7b1dac18 Fix NPB test image cross-build for arm64
Fix by adding chmod -R a+rX after tar extraction to ensure all files
are readable and executables/directories are accessible.

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-20 22:16:28 -05:00