Commit Graph

14868 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
e6547701f1 Merge pull request #124681 from jpbetz/field-selector-beta
Promote custom resource field selectors to beta
2024-05-07 10:39:05 -07:00
Joe Betz
6ba3b318d3 Add version testing 2024-05-07 09:11:32 -04:00
Joe Betz
d16ff3d77f Promote CRD field selectors to beta 2024-05-06 11:53:03 -04:00
Kubernetes Prow Robot
4d17d30029 Merge pull request #124519 from dims/drop-all-the-providery-things-take-2
Remove gcp in-tree cloud provider and credential providers
2024-05-06 08:03:14 -07:00
mowangdk
c7fe6b8cc2 chore:update invalid package name by golint 2024-05-04 22:55:43 +08:00
Davanum Srinivas
7f9a0ef5d2 Fixes from review by Jan Šafránek/Andrew/Michael
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-03 15:11:36 -04:00
Davanum Srinivas
7187d9af81 address comments during review
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-01 18:01:25 -04:00
Davanum Srinivas
efdb2961b6 drop unused code pointed out by linter
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-01 09:03:57 -04:00
Davanum Srinivas
bf268f02a3 Remove gcp in-tree cloud provider and credential provider
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2024-05-01 09:03:53 -04:00
Daman Arora
d70f96fe22 e2e/network: stream pod logs for debugging
Intermittent logging to understand root cause of
https://github.com/kubernetes/kubernetes/issues/123760

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-05-01 11:27:11 +05:30
Kubernetes Prow Robot
6381e6504a Merge pull request #124572 from aojea/alpha_tag
tag TrafficDistribution tests to avoid running on clusters without th…
2024-04-29 14:46:59 -07:00
Kubernetes Prow Robot
62ced20cdc Merge pull request #124567 from chengjoey/e2e/scheduler-prefilter
add e2e test when a plugin (in-tree or out-of-tree) return non-existent/illegal nodes, the pod should be scheduled normally if suitable nodes exists
2024-04-27 23:12:36 -07:00
Daman Arora
20d335a94c e2e/framework network: exit early in DialFromContainer
Immediately exit on receiving an unexpected response, we currently
wait for all the attempts to be exhausted and then return an error.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2024-04-27 22:55:35 +05:30
joey
cc19b33a95 add e2e test when a plugin (in-tree or out-of-tree) return non-existent/illegal nodes, the pod should be scheduled normally if suitable nodes exists
Signed-off-by: joey <zchengjoey@gmail.com>
2024-04-27 09:43:23 +08:00
Antonio Ojea
484f8bc54b tag TrafficDistribution tests to avoid running on clusters without the feature enabled 2024-04-26 17:15:35 +00:00
Justyna Betkier
a484bb94c2 Fix linter issues 2024-04-25 13:34:30 +02:00
Justyna Betkier
8ba3327de7 Append both env variables instead of fetching twice and overriding them.
Previously the second line would fetch the clean environment variables
and drop the changes from the first line.
2024-04-25 13:34:30 +02:00
Kubernetes Prow Robot
0a6101636d Merge pull request #123930 from Nordix/esotsal/fix_123928
Move DockerHung test in the end
2024-04-24 14:29:38 -07:00
Kubernetes Prow Robot
15ee05afd4 Merge pull request #124471 from aojea/zero_e2e
don't force delete pods on e2e tests
2024-04-23 09:29:25 -07:00
Kubernetes Prow Robot
7fa3098a9d Merge pull request #124161 from aojea/lb_timeout
fix e2e loadbalancer test timeouts and assumptions
2024-04-23 09:29:16 -07:00
Antonio Ojea
06457a5219 don't force delete pods on e2e tests 2024-04-23 11:56:44 +00:00
Kubernetes Prow Robot
76de052680 Merge pull request #124346 from jwcesign/master
upgrade: upgrade dependencies github.com/prometheus/common to the newest version
2024-04-22 07:11:25 -07:00
huweiwen
6ec421e2cf test/e2e: do not use global variable for image
We have "-kube-test-repo-list" command line flag to override the image registry. If we store it in global variable, then that overriding cannot take effect.

And this can cause puzzling bugs, e.g.: containerIsUnused() function will compare incorrect image address.
2024-04-22 19:29:39 +08:00
Kubernetes Prow Robot
cb3bd5bc41 Merge pull request #124205 from mkarrmann/wait-for-pods-e2e-cleanup-111092
chore/refactor(e2e tests): Solidify Contract for and Cleanup WaitForPodsRunningReady
2024-04-22 01:24:24 -07:00
Kubernetes Prow Robot
c1924df0a8 Merge pull request #124421 from danwinship/pod-host-ips-test
Fix up pod hostIPs e2e
2024-04-21 20:09:33 -07:00
Kubernetes Prow Robot
5514277007 Merge pull request #124422 from danwinship/windows-hybrid-e2e-tags
Fix networking feature tags in Windows hybrid network e2e
2024-04-21 18:39:39 -07:00
Dan Winship
52e88157b8 Document sig-network e2e features 2024-04-20 11:37:53 -04:00
Dan Winship
4a1058daa1 Fix networking feature tags in Windows hybrid network e2e 2024-04-20 11:24:50 -04:00
Dan Winship
01c7378531 Fix up pod hostIPs e2e
- The feature is GA so there's no feature gate so it doesn't need any
  special label now.

