Commit Graph

94572 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
1e8f7a9265
Merge pull request #93935 from spiffxp/make-spiffxp-build-approver
Promote spiffxp to build/ approver
2020-08-12 11:53:14 -07:00
Stephen Augustus
aa2bb18a2b [go1.15] Update to go1.15
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
Stephen Augustus
5d1e299230 [go1.15] hack/tools: Update to k/repo-infra@v0.0.12 (supports go1.15.0)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
Stephen Augustus
eaa2bc29b8 [go1.15] build: Update to k/repo-infra@v0.0.12 (supports go1.15.0)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
Jiawei Wang
d030c64743 [e2e]Bind csi driver namespace to test namespace to avoid namespace collision 2020-08-12 10:20:30 -07:00
ESWZY
9ce4dfe6d2 Add test for pkg/kubelet/util/util_windows_test.go#GetAddressAndDialer 2020-08-13 01:17:00 +08:00
Matthew Fenwick
14fe811563 back out conversion of DialFromNode->DialFromTestContainer 2020-08-12 13:11:51 -04:00
Aaron Crickenberger
e056241b4f Promote spiffxp to build/ approver
I've been a reviewer here for nearly 2 years, and am now part of
the team that builds the google-hosted .dep and .rpm packages
2020-08-12 10:03:30 -07:00
Rob Scott
4cfe4403b4
Updating EndpointSlice controllers to return if error encountered
Previously the controllers would proceed with additional creates,
updates, or deletes if 1 failed. That could potentially result in
scenarios where an EndpointSlice create or update failing while a delete
worked. This updates the logic so that removals will not happen if
additions fail.
2020-08-12 09:58:03 -07:00
Kubernetes Prow Robot
4a7804ae17
Merge pull request #93929 from liggitt/ingress-secret
Validate ingress TLS secretName in v1
2020-08-12 09:53:45 -07:00
Patrick Ohly
1a510a1bec e2e storage: avoid flaky test failure when watch dies
As discussed in https://github.com/kubernetes/kubernetes/pull/93658,
relying on a watch to deliver all events is not acceptable, not even
for a test, because it can and did (at least for OpenShift testing) to
test flakes.

The solution in #93658 was to replace log flooding with a clear test
failure, but that didn't solve the flakiness.

