Commit Graph

11898 Commits (012a438dbe488344c920f63da09d4215baffdab7)

Author SHA1 Message Date
k8s-ci-robot 16d0992534
Merge pull request #69753 from wangzhen127/diff-node-status
Update kubelet node status report logic with node lease feature
2018-11-07 20:26:45 -08:00
WanLinghao efac533f92 To inject ca.crt into container when projected volume was specified, configmap should be created in each namespace.
This patch add a controller called "root-ca-cert-publisher" to complete above job as well as some bootstrap rbac policies.
2018-11-08 11:33:47 +08:00
k8s-ci-robot ac217310bf
Merge pull request #70769 from mkimuram/issue/70760
Fix test driver's unique name consistent
2018-11-07 19:10:55 -08:00
k8s-ci-robot 3bf41a210b
Merge pull request #69820 from ixdy/fork-multiarch-register
Use a forked copy of multiarch/qemu-user-static scripts instead of a privileged container
2018-11-07 19:10:15 -08:00
k8s-ci-robot e83804d364
Merge pull request #70720 from roycaihw/sig-node-tests
Mark configmap and downward_api e2e tests under [sig-node]
2018-11-07 14:26:24 -08:00
k8s-ci-robot 98cd708619
Merge pull request #70648 from maht/master
Fix end-to-end test logic to get image name
2018-11-07 14:26:14 -08:00
Masaki Kimura d33211dc44 Fix test driver's unique name consistent
Fixes: #70760
2018-11-07 22:24:48 +00:00
k8s-ci-robot 6f305d925f
Merge pull request #68025 from mkimuram/issue/68024
Make csi drivers and in-tree drivers share e2e tests
2018-11-07 12:52:47 -08:00
Zhen Wang 98fc4a107a Update kubelet node status report logic with node lease feature
When node lease feature is enabled, kubelet reports node status to api server
only if there is some change or it didn't report over last report interval.
2018-11-07 11:59:42 -08:00
k8s-ci-robot 46413e7958
Merge pull request #70694 from mborsz/rcconfig
Don't fail RCConfig.start on node restart.
2018-11-07 11:36:59 -08:00
k8s-ci-robot a99e004818
Merge pull request #70681 from justinsb/block_master_all_ips
e2e: block all master addresses
2018-11-07 11:36:50 -08:00
k8s-ci-robot ebcc2c7d26
Merge pull request #70667 from aniket-s-kulkarni/flexvolume-resize-implementation
adding test case for flex volume resize on pod restart
2018-11-07 11:36:32 -08:00
Davanum Srinivas 43f523d405
Switch to sigs.k8s.io/yaml from ghodss/yaml
Change-Id: Ic72b5131bf441d159012d67a6a3d87088d0e6d31
2018-11-07 13:17:32 -05:00
Masaki Kimura b89b367247 Make csi drivers and in-tree drivers share e2e tests 2018-11-07 15:42:58 +00:00
k8s-ci-robot 465d578d93
Merge pull request #70695 from mborsz/DeleteResourceAndWaitForGC
Few improvements to DeleteResourceAndWaitForGC
2018-11-07 02:47:37 -08:00
Maciej Borsz 0748cbe2b2 Don't fail RCConfig.start on node restart. 2018-11-07 11:03:51 +01:00
k8s-ci-robot 7fe59165b6
Merge pull request #70193 from saad-ali/csiCRDAddon
Register CSI CRDs as addon
2018-11-06 23:55:56 -08:00
k8s-ci-robot e05659cf8e
Merge pull request #70710 from msau42/remove-subpath-ro-test
Remove subpath ro test
2018-11-06 20:21:44 -08:00
Haowei Cai 598d459bc6 Mark configmap and downwardapi tests with sig-node 2018-11-06 17:58:26 -08:00
Justin SB c136a99bf2
e2e: Better error reporting in firewall test
Clearly report the particular ip/port that failed.
2018-11-06 18:00:49 -05:00
k8s-ci-robot 95014b2666
Merge pull request #70689 from mborsz/waitForPodsInactive
Modify waitForPodsInactive to return meaningful error message.
2018-11-06 14:02:15 -08:00
Kenichi Omichi f3e59a5c15 Add the existence check of /proc/net/nf_conntrack
The existence of /proc/net/nf_conntrack depends on the Linux kernel
config CONFIG_NF_CONNTRACK_PROCFS, and Ubuntu 16.04's one is disabled.
So the e2e test "should set TCP CLOSE_WAIT timeout" fails on that.
This adds the existence check of /proc/net/nf_conntrack for skipping
the test if not existing.
In addition, this makes IssueSSHCommandWithResult return Stderr in
the error message if err is nil to check "No such file or directory"
as nonexistence of /proc/net/nf_conntrack.
2018-11-06 21:32:19 +00:00
saad-ali a679486a5e Register CSI CRDs as addon 2018-11-06 10:58:09 -08:00
Michelle Au 75459fc3de remove subpath readonly test for new directories 2018-11-06 10:39:36 -08:00
Michelle Au c13eb07cdf Fix csi rbac in e2e manifests 2018-11-06 10:35:46 -08:00
k8s-ci-robot 8dcdec0a67
Merge pull request #70669 from pohly/e2e-create-secrets
e2e: create and patch items of type Secret, code cleanup
2018-11-06 10:23:41 -08:00
k8s-ci-robot a13599be7e
Merge pull request #70649 from jbartosik/e2e-logging
Add more logging to e2e HPA tests
2018-11-06 06:06:35 -08:00
Maciej Borsz fa31f65db1 A few improvements for DeleteResourceAndWaitForGC:
* Better error messages
* Increase a timeout for removing pod to 20 minutes to handle
kubelet restarts gracefully.
2018-11-06 14:15:02 +01:00
k8s-ci-robot c2aa35866c
Merge pull request #70665 from cblecker/go-1.11.2
Update to use go1.11.2
2018-11-06 04:54:17 -08:00
Humble Chirammal bdb051c72d Refactor GlusterFS PV spec.
This patch introduces glusterfsPersistentVolumeSource addition
to glusterfsVolumeSource. All fields remains same as glusterfsVolumeSource
with an addition of a new field
called `EndpointsNamespace` to define namespace of endpoint in the
spec.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2018-11-06 15:51:01 +05:30
Patrick Ohly 8c1d08c750 e2e: create and patch items of type Secret, code cleanup
Creating secrets is useful for CSI drivers like ceph-csi which have to
be configured via secrets.

