Commit Graph

8813 Commits (52f3380ef3a5d5de4d75ff92defd1c9af9d775bc)

Author SHA1 Message Date
s-ito-ts c101f40e18 Fix golint failures of test/e2e/autoscaling 2019-05-20 02:20:39 +00:00
Kubernetes Prow Robot a7f13bcaf0
Merge pull request #77901 from k-toyoda-pi/use_expect_no_error_e2e_network_1
use framework.ExpectNoError() for e2e/network
2019-05-17 21:51:07 -07:00
Kubernetes Prow Robot 21448ea606
Merge pull request #77220 from jingxu97/March/windows_test
Update subpath e2e test for windows
2019-05-17 20:26:46 -07:00
Kubernetes Prow Robot df8e241fb9
Merge pull request #76346 from caesarxuchao/delete-admission-objects
Sending existing object to the webhook for the DELETE verb
2019-05-17 20:26:22 -07:00
Cheng Xing eead54985d CSI migration e2e: do not skip tests if metricsGrabber.HasRegisteredMaster() is true 2019-05-17 16:52:06 -07:00
David Zhu 9854ecbeef Skips metrics gathering for test if not on gce, gke, or aws 2019-05-17 13:23:31 -07:00
Kubernetes Prow Robot 63e6cf3a0a
Merge pull request #78021 from s-ito-ts/77103_e2e_storage
Use framework.ExpectNoError() for e2e/storage/vsphere
2019-05-17 13:04:25 -07:00
Kubernetes Prow Robot a4fc418c84
Merge pull request #76401 from chardch/gpu-job-with-recreate
E2E test for GPU job interrupted by node recreate
2019-05-17 13:04:12 -07:00
Kenichi Omichi b17384acbe Use framework.ExpectNoError() on e2e/common 2019-05-17 17:30:38 +00:00
Jing Xu e570d27b40 Update subpath e2e test for windows
Modify the current subpath e2e file to allow it run in windows clusters.

Change-Id: I921dfbbae9480c718853a97a76cc0a95b1af9790
2019-05-17 10:13:41 -07:00
Chao Xu 7bb4a3bace Run deleteValidation at the storage layer so that it will be retried on
conflict.

Adding unit test verify that deleteValidation is retried.

adding e2e test verifying the webhook can intercept configmap and custom
resource deletion, and the existing object is sent via the
admissionreview.OldObject.

update the admission integration test to verify that the existing object
is passed to the deletion admission webhook as oldObject, in case of an
immediate deletion and in case of an update-on-delete.
2019-05-17 09:54:11 -07:00
Kubernetes Prow Robot 46a80259f6
Merge pull request #77980 from SataQiu/fix-golint-test-20190516
Fix golint failures of test/e2e
2019-05-17 07:01:04 -07:00
Kubernetes Prow Robot 583fcb91ca
Merge pull request #77976 from soltysh/validate_true
Don't rely on defaults enforce flags we rely on in tests
2019-05-17 07:00:51 -07:00
Kubernetes Prow Robot 3193e78a2f
Merge pull request #77333 from sttts/sttts-structural-crd-pruning
apiextensions: implement structural schema CRD pruning
2019-05-17 05:38:05 -07:00
s-ito-ts 9357cecf54 Use framework.ExpectNoError() for e2e/storage/vsphere 2019-05-17 09:50:19 +00:00
Kubernetes Prow Robot b10e16e8ec
Merge pull request #77955 from oomichi/use-ExpectNoError-upgrades
Use ExpectNoError() for e2e/upgrades
2019-05-17 02:04:58 -07:00
Dr. Stefan Schimanski c6712455bd apiextensions: add pruning e2e & integration tests for admission webhooks 2019-05-17 09:35:10 +02:00
Dr. Stefan Schimanski 77bfddacfd apiextensions: add pruning integration tests 2019-05-17 09:35:10 +02:00
Kubernetes Prow Robot dc462bd473
Merge pull request #77927 from sttts/sttts-e2e-util-crd-cleanup
e2e: cleanup test/util/crd to decouple tests
2019-05-16 20:40:04 -07:00
Kubernetes Prow Robot abd35ad758
Merge pull request #77902 from s-ito-ts/77103_e2e_node
Use framework.ExpectNoError() for e2e/node
2019-05-16 20:39:39 -07:00
Jean Rouge b39d8f4777 Kubelet & implementation changes for Windows GMSA support
This patch comprises the kubelet changes outlined in the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md)
to add GMSA support to Windows workloads.

