Commit Graph

29308 Commits

Author SHA1 Message Date
Omer Aplatony
a29d099dd4 test:add sample-external-metrics-server to agnhost
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2026-02-04 06:08:45 +00:00
Kubernetes Prow Robot
0cf6c382a0 Merge pull request #136727 from zylxjtu/images
Add Windows Server 2025 support for agnhost image
2026-02-04 07:56:36 +05:30
Kubernetes Prow Robot
e74193bcbf Merge pull request #135917 from zylxjtu/registry
Add the fake registry server functionality to agnhost windows
2026-02-04 07:56:28 +05:30
Kubernetes Prow Robot
cde1fe6a40 Merge pull request #133844 from pohly/invariants
E2E: check log output to detect DATA RACEs
2026-02-04 06:30:27 +05:30
Kubernetes Prow Robot
1861c1a072 Merge pull request #136601 from michaelasp/realFifoGA
Set RealFIFO to GA in 1.36
2026-02-04 05:32:34 +05:30
Kubernetes Prow Robot
c4f5cea36b Merge pull request #135746 from richabanker/move-flagz
Move apiserver's flagz installation to genericapiserver alongside statusz
2026-02-04 05:32:27 +05:30
zylxjtu
34ffbf459a Add Windows Server 2025 support for agnhost image 2026-02-03 22:04:06 +00:00
Kubernetes Prow Robot
bc9c9f79ad Merge pull request #136477 from everettraven/feature/liveness-probe-fails-on-loopback-cert-expiry
Add loopback certificate expiration health check
2026-02-04 00:58:28 +05:30
Kubernetes Prow Robot
13c031ffc8 Merge pull request #136715 from guettli/set-getProbeTimeoutSeconds-to-3
e2e tests netpol: Set getProbeTimeoutSeconds to 3
2026-02-03 23:58:35 +05:30
Bryce Palmer
79aaabb40f bugfix: add loopback certificate expiration health check
so that configured liveness probes will fail
if the loopback certificate has expired,
forcing a restart.

Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
2026-02-03 12:31:20 -05:00
Kubernetes Prow Robot
b23802b609 Merge pull request #136528 from bart0sh/PR219-sheduler_perf-add-implicit-extended-resources
DRA: add scheduler_perf benchmark for implicit resources
2026-02-03 19:18:32 +05:30
Ed Bartosh
bf7aed2039 DRA: add scheduler_perf benchmark for implicit resources
Add ImplicitExtendedResource_25Classes performance configuration that
measures scheduling performance of the implicit extended resources.
2026-02-03 14:57:21 +02:00
Thomas Güttler
1c2e529295 e2e tests netpol: Set getProbeTimeoutSeconds to 3
Before tests sometimes failed randomly. For example:

> [It] [sig-network] Netpol NetworkPolicy between server and client should allow ingress access from updated namespace [Feature:NetworkPolicy]

Related: https://kubernetes.slack.com/archives/C09QYUH5W/p1770111316158039

Signed-off-by: Thomas Güttler <thomas.guettler@syself.com>

Update test/e2e/network/netpol/kubemanager.go

Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
Signed-off-by: Thomas Güttler <thomas.guettler@syself.com>
2026-02-03 13:34:45 +01:00
Kubernetes Prow Robot
98c9fb858b Merge pull request #136088 from mortent/PartitionableDevicesIntegrationTests
DRA: Add integration tests for Partitionable Devices
2026-02-03 14:16:36 +05:30
Kubernetes Prow Robot
e2ce7dfbce Merge pull request #135788 from BenTheElder/etcd-tag
remove build tags from e2e internal unit test with etcd
2026-02-03 14:16:28 +05:30
Kubernetes Prow Robot
f7ca45a969 Merge pull request #136530 from saschagrunert/fix-image-volume-symlink-test
Fix image volume subPath test symlink issue
2026-02-03 02:18:34 +05:30
Benjamin Elder
2d8a26a79c remove build tags from test e2e internal unittests 2026-02-02 11:35:53 -08:00
zylxjtu
979f73bf7d Add the fake registry server functionality to agnhost windows
there are recent changes in k8s e2e test for image pull test to switch
to use fake registry server,
https://github.com/kubernetes/kubernetes/pull/133272
https://github.com/kubernetes/kubernetes/pull/134453

Unfortunately, this does not take into account of windows node. so the
corresonding test on windows node strat to break

The try to address this issue, by
(1): update the agnhost windows image to include the fake registery server
functionality as well