While at it, the UniqueName method gets replaced with
MetaNamespaceKeyFunc which does the same thing (at least as long as
non-namespaced items don't have a redundant namespace set) and the
factory types aren't exported anymore (not necessary).
2018-11-06 10:48:22 +01:00
Maciej Borsz 760f7dd24a Modify waitForPodsInactive to return meaningful error message. 2018-11-06 09:48:14 +01:00
k8s-ci-robot cfd53d6dae
Merge pull request #70263 from oomichi/remove-test
Remove subPath tests from host_path.go
2018-11-05 22:11:55 -08:00
Justin SB 0400871df9
e2e: block all master addresses
This way we can be sure that the kubelet can't communicate with the
master, even if falls-back to the internal/external IP (which seems to
be the case with DNS)

Issue #56787
2018-11-05 22:35:19 -05:00
k8s-ci-robot c8604653f0
Merge pull request #70449 from mikedanese/simplcache
remove webhook cache implementation and replace with token cache
2018-11-05 16:32:34 -08:00
Aniket Kulkarni 624f2f5136 adding test case for flex volume resize on pod restart 2018-11-05 18:15:05 -05:00
Kenichi Omichi 01d0dc3697 Remove subPath tests from host_path.go
As discussing on #68905
some tests of test/e2e/common/host_path.go are covered with
test/e2e/storage/testsuites/subpath.go
So we don't need to keep them in test/e2e/common/host_path.go
anymore for the maintenance.
2018-11-05 21:35:17 +00:00
Mike Danese 0ec4d6d396 remove webhook cache implementation and replace with the token cache
The striped cache used by the token cache is slightly more sophisticated
however the simple cache provides about the same exact behavior. I used
the striped cache rather than the simple cache because:

* It has been used without issue as the primary token cache.
* It preforms better under load.
* It is already exposed in the public API of the token cache package.
2018-11-05 13:08:45 -08:00
Joachim Bartosik 100e61a7d6 Add more logging to e2e HPA tests
To debug flakes if there will be any more. Log status of HPA when
waching for recommendations stability (place where most flakes seem to
happen).
2018-11-05 11:32:41 +01:00
Miguel Herranz d0aa30205d Fix end-to-end test logic to get image name
The command executed in ValidateController function uses the
image name of the running container. This is a problem in multiarch
images, since the image name is the name of the image specific to
the architecture, but the image passed as parameter is the multiarch
one (as the test are architecture agnostic), making the test to fail.

This patch fixes it by making the logic use a command that get the
multiarch name given in the container spec.

Signed-off-by: Miguel Herranz <miguel@midokura.com>
2018-11-05 11:05:02 +01:00
Monis Khan f39158a310
Add CRDs to etcd storage path test
This change updates the etcd storage path test to exercise custom
resource storage by creating custom resource definitions before
running the test.

Duplicated custom resource definition test logic was consolidated.

Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-11-04 16:54:35 -05:00
k8s-ci-robot 5fdad5c19f
Merge pull request #68771 from liyongxin/master
typo fix from utilites to utilities
2018-11-03 16:50:28 -07:00
Christoph Blecker b71e74626e
Bump golang version to 1.11.2 2018-11-03 14:10:45 -07:00
k8s-ci-robot 33555943dc
Merge pull request #57099 from mfojtik/increase_downwardapi_volume_timeout
increase the podLogTimeout for downward volume test
2018-11-02 21:28:20 -07:00
k8s-ci-robot 6b2a01709c
Merge pull request #69796 from Huang-Wei/e2e-TaintBasedEvictions
add e2e tests for TaintBasedEvictions
2018-11-02 20:11:28 -07:00
k8s-ci-robot 247b8fffb7
Merge pull request #70597 from msau42/update-pd-csi
Update pd csi e2e yamls with latest driver
2018-11-02 18:02:17 -07:00
k8s-ci-robot b36d08b810
Merge pull request #70592 from ravisantoshgudimetla/remove-resource-limits-priority
Remove resource limits priority
2018-11-02 18:02:07 -07:00
k8s-ci-robot 408973d88e
Merge pull request #70582 from pohly/csi-driver-registrar-rbac
e2e: remove "nodes" permission from driver-registrar RBAC
2018-11-02 18:01:58 -07:00
k8s-ci-robot 03cbb2c321
Merge pull request #70571 from lichuqiang/provision-test-fix
remove meaningless case in volume binding test
2018-11-02 18:01:48 -07:00
Michelle Au 45ee18a1f1 Update pd csi e2e yamls with latest driver 2018-11-02 13:35:39 -07:00
ravisantoshgudimetla 2a7e92e11d Build file generated 2018-11-02 14:13:16 -04:00
ravisantoshgudimetla 0308d24df7 Remove resource priority limit e2e function 2018-11-02 14:12:18 -04:00
k8s-ci-robot 6813ebb568
Merge pull request #67851 from aniket-s-kulkarni/flexvolume-resize-implementation
Flexvolume resize implementation
2018-11-02 10:47:01 -07:00
k8s-ci-robot 879312205f
Merge pull request #70579 from jbartosik/e2e-deflake
Deflake e2e HPA tests
2018-11-02 08:39:16 -07:00
k8s-ci-robot 3cfc89a48a
Merge pull request #70483 from MaciekPytel/maciekpytel_e2e_owner
Add MaciekPytel to test OWNERS.
2018-11-02 08:38:57 -07:00
k8s-ci-robot 77fd16e0e7
Merge pull request #69266 from SataQiu/fix-20180930
Remove the redundant space
2018-11-02 08:38:37 -07:00
k8s-ci-robot 9fb1153bd8
Merge pull request #70550 from liggitt/cleanup-scale-clients
Drop generated clients for Scale types
2018-11-02 05:29:15 -07:00
Patrick Ohly 7ba52472b7 e2e: remove "nodes" permission from driver-registrar RBAC
In the review of
https://github.com/kubernetes-csi/driver-registrar/pull/69 it was
pointed out that the "nodes" permissions are not longer needed.
2018-11-02 12:29:16 +01:00
Joachim Bartosik b0265bed42 Deflake e2e HPA tests
Tests for scaling down based on external metric are flaky. I think this
is because they:
 - Start with 2 replicas,
 - Export metric value == 1/2 target,
 - Expect scale down to 1.

Since the expected recommendation is exactly 1 it might flake (and with
scale down stabilization any recommendations higher than 1 will
persist).

Change expected value of the metric so recommended size will be lower
than 1. This should make those tests less flaky.
2018-11-02 11:32:22 +01:00
k8s-ci-robot 808557e468
Merge pull request #69583 from audreylim/annotate-apimachinery-e2e-test-errors
Annotate errors in apimachinery e2e tests
2018-11-02 02:32:32 -07:00
SataQiu c9bc625428 Remove the redundant space 2018-11-02 15:45:11 +08:00
lichuqiang f7dbcce272 remove meaningless case 2018-11-02 15:17:20 +08:00
k8s-ci-robot 5581f52c0f
Merge pull request #69111 from rajansandeep/clustername
Adapt e2e tests for cluster-domain other than cluster.local
2018-11-01 23:45:22 -07:00
k8s-ci-robot 7e102de723
Merge pull request #70475 from pohly/csi-driver-deployment-logging
e2e: less verbose item creation
2018-11-01 13:44:27 -07:00
k8s-ci-robot 4351cea80c
Merge pull request #70046 from cheftako/lintCleanGce
Fixed lint errors for pkg/cloudprovider/providers/gce.
2018-11-01 13:44:06 -07:00
Jordan Liggitt ff9dc86b3c Drop generated clients for Scale types 2018-11-01 14:49:51 -04:00
k8s-ci-robot a525a2b4ee
Merge pull request #70401 from ravisantoshgudimetla/fix-e2e-node-capacity
Fix capacities as well
2018-11-01 09:53:04 -07:00
Sandeep Rajan 4c8a65ac01 configure cluster domain via flags 2018-11-01 12:27:54 -04:00
k8s-ci-robot 215234d3a3
Merge pull request #67778 from gyuho/typo
staing/apimachinery: fix typo "perfer" to "prefer"
2018-11-01 03:21:02 -07:00
k8s-ci-robot 3b0c20bedc
Merge pull request #69675 from pontiyaraja/rc_cnf_test
Promote Replication Controller and Replica Set e2e tests to Conformance
2018-10-31 23:04:46 -07:00
k8s-ci-robot b8731a76f0
Merge pull request #70395 from seans3/expose-bug-fix
kubectl: fixes expose bug for workload without selectors
2018-10-31 14:48:16 -07:00
k8s-ci-robot 50dffba0f3
Merge pull request #70140 from agau4779/beef-up-negs
test switching between standalone/Ingress NEG
2018-10-31 13:07:38 -07:00
k8s-ci-robot ebe5e635c0
Merge pull request #70422 from zqm19941101/patch-1
fix typo
2018-10-31 11:50:41 -07:00
pontiyaraja b81936320b Promote Replication Controller and Replica Set e2e tests to Conformance 2018-11-01 00:20:04 +05:30
Ashley Gau 4840bfd913 test switching between standalone/Ingress NEG 2018-10-31 09:49:18 -07:00
Maciej Pytel 8f897d1dbd Add MaciekPytel to test OWNERS. 2018-10-31 14:56:11 +01:00
k8s-ci-robot dc1307b826
Merge pull request #70441 from jbartosik/e2e-deflake
Deflake HPA tests
2018-10-31 06:36:05 -07:00
Patrick Ohly 84db64fbcc e2e: less verbose item creation
The detailed dumps of original and patched item content was useful
while developing the feature, but is less relevant now and too
verbose. It might be relevant again, so it's left in the code as
comments.

What gets logged now is just a single-line "creating" resp. "deleting"
message with the type of the item and its unique name.

This also enhances up some other aspects of the original logging:
- the namespace is included for item types that are namespaced
- the "deleting" message no longer gets replicated in each factory
  method

Fixes: #70448
2018-10-31 10:23:12 +01:00
Sean Sullivan d5865240c5 kubectl: fixes expose bug for workload without selectors 2018-10-30 19:27:10 -07:00
k8s-ci-robot 0d37650107
Merge pull request #69986 from pohly/podlogs
e2e: live streaming of pod events and stdout for CSI volume tests
2018-10-30 16:16:06 -07:00
k8s-ci-robot f9c744acb8
Merge pull request #70242 from bclau/fixes-dns-false-positives
tests: Fixes DNS tests false positives
2018-10-30 12:22:58 -07:00
Joachim Bartosik cb6a8a2564 Deflake HPA tests
- Scale down based on custom metric was flaking. Increase target value
of the metric.
- Scale down based on CPU was flaking during stabilization. Increase
tolerance of stabilization (caused by resource consumer using more CPU
than requested).
2018-10-30 19:27:42 +01:00
Wei Huang ca10e616bf
add e2e tests for TaintBasedEvictions 2018-10-30 10:40:05 -07:00
ravisantoshgudimetla dd06ca7631 Fix capacities as well 2018-10-30 13:26:41 -04:00
k8s-ci-robot 76234a31b0
Merge pull request #69680 from jonfriesen/fix_golint_test/utils/images
Fixes golint in test/utils/image
2018-10-30 08:01:55 -07:00
zqm19941101 05013135b4
fix typo 2018-10-30 19:27:36 +08:00
Patrick Ohly 1449353067 e2e: live streaming of pod events and stdout for CSI volume tests
Debugging the CSI driver tests depends a lot on the output of the CSI
sidecar containers and the CSI driver, but that information was not
captured automatically and thus unavailable after a test run. This is
particularly bad when running in a remote CI system, but also manually
watching the cluster during a test was cumbersome.

Now pod events and log messages get copied to the test's output at the
time that they happen (when running without report directory) or get
written to individual log files (when running with report directory in
the CI).
2018-10-30 09:18:48 +01:00
k8s-ci-robot 070a35f9c3
Merge pull request #69544 from justinsb/tempdir_cleanup
Introduce test harness into unit tests
2018-10-29 20:07:27 -07:00
k8s-ci-robot 9d0a6d0fc6
Merge pull request #70390 from spiffxp/add-spiffxp-as-reviewer-to-test-conformance
Add myself as reviewer to test/conformance/OWNERS
2018-10-29 18:53:31 -07:00
k8s-ci-robot 975e6c0a73
Merge pull request #70039 from liggitt/deployment-rollback
Switch kubectl rollout to directly rolling back deployments
2018-10-29 18:52:51 -07:00
k8s-ci-robot dab98f9546
Merge pull request #70329 from ravisantoshgudimetla/fix-e2e-limits
Fix e2e limits
2018-10-29 17:11:38 -07:00
k8s-ci-robot 361f8c31bd
Merge pull request #70314 from samdamana/auth-revert
Revert "limit forbidden error to details of what was forbidden"
2018-10-29 17:11:27 -07:00
k8s-ci-robot 2ecc71da47
Merge pull request #69868 from pohly/e2e-manifests
e2e manifests
2018-10-29 17:11:08 -07:00
Jon Friesen 0415ebe439 Fixes golint in test/utils/image
This change fixes the test/utils/image package golint errors.
2018-10-29 17:07:01 -07:00
k8s-ci-robot 861e866b51
Merge pull request #69947 from tallclair/runtimeclass-e2e
Implement a basic RuntimeClass E2E
2018-10-29 15:53:59 -07:00
Aaron Crickenberger a188653334 Add myself as reviewer to test/conformance/OWNERS
I'd like to start fielding more reviews of this code since I'm actively
involved in efforts that are consumers of it
2018-10-29 15:48:00 -07:00
Tim Allclair fe7fe3cc64 Implement a basic RuntimeClass E2E 2018-10-29 12:44:56 -07:00
k8s-ci-robot 0768fa5604
Merge pull request #70188 from rajansandeep/ipv6tests
Extend DNS ConfigMap tests to support IPv6
2018-10-29 12:08:03 -07:00
walter 735ad9ed63 Fixed lint errors for pkg/cloudprovider/providers/gce.
Fixed minor issues.
Cleaned up from merge errors.
2018-10-29 11:52:24 -07:00
Sandeep Rajan 9e8bd5ccca extend tests to support ipv6 functionality
ipv6 tests for configmap
2018-10-29 12:34:00 -04:00