Commit Graph

15545 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
a62752db51 Merge pull request #130110 from neolit123/1.33-remove-from-test-owners
sig-cl: update owners for 1.33
2025-02-12 05:22:06 -08:00
Lubomir I. Ivanov
54e2416210 update sig cl owners in k/k 2025-02-12 11:04:11 +02:00
Kubernetes Prow Robot
9a9f10bc7b Merge pull request #130038 from jsafrane/selinux-controller-e2e-debian
selinux e2e: Add support for Debian and Ubuntu
2025-02-11 13:39:58 -08:00
Antonio Ojea
af3b9e613d reduce dependencies in apimachinery net testing utils
Consumers of the kubernetes golang API and clients must use
k8s.io/api,apimachinery,client-go. This is also require to download all
the necessary dependencies.

The apimachinery code contains a testing util for proxies that is used
in client-go and in the kubectl e2e. Since the tests on e2e require
ginkgo and we want to ensure this testing library is not used in
production, we cast the interface to match one of those libraries, but
the problem is that this forces consumers of apimachinery to also
download the ginkgo library.

Since NewHTTPProxyHandler receives a testing.TB interface, there is no
need to cast the interface, if someone wants to use it by implementing a
testing interface it is already aware of the risks.
2025-02-11 08:21:37 +00:00
Jan Safranek
9ebe4422a9 Add support for Debian and Ubuntu
Both Debian and Ubuntu + containerd can run with SELinux enabled. Add their
defaults to the SELinux e2e tests.
2025-02-07 14:42:27 +01:00
Kubernetes Prow Robot
bfde2edba7 Merge pull request #126423 from AndrewSirenko/negative-e2e
Add volume modify recovery e2e test
2025-02-06 23:05:55 -08:00
Kubernetes Prow Robot
0634e21fb5 Merge pull request #128367 from vivzbansal/sidecar-2
[FG:InPlacePodVerticalScaling] Implement resize for sidecar containers
2025-02-05 14:38:15 -08:00
Kubernetes Prow Robot
a376ae5dad Merge pull request #128845 from SergeyKanzhelev/staticPodUpgrade
static pod upgrade test with hostNetwork
2025-02-03 23:30:58 -08:00
Kubernetes Prow Robot
b4f902f037 Merge pull request #129897 from vinayakankugoyal/testfix
Fix kubelet_authz_test.go
2025-01-31 08:52:56 -08:00
Vinayak Goyal
81f09811ca Fix kubelet_authz_test.go 2025-01-31 15:38:18 +00:00
Kubernetes Prow Robot
0a62cb2209 Merge pull request #129914 from soltysh/expand_portfowrad_errors
e2e: expand error conditions when test-ing port-forward
2025-01-30 21:33:23 -08:00
Kubernetes Prow Robot
4bf6cdb60c Merge pull request #129554 from zylxjtu/bootid
Add the check of node rebooting in windows reboot_node e2e test
2025-01-30 17:33:23 -08:00
Maciej Szulik
4619a89eba e2e: expand error conditions when test-ing port-forward
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-30 19:07:28 +01:00
Kubernetes Prow Robot
547654a8a1 Merge pull request #129813 from yongruilin/golangci-featuregate-add
feat: add a lint rule to prevent Add unversioned featuregate
2025-01-29 16:41:22 -08:00
zylxjtu
f891092b87 Add the check of node rebooting in windows rebootnode test 2025-01-29 21:06:04 +00:00
Kubernetes Prow Robot
261236b9a3 Merge pull request #129810 from pohly/dra-test-driver-examples
DRA: fix test-driver examples
2025-01-29 10:51:22 -08:00
yongruilin
8a0937c034 feat: add a lint rule to prevent Add unversioned featuregate 2025-01-28 09:37:43 -08:00
Kubernetes Prow Robot
2bda5dd8c7 Merge pull request #129656 from vinayakankugoyal/kep2862beta
KEP-2862: Graduate to BETA.
2025-01-27 19:05:23 -08:00
vivzbansal
ab964a776c Fix e2e tests failure 2025-01-27 19:46:55 +00:00
vivzbansal
242dec3e34 Updated some unit tests and resolved some review comments 2025-01-27 19:46:54 +00:00
Anish Shah
9a5c57817a test: pod-resize tests for sidecar containers 2025-01-27 19:46:54 +00:00
vivzbansal
6c5cf68722 Resolved latest review comments 2025-01-27 19:46:33 +00:00
vivzbansal
5d5e903e27 Revert e2e tests added for sidecar 2025-01-27 19:42:13 +00:00
vivzbansal
3885d2f8ab Added sidecar support in ValidatePodResize and dropNonResizeUpdates 2025-01-27 19:42:13 +00:00
vivzbansal
0e392f9017 Disable e2e test for now 2025-01-27 19:42:13 +00:00
vivzbansal
d1fac494f4 resolve merge conflicts 2025-01-27 19:42:13 +00:00
Kubernetes Prow Robot
e07aeb7c8b Merge pull request #129330 from pohly/log-client-go-transport
client-go/transport: structured, contextual logging
2025-01-27 09:01:23 -08:00
Patrick Ohly
a85f489b28 client-go/transport: structured, contextual logging
The revised logging emits one log entry at the start of
round-tripping ("Request") and another at the end ("Response"). This avoids the
risk that related output gets interleaved by other output.