- The test is not dual-stack-specific, so it shouldn't claim to be.

- It asserted node-IP-assigning behavior that is not guaranteed to
  work on all clouds. (Among other things: that there are no "extra"
  InternalIPs, and that there are InternalIPs of every supported IP
  family, rather than there only being ExternalIPs of some families.)
2024-04-20 10:31:29 -04:00
Dan Winship
a1c1ef31df Remove unnecessary e2e feature.UDP
[Feature:UDP] was probably added in the past by analogy to
[Feature:SCTP], but is unnecessary since UDP support has always been
required.
2024-04-20 10:02:59 -04:00
jwcesign
f0aa62bc96 upgrade: upgrade dependencies github.com/prometheus/common to the newest version
Signed-off-by: jwcesign <jwcesign@gmail.com>
2024-04-20 09:53:16 +08:00
Patrick Ohly
77341f7595 DRA: remove support for v1alpha2 kubelet API
The v1alpha2 API is several releases old. No current drivers should still
depend on it.
2024-04-19 18:27:05 +02:00
Kubernetes Prow Robot
5e229a02d3 Merge pull request #124185 from aojea/e2e_stress_remotecommand
e2e test to execute 1000 times in a container with concurrency 10
2024-04-19 05:17:57 -07:00
Kubernetes Prow Robot
1d171a7501 Merge pull request #124289 from pohly/test-e2e-node-verbosity-fix
e2e node: fix -v support
2024-04-18 04:24:23 -07:00
Kubernetes Prow Robot
7ebb64d176 Merge pull request #124235 from bitoku/dra-e2e
Use WaitForPodCondition instead of sleep
2024-04-18 03:24:42 -07:00
Kubernetes Prow Robot
183aca3cad Merge pull request #124100 from dims/cloud/gcp/cluster_upgrade-should-only-run-on-GCE
cloud/gcp/cluster_upgrade should only run on GCE
2024-04-18 02:12:14 -07:00
Kubernetes Prow Robot
7f67cb5960 Merge pull request #123969 from liangyuanpeng/cleanup_rand
cleanup: delete rand.Seed(time.Now().UnixNano()) and using global number generator.
2024-04-18 02:10:26 -07:00
Kubernetes Prow Robot
d2ce87eb94 Merge pull request #123938 from pohly/dra-structured-parameters-tests
DRA: test for structured parameters
2024-04-18 02:10:08 -07:00
Filip Křepinský
85d55b6737 fix stateful set pod recreation and event spam (#123809)
* fix pods tracking and internal error checking in statefulset tests

* fix stateful set pod recreation and event spam

- do not emit events when pod reaches terminal phase
- do not try to recreate pod until the old pod has been removed from
  etcd storage

* fix conflict race in statefulset rest update

statefulset controller does less requests per sync now and thus can
reconcile status faster, thus resulting in a higher chance for conflicts
2024-04-18 01:03:46 -07:00
Kubernetes Prow Robot
528cff12f6 Merge pull request #120969 from skitt/uber-go-mock
Switch from golang/mock to uber-go/mock
2024-04-17 23:59:24 -07:00
Matt Karrmann
5b3f48d263 Revert check at end of WaitForAlmostAllPodsReady to only consider Pending pods 2024-04-17 23:18:26 -05:00
Matt Karrmann
62b9e832cc Small clean and comment rewording of WaitForPodsRunningReady 2024-04-17 23:18:26 -05:00
Matt Karrmann
3476833367 Check err in Windows e2e tests 2024-04-17 23:18:26 -05:00
Matt Karrmann
bcf42255bb Refactor and simplify WaitForPodsRunningReady; update callers to use new interface 2024-04-17 23:18:26 -05:00
Matt Karrmann
272a055a46 Use new WaitForAlmostAllPodsReady function ins e2e setup 2024-04-17 23:18:26 -05:00
Matt Karrmann
fcdf67a815 Add WaitForAlmostAllPodsReady function, similar to previous WaitForPodsRunningReady function 2024-04-17 23:18:26 -05:00
Matt Karrmann
fe251cb737 Explicitity set contract for WaitForPodsRunningReady, and rewrite accordingly 2024-04-17 23:18:26 -05:00
Matt Karrmann
2537c10453 Improve logging and comments in WaitForPodsRunningReady 2024-04-17 23:18:26 -05:00
Matt Karrmann
273cd03c01 Cleanup WaitForPodsRunningReady: fail for bad pods and reword log message 2024-04-17 23:18:26 -05:00
Sotiris Salloumis
81abca5508 Move DockerHung test in the end 2024-04-16 17:48:16 +02:00