Commit Graph

13608 Commits (714fcd910fb7abf8647a6f67bfb15eeed10854a1)

Author SHA1 Message Date
Kubernetes Prow Robot 938041694c
Merge pull request #77554 from sttts/sttts-structural-publishing
apiextensions: publish (only) structural OpenAPI schemas
2019-05-20 18:38:39 -07:00
Kubernetes Prow Robot b049dfaa59
Merge pull request #77343 from johnSchnake/removeGKE-SAR-404-path
GKE also requires SAR endpoints
2019-05-20 13:21:13 -07:00
Dr. Stefan Schimanski 9e04e778dd e2e: fix CreateMultiVersionTestCRD version logic 2019-05-20 22:07:02 +02:00
Jiatong Wang 76f76450ca Move service_util endpoints related to framework/endpoints
Signed-off-by: Jiatong Wang <wangjiatong@vmware.com>
2019-05-20 11:47:38 -07:00
SataQiu b828e570b1 fix golint failures of test/e2e/storage/drivers 2019-05-20 13:12:38 +08:00
s-ito-ts c101f40e18 Fix golint failures of test/e2e/autoscaling 2019-05-20 02:20:39 +00:00
Bin Lu b121545b70 data attribute was missing for apiserver integration test cases
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-05-19 20:04:35 +08:00
Guoliang Wang 20f9c9940e Add Post-bind extension point to the scheduling framework 2019-05-19 18:12:16 +08:00
Kubernetes Prow Robot 0f31cc93b6
Merge pull request #74440 from yliaog/dynamic
Switched to use dynamic shared informer for Garbage Collector.
2019-05-18 12:23:12 -07:00
Kubernetes Prow Robot df4f033a4f
Merge pull request #77501 from JieJhih/scheduling/plugin
add scheduling framework configuration
2019-05-18 03:39:12 -07:00
Dr. Stefan Schimanski bc86aeba05 apiextensions: switch OpenAPI pubilshing to structural schema 2019-05-18 11:12:48 +02: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
Yu Liao 05ebe91277 Switched to use dynamic shared informer for Garbage Collector. 2019-05-17 15:41:36 -07:00
JieJhih Jhang 2cd5fc54a1 add scheduling framework configuration
update bazel build

fix get plugin config method

initialize only needed plugins

fix unit test

fix import duplicate package

update bazel

add docstrings

add weight field to plugin

add plugin to v1alpha1

add plugins at appropriate extension points

remove todo statement

fix import package file path

set plugin json schema

add plugin unit test to option

initial plugin in test integration

initialize only needed plugins

update bazel

rename func

change plugins needed logic

remove v1 alias

change the comment

fix alias shorter

remove blank line

change docstrings

fix map bool to struct

add some docstrings

add unreserve plugin

fix docstrings

move variable inside the for loop

make if else statement cleaner

remove plugin config from reserve plugin unit test

add plugin config and reduce unnecessary options for unit test

update bazel

fix race condition

fix permit plugin integration

change plugins to be pointer

change weight to int32

fix package alias

initial queue sort plugin

rename unreserve plugin

redesign plugin struct

update docstrings

check queue sort plugin amount

fix error message

fix condition

change plugin struct

add disabled plugin for unit test

fix docstrings

handle nil plugin set
2019-05-18 06:30:28 +08: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
Jordan Liggitt 0b88095a17 Switch admission webhook test to work with shared etcd 2019-05-17 09:54:14 -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 76c112ed06
Merge pull request #77965 from lubinsz/pr_bazel_dir
Bug fix: failed to run integration test by using bazel
2019-05-17 07:00:37 -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
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