No API changes are necessary. A contextual logger is picked up from the context
of the request that is being handled. The verbosity level of that logger is
checked to determine what is supposed to be logged. This enables reducing log
details on a by-request basis by storing a `logger.V(1)` in the context of the
request.

As before, logging only gets injected into request processing at -v6 or higher,
so normally there is no additional overhead.
2025-01-27 09:45:04 +01:00
Kubernetes Prow Robot
03bf94bac0 Merge pull request #129808 from soltysh/port-forward_timeout
e2e: bump port-forward timeout
2025-01-25 09:15:22 -08:00
Vinayak Goyal
3a780a1c1b KEP-2862: Graduate to BETA. 2025-01-24 21:36:00 +00:00
Kubernetes Prow Robot
c5c19a6487 Merge pull request #129723 from carlory/NFSPersistentVolumes
remove unrunnable tests from NFSPersistentVolumes
2025-01-24 09:35:28 -08:00
Maciej Szulik
28896d2f90 e2e: bump port-forward timeout
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-01-24 18:31:53 +01:00
Patrick Ohly
013f65b257 DRA: fix test-driver examples
They were still using an obsolete API version.
The driver must publish some devices for allocation
to succeed.
2025-01-24 18:30:36 +01:00
Kubernetes Prow Robot
f2fe33399f Merge pull request #129700 from carlory/Update-in-tree-gcePdDriver-tests
Update in-tree gcePersistentDisk tests
2025-01-24 08:15:21 -08:00
Kubernetes Prow Robot
bb9e393fc3 Merge pull request #129110 from soltysh/deployment_patch_status
test: deployment patch status test should  check the modified fields
2025-01-23 14:15:27 -08:00
Kubernetes Prow Robot
29bf17b6cf Merge pull request #129168 from kannon92/drop-node-features
[KEP-3041] - remove nodefeatures from k/k repo
2025-01-23 12:07:29 -08:00
Kubernetes Prow Robot
00fa8f1190 Merge pull request #129773 from aojea/funny_service_cdir
e2e test should no longer guess the service cidr and instead of use the API
2025-01-23 07:16:58 -08:00
Antonio Ojea
0b38e6cd9e e2e network: remove test for funny ips
The test is super hacky and we'll not be needed once the corresponding
KEP is implemented, better to remove it that trying to fix it
perpetuating the hacky solution.
2025-01-23 14:00:20 +00:00
Antonio Ojea
fdebfb4485 e2e log info on nodeport allocation failures 2025-01-23 08:24:49 +00:00
Kubernetes Prow Robot
45d0fddaf1 Merge pull request #128971 from aojea/servicecidr_ga
KEP-1880 Multiple Service CIDRs: Graduate to GA
2025-01-22 11:12:44 -08:00
Antonio Ojea
db3ae754b1 e2e network: adapt dual stack tests for endpoint slices only 2025-01-22 10:20:28 +00:00
Kubernetes Prow Robot
a271299643 Merge pull request #129717 from esotsal/fix-128837
testing: Fix pod delete timeout failures after InPlacePodVerticalScaling Graduate to Beta commit
2025-01-21 15:50:47 -08:00
Kubernetes Prow Robot
0d988d7209 Merge pull request #129619 from ffromani/sig-node-approvers-ffromani
Self-nominating ffromani as approver for sig-node container and resource managers
2025-01-21 15:50:36 -08:00
Kubernetes Prow Robot
3d2ee2fbb7 Merge pull request #129609 from carlory/cleanup-exec-utils
Move some exec helper functions from framework/volume to framework/pod
2025-01-21 09:00:37 -08:00
carlory
c68fc01b77 return an error instead of recording a test failure
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-01-21 23:43:48 +08:00
Sotiris Salloumis
c5fc4193bb Fix pod delete issues in podresize tests 2025-01-21 07:25:14 +01:00
carlory
7712d34b9e remove unrunnable tests from NFSPersistentVolumes 2025-01-21 14:07:54 +08:00
Dan Winship
969ecabc0f Remove all references to v1.Endpoints from non-network e2e tests
kube-proxy does not look at Endpoints ever, so it is incorrect for a
test to assume that there is any correlation between whether Endpoints
exist and whether a Service is working. Tests should only be using the
v1.Endpoints API if they are explicitly testing the behavior of
v1.Endpoints, the Endpoints controller, or the EndpointSlice mirroring
controller. There is no reason for any non SIG Network tests to be
testing any of those things, so there should be no references to
v1.Endpoints in test/e2e outside of test/e2e/network.

Also, simplify some pointlessly complicated e2eservice code.
2025-01-20 17:04:46 -05:00
Dan Winship
da5bf27bc5 Remove no-longer-used TestUnderTemporaryNetworkFailure()
This was previously used by some autoscaling tests that have since
been removed. It is somewhat sketchy (and inherently [Disruptive]),
and depends on iptables (so would need to be updated to use nftables
at some point if we were keeping it). Given that it's now unused, just
remove it (as well as some helper functions that are no longer used by
anyone else as well).
2025-01-20 17:04:32 -05:00
Kevin Hannon
bae4122f56 deprecate nodefeature for feature labels 2025-01-20 17:02:59 -05:00