Commit Graph

11534 Commits (580093769830f597282b539a66332dd6cd11fdeb)

Author SHA1 Message Date
Mayank Gaikwad 440816af3d Add slow test comment and format import statements 2018-09-28 00:47:11 +05:30
k8s-ci-robot 0787715978
Merge pull request #69124 from tanshanshan/httpcode
replace 200 with http.StatusOK
2018-09-27 09:51:48 -07:00
k8s-ci-robot b25bf81573
Merge pull request #69044 from enj/enj/i/gv_remove_pointers
Remove pointer receivers from schema structs
2018-09-27 07:18:40 -07:00
Manjunath A Kumatagi 7b9833ce56 Update authenticated-image-pulling with fat manifest image 2018-09-27 17:43:15 +05:30
Daniel Kłobuszewski 68ebdaacef Fix Stackdriver custom metrics tests
They were broken probably by https://github.com/kubernetes/kubernetes/pull/68015
that introduced a REST mapper which doesn't contain a mapping for Pod
resource, yet the test is depending on it.
2018-09-27 13:26:27 +02:00
k8s-ci-robot 63fd42b10b
Merge pull request #68948 from davidz627/fix/upgradeTestFail
Fix [sig-storage] naming consistency for upgrade tests
2018-09-27 02:28:59 -07:00
k8s-ci-robot 3fe21e5433
Merge pull request #68922 from BenTheElder/version-staging
move pkg/util/version to staging
2018-09-26 22:59:42 -07:00
k8s-ci-robot 25b3ec6c62
Merge pull request #68908 from msau42/add-slow
Move storage tests that take longer than 2 minutes to slow suite
2018-09-26 22:59:23 -07:00
k8s-ci-robot 3d2fcf4155
Merge pull request #68892 from ravisantoshgudimetla/fix-pdb
PDB checks should not be done for terminal pods while evicting
2018-09-26 22:59:14 -07:00
k8s-ci-robot 1e4edac012
Merge pull request #68886 from mgdevstack/master-emptydir-wrapper
Promote emptyDir wrapper volumes tests to Conformance
2018-09-26 20:37:47 -07:00
k8s-ci-robot d89418a083
Merge pull request #68860 from bsalamat/remove-pdb-cache
Remove PDB and its event handlers from the scheduler cache
2018-09-26 19:22:34 -07:00
k8s-ci-robot 48689a9e3a
Merge pull request #68820 from soltysh/cronjob_e2e_flake
Wait for events instead of just checking them in cronjob e2e
2018-09-26 18:10:56 -07:00
tanshanshan acdc45628f use http.StatusOK instead of 200 2018-09-27 08:33:27 +08:00
k8s-ci-robot 7b83d6eb40
Merge pull request #62143 from jennybuckley/mutating-webhooks-on-webhooks
Add e2e test for mutating webhooks affecting webhook-config objects
2018-09-26 15:52:59 -07:00
k8s-ci-robot 4b859010e9
Merge pull request #68757 from neolit123/e2e-fix-k-a-path
e2e/framework: update kubernetes-anywhere path
2018-09-26 14:43:03 -07:00
k8s-ci-robot ea09a3b40c
Merge pull request #68525 from apelisse/kubectl-diff-simplify-interface
kubectl-diff: Simplify interface
2018-09-26 14:42:35 -07:00
Bobby (Babak) Salamat c051f0d31a autogenerated files 2018-09-26 14:22:21 -07:00
Bobby (Babak) Salamat f340f8baf8 Remove PDB and its event handlers from the scheduler cache 2018-09-26 14:22:21 -07:00
David Zhu f33f850ff1 Update GCE PD CSI Driver to run by default and automatically set up secrets with GCP Service Account Key 2018-09-26 10:10:48 -07:00
Monis Khan ad87465e2f
Remove pointer receivers from schema structs
This change makes the schema structs consistently use non-pointer
receivers.  This makes it easier to call these methods since these
structs are used as values instead of pointers.

Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-09-26 09:51:29 -04:00
k8s-ci-robot 4278b75668
Merge pull request #68805 from davidz627/fix/storagePSP
Add privileged test pod security policy to local volume provisioner test service account
2018-09-26 04:57:27 -07:00
k8s-ci-robot 50df6321ca
Merge pull request #68798 from jennybuckley/aggregator-cleanup
Fix typo in aggregator test cleanup
2018-09-26 04:57:17 -07:00
Arun 1761031f5f Fixes #65869 Do not listen insecurely if secure port is specified 2018-09-25 19:06:34 -07:00
Guoliang Wang 1eceb1dcdb Remove unused chaosclient 2018-09-26 08:43:01 +08:00
jennybuckley 1ba644ef6b Add e2e test for mutating webhooks affecting webhook-config objects 2018-09-25 11:21:00 -07:00
k8s-ci-robot 57cd1725ec
Merge pull request #68401 from konstantinos-angelo/patch-1
Fix small typo - "nfds"
2018-09-25 11:04:12 -07:00
k8s-ci-robot 435bd61145
Merge pull request #68354 from wgliang/fixbug/trim
fix wrong usage of strings.TrimLeft
2018-09-25 11:04:02 -07:00
k8s-ci-robot bc6cb90820
Merge pull request #68311 from atoato88/issue/68279
Fix failure message of e2e test about kubectl
2018-09-25 08:37:19 -07:00
k8s-ci-robot c16691037d
Merge pull request #68255 from leakingtapan/golint-fix-ebs
Fix golint for pkg/volume/aws_ebs
2018-09-25 06:13:33 -07:00
k8s-ci-robot 0805860dba
Merge pull request #67870 from yue9944882/refactor/externalize-resource-quota-admission-controller
Externalize resource quota admission controller & controller reconciliation
2018-09-25 02:41:40 -07:00
k8s-ci-robot db322a4944
Merge pull request #67841 from jiayingz/fix-e2e-node
Updates test/e2e_node/device_plugin.go to cope with recent device
2018-09-25 01:27:22 -07:00
k8s-ci-robot c00f45c533
Merge pull request #67612 from mgdevstack/master-commit-runtime-conforamnce
Promote non-table based container-runtime e2e test to Conformance
2018-09-25 01:27:12 -07:00
k8s-ci-robot 06d72ad494
Merge pull request #60848 from adelina-t/configure_test_image_repo
Made image registries configurable from registry.yaml file
2018-09-25 01:27:02 -07:00
Da K. Ma adbdbdec49 Got allocatable GPUs.
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-09-25 12:33:42 +08:00
k8s-ci-robot 6b1af84d4a
Merge pull request #64803 from misterikkit/etcd-main
Make integration test work with `go test`.
2018-09-24 19:48:52 -07:00
k8s-ci-robot 6da4d79373
Merge pull request #67967 from MrHohn/e2e-esipp-skip-aws
Skip LB session affinity test on AWS
2018-09-24 17:17:10 -07:00
k8s-ci-robot 2fb9fc2400
Merge pull request #67230 from tanshanshan/schedulertest810
add ns for pod in scheduler integration test
2018-09-24 13:19:55 -07:00
k8s-ci-robot 7a58db1ec3
Merge pull request #67144 from mgdevstack/master-kubelet-to-conforamnce
Port kubelet e2e_node tests to e2e/common
2018-09-24 13:19:33 -07:00
k8s-ci-robot 73942d8b13
Merge pull request #67105 from cadmuxe/fix_example_test
fix yaml file path for test/e2e/network/example_cluster_dns.go
2018-09-24 13:19:21 -07:00
k8s-ci-robot b223e880d5
Merge pull request #66937 from mortent/CronJobIntegrationTest
Integration test for CronJob
2018-09-24 13:19:09 -07:00
Benjamin Elder 8b56eb8588 hack/update-gofmt.sh 2018-09-24 12:21:29 -07:00
Benjamin Elder f828c6f662 hack/update-bazel.sh 2018-09-24 12:03:24 -07:00
Benjamin Elder 088cf3c37b find & replace version import 2018-09-24 12:03:24 -07:00
Mayank Gaikwad b9942796db Promote emptyDir wrapper volume tests to conformance 2018-09-24 15:39:20 +05:30
k8s-ci-robot b51c1908cb
Merge pull request #68965 from janetkuo/ttl-test
Enable TTLAfterFinished e2e test
2018-09-23 02:36:53 -07:00
k8s-ci-robot 7ef6f0b625
Merge pull request #68950 from anusha-ragunathan/fix_panic
[e2e] Fix Panic in PersistentVolumes:vsphere
2018-09-22 13:27:48 -07:00
Cheng Pan 000e30086b fix golint for pkg/volume/aws_ebs 2018-09-22 05:56:05 +00:00
Janet Kuo 36c0dab4fc Enable TTLAfterFinished e2e test 2018-09-21 17:18:48 -07:00
David Zhu 8329ceb432 Upgrade test naming consistency for sig 2018-09-21 15:02:20 -07:00
k8s-ci-robot 95ab206e34
Merge pull request #68896 from ixdy/etcd-3.2.24-1
cluster/gce and test/: update etcd:3.2.24-0 image to etcd:3.2.24-1
2018-09-21 14:37:43 -07:00
Anusha Ragunathan b13d35caf7 Fix Panic in PersistentVolumes:vsphere
Bootstrap initializes the necessary vSphere objects before the tests are
run. A call to Bootstrap was missing in persistent_volumes-vsphere.go's
BeforeEach. This results in Panic while running e2e tests for 'vsphere'
provider with a stack trace like this:

  	/usr/local/go/src/runtime/panic.go:502 +0x229
  github.com/docker/kube-e2e-image/vendor/k8s.io/kubernetes/test/e2e/storage/vsphere.glob..func1.1()
  	/go/src/github.com/docker/kube-e2e-image/vendor/k8s.io/kubernetes/test/e2e/storage/vsphere/persistent_volumes-vsphere.go:77