(2): update the (common) pull image test to include windows node, will require
(a): deploy the agnhost faker register server as a HPC pod
(b): update the comanndline/options for the windows container specific
2026-02-02 19:00:29 +00:00
Morten Torkildsen
14c6d99b8e DRA: Add integration tests for Partitionable Devices 2026-02-02 18:21:23 +00:00
Kubernetes Prow Robot
eba75de156 Merge pull request #136341 from Karthik-K-N/remove-deprecated-methods
Remove usage of deprecated functions from ktesting package
2026-02-02 19:28:31 +05:30
Patrick Ohly
47c3b10e8d DRA integration: increase timeout, II
When running with race detection enabled several tests have suffered from
timeouts recently, with no obvious commit which could be blamed for this.
Let's use a common constant and make it larger.
2026-02-02 09:04:57 +01:00
Kubernetes Prow Robot
de9ac07430 Merge pull request #128606 from pohly/ktesting-interrupt
ktesting: abort entire test suite on SIGINT + /dev/tty
2026-01-31 02:10:24 +05:30
Richa Banker
4e47bea7b0 Move flagz installation together with statusz's 2026-01-30 11:25:19 -08:00
Kubernetes Prow Robot
49fe2ecce1 Merge pull request #135719 from Argh4k/waiting-pod-integration-test
Put pods preempted in WaitOnPermit to backoff queue
2026-01-30 23:36:24 +05:30
Kubernetes Prow Robot
22e1ea92cd Merge pull request #136643 from ardaguclu/kubectl-kuberc-beta
Promote kubectl kuberc commands to beta
2026-01-30 22:20:32 +05:30
Patrick Ohly
36bcd43fca ktesting: abort entire test suite on SIGINT
When aborting an integration test with CTRL-C while it runs,
the current test fails and etcd exits. But additional tests were still being
started and the failed slowly because they couldn't connect to etcd.

It's better to fail additional tests in ktesting.Init when the test run has
already been interrupted.

While at it, also make it a bit more obvious that testing was interrupted by
logging it and update one comment about this and clean up the naming of
contexts in the code.

Example:

    $ go test -v ./test/integration/quota
    ...
    I1106 11:42:48.857162  147325 etcd.go:416] "Not using watch cache" resource="events.events.k8s.io"
    I1106 11:42:48.857204  147325 handler.go:286] Adding GroupVersion events.k8s.io v1 to ResourceManager
    W1106 11:42:48.857209  147325 genericapiserver.go:765] Skipping API events.k8s.io/v1beta1 because it has no resources.
    ^C

    INFO: canceling test context: received interrupt signal

    {"level":"warn","ts":"2024-11-06T11:42:48.984676+0100","caller":"embed/serve.go:160","msg":"stopping insecure grpc server due to error","error":"accept tcp 127.0.0.1:44177: use of closed network connection"}
    ...
    I1106 11:42:50.042430  147325 handler.go:142] kube-apiserver: GET "/apis/rbac.authorization.k8s.io/v1/clusterroles" satisfied by gorestful with webservice /apis/rbac.authorization.k8s.io/v1
        test_server.go:241: timed out waiting for the condition
    --- FAIL: TestQuota (11.45s)
    === RUN   TestQuotaLimitedResourceDenial
        quota_test.go:292: testing has been interrupted: received interrupt signal
    --- FAIL: TestQuotaLimitedResourceDenial (0.00s)
    === RUN   TestQuotaLimitService
        quota_test.go:418: testing has been interrupted: received interrupt signal
    --- FAIL: TestQuotaLimitService (0.00s)
    FAIL
2026-01-30 12:35:57 +01:00
Patrick Ohly
8946e86e3a ktesting: properly clean up
When cleaning up the progress channel properly (stop signal delivery, closing
the channel), the loop dumping progress reports no longer needs to check for
the separate shutdown context. Instead, it can distinguish between "signal
received" and "channel closed".

The signal context was getting cleanup by canceling it, but a channel is better
because it avoids the slightly misleading "received interrupt signal"
cancellation when the test was only shutting down.
2026-01-30 12:35:57 +01:00
Patrick Ohly
d0141640fe ktesting: print info and progress to /dev/tty
The "received interrupt signal" is useful also when running with "go test"
without -v because it shows that the shutdown has started.

