Kubernetes Prow Robot
27410955e2
Merge pull request #77952 from liggitt/delete-on-update
...
Handle updates removing remaining finalizers on deleted objects
2019-05-17 02:04:32 -07:00
Kubernetes Prow Robot
01f0be4901
Merge pull request #76639 from lubinsz/pr_bzl_arm64
...
Add an environment variable for bazel-test-integration on Arm
2019-05-17 02:04:06 -07:00
Dr. Stefan Schimanski
d10f8c1ad3
Update generated files
2019-05-17 09:35:10 +02: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
Bin Lu
5504d845ff
Bug fix: failed to run integration test by using bazel
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-05-17 11:19:55 +08: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
6dfc996156
Merge pull request #77423 from apelisse/rollout-restart-other-workloads
...
Implement rollout restart for statefulset and daemonset
2019-05-16 16:27:06 -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
chaowang
9ba0d47465
Remove deprecated Kubelet security controls
...
Change-Id: I9f770e6780b60e881092690f6f177d726f474fe3
2019-05-16 13:33:52 -04:00
Antoine Pelisse
145935d815
Implement rollout restart for statefulset and daemonset
2019-05-16 08:50:42 -07:00
Kubernetes Prow Robot
dfcc60d4e5
Merge pull request #77908 from SataQiu/fix-golint-test-20190515
...
Fix golint failures of test/e2e_node/services
2019-05-16 08:48:26 -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
Bin Lu
51ee2b1f0b
Add an environment variable for bazel-test-integration on Arm
...
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-05-16 16:53:18 +08: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
Kubernetes Prow Robot
aba8040669
Merge pull request #77189 from xiaojingchen/fix-golint-failures
...
Fix golint failures in cmd/kube-controller-manager
2019-05-15 22:56:34 -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
Jordan Liggitt
fba885a0d2
Handle updates removing remaining finalizers on deleted objects
2019-05-15 17:17:39 -04: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
c50ff35a55
Merge pull request #77839 from mcrute/migrate-fake-cp
...
Staging legacy fake cloud provider
2019-05-15 12:32:23 -07:00
SataQiu
7fa953fcb5
fix golint failures of test/e2e_node/services
2019-05-15 15:37:21 +08: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
Kubernetes Prow Robot
de6ce5ee16
Merge pull request #69867 from HotelsDotCom/allow-updates-to-pdbs
...
Allow updates/patches to pod disruption budgets
2019-05-14 18:24:17 -07:00
Kubernetes Prow Robot
08afeb855f
Merge pull request #77821 from kwiesmueller/clear-managed-fields
...
add test to make sure managedFields can be reset
2019-05-14 15:34:32 -07:00
Kubernetes Prow Robot
0b6ad8bc3f
Merge pull request #77563 from jpbetz/admission-webhook-options
...
Pass {Operation}Options to Webhooks
2019-05-14 15:34:19 -07:00
Mike Crute
7d62316f8f
Migrate fake cloud provider to staging
2019-05-14 13:32:18 -07:00
Jordan Liggitt
e3b4937440
Wait for integration precondition
2019-05-14 14:11:35 -04:00
Joe Betz
900d652a9a
Update tests for: Pass {Operation}Option to Webhooks
2019-05-14 10:49:43 -07: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
Claudiu Belu
fb3e51baa7
test images: Adds CoreDNS to dnsutils and jessie-dnsutils images
...
The dnsutils and jessie-dnsutils images are installing dnsmasq,
which is required for a few tests checking custom DNS servers and
configurations.
dnsmasq is a Linux specific binary. In order for the tests to also
pass on Windows, this commit adds CoreDNS to the images, so a later
commit will update the tests to use CoreDNS instead of dnsmasq.
2019-05-14 09:59:06 +00:00
Kubernetes Prow Robot
a1eaacd59b
Merge pull request #77804 from sttts/sttts-apimachinery-integration-test-unify
...
integration: don't use low-level etcd master setup for dry-run+admission-webhook tests
2019-05-14 02:29:10 -07:00
Dr. Stefan Schimanski
76b5bee48c
integration: Start{RealMasterOrDie->TestServer} in dryrun tests
2019-05-14 10:10:55 +02:00
Dr. Stefan Schimanski
28f88c91ee
integration: Start{RealMasterOrDie->TestServer} in admissionwebhook tests
2019-05-14 10:10:55 +02: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
Kubernetes Prow Robot
c54b664b1c
Merge pull request #77559 from ahg-g/permit-extension-point
...
Implement the permit extension point in scheduler.
2019-05-13 16:59:08 -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
Kevin Wiesmüller
fe3c9c8b6f
add test to make sure managedFields can be reset
2019-05-13 18:34:11 +02: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
274876ef9a
Merge pull request #77448 from smarterclayton/api_serve
...
Support meta.k8s.io/v1 Table and PartialObjectMetadata requests to the API
2019-05-10 21:30:37 -07:00
Kubernetes Prow Robot
fdf6050045
Merge pull request #77701 from spiffxp/promote-oomichi-test-approver
...
Promote oomichi to approver for test/
2019-05-10 19:28:36 -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
f712c3ee0e
Merge pull request #77620 from johnbelamaric/add-to-conformance-reviewers
...
Add johnbelamaric as conformance test reviewer
2019-05-10 17:56:24 -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
Kubernetes Prow Robot
bac667ebf4
Merge pull request #77716 from wking/job-running-test-error-reporting
...
test/e2e/upgrades/apps/job: List Pods in failure message
2019-05-10 13:00:14 -07:00
Clayton Coleman
33a3e325f7
API server should offer metav1 Table/Partial transforms
...
Now that internal types are equivalent, allow the apiserver to serve
metav1 and metav1beta1 depending on the client. Test that in the
apiserver integration test and ensure we get the appropriate responses.
Register the metav1 type in the appropriate external locations.
2019-05-10 15:29:07 -04:00
David Ashpole
f8dff6bd5b
only collect metrics for cgroups required by the summary API
2019-05-10 12:12:41 -07:00
Kubernetes Prow Robot
07e3b7cdca
Merge pull request #74639 from xychu/fix-shellchecks-a
...
Make test/cmd/a*.sh pass shellcheck
2019-05-10 10:38:12 -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
Abdullah Gharaibeh
98de316436
Implement the permit extension point in scheduler.
2019-05-10 12:42:04 -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
Kubernetes Prow Robot
b9ccdd2824
Merge pull request #77598 from danielqsj/unreserve
...
Add Un-reserve extension point for the scheduling framework
2019-05-09 23:37:57 -07: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
997648a923
Add Un-reserve extension point for the scheduling framework
2019-05-10 13:19:22 +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
Joe Betz
b0aab03209
Fix admission webhook integration tests to filter out controller requests
2019-05-09 17:34:33 -07:00
Aaron Crickenberger
69eab5f04b
Prune test/OWNERS
...
Move approvers who haven't reviewed any PRs touching test/ in
over six months to emeritus_approvers (and remove from reviewers
as well to avoid assigning to inactive people)
2019-05-09 16:30:58 -07: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
Aaron Crickenberger
f0ec8c8644
Promote oomichi to approver in test/
2019-05-09 14:22:06 -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
851afa0bea
Merge pull request #77528 from cblecker/go-1.12.5
...
Update to go 1.12.5
2019-05-09 09:32:51 -07: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
xiaojingchen
2b19a4db9e
fix cmd/kube-controller-manager's golint failures
2019-05-09 17:56:08 +08: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
548bf0afe5
Merge pull request #77580 from liggitt/fix-list-interface
...
Fix unstructured list interface compatibility, fix kubectl paging
2019-05-08 20:13:26 -07:00
Kubernetes Prow Robot
7f86cb140f
Merge pull request #72167 from brahmaroutu/conformance_context
...
Comment association to ConformanceIt block should be validated properly.
2019-05-08 20:12:48 -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
John Belamaric
4f3653f026
Add johnbelamaric as conformance test reviewer
2019-05-08 16:37:25 -07:00
Christoph Blecker
31ffa88a14
Update to go 1.12.5
2019-05-08 15:43:01 -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
Kubernetes Prow Robot
09c4e10333
Merge pull request #74021 from andrewsykim/move-features-component-base
...
Move feature gate package from k8s.io/apiserver to k8s.io/component-base
2019-05-08 13:06:34 -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
John Schnake
338bc3ce42
Move framework ssh code to new package
...
The framework/ssh.go code was heavily used throughout the framework
and could be useful elsewhere but reusing those methods requires
importing all of the framework.
Extracting these methods to their own package for reuse.
Only a few methods had to be copied into this package from the
rest of the framework to avoid an import cycle.
2019-05-08 11:00:36 -05:00
Patrick Ohly
62c5c6345e
Revert "Make external driver storage class name generation contain a more random suffix in case of double generation in the same framework context (twice in the same test)"
...
This reverts commit c50e7fd301
because
it included API changes that shouldn't have been in that PR and
fixing the storage class conflict inside the framework is probably the
wrong place.
2019-05-08 17:28:13 +02:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
Kubernetes Prow Robot
086a86b9e2
Merge pull request #77525 from davidz627/fix/externalMulti
...
Make external driver name generation contain a more random suffix in case of double generation in the same framework context (twice in the same test)
2019-05-08 04:54:48 -07:00
Kubernetes Prow Robot
bace505467
Merge pull request #77577 from logicalhan/revert-unreserve
...
Revert "Add Un-reserve extension point for the scheduling framework"
2019-05-08 03:04:32 -07:00
Jordan Liggitt
e5778f05b9
Fix unstructured list interface compatibility, fix kubectl paging
2019-05-08 02:00:18 -04:00
Kubernetes Prow Robot
7faeee22b1
Merge pull request #77556 from spiffxp/add-spiffxp-to-conformance-code-approvers
...
Promote spiffxp to approver, add oomichi as reviewer
2019-05-07 22:15:10 -07:00
Kubernetes Prow Robot
873e7a3259
Merge pull request #77533 from jiatongw/logf/lifecycle
...
Modify e2e/lifecycle tests to import e2elog.Logf
2019-05-07 22:14:58 -07:00
Kubernetes Prow Robot
11a46d2515
Merge pull request #77479 from danielqsj/id
...
fix increment-decrement lint error
2019-05-07 22:14:45 -07:00
Han Kang
51992d61a0
Revert "Add Un-reserve extension point for the scheduling framework"
...
This reverts commit 8b5182581a
.
2019-05-07 21:17:29 -07:00
Kubernetes Prow Robot
1ce103a41f
Merge pull request #77457 from danielqsj/un-reserve
...
Add Un-reserve extension point for the scheduling framework
2019-05-07 17:52:45 -07:00
Kubernetes Prow Robot
7aa57df279
Merge pull request #77374 from cheftako/gce-staging
...
Staging the GCE Cloud Provider
2019-05-07 17:52:32 -07:00
Kubernetes Prow Robot
b4262e9a22
Merge pull request #77408 from johnSchnake/frameworkLogRefactoringCommonScaleUpgrades
...
Move scalability, upgrade, and common packages to framework/log
2019-05-07 15:54:46 -07:00
David Zhu
c50e7fd301
Make external driver storage class name generation contain a more random suffix in case of double generation in the same framework context (twice in the same test)
2019-05-07 14:37:06 -07:00
Kubernetes Prow Robot
eacae8540a
Merge pull request #76508 from bclau/tests/agnhost-custom-dns-test
...
tests: Adds configurable pod DNS nameservers and search list test
2019-05-07 14:30:49 -07:00
Walter Fender
796097ae40
Staging the GCE Cloud Provider
...
**What type of PR is this?**
/kind cleanup
**What this PR does / why we need it**:
Staging the GCE Cloud Provider as part of KEP [20190125-removing-in-tree-providers](https://github.com/kubernetes/enhancements/blob/master/keps/sig-cloud-provider/20190125-removing-in-tree-providers.md ). Staging repo setup here https://github.com/kubernetes/legacy-cloud-providers
Moves the GCE cloud provider implementation to staging.
This is in preparation for moving the cloud provider code out of tree entirely.
However we need it in staging while the code needs to be consumed both in/out of tree.
**Which issue(s) this PR fixes**:
Fixes #
**Special notes for your reviewer**:
**Does this PR introduce a user-facing change?**:
```
NONE
```
Updated import dependency tracking.
Factored in the cleanup from #77412
Minor fix to go.mod.
2019-05-07 13:17:52 -07:00
Aaron Crickenberger
8ee8b77eed
Promote spiffxp to approver, add oomichi as reviewer
2019-05-07 12:11:36 -07:00
Srini Brahmaroutu
1cb5872cd3
Comment association to ConformanceIt block should be validated properly.
2019-05-07 09:16:44 -07:00
Srini Brahmaroutu
37e700050b
Add Release information to each of the conformance tests.
2019-05-07 09:14:08 -07:00
Kubernetes Prow Robot
19ed7fa731
Merge pull request #77113 from s-ito-ts/77103_autoscaling
...
Use framework.ExpectNoError() for e2e/autoscaling
2019-05-07 08:16:09 -07:00
Kubernetes Prow Robot
8fa775e546
Merge pull request #75187 from subramanian-neelakantan/host_to_create_volume
...
Use any host that mounts the datastore to create Volume
2019-05-07 08:15:54 -07:00
Kubernetes Prow Robot
db44f31bff
Merge pull request #74705 from johscheuer/remove-dead-csi-e2e-code
...
Remove unused code from CSI e2e tests
2019-05-07 00:23:41 -07:00
Jiatong Wang
b26b6f0d5c
Modify e2e/lifecycle tests to import e2elog.Logf
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-07 00:23:13 -07:00
danielqsj
8b5182581a
Add Un-reserve extension point for the scheduling framework
2019-05-07 14:51:58 +08:00
Kubernetes Prow Robot
1fb8ed12a2
Merge pull request #75993 from caesarxuchao/add-count
...
Adding RemainingItemCount to ListMeta
2019-05-06 22:53:40 -07:00
Sean Sullivan
41b84b7f6e
Unexport PrintTable function
2019-05-06 22:16:45 -07:00
Kubernetes Prow Robot
ce9ea5ea41
Merge pull request #77335 from loqutus/remove-test-cauldron
...
remove soak test cauldron
2019-05-06 21:32:18 -07:00
toyoda
8afecb8c30
add pod status check after job completes in job e2e test
2019-05-07 11:47:56 +09:00
Kubernetes Prow Robot
d2b8f3e145
Merge pull request #77034 from atoato88/fix-golint-e2e-framework-providers-gce
...
Fix golint failures of e2e/framework/providers/gce/recreate_node.go
2019-05-06 19:17:40 -07:00
draveness
da7507500f
refactor: use e2elog.Logf instead of framework.Logf
2019-05-07 08:15:31 +08:00
Kubernetes Prow Robot
a9fc9754bb
Merge pull request #77413 from johnSchnake/frameworkLogRefactoringnodeWindowsAutoscale
...
Move node, windows, and autoscaling tests to framework/log
2019-05-06 17:07:53 -07:00
Kubernetes Prow Robot
c9dda348e3
Merge pull request #77016 from jiatongw/e2e/framework/upgrade
...
[e2e] Move framework/upgrade_util.go to framework/lifecycle/upgrade.go
2019-05-06 17:07:41 -07:00
Kubernetes Prow Robot
56ceba5e30
Merge pull request #77352 from mcrute/move-aws-provider
...
Staging legacy AWS cloud provider
2019-05-06 15:30:19 -07:00
Kubernetes Prow Robot
922f3603ea
Merge pull request #76221 from RobertKrawitz/node-pid-limit-beta
...
Graduate SupportNodePidsLimit to beta
2019-05-06 15:29:53 -07:00
Kubernetes Prow Robot
3d800dff75
Merge pull request #75115 from bclau/resource-consumer-controller
...
Uses the resource-consumer/controller image instead of resource-consumer-controller
2019-05-06 15:29:40 -07:00
Kubernetes Prow Robot
6027a38e78
Merge pull request #77282 from MrHohn/addon-manager-9.0.1
...
Bump addon-manager to v9.0.1
2019-05-06 14:01:52 -07:00
Johannes M. Scheuermann
d59c67871c
Remove unused code from CSI e2e tests
2019-05-06 21:59:09 +02:00
Chao Xu
58c18309a8
Add RemainingItemCount to ListMeta
2019-05-06 12:58:51 -07:00
Mike Crute
6f5cf1a6e0
Staging legacy AWS cloud provider
2019-05-06 09:34:13 -07:00
Kubernetes Prow Robot
ad57e7408d
Merge pull request #77481 from danielqsj/fu
...
remove redundant else block
2019-05-06 06:53:53 -07:00
Mayank Gaikwad
831939b65e
Add subdomain to verify dns resolution by subdomain
2019-05-06 16:47:02 +05:30
Jiatong Wang
3b5bedd7cf
Modify e2e/kubectl tests to import e2elog.Log
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-06 00:23:59 -07:00
danielqsj
6fc04b696c
remove redundant else block
2019-05-06 13:43:33 +08:00
danielqsj
142fe19f2d
fix increment-decrement lint error
2019-05-06 13:14:51 +08:00
Kubernetes Prow Robot
43ce2f17cf
Merge pull request #77401 from johnSchnake/frameworkLogRefactoringStorageVsphereTestSuites
...
Move storage tests to use the framework/log package
2019-05-05 07:19:37 -07:00
Kubernetes Prow Robot
c516bb51e3
Merge pull request #76723 from LiliC/fix-daemonset-typo
...
pkg,test: Fix DaemonSet typos
2019-05-04 17:19:37 -07:00
Kubernetes Prow Robot
80bbb0cde1
Merge pull request #77093 from oomichi/use-ExpectError-e2e-auth
...
Use framework.ExpectNoError() for e2e/auth
2019-05-04 13:47:37 -07:00
John Schnake
a6f5ebf831
Move storage tests to use the framework/log package
...
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-04 12:50:38 -05:00
John Schnake
afc66a5487
Move scalability, upgrade, and common packages to 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-04 12:45:15 -05:00
Kubernetes Prow Robot
22cf3ca0a5
Merge pull request #75952 from bclau/tests/max-backoff-tests-flakiness
...
tests: Solve backoff tests flakiness
2019-05-03 22:18:04 -07:00
Kubernetes Prow Robot
5f8d290346
Merge pull request #75675 from mwwolters/addon-manager-kubeconfig
...
Added function to create kubeconfig for addon-manager
2019-05-03 22:17:51 -07:00
Kubernetes Prow Robot
f4ce6b6560
Merge pull request #77373 from alejandrox1/framework-deployment-refactor
...
Refactored framework deployment utils
2019-05-03 19:49:37 -07:00
Kubernetes Prow Robot
7287ae6b2e
Merge pull request #77054 from k-toyoda-pi/golint_test_e2e_common_pods
...
Fix golint failures of test/e2e/common/pods.go
2019-05-03 18:26:03 -07:00
Kubernetes Prow Robot
fd5560e90a
Merge pull request #75246 from aojea/e2e_ipv6_prestop
...
Add IPv6 support to the nettest image
2019-05-03 18:25:38 -07:00
Kubernetes Prow Robot
a26709ecee
Merge pull request #76061 from towolf/dynamic-cluster.local
...
test/e2e/network: Honor --dns-domain in more places
2019-05-03 17:01:38 -07:00
Kubernetes Prow Robot
59cedcf541
Merge pull request #77411 from liggitt/fix-rc-flake
...
Expect the correct object type to be removed
2019-05-03 15:12:29 -07:00
Mark Wolters
1456979e93
Added function to create kubeconfig for addon-manager
2019-05-03 15:12:16 -07:00
Jorge Alarcon Ochoa
dc619067d9
Refeactored framework deployment utils
...
This is the continuation of the refactoring of framework/deployment_utils.go
into framework/deployment.
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-03 18:00:53 -04:00
Kubernetes Prow Robot
217e08d735
Merge pull request #77123 from k-toyoda-pi/use_expect_no_error_e2e_apps_1
...
use framework.ExpectNoError() for e2e/apps
2019-05-03 12:35:38 -07:00
Jiatong Wang
30322ba93d
Move framework/upgrade_util.go to framework/lifecycle/upgrade.go
...
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-03 12:14:31 -07:00
Kenichi Omichi
52885a8ec3
Check conformance test should not call any Skip
...
Basically conformance test checks the target k8s cluster works all
features which are specified in each test and that should not depend
on any condition.
This adds checking that conformance test should not call any Skip
methods. And it detects the existing conformance test
"creating/deleting custom resource definition objects works"
calls framework.SkipUnlessServerVersionGTE(). So this removes the
Skip also.
2019-05-03 18:37:31 +00:00
John Schnake
2ede81c2a6
Move node, windows, and autoscaling tests to 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-03 13:23:57 -05:00
Jordan Liggitt
37c9e6b444
Expect the correct object type to be removed
2019-05-03 14:10:02 -04:00
Claudiu Belu
33bc5bf6a8
tests: Adds retry to netexec connectivity check
...
The container might start before all the networking plumbing has
been sucessfully completed, causing the Kubernetes reachability
check to fail.
This commit adds a few retries to the connectivity check.
2019-05-03 09:51:18 -07:00
Kubernetes Prow Robot
6f1fd17b7a
Merge pull request #77366 from johnSchnake/frameworkLogRefactoring
...
Move auth and network tests to use framework/log
2019-05-03 08:53:19 -07:00
Tobias Wolf
e3299d5f6a
test/e2e/network: Honor --dns-domain in more places
...
Try to finish what commit 4c8a65ac01
started; that is, do not assume
cluster.local is a constant base domain, when it is configurable.
This makes DNS e2e tests pass with --dns-domain, which was only being honored
for some tests, not all
Signed-off-by: Tobias Wolf <towolf@gmail.com>
2019-05-03 17:02:16 +02:00
John Schnake
0c62f751b6
Move auth and network tests to use 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-03 08:41:21 -05:00
Subramanian Neelakantan
18922a3c44
Use any host that mounts the datastore to create Volume
...
Also, This change makes zone to work per datacenter and cleans up dummy vms.
There can be multiple datastores found for a given name. The datastore name is
unique only within a datacenter. So this commit returns a list of datastores
for a given datastore name in FindDatastoreByName() method. The calles are
responsible to handle or find the right datastore to use among those returned.
2019-05-03 16:42:41 +05:30
Kubernetes Prow Robot
83f769c2a3
Merge pull request #77139 from cmluciano/cml/ingressnetv1beta1default
...
ingress: use networking api group for default storage of ingress
2019-05-02 16:22:18 -07:00
Akihito INOH
2562d4d0fd
Fix golint failures of e2e/framework/providers/gce/recreate_node.go
...
This fixes golint failures of the following file:
test/e2e/framework/providers/gce/recreate_node.go
And also, replaces functions using gomega with framework functions.
2019-05-03 07:20:37 +09:00
Kubernetes Prow Robot
75546a0166
Merge pull request #75591 from bclau/tests/split-hosts-entries
...
tests: Splits hostname from DNS test
2019-05-02 14:18:20 -07:00