Updated tests.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-16 22:07:03 -04:00
Kubernetes Prow Robot dddb133c26
Merge pull request #77909 from k-toyoda-pi/use_expect_no_error_e2e_network_2
use framework.ExpectNoError() for e2e/network/ingress.go service.go
2019-05-16 16:27:19 -07:00
Kubernetes Prow Robot 109d61f844
Merge pull request #75758 from mgdevstack/pqdn-service-linuxonly
Add [LinuxOnly] tag to few e2e verifying dns resolution
2019-05-16 16:26:40 -07:00
Richard Chen 2a70a0b424 Add an e2e test for running a gpu job interrupted by node recreation. 2019-05-16 11:41:01 -07:00
SataQiu be8a072655 fix golint failures of test/e2e 2019-05-16 23:31:47 +08:00
Mayank Gaikwad 64f2c68948 Add [LinuxOnly] to e2e verifying PQDN resolution 2019-05-16 20:07:37 +05:30
Maciej Szulik e808bf9717
Don't rely on defaults enforce flags we rely on in tests 2019-05-16 15:23:55 +02:00
Kubernetes Prow Robot 1284c99ec9
Merge pull request #77894 from draveness/feature/refactor-test-e2e-apps
feat: use framework.ExpectNoError in e2e apps disruption
2019-05-16 06:07:42 -07:00
Kubernetes Prow Robot 6fff760175
Merge pull request #70658 from spiffxp/tcp-probe
cleanup container probe tests and add tcp probe case
2019-05-16 06:05:43 -07:00
Kubernetes Prow Robot b7bc5dc9db
Merge pull request #77692 from oomichi/use-ExpectNoError-common
Use framework.ExpectNoError() for e2e/common
2019-05-16 01:10:34 -07:00
Kubernetes Prow Robot 34aa283c65
Merge pull request #77643 from atoato88/fix-golint-e2e-framework-asterisk
Fix golint failures of e2e/framework/*.go
2019-05-16 01:10:21 -07:00
Haowei Cai eb35525d4a stop enabling gate in tests 2019-05-15 17:15:06 -07:00
Aaron Crickenberger 0541be1787 Add a tcp probe e2e test 2019-05-15 15:23:35 -07:00
Aaron Crickenberger 944976d11f Extract pod specs and handlers into fixtures 2019-05-15 15:22:58 -07:00
Kenichi Omichi 333f3d8b9a Use ExpectNoError() for e2e/upgrades
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-15 21:48:40 +00:00
Dr. Stefan Schimanski a90cab07f9 e2e: cleanup test/util/crd to decouple tests 2019-05-15 22:24:21 +02:00
Kenichi Omichi 48f1f74a51 Use ExpectNoError() for scalability and scheduling
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-15 20:19:25 +00:00
Kubernetes Prow Robot 47cef03dab
Merge pull request #77748 from yuwenma/etcd-release
Update etcd* version to use latest released images.
2019-05-15 00:04:35 -07:00
Kubernetes Prow Robot 358536ed5a
Merge pull request #77693 from oomichi/use-ExpectNoError-root
Use framework.ExpectNoError() for e2e/
2019-05-15 00:04:22 -07:00
s-ito-ts f2a7650ede Use framework.ExpectNoError() for e2e/node 2019-05-15 05:32:03 +00:00
toyoda a8e8d4a668 use framework.ExpectNoError() for e2e/network/ingress.go service.go 2019-05-15 13:57:41 +09:00
toyoda ba4119a07b use framework.ExpectNoError() for e2e/network 2019-05-15 13:33:13 +09:00
Kubernetes Prow Robot 0a3884e164
Merge pull request #77714 from danielqsj/t1
cleanup dot imports and make test error checking more readable in test/e2e/scheduling
2019-05-14 20:36:41 -07:00
Kubernetes Prow Robot 5c4b6528c2
Merge pull request #77613 from mikedanese/fixinclusterconfig
BoundServiceAccountTokenVolume: fix InClusterConfig
2019-05-14 20:36:16 -07:00
draveness 95a6376899 feat: use framework.ExpectNoError in e2e apps disruption 2019-05-15 10:10:23 +08:00
Kenichi Omichi b9fffd1571 Use framework.ExpectNoError() for e2e/common
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-15 01:58:01 +00:00
Mike Danese 96ed93d889 BoundServiceAccountTokenVolume: add e2e test 2019-05-14 09:43:45 -07:00
David McCormick 5b9e4f1e88 Rebase allow updates to pdbs to latest upstream master 2019-05-14 12:25:22 +01:00
Kubernetes Prow Robot cf8e8e4f0c
Merge pull request #77627 from draveness/feature/refactor-expect-no-error
refactor: use framework.ExpectNoError instead
2019-05-13 23:19:20 -07:00
Kubernetes Prow Robot 2926505fff
Merge pull request #77503 from mgdevstack/master-subdomain-e2e
Add subdomain entry to verify dns resolution
2019-05-13 23:19:07 -07:00
danielqsj ccecc67a5b fix golint error in test/e2e/scheduling 2019-05-14 14:18:52 +08:00
danielqsj 4cb4864487 replace test error checking with more readable way 2019-05-14 14:17:20 +08:00
danielqsj 15a4342fe8 remove dot imports in e2e/scheduling 2019-05-14 14:17:20 +08:00
Kubernetes Prow Robot 1cb9c20303
Merge pull request #77579 from k-toyoda-pi/use_expect_no_error_e2e_apps_2
use framework.ExpectNoError() for daemon_set.go and deployment.go
2019-05-13 21:49:09 -07:00
Kubernetes Prow Robot a60d2126ad
Merge pull request #77715 from danielqsj/t2
fix golint error make test error checking more readable in test/e2e/node
2019-05-13 19:47:09 -07:00
Yuwen Ma 1f0f050fde Update etcd* version to use latest released images. 2019-05-13 17:28:40 -07:00
Kubernetes Prow Robot 8f23ad2c24
Merge pull request #77754 from atoato88/issue-77103-use-ExpectError-e2e-lifecycle-bootstrap
Use framework.ExpectNoError() for e2e/lifecycle/bootstrap
2019-05-13 16:59:21 -07:00
toyoda 4841e5b98c use framework.ExpectNoError() for daemon_set.go and deployment.go in e2e/apps 2019-05-14 08:44:54 +09:00
Akihito INOH dddc6a53d4 Fix golint failures of e2e/framework/*.go
This fixes golint failures of the following files:
- test/e2e/framework/networking_utils.go
- test/e2e/framework/service_util.go
- test/e2e/framework/util.go

All golint failures in test/e2e/framework are fixed at this commit.
Remove 'test/e2e/framework' from 'hack/.golint_failures'
2019-05-14 07:04:57 +09:00
Kubernetes Prow Robot 389252feae
Merge pull request #77709 from danielqsj/test
replace test error checking with more readable way
2019-05-13 13:15:23 -07:00
Kubernetes Prow Robot 3d12466c02
Merge pull request #77736 from lledru/e2elog-cloud
e2e-test/cloud:  logf instead framework.logf
2019-05-13 10:26:27 -07:00
SataQiu a4825d1cb8 fix golint failures of test/e2e/auth 2019-05-12 22:57:24 +08:00
draveness 950f6e868c refactor: use framework.ExpectNoError instead 2019-05-12 10:44:03 +08:00
danielqsj 124efde4f8 fix golint error in e2e/node 2019-05-12 07:35:13 +08:00
danielqsj 73c2daeeea replace test error checking with more readable way 2019-05-12 07:32:26 +08:00
danielqsj 087bc1369e remove dot imports in e2e/node 2019-05-12 07:32:26 +08:00
Kubernetes Prow Robot d01c015346
Merge pull request #77777 from SataQiu/fix-golint-test-20190511
Fix golint failures of test/e2e/storage
2019-05-11 15:22:10 -07:00
Kubernetes Prow Robot 73c83a82fc
Merge pull request #77668 from SataQiu/fix-golint-test-20190509
Fix golint failures of test/e2e/network
2019-05-11 13:30:11 -07:00
SataQiu 01d38fec16 fix golint failures of test/e2e/storage 2019-05-11 23:30:17 +08:00
SataQiu 515f8342d3 fix golint failures of test/e2e/network 2019-05-11 22:29:40 +08:00
Kubernetes Prow Robot 6897c68de5
Merge pull request #77708 from draveness/feature/refactor-more-expectnoerror-in-e2e
feat: use framework.ExpectNoError instead in e2e test
2019-05-11 02:04:11 -07:00
Kubernetes Prow Robot 80fec73015
Merge pull request #77649 from atoato88/issue-77103-use-ExpectError-e2e-lifecycle
Use framework.ExpectNoError() for e2e/lifecycle
2019-05-10 21:30:49 -07:00
Kubernetes Prow Robot a245408f38
Merge pull request #76734 from oomichi/conformance-req-01
Check conformance test should not call any Skip
2019-05-10 19:28:11 -07:00
Kubernetes Prow Robot 33f44a29b8
Merge pull request #77617 from cmluciano/cml/extensiontonetworking
ingress: migrate extensions.Ingress to networking.Ingress
2019-05-10 17:56:12 -07:00
Kubernetes Prow Robot 9ecc57ef88
Merge pull request #77718 from danielqsj/t3
cleanup dot imports and make test error checking more readable in test/e2e/storage
2019-05-10 16:33:02 -07:00
Akihito INOH d35851724e Use framework.ExpectNoError() for e2e/lifecycle/bootstrap
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/lifecycle/bootstrap.
2019-05-11 05:04:05 +09:00
Kubernetes Prow Robot e1f0526934
Merge pull request #77742 from deads2k/test-debug
improve e2e namespace dumping on failure
2019-05-10 13:00:45 -07:00
Christopher M. Luciano d9e4933da3
ingress: migrate extensions.Ingress to networking.Ingress
This is a find/replace within my editor. I made the import
networkingv1beta1 so that it will be easier to replace for
the future v1 migration.

Signed-off-by: Christopher M. Luciano <cmluciano@us.ibm.com>
2019-05-10 13:18:53 -04:00
David Eads d503cba375 improve e2e namespace dumping on failure 2019-05-10 10:11:24 -04:00
W. Trevor King 96b04bfeac test/e2e/upgrades/apps/job: List Pods in failure message
Currently, this test can fail with the not-very-helpful [1,2]:

  fail [k8s.io/kubernetes/test/e2e/upgrades/apps/job.go:58]: Expected
      <bool>: false
  to be true

Since this test is the only CheckForAllJobPodsRunning consumer, and
has been since CheckForAllJobPodsRunning landed in 116eda0909
(Implements an upgrade test for Job, 2017-02-22, #41271), this commit
refactors the function to EnsureJobPodsRunning, dropping the opaque
boolean, and constructing a useful error summarizing the divergence
from the expected parallelism and the status of listed Pods.

Thanks to Maciej Szulik for the fixups [3] :).

[1]: https://storage.googleapis.com/origin-ci-test/logs/release-openshift-origin-installer-e2e-aws-upgrade/1434/build-log.txt
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=1708454#c0
[3]: https://github.com/wking/kubernetes/pull/1
2019-05-10 06:09:36 -07:00
loic le dru 61731dd1d1 e2e-test logf instead framework.logf 2019-05-10 14:18:55 +02:00
danielqsj 629ec7e113 replace test error checking with more readable way 2019-05-10 13:58:09 +08:00
danielqsj 1058877fbf remove dot imports in e2e/storage 2019-05-10 13:56:26 +08:00
danielqsj 8a6fede9e6 remove dot imports in e2e/storage/vsphere 2019-05-10 13:56:16 +08:00
danielqsj f3ea5e5c94 replace test error checking with more readable way 2019-05-10 10:15:45 +08:00
draveness c045046e5b feat: use framework.ExpectNoError instead in e2e test 2019-05-10 09:53:10 +08:00
Akihito INOH be4af8f83f Use framework.ExpectNoError() for e2e/lifecycle
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/lifecycle.
2019-05-10 10:45:32 +09:00
Kubernetes Prow Robot 69b52633cc
Merge pull request #77605 from pohly/multivolume-storage-class-fix
Multivolume storage class fix
2019-05-09 15:48:22 -07:00
Kubernetes Prow Robot b27fe7f4b9
Merge pull request #74314 from oomichi/add-ExpectError
Add ExpectError() to e2e test framework
2019-05-09 15:47:57 -07:00
Kenichi Omichi 2a7202b71f Use framework.ExpectNoError() for e2e/
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-05-09 19:26:16 +00:00
Kubernetes Prow Robot 524169fe1c
Merge pull request #77005 from k-toyoda-pi/e2e_add_check_pod_in_job
[e2e] add pod status check after job completes in job test
2019-05-09 06:20:48 -07:00
Patrick Ohly 093027c891 e2e/storage: ensure that also external storage classes are unique
One previously undocumented expectation is that
GetDynamicProvisionStorageClass can be called more than once per test
and then each time returns a new, unique storage class. The in-memory
implementation in driveroperations.go:GetStorageClass ensured that,
but loading from a .yaml file didn't. This caused the multivolume tests
to fail when applied to an already installed GCE driver with the
-storage.testdriver parameter.
2019-05-09 08:53:25 +02:00
Kubernetes Prow Robot ee0038adaa
Merge pull request #77425 from figo/e2e
Modify apimachinery,apps,instrumentation tests to import framework/log
2019-05-08 21:48:47 -07:00
Kubernetes Prow Robot b6887e3915
Merge pull request #77530 from seans3/unexport-print-table
Unexport PrintTable function
2019-05-08 17:15:26 -07:00
hui luo 4d4e4f4056 Modify apimachinery,apps,instrumentation tests to import framework/log
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages
2019-05-08 16:46:39 -07:00
Kubernetes Prow Robot 71bbabc36b
Merge pull request #77486 from jiatongw/logf/kubectl
Modify e2e/kubectl tests to import e2elog.Logf
2019-05-08 14:32:45 -07:00
Kubernetes Prow Robot b3875556b0
Merge pull request #77336 from johnSchnake/refactorFrameworkSSH
Move ssh code to new package
2019-05-08 13:06:47 -07:00
Kenichi Omichi 436544488b Add ExpectError() to e2e test framework
There is a lot of gomega.Expect(err).To(gomega.HaveOccurred()) callers
which expect an error happens in e2e tests.
However these test code seems confusing because the code readers
need to take care of To() or NotTo() on each test scenario.
This adds ExpectError() for more readable test code.
In addition, this applies ExpectError() to e2e provisioning.go as a
sample.
2019-05-08 17:40:12 +00:00
Daniel (Shijun) Qian 5268f69405 fix duplicated imports of k8s code (#77484)
* fix duplicated imports of api/core/v1

* fix duplicated imports of client-go/kubernetes

* fix duplicated imports of rest code

* change import name to more reasonable
2019-05-08 10:12:47 -07:00
Kubernetes Prow Robot f7d92fb963
Merge pull request #77427 from draveness/feature/use-logf-in-log-pkg
refactor: use e2elog.Logf instead of framework.Logf
2019-05-08 10:12:34 -07:00