But more important is that a progress report gets shown because that feature is
useful in particular when "go test" produces no output while it runs.
2026-01-30 12:35:57 +01:00
Kubernetes Prow Robot
3a477f2332 Merge pull request #135458 from Argh4k/master
Pass threshold to collected metrics in scheduler perf.
2026-01-30 15:11:44 +05:30
Maciej Wyrzuc
f1f3a08ba7 Put pods preempted in WaitOnPermit in backoff queue 2026-01-30 09:38:17 +00:00
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
Arda Güçlü
82826975c9 Add e2e tests for kubectl kuberc commands 2026-01-30 11:15:12 +03:00
Arda Güçlü
4e47d34a0d Promote kubectl kuberc commands to beta 2026-01-30 09:23:14 +03:00
Kubernetes Prow Robot
702e2a3800 Merge pull request #136622 from guettli/e2e-better-msg-when-no-address-found
e2e: Better error message, when no InternalIP was found.
2026-01-30 08:01:48 +05:30
Kubernetes Prow Robot
3760cdc64a Merge pull request #136482 from aaron-prindle/dv-feature-gate-ga
Graduate DeclarativeValidation feature gate to GA
2026-01-30 03:07:48 +05:30
Kubernetes Prow Robot
af6acb8016 Merge pull request #136624 from pohly/dra-integration-timeouts
DRA integration: increase timeout
2026-01-29 22:39:58 +05:30
Kubernetes Prow Robot
8d05750d56 Merge pull request #135262 from cmuuss/auditrulegroupwildcards
added wildcard * for GroupResources to allow filtering of noisy subgr…
2026-01-29 21:11:51 +05:30
Omer Aplatony
10f1b28712 test(hpa): add sample-external-metrics-server (#136251)
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2026-01-29 19:49:49 +05:30
Patrick Ohly
b96dd6d2f8 DRA integration: increase timeout
When running with race detection enabled several tests have suffered from
timeouts recently, with no obvious commit which could be blamed for this.
Let's use a common constant and make it larger.
2026-01-29 14:13:26 +01:00
Thomas Güttler
9072d47b75 e2e: Better error message, when no InternalIP was found.
Signed-off-by: Thomas Güttler <thomas.guettler@syself.com>
2026-01-29 13:46:33 +01:00
Karthik Bhat
e44e06c53f Remove usage of deprecated functions from ktesting package 2026-01-29 14:51:59 +05:30
Christian Muuß
ea3bfd9ea0 feat: Allow wildcard '*' for API groups in audit policy rules 2026-01-29 08:17:10 +00:00
Aaron Prindle
0cab277183 Graduate DeclarativeValidation feature gate to GA
This change graduates the 'DeclarativeValidation' feature gate to GA in v1.36.
The feature gate is now locked to 'true' by default.

Changes:
- Updated 'DeclarativeValidation' feature gate to GA in 'pkg/features/kube_features.go' and 'staging/src/k8s.io/apiserver/pkg/features/kube_features.go'.
- Updated feature gate documentation and versioned lists via 'hack/update-featuregates.sh'.
- Added feature gate emulation versioning to tests that explicitly disable 'DeclarativeValidation' to prevent panics now that the gate is locked to default.
2026-01-29 05:38:20 +00:00
Michael Aspinwall
7107e2f350 Set RealFIFO to GA in 1.36 2026-01-28 23:06:23 +00:00
Kubernetes Prow Robot
5245587ff7 Merge pull request #136596 from aramase/aramase/f/kep_5538_stable_impl
Mark CSIServiceAccountTokenSecrets feature gate as GA
2026-01-29 04:01:48 +05:30
Anish Ramasekar
d6d215821a Mark CSIServiceAccountTokenSecrets feature gate as GA
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
2026-01-28 14:41:34 -06:00
Kubernetes Prow Robot
6dfae1df46 Merge pull request #136551 from kannon92/fix-pod-replacement-policy-review-nits
Use Log instead of Logf for job integration tests
2026-01-29 00:27:50 +05:30
Kubernetes Prow Robot
0d1b02490b Merge pull request #136590 from mkumatag/fix_version
Fix the semver for the nginx image
2026-01-28 20:40:03 +05:30
Kubernetes Prow Robot
091d147008 Merge pull request #136557 from pohly/ktesting-signal-cleanup
ktesting: progress reporting fix
2026-01-28 15:32:00 +05:30
Manjunath Kumatagi
b2049e9a91 Fix the semver for the nginx image
Signed-off-by: Manjunath Kumatagi <mkumatag@in.ibm.com>
2026-01-28 15:28:12 +05:30