A better solution is to use a RetryWatcher which "under normal
circumstances" (https://github.com/kubernetes/kubernetes/pull/93777#discussion_r467932080)
should always deliver all changes.
2020-08-12 17:56:24 +02:00
SataQiu
ad1739f8bc kubelet: assume that swap is disabled when /proc/swaps does not exist 2020-08-12 22:43:58 +08:00
Jordan Liggitt
f87a846e65 Validate ingress TLS secretName in v1 2020-08-12 10:13:08 -04:00
Patrick Ohly
441324e8c8 e2e storage: skip multi-volume generic ephemeral volume test
This test might flake when run on a multi-zone cluster (similar to
persistent volumes, see
https://github.com/kubernetes/kubernetes/issues/75776). We don't do
that at the moment, but it's better to fix this anyway.
2020-08-12 16:01:13 +02:00
Kubernetes Prow Robot
c780554a64
Merge pull request #93829 from aojea/e2eSvcSlice
e2e services wait for endpoint and endpoint slices
2020-08-12 06:49:45 -07:00
Antonio Ojea
f31839acea e2e services wait for endpoint and endpoint slices
Since 1.19 endpoint slices is enabled by default, so all the e2e
tests should consider them.

The e2e networking tests for services use the jig object for
all the tests, but was not taking into account endpoint slices.

This considers endpoints slices for the method waitForAvailableEndpoint()

 Date:      Sun Aug 9 12:34:06 2020 +0200
2020-08-12 14:13:42 +02:00
Jan Safranek
fea06a204c Reduce test volume sizes
To reduce costs and to increase speed. Formating 5GiB volume took too long
in a badly overloaded CI cluster.

All in-tree volume plugins support at least 1GiB volumes.
2020-08-12 14:00:30 +02:00
Kubernetes Prow Robot
abede62bf0
Merge pull request #93857 from soltysh/fix_lb_test
Skip LB test per schedulable node count
2020-08-12 04:29:44 -07:00
Antonio Ojea
f9a5e5a283 support ipv6 in e2e policy tests 2020-08-12 13:01:07 +02:00
zhouya0
b18e265315 [Flaky test]kubectl log test never restart pod 2020-08-12 18:26:18 +08:00
azush26
ac1168e0e9 modify the warning log format from %d to %v 2020-08-12 16:05:59 +09:00
Stephen Augustus
21863237a7 cluster/images/etcd: Build etcd@3.4.9-3 using debian-base@v2.1.3
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-11 23:20:06 -04:00
Stephen Augustus
13f1a90f74 build: Update to debian-base@v2.1.3 and debian-iptables@v12.1.2
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-11 23:17:26 -04:00
Kubernetes Prow Robot
fa13dc11d1
Merge pull request #93907 from robscott/endpointslice-e2e-test-fix
Updating EndpointSlice e2e tests to accept duplicate EndpointSlices
2020-08-11 20:07:45 -07:00
Michelle Au
8fce14a9e9 Update snapshot controller to use k8s.gcr.io
Change-Id: I30005efec519840142bc7151aeaa543912a2f84b
2020-08-11 18:34:24 -07:00
zhouya0
a1c3ebdffc Seperate registry and feature gates 2020-08-12 09:06:21 +08:00
Kubernetes Prow Robot
35c8fece86
Merge pull request #93521 from msau42/update-registry
Update e2e csi images to k8s.gcr.io
2020-08-11 17:57:46 -07:00
RobertKielty
1eb1690a92 names unnamed testcases, adds name to t.Errorf msg 2020-08-12 00:22:38 +01:00
Kubernetes Prow Robot
82576393f4
Merge pull request #93895 from knight42/fix/TestWatchHTTPTimeout
test(endpoints): deflake TestWatchHTTPTimeout
2020-08-11 15:31:59 -07:00
Kubernetes Prow Robot
4750523bac
Merge pull request #93893 from alculquicondor/fix-scheduler-test
Sync cache before starting scheduler test
2020-08-11 15:31:46 -07:00
Rob Scott
17ff005c4b
Updating EndpointSlice e2e tests to accept duplicate EndpointSlices
Although rare, the EndpointSlice controller can create duplicate
EndpointSlices. This is considered a valid state and tests that find
this state should not fail.
2020-08-11 14:51:30 -07:00
Aldo Culquicondor
1978866474 Improve running time of TestSchedulerWithVolumeBinding
Only wait for finished binding or error, but not both

Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: I13d16e6c7c45c6527591aa05cc79fc5e96d47a68
2020-08-11 17:31:29 -04:00
Kubernetes Prow Robot
343817ef93
Merge pull request #93831 from cofyc/fix93830
scheduler: forget the pod when the reserve plugins fail
2020-08-11 12:36:17 -07:00
knight42
50e8287e6d
test(endpoints): deflake TestWatchHTTPTimeout
Signed-off-by: knight42 <anonymousknight96@gmail.com>
2020-08-12 02:34:22 +08:00
Aldo Culquicondor
24f817a487 Sync cache before starting scheduler test
Signed-off-by: Aldo Culquicondor <acondor@google.com>
Change-Id: I9629e1d6d510607b505b0302e23d67e0ae4a662e
2020-08-11 13:36:54 -04:00
jay vyas
9ecf96cb46 Add maxTries logging statement, otherwise the numbers are really hard to interpret 2020-08-11 12:28:08 -04:00
jay vyas
56e2adbd79 implement breadth first try 2020-08-11 11:32:46 -04:00
M. Habib Rosyad
42c68c303b
fix test/e2e_node staticcheck 2020-08-11 22:11:22 +07:00
Yecheng Fu
1176ef9c7d forget the pod when the reserve plugins fail
and move the metrics function calls before all other functions
2020-08-11 21:28:33 +08:00
Jan Safranek
96eeb98215 Fix error messages
Separate different errors by ": ".
2020-08-11 11:14:15 +02:00
Jan Safranek
6a83a39ae6 Fix Poll variable name
Parameter names should start with lowercase
2020-08-11 11:14:15 +02:00
Jan Safranek
d3503a2881 Fix waiting for PVCs to get Bound
When Get() returns error, the loop should not return with nil. Make sure
that the faulty Get() marks phaseFoundInAllClaims as not satisfied.
2020-08-11 11:14:15 +02:00
Kubernetes Prow Robot
04362870ad
Merge pull request #93846 from knight42/fix/TestEnsureBackendPoolDeletedConcurrently
fix(azure): set default value of VmssVirtualMachinesCacheTTLInSeconds when initializing scaleSet
2020-08-10 21:12:17 -07:00
M. Habib Rosyad
445cd35b5c
fix vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured staticcheck 2020-08-11 10:19:42 +07:00
Kubernetes Prow Robot
15a3d46db1
Merge pull request #93030 from swetharepakula/endpoint-tracker
Requeue Service after Endpoint Deletion
2020-08-10 18:28:16 -07:00
loopever
b645f3038e Fix some typo 2020-08-11 08:35:31 +08:00
Kubernetes Prow Robot
da5ec168e7
Merge pull request #93618 from Jiawei0227/e2e-csi-mock-flaky
Fix flaky test: wait for mock CSI Driver bringup to perform e2e test
2020-08-10 15:41:59 -07:00
Antoine Pelisse
f4c145511a Update SMD to v4.0.1 and kube-openapi 2020-08-10 15:35:23 -07:00
jay vyas
ccbfa84173 golint
flip logging messages

run pod->node conformance tests the same way
2020-08-10 15:46:49 -04:00
Jiawei Wang
76b4973b42 Wait for mock CSI Driver bringup to perform e2e test
In our current mock CSI driver e2e test, we are not waiting
for the CSI driver register successfully to perform test
including provision PVC. This can lead to timeout when the
csi driver takes longer to register the socket.

This change adds the waiting part so that the system will
wait for up to 10 minutes for the driver to be ready. This
normally won't take this long. However, under a resource
constraint environment it can take longer than expected time.

https://github.com/kubernetes/kubernetes/issues/93358
2020-08-10 11:03:35 -07:00