+0xa21
  github.com/docker/kube-e2e-image/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc4217c9b60,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
  	/go/src/github.com/docker/kube-e2e-image/e2e_test.go:88 +0x2c8
  testing.tRunner(0xc4206e01e0, 0x4212900)
  	/usr/local/go/src/testing/testing.go:777 +0xd0
  created by testing.(*T).Run
  	/usr/local/go/src/testing/testing.go:824 +0x2e0

This change fixes the Panic by calling Bootstrap.

Testing:
After this change, tests with FOCUS set to "PersistentVolumes:vsphere"
 dont Panic. They pass as expected.

Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
2018-09-21 13:46:58 -07:00
k8s-ci-robot 2dec334ab8
Merge pull request #68881 from k82cn/k8s_68857
Removed taint check as DaemonSet tolerates default taints.
2018-09-21 09:36:00 -07:00
k8s-ci-robot 0d878e6252
Merge pull request #68551 from bskiba/fix-e2e-small
Autoscaler e2e tests use allocatable to calculate resources
2018-09-21 05:47:50 -07:00
Da K. Ma 1fe15010cf Removed taint check as DaemonSet tolerates default taints.
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-09-21 10:03:18 +08:00
k8s-ci-robot 5f49f3b88c
Merge pull request #68380 from bsalamat/test-tag-removal
Remove feature tag from ScheudulerPreemption e2e tests
2018-09-20 17:30:26 -07:00
Michelle Au b1594f3cd1 Move storage tests that take longer than 2 minutes to slow suite 2018-09-20 15:29:00 -07:00
Jeff Grafton 3388e0ce5f Update to use etcd:3.2.24-1 image 2018-09-20 12:40:26 -07:00
ravisantoshgudimetla d776f865a2 PDB checks should not be done for terminal pods while evicting
Signed-off-by: ravisantoshgudimetla <ravisantoshgudimetla@gmail.com>
2018-09-20 14:30:34 -04:00
Mayank Gaikwad 8b0a5950ab Promote non-table based container runtime test to conformance 2018-09-20 18:59:59 +05:30
k8s-ci-robot f6d8fd8bdc
Merge pull request #68802 from ixdy/golang-1.10.4
Update to golang 1.10.4
2018-09-19 17:11:29 -07:00
Francois Tur 5c20fff19d
Revert "Add DNS pod resource monitoring option" 2018-09-19 14:54:29 -04:00
k8s-ci-robot ab02fd6f8a
Merge pull request #68683 from chrisohaver/trackdns
Add DNS pod resource monitoring option
2018-09-19 09:47:29 -07:00
Maciej Szulik 5c33898843
Wait for events instead of just checking them in cronjob e2e 2018-09-19 11:03:11 +02:00
k8s-ci-robot 9228bec334
Merge pull request #68579 from verult/adc-crd-access
Updating CSI e2e test to create CSI CRDs
2018-09-19 02:00:30 -07:00
k8s-ci-robot 9a5857b1c6
Merge pull request #68794 from MrHohn/disable-dns-federation
Disable DNS federation test
2018-09-18 16:32:43 -07:00
David Zhu 0698354f61 Add privileged test pod security policy to local volume provisioner test service account 2018-09-18 14:25:31 -07:00
Cheng Xing 8555408f42 Removing CRD installation from attach detach controller 2018-09-18 14:25:15 -07:00
Cheng Xing 4ff1e32974 Updating CSI e2e test to create CSI CRDs; storing CRD spec in a common location 2018-09-18 14:25:00 -07:00
Jeff Grafton 10713501bd Update to golang 1.10.4 2018-09-18 13:13:57 -07:00
jennybuckley 3ff6c115bf fix typo in cleanup of aggregator test 2018-09-18 11:17:37 -07:00
Zihong Zheng 0cebf887e6 Disable DNS federation test 2018-09-18 10:23:03 -07:00
Adelina Tuvenie bb59d44deb Made image registries configurable from registry.yaml file 2018-09-18 16:39:22 +03:00
Chris O'Haver fd73e6f291 dont merge this commit 2018-09-18 09:37:27 -04:00
David Zhu 9d207b3e3c GetMountRefs should not fail if the path supplied does not exist anymore. It has no mount references 2018-09-17 17:35:12 -07:00
David Zhu 44be42c196 Include PV wait confirmation for Disruptive PV tests 2018-09-17 16:37:23 -07:00
Lubomir I. Ivanov a39cedd263 e2e/framework: update kubernetes-anywhere path 2018-09-18 00:04:54 +03:00
Chris O'Haver af0c1d2a4c Add dns pod monitoring option 2018-09-17 12:52:05 -04:00
Aleksandra Malinowska a835171f60 Check network condition ready when waiting for ready nodes 2018-09-17 14:51:32 +02:00
Mayank Gaikwad 8f557da3c8 Port kubelet e2e_node tests to e2e 2018-09-17 11:33:30 +05:30
David Zhu bd308d938a Fixed leaking dynamic provioning test PDs 2018-09-14 15:14:17 -07:00
Jean-Christophe Sirot 52f87963a4 Move pod created into kube-system namespace delete call into a defer block to be sure the clean-up is done even when the test failed
Signed-off-by: Jean-Christophe Sirot <jean-christophe.sirot@docker.com>
2018-09-13 14:36:51 +02:00
k8s-ci-robot 9c99da0cb9
Merge pull request #68590 from davidz627/fix/VolumeCleanup
Change VolumeTestCleanup to not fail when pod already deleted
2018-09-13 04:28:12 -07:00
k8s-ci-robot ae935d7293
Merge pull request #68569 from davidz627/fix/driverTestResources
Fix storage test framework leaking resources on cleanup
2018-09-12 21:44:42 -07:00
David Zhu 304bb501b3 Change VolumeTestCleanup to not fail when pod already deleted 2018-09-12 15:36:55 -07:00
k8s-ci-robot ae8a046985
Merge pull request #68556 from shyamjvs/remove-deprecated-e2e-test
Remove deprecated [Feature:Empty] test
2018-09-12 15:05:21 -07:00
k8s-ci-robot a720b18ec7
Merge pull request #68420 from rajansandeep/fixfederationtest
Add CoreDNS configmap to federation test
2018-09-12 15:04:44 -07:00
David Zhu f3238d238d Change GCEPD Standard test disk to PD_STANDARD and 2GB 2018-09-12 14:04:06 -07:00
David Zhu 5155e1b5d9 Test Resource fix for all non-GCE In-tree drivers 2018-09-12 13:59:53 -07:00
David Zhu 725d5ebda4 Fix test framework to pass generic driver specific test specific resources. Fix GCE PD resource leak 2018-09-12 11:29:35 -07:00
ravisantoshgudimetla b2e92f1ba2 Fix test cases and build files 2018-09-12 14:19:29 -04:00
Shyam Jeedigunta bf81201b43 Remove deprecated [Feature:Empty] test 2018-09-12 12:56:19 +02:00
Beata Skiba 31fb5b236f Autoscaler e2e tests use allocatable to calculate resources 2018-09-12 10:49:14 +02:00
Antoine Pelisse 0db6249740 kubectl-diff: Simplify interface
The current interface is kind of clunky and not super easy to use, since
you have to specify parameters to specify which versions to diff. Also
the default isn't the most useful setting.

