Commit Graph

110556 Commits

Author SHA1 Message Date
cly
7975be8fdc fix a typo in test/conformance/walk.go 2022-09-20 09:23:06 +08:00
Kubernetes Prow Robot
25b93a607a
Merge pull request #112352 from pohly/e2e-ginkgo-progress
e2e: better ginkgo progress reports
2022-09-19 01:04:32 -07:00
Patrick Ohly
b4e0804764 e2e: poll state of test
The new support in ginkgo for progress reports while a test runs dumps
information about where a test is stuck when it runs too long. This can provide
additional insights into what the test is waiting for.

For the Kubernetes jobs using ginkgo-e2e.sh, such dumps are now enabled after
300 seconds and then get repeated every 20 seconds. The initial delay is
intentionally the same as for warning about a slow test. The rationale is that
such test runtimes are unexpected and may need further information to diagnose
why they are slow.

With -ginkgo.source-root, Ginkgo is able to locate the Kubernetes source code
and display small source code snippets for functions that are related to the
test, determined through a heuristic that assumes that all files under the test
suite are for the tests in it.
2022-09-18 10:11:22 +02:00
Patrick Ohly
1e4edaf2fe e2e: bump ginkgo to v2.2.0
The new release adds support for intermediate progress reports.
2022-09-18 10:10:07 +02:00
Kubernetes Prow Robot
127f33f63d
Merge pull request #111221 from inosato/remove-ioutil-from-kubelet
Remove ioutil in kubelet/kubeadm and its tests
2022-09-17 21:56:28 -07:00
inosato
7dc1f5e30b Fix comments 2022-09-18 12:51:03 +09:00
Kubernetes Prow Robot
d2e3c70f1d
Merge pull request #111961 from pohly/e2e-klog-output
e2e: klog output
2022-09-17 14:38:28 -07:00
Kubernetes Prow Robot
23a4920d83
Merge pull request #112540 from mkumatag/fix_unit
Add no-op package file to avoid build constraints exclude all Go file…
2022-09-17 03:00:27 -07:00
Manjunath A Kumatagi
2384a341e1
Add no-op package file to avoid build constraints exclude all Go files error 2022-09-17 12:15:49 +05:30
Kubernetes Prow Robot
4ff1369641
Merge pull request #112526 from liggitt/redirect
Limit redirect proxy handling to redirected responses
2022-09-16 19:34:29 -07:00
Jordan Liggitt
a7e079680a
Limit redirect proxy handling to redirected responses 2022-09-16 21:25:40 -04:00
Kubernetes Prow Robot
3e5e5cc7ee
Merge pull request #112357 from SataQiu/deprecated-20220907
kube-scheduler: add taints filtering logic consistent with TaintToleration plugin for PodTopologySpread plugin
2022-09-16 18:14:27 -07:00
Kubernetes Prow Robot
29b856b658
Merge pull request #112520 from gnufied/fix-selinux-support-not-found-csi-driver
Do not return err if CSIdriver is not found
2022-09-16 17:04:40 -07:00
Kubernetes Prow Robot
7f672cef0a
Merge pull request #112516 from aojea/topology_log
fix endpoint slice controller logging format error
2022-09-16 17:04:30 -07:00
Kubernetes Prow Robot
4bc1398c08
Merge pull request #112510 from humblec/new-2
various typo corrections in test/e2e package
2022-09-16 14:59:00 -07:00
Kubernetes Prow Robot
4fb2cf4b4b
Merge pull request #112507 from kerthcet/fix/pod-topology-spread-error
Fix calculating error when adding nominated pods in podTopologySpread
2022-09-16 14:58:50 -07:00
Hemant Kumar
8d1e2e0faa Do not return err if CSIdriver is not found
while checking for selinux support
2022-09-16 15:53:03 -04:00
Kubernetes Prow Robot
86c46a4bcc
Merge pull request #112514 from markmc/patch-1
client-go: remove reference to TPR in examples
2022-09-16 12:51:02 -07:00
Kubernetes Prow Robot
ea3637f447
Merge pull request #112511 from aojea/e2e_dnspolicy
add e2e test for hostNetwork pods with dnsPolicy: ClusterFirstWithHostNet
2022-09-16 12:50:50 -07:00
Kubernetes Prow Robot
3ccce7cf78
Merge pull request #112501 from flant/who-am-i-code-cleanup
Cleanup WhoAmI table sorting code
2022-09-16 08:49:28 -07:00
Kubernetes Prow Robot
06fd0a0728
Merge pull request #112489 from dims/etcd_update_v3.5.5
etcd: Updated to v3.5.5
2022-09-16 08:49:16 -07:00
Antonio Ojea
c3259df151 fix endpoint slice controller logging format error
Co-authored-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
2022-09-16 16:47:51 +02:00
Kubernetes Prow Robot
05f17ee5d6
Merge pull request #111076 from claudiubelu/unittests-6
unittests: Fixes cmd unit tests for Windows
2022-09-16 07:39:27 -07:00
Kubernetes Prow Robot
da9d8a9f63
Merge pull request #108332 from mengjiao-liu/improve_taint_test
Improve unit test coverage in `pkg/util/taints/`
2022-09-16 07:39:16 -07:00
Mark McLoughlin
d21fc6e762
client-go: remove reference to TPR in examples
5 years after third party resources were removed, we're probably just confusing readers with this reference.
2022-09-16 15:14:13 +01:00
Kubernetes Prow Robot
740011927c
Merge pull request #112504 from pohly/e2e-wait-service-account
e2e framework: better error when service account creation times out
2022-09-16 06:31:28 -07:00
Kubernetes Prow Robot
a43e80f21f
Merge pull request #112227 from viveksahu26/fix_warnings
fix  linter errors
2022-09-16 06:31:17 -07:00
Humble Chirammal
9e9fc2be88 various corrections in test/e2e package
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-16 18:59:30 +05:30
Antonio Ojea
210c1302ef add e2e test for hostNetworl pods with dnsPolicy: ClusterFirstWithHostNet 2022-09-16 15:26:38 +02:00
Kubernetes Prow Robot
cccfc0989b
Merge pull request #112508 from SataQiu/fix-kubeadm-20220916
kubeadm: allow RSA and ECDSA format keys in preflight check
2022-09-16 04:57:17 -07:00
SataQiu
de4aeecd48 kubeadm: allow RSA and ECDSA format keys in preflight check 2022-09-16 18:50:45 +08:00
Kubernetes Prow Robot
0f582f7c3f
Merge pull request #112416 from aojea/race_apiserver_startup
Don't run TestCleanup that requires etcd on non linux+amd64 platforms
2022-09-16 02:49:18 -07:00
kerthcet
9a9fbf598e Fix calculating error when adding nominated pods in podTopologySpread
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-09-16 17:28:49 +08:00
Mengjiao Liu
1b9e4eb073 Improve test readability by fixing previous code variables that could easily be changed and
improve unit test coverage in `pkg/util/taints/taints_test.go`
2022-09-16 17:23:35 +08:00
Patrick Ohly
efc172f4bf e2e framework: better error when service account creation times out
When waiting for the default service account in a new namespace, not finding
one was reported as "unexpected error: timed out waiting for the condition"...
2022-09-16 11:21:31 +02:00
Antonio Ojea
920dec740b skip etcd unit tests on non fully supported architectures
etcd only fully supports linux && amd64, the other architectures
and OS are only guaranteed to build, see:

https://etcd.io/docs/v3.5/op-guide/supported-platform/#support-tiers

Skip the test that use etcd on not well supported environment to
guarantee the stability of the test.
2022-09-16 10:38:03 +02:00
m.nabokikh
b81b422a70 Cleanup WhoAmI sorting code
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-09-16 07:14:20 +02:00
Kubernetes Prow Robot
02ac8ac418
Merge pull request #112487 from liggitt/flowcontrol-test
Add compatibility fixtures for v1beta2 flowcontrol
2022-09-15 20:21:16 -07:00
Davanum Srinivas
0f6b9b883c
etcd: Updated to v3.5.5
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-09-15 21:05:13 -04:00
Kubernetes Prow Robot
2ed2e77bc7
Merge pull request #112485 from dims/etcd-image-v3.5.5
etcd: Build image 3.5.5-0
2022-09-15 17:53:40 -07:00
Kubernetes Prow Robot
8b7840e393
Merge pull request #112475 from vatsalparekh/fix-TestRESTClientLimiter
Fix Infelicities in TestRESTClientLimiter
2022-09-15 17:53:34 -07:00
Kubernetes Prow Robot
369d0cfced
Merge pull request #112436 from mengjiao-liu/remove_unused_function_in_taints
Remove unused functions in pkg/util/taints/
2022-09-15 17:53:27 -07:00
Kubernetes Prow Robot
ad1e330977
Merge pull request #111567 from inosato/remove-ioutil-from-component-base
Remove ioutil from component-base
2022-09-15 17:53:16 -07:00
Kubernetes Prow Robot
be506dc46e
Merge pull request #112476 from enj/enj/i/list_pager_flake
Check for context cancellation on each buffered chunk
2022-09-15 16:41:32 -07:00
Kubernetes Prow Robot
4c3a7d767d
Merge pull request #112448 from SataQiu/improve-apiserver-20220914
Using simpler wrapper function capabilities.Setup instead of calling Initialize directly
2022-09-15 16:41:26 -07:00
Kubernetes Prow Robot
efaf56d4b6
Merge pull request #112444 from piotrnosek/hpamultimplemetrics
HPA E2E tests: Multiple Metrics
2022-09-15 16:41:18 -07:00
Kubernetes Prow Robot
9cd6331f95
Merge pull request #112267 from sjenning/aws-skip-health-rules-master-upstream
aws: skip health rules if they are a subnet of the client rule
2022-09-15 16:41:06 -07:00
Kubernetes Prow Robot
6824cd3add
Merge pull request #112450 from enj/enj/i/exec_tls_cache_holder_cleanup
client-go/transport: drop Dial and GetCert fields in favor of Holders
2022-09-15 15:33:32 -07:00
Kubernetes Prow Robot
dc0dfdd109
Merge pull request #111866 from pacoxu/validate
added ratcheting validation for  x-kubernetes-list-type
2022-09-15 15:33:21 -07:00
Jordan Liggitt
9328351de4
Add compatibility fixtures for v1beta2 flowcontrol 2022-09-15 17:08:40 -04:00