Commit graph

135282 commits

Author SHA1 Message Date
Kubernetes Prow Robot
bfafa32d90
Merge pull request #136500 from atombrella/feature/modernize_checks_hints
linting: Enabling `modernize` rules as hints
2026-02-03 15:10:29 +05:30
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
5655a0c19d
Merge pull request #136603 from 249043822/br003
Fix:NewUnmounter always returns error while deleting pod after node reboot
2026-02-03 11:12:26 +05:30
Kubernetes Prow Robot
b12d6a7f6b
Merge pull request #136476 from rohitkbc/master
Test: Add unit test for ParsePercentage
2026-02-03 03:14: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
Kubernetes Prow Robot
2ad7178741
Merge pull request #136522 from hoteye/kubelet-contextual-core
kubelet: migrate core sync path to contextual logging
2026-02-03 02:18:26 +05:30
Benjamin Elder
2d8a26a79c remove build tags from test e2e internal unittests 2026-02-02 11:35:53 -08:00
Morten Torkildsen
14c6d99b8e DRA: Add integration tests for Partitionable Devices 2026-02-02 18:21:23 +00:00
Mads Jensen
8f9038e7b2 Enabling many modernize linter rules as hints.
Follow-up to #136292
2026-02-02 18:01:26 +01:00
Kubernetes Prow Robot
a841d11420
Merge pull request #136619 from pohly/dra-allocator-promotion
DRA allocator: promote experimental -> incubating -> stable
2026-02-02 22:22:29 +05:30
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
Kubernetes Prow Robot
cabdd596c2
Merge pull request #136683 from pohly/dra-integration-timeouts
DRA integration: increase timeout, II
2026-02-02 14:30:28 +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
张可10140699
bd7c78107f Fix:NewUnmounter always returns error while deleting pod after node reboot 2026-02-02 10:55:01 +08:00
Kubernetes Prow Robot
8c9c67c000
Merge pull request #136667 from palnabarun/update-go-12412-1256
Update publishing rules to reflect 1.25.6 and 1.24.12
2026-02-01 02:24:26 +05:30
Nabarun Pal
d85557c867 Update publishing rules to reflect 1.25.6 and 1.24.12
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2026-02-01 00:19:03 +05:30
Kubernetes Prow Robot
80833a543b
Merge pull request #136654 from dims/fix-local-e2e-cni-ptp
hack: switch local-up-cluster to ptp CNI for reliable DIND networking
2026-02-01 00:18:24 +05:30
Kubernetes Prow Robot
ff38eebb98
Merge pull request #136661 from atombrella/feature/fix_test_TestContainerMapCloneUnshared
Fix typo in `TestContainerMapCloneUnshared`
2026-01-31 17:00:24 +05:30
Kubernetes Prow Robot
07a697046f
Merge pull request #136638 from Jefftree/kcm-context
Add ctx to endpointslicemirroring controller
2026-01-31 05:30:24 +05:30
Davanum Srinivas
cfcb10ef8a
hack: switch local-up-cluster to ptp CNI for reliable DIND networking
The ci-kubernetes-local-e2e job has been flaky (~40-45% success rate)
with intermittent DNS/service connectivity failures. The root cause is
that bridge CNI requires br_netfilter and bridge-nf-call-iptables
kernel settings, which don't work reliably in docker-in-docker.

This switches to ptp (point-to-point) CNI, which creates direct veth
pairs between pods and host namespace. No bridge means no br_netfilter
dependency. This is the same approach KIND uses and it works reliably.

Changes:
- Replace bridge CNI with ptp CNI plugin
- Configure kernel network parameters for DIND (route_localnet,
  arp_ignore, ip_forward) required for ptp and iptables-based kube-proxy
- Remove CoreDNS pod delete/restart workaround from 1168b11875 that was
  masking the underlying networking issues (no longer needed)
- Add CoreDNS log capture during cleanup for debugging DNS issues

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2026-01-30 16:25:05 -05: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
Kubernetes Prow Robot
c04907b025
Merge pull request #135790 from 0x5457/fix/attach-reattach-message-missing-namespace
Fix missing namespace flag in attach reattach message
2026-01-30 23:36:31 +05:30
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
Mads Jensen
2a0916850a Fix typo in an if in TestContainerMapCloneUnshared 2026-01-30 19:01:50 +01:00
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
Kubernetes Prow Robot
c9df8cdf21
Merge pull request #135942 from aman4433/fix-apf-timeout-header-flake
test: skip APF header assertions after request timeout
2026-01-30 22:20:23 +05:30
Kubernetes Prow Robot
f4938574d4
Merge pull request #134830 from MatteoFari/matteofari/enable-jsontags-linter
enabled jsontags for kal and added exceptions because of non modifiable :Port
2026-01-30 17:55:42 +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
Matteo Fari
b18b7aa966 modified exceptions to match the new KAL 2026-01-30 10:07:13 +01:00
Matteo Fari
2182441bdd enabled jsontags for kal and added exceptions
enabled jsontags for kal and added exceptions
2026-01-30 09:58:57 +01: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
Aman Shrivastava
8d0efb4805 test: skip APF header assertions after request timeout 2026-01-30 13:58:20 +05:30
Arda Güçlü
82826975c9 Add e2e tests for kubectl kuberc commands 2026-01-30 11:15:12 +03:00
Kubernetes Prow Robot
a7b940cde2
Merge pull request #131068 from soltysh/sample_controller_scheme
Switch sample-controller to use NewClientset supporting applyconfiguration rather than deprecated NewSimpleClientset
2026-01-30 12:09:42 +05:30
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
Jefftree
063caad801 Fix unit tests 2026-01-29 17:55:08 -05:00
Jefftree
1e67dbfefb Add ctx to endpointslicemirroring controller 2026-01-29 17:07:14 -05:00
Kubernetes Prow Robot
c8e45a3331
Merge pull request #136620 from yongruilin/master_vg-fix-fuzz
fix DeclarativeValidation fuzzing test panic and refactor subresource handlin
2026-01-30 03:08:04 +05:30
Kubernetes Prow Robot
4caf96e199
Merge pull request #136598 from dgrisonnet/update-go-systemd
Bump go-systemd to v22.7.0
2026-01-30 03:07:56 +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
cc0fdc1fe2
Merge pull request #136509 from pohly/client-go-informer-deadlock
client-go informers: fix potential deadlock
2026-01-30 01:22:14 +05:30
Kubernetes Prow Robot
8f4c197169
Merge pull request #136424 from JoelSpeed/podgroup-union
Mark PodGroupPolicy up with openapi union member tags
2026-01-30 01:22:06 +05:30
Kubernetes Prow Robot
5178fee46e
Merge pull request #135638 from cartermckinnon/enforce-compressible-doc
doc(kubelet): enforceNodeAllocatable compressible options
2026-01-30 01:21:57 +05:30
Kubernetes Prow Robot
9b8aa0b585
Merge pull request #134867 from ShaanveerS/enable-kal-nodurations
Enable nodurations rule for Kube API Linter
2026-01-30 01:21:49 +05:30