Change the interface by removing all the parameters and force only one
useful use-case, that is: diffing what's currently live against
what would be live if applied.
2018-09-11 15:53:29 -07:00
Sandeep Rajan e2d435f213 add coredns configmap to federation test 2018-09-11 16:26:08 -04:00
k8s-ci-robot c0953ed2d1
Merge pull request #68487 from msau42/fix-regional-size
Fix size of repd e2e to use Gi
2018-09-10 19:17:47 -07:00
k8s-ci-robot 1ae00dbe04
Merge pull request #68480 from davidz627/fix/glusterSubpathTest
Ignore "not found" endpoint on deletion for Gluster Storage Test
2018-09-10 18:08:29 -07:00
k8s-ci-robot 99f319567a
Merge pull request #68015 from damemi/hpa-metrics-specificity
Support backwards compatibility for v1beta1 custom metrics client
2018-09-10 16:12:23 -07:00
Jonathan Basseri 117288e285 Make integration test work with `go test`.
The EtcdMain function in integration tests is designed to launch an etcd
instance only when running in a bazel test. For non-bazel, we rely on
hack/make-rules/test-integration.sh to bring up the etcd instance.

This patch fixes the following in EtcdMain:
1. If etcd is not found in ${RUNFILES_DIR} then look in ${PATH}.
2. Try to connect to the etcd started by `make test-integraion`; if it
   is up, then don't start etcd.
3. Gracefully shut down etcd after tests.
4. Get a port from the OS instead of deriving it from argv[0].
5. Don't use sync.Once.

The benefit of this change is that integration tests work with `go test`
as well as `make test-integration` without users needing to do anything
special. That makes it much easier to pass go testing flags to tests and
integrate with IDEs.
2018-09-10 14:12:25 -07:00
Michelle Au 13e3da39ba Fix size of repd e2e to use Gi 2018-09-10 13:29:52 -07:00
k8s-ci-robot 25cbd1c753
Merge pull request #67781 from dashpole/fix_priority_tests
Fix priority tests
2018-09-10 12:48:05 -07:00