Zhen Wang
efa96f7eb8
allows configuring NPD release and flags on GCI and add cluster e2e test
2019-02-26 21:21:54 -08:00
Kubernetes Prow Robot
4505f12215
Merge pull request #72738 from alexbrand/fix-serve-hostname
...
DaemonSet e2e: Update image and rolling upgrade test timeout
2019-02-26 20:55:01 -08:00
Kubernetes Prow Robot
81e6407393
Merge pull request #74140 from Liujingfang1/kflag
...
add -k flag in cli-runtime and kubectl to process kustomization directories
2019-02-26 19:40:16 -08:00
Kubernetes Prow Robot
9059021d9a
Merge pull request #67350 from tnozicka/retry-watcher
...
#50102 Task 3: Until, backed by retry watcher
2019-02-26 19:40:01 -08:00
s-ito-ts
5752bc35fb
Adding e2e test for update and delete of resourcequota
2019-02-27 02:13:18 +00:00
liucimin
a9d368fc73
Typo fix in e2e test description message: kubadm->kubeadm
2019-02-27 10:01:19 +08:00
Haowei Cai
1a25ced1c7
generated
2019-02-26 15:00:35 -08:00
Haowei Cai
ad0d523d6e
tests
2019-02-26 14:44:31 -08:00
Haowei Cai
e6626b70cc
build and push e2e test image
2019-02-26 14:44:03 -08:00
Jingfang Liu
127c2f1e74
address comments
2019-02-26 14:12:58 -08:00
Kubernetes Prow Robot
493b261057
Merge pull request #74586 from danielqsj/patch3
...
fix golint failures for test/e2e/cloud|kubectl|servicecatalog
2019-02-26 14:08:16 -08:00
Kubernetes Prow Robot
26f90e850d
Merge pull request #74540 from oomichi/golint-e2e-framework-ingress
...
Fix golint under test/e2e/framework/ingress
2019-02-26 14:08:06 -08:00
Kubernetes Prow Robot
0ecba229aa
Merge pull request #74512 from danielqsj/ui
...
fix golint failures for test/e2e/ui
2019-02-26 14:07:54 -08:00
Claudiu Belu
de1e1ad045
tests: Adds configurable registry for etcd image
...
The image ``quay.io/coreos/etcd:v3.3.10`` does not have Windows
support and Windows Containers cannot be spawned using it.
Makes the etcd image's registry configurable, so the tests can be
configured to use a registry which has Windows support.
2019-02-26 13:54:55 -08:00
Kubernetes Prow Robot
be8a9b9637
Merge pull request #74422 from liggitt/client-version-methods
...
Remove deprecated versionless client interface methods
2019-02-26 12:44:24 -08:00
Vy Ta
f150874ed2
Requested changes and refactor
2019-02-26 12:10:43 -08:00
Daniel (Shijun) Qian
d648ba856b
Move pkg/api/v1/node to pkg/util/node ( #73656 )
...
* merge pkg/api/v1/node with pkg/util/node
* update test case for utilnode
* remove package pkg/api/v1/node
* move isNodeReady to internal func
* Split GetNodeCondition into e2e and controller pkg
* fix import errors
2019-02-26 11:05:32 -08:00
Hemant Kumar
2516cbd453
Add e2e for CSI volume limit stuff
...
Also use privileged for driver registra
2019-02-26 13:04:54 -05:00
Tomas Nozicka
09af8485f2
Add Until based on RetryWatcher
2019-02-26 16:21:38 +01:00
Kubernetes Prow Robot
a99d6cef86
Merge pull request #72729 from bclau/tests/split-dns-host-entries
...
tests: Separates DNS hosts entries test
2019-02-26 06:38:10 -08:00
Jordan Liggitt
d1e865ee34
Update client callers to use explicit versions
2019-02-26 08:36:30 -05:00
danielqsj
8911a2ddbb
fix golint failures for test/e2e/kubectl
2019-02-26 18:27:01 +08:00
danielqsj
9ea1b3d86d
fix golint failures for test/e2e/servicecatalog
2019-02-26 18:25:23 +08:00
danielqsj
84aeafee7b
fix golint failures for test/e2e/cloud
2019-02-26 18:25:23 +08:00
Kubernetes Prow Robot
0d98463f9c
Merge pull request #73508 from k-toyoda-pi/add_test_conmponentstatuses
...
Add e2e test for getting componentstatuses by kubectl
2019-02-26 01:55:20 -08:00
danielqsj
1ce7b0b2fa
fix golint failures for test/e2e/ui
2019-02-26 14:03:34 +08:00
xichengliudui
4b38978329
fix shellcheck in test/e2e_node/jenkins/...
...
update pull request
2019-02-26 01:01:48 -05:00
Kubernetes Prow Robot
d48eb30c59
Merge pull request #74547 from spiffxp/fix-test-cmd-kubectl-run-flake
...
Fix test-cmd kubectl_run flake
2019-02-25 21:49:03 -08:00
Kubernetes Prow Robot
33a0afafe7
Merge pull request #74508 from danielqsj/uapps
...
Fix golint failures for e2e/upgrades/...
2019-02-25 21:48:42 -08:00
toyoda
bdd17d4ca6
add test for getting componentstatuses
2019-02-26 11:25:14 +09:00
Kubernetes Prow Robot
1595089ec5
Merge pull request #74453 from xichengliudui/fixgolintfailures1902
...
fixgo lint failures test/integration/...
2019-02-25 17:25:34 -08:00
Kubernetes Prow Robot
0ff7e463ee
Merge pull request #73746 from mrbobbytables/kubemark-shellcheck
...
Fix shellcheck lint errors in Kubemark scripts
2019-02-25 17:25:13 -08:00
Kubernetes Prow Robot
d532d50e29
Merge pull request #63947 from jennybuckley/aggr-conf-test
...
Promote aggregator e2e test to conformance
2019-02-25 17:25:02 -08:00
Jingfang Liu
beacc87ebf
add cmdline tests for -k
2019-02-25 16:31:03 -08:00
Vy Ta
2869c67076
Windows-linux connectivity
2019-02-25 14:42:02 -08:00
Wei Huang
76174b3d0f
e2e: ensure static system-node-critical pod not to be evicted
2019-02-25 14:26:24 -08:00
Kubernetes Prow Robot
fb92681882
Merge pull request #74370 from oomichi/issue/74326
...
Register openstack provider for e2e test
2019-02-25 13:54:21 -08:00
Kubernetes Prow Robot
86a3caee35
Merge pull request #74085 from vyta/e2e-tests/win-volumes
...
Add readonly volume tests for windows
2019-02-25 13:54:00 -08:00
Aaron Crickenberger
e563402701
Fix test-cmd kubectl_run flake
...
It is unrealistic to expect a cascading delete to immediately take
effect. Somehow this test got away with it for a while, but we
have finally reached a point where apiserver performance has changed
just enough to expsoe this flaky expectation.
2019-02-25 13:51:48 -08:00
Kenichi Omichi
215dee7dd2
Fix golint under test/e2e/framework/ingress
2019-02-25 20:55:03 +00:00
Bob Killen
e137f4702a
Fix shellcheck lint errors in test/kubemark/stop-kubemark.sh
2019-02-25 15:21:32 -05:00
Bob Killen
b8aae458a1
Fix shellcheck lint errors in test/kubemark/start-kubemark.sh
2019-02-25 15:21:31 -05:00
Bob Killen
46333a01b4
Fix shellcheck lint errors in test/kubemark/run-e2e-tests.sh
2019-02-25 15:21:31 -05:00
Bob Killen
adf4bf1741
Fix shellcheck lint errors in test/kubemark/resources/start-kubemark-master.sh
2019-02-25 15:21:31 -05:00
Bob Killen
f72ac1f5b7
Fix shellcheck lint errors in test/kubemark/master-log-dump.sh
2019-02-25 15:21:31 -05:00
Bob Killen
cb59cb33ff
Fix shellcheck lint errors in test/kubemark/iks/util.sh
2019-02-25 15:21:30 -05:00
Bob Killen
e3e2a96521
Fix shellcheck lint errors in test/kubemark/iks/startup.sh
2019-02-25 15:21:30 -05:00
Bob Killen
6310305d3b
Fix shellcheck lint errors in test/kubemark/iks/shutdown.sh
2019-02-25 15:21:30 -05:00
Bob Killen
186b83fe5b
Fix shellcheck lint errors in test/kubemark/gce/util.sh
2019-02-25 15:21:30 -05:00
Bob Killen
5f4b919887
Fix shellcheck lint errors in test/kubemark/common/util.sh
2019-02-25 15:21:29 -05:00
Zihong Zheng
08e406b3f1
[e2e] Add acceptableFailureRatio to service latencies test
2019-02-25 11:58:20 -08:00
Bob Killen
b538f18c0e
Add color-coding to kubemark scripts.
2019-02-25 14:53:40 -05:00
Kubernetes Prow Robot
a826e80ca7
Merge pull request #74096 from oomichi/cleanup-e2e-framework-ingress
...
Remove unused GetDefaultBackendNodePort()
2019-02-25 11:33:32 -08:00
Kubernetes Prow Robot
d0f79fcf73
Merge pull request #72440 from ajatprabha/issue_34059
...
annotate errors in apps/job e2e tests
2019-02-25 11:33:00 -08:00
Vy Ta
59987e7410
update bazel
2019-02-25 10:22:03 -08:00
Vy Ta
585426f85f
External connectivity test
2019-02-25 09:49:40 -08:00
danielqsj
6322025d5c
fix golint failures for test/e2e/upgrades
2019-02-25 16:36:26 +08:00
danielqsj
7c8498ab03
fix golint failures for test/e2e/upgrades/storage
2019-02-25 15:41:31 +08:00
danielqsj
8916ccabaf
fix golint failures for test/e2e/upgrades/apps
2019-02-25 13:32:15 +08:00
Kubernetes Prow Robot
0133d14170
Merge pull request #72939 from runyontr/test-cmd-what
...
Test cmd what
2019-02-23 02:54:36 -08:00
Kubernetes Prow Robot
8993fbc543
Merge pull request #74328 from daixiang0/delete-blank
...
delete all duplicate empty blanks
2019-02-23 01:43:58 -08:00
Kubernetes Prow Robot
686c4912e9
Merge pull request #73930 from ixdy/bazel-cgo-crossbuild
...
bazel: initial support for cross-compilation
2019-02-23 01:43:27 -08:00
Kubernetes Prow Robot
b5566c7818
Merge pull request #71896 from awly/client-go-keyutil
...
client-go: extract new keyutil package from util/cert
2019-02-23 01:43:16 -08:00
Kubernetes Prow Robot
1847c071cf
Merge pull request #74445 from msau42/fix-localssd-e2e
...
Fix localssd test panic
2019-02-22 23:27:53 -08:00
Xiang Dai
36065c6dd7
delete all duplicate empty blanks
...
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-23 10:28:04 +08:00
Thomas Runyon
d4df8879f3
call kube:test:clear_all during cleanup
2019-02-22 21:23:53 -05:00
Jeff Grafton
7a938eb541
Create work-around wrappers for pure attribute on go_binary and go_test
...
This enables cgo when cross-compiling certain tests and binaries to
Linux, while disabling cgo for Windows and Darwin.
2019-02-22 18:08:34 -08:00
Kubernetes Prow Robot
ee95a1a349
Merge pull request #74293 from lubinsz/pr_ds
...
Fix conformance daemon_set test failing in local cluster
2019-02-22 17:58:33 -08:00
Michelle Au
6266c47972
Fix localssd test panic
2019-02-22 17:06:11 -08:00
Kubernetes Prow Robot
3afa003126
Merge pull request #73555 from bsalamat/priority_to_ga
...
Graduate PriorityClass API to GA
2019-02-22 16:14:49 -08:00
Alexander Brand
d971597b59
DaemonSet e2e: Update image and rolling upgrade test timeout
...
Use Nginx as the DaemonSet image instead of the ServeHostname image.
This was changed because the ServeHostname has a sleep after terminating
which makes it incompatible with the DaemonSet Rolling Upgrade e2e test.
In addition, make the DaemonSet Rolling Upgrade e2e test timeout a
function of the number of nodes that make up the cluster. This is
required because the more nodes there are, the longer the time it will
take to complete a rolling upgrade.
Signed-off-by: Alexander Brand <alexbrand09@gmail.com>
2019-02-22 15:47:54 -05:00
Kubernetes Prow Robot
51554f0818
Merge pull request #74290 from johscheuer/fix-e2e-netpol-tests
...
Fix e2e network policy tests
2019-02-22 12:07:43 -08:00
Bobby (Babak) Salamat
59da8af4b4
update e2e tests to use scheduling V1 API
2019-02-22 10:51:15 -08:00
Bobby (Babak) Salamat
1dac6d03e3
generated files
2019-02-22 10:51:15 -08:00
Bobby (Babak) Salamat
453498fe2c
Graduate PriorityClass to GA
2019-02-22 10:51:13 -08:00
danielqsj
f7b437cae0
convert latency in mertics name to duration
2019-02-22 21:40:13 +08:00
Patrick Barker
9e4f8d6fae
Audit test utils fix ( #74276 )
...
* changes audit e2e event version scheme; adds internal audit to common audit scheme; removes unneeded comments
* add more detail to audit missing events in e2e/integration tests
* adds version priority to audit scheme; updates comment
2019-02-22 00:19:51 -08:00
qingsenLi
790601bb0a
remove some unused const in test/e2e_node
2019-02-22 12:02:31 +08:00
Bin Lu
ab165fc6e5
Fix conformance daemon_set test failing in local cluster
...
Fixing up conformance test related to:
1, ci-k8s-conformance-arm64-aws-cluster
https://storage.googleapis.com/k8s-conformance-arm/logs/ci-k8s-conformance-arm64-aws-cluster/84/build-log.txt
2, conformance test results for ppc64le
https://storage.googleapis.com/ppc64le-kubernetes/logs/ci-conformance-kubernetes/2809/build-log.txt
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-02-22 11:10:33 +08:00
Kubernetes Prow Robot
a07c73d098
Merge pull request #74371 from rajansandeep/testhealthcheck
...
Add health plugin for CoreDNS in the DNS tests
2019-02-21 16:27:43 -08:00
Vy Ta
5e06b93e0b
Add readonly volume tests for windows
2019-02-21 15:54:07 -08:00
Sandeep Rajan
0172019d7d
add health plugin in the DNS tests
2019-02-21 16:24:34 -05:00
Kenichi Omichi
5c3b0c1eef
Register openstack provider for e2e test
...
Since the commit f3d79e152e
openstack provider has been denied on e2e test runner.
However there are storage e2e tests which are related to
openstack. So this adds the registration of openstack
provider for e2e test.
2019-02-21 21:15:36 +00:00
Kubernetes Prow Robot
105c9c35f7
Merge pull request #74358 from Katharine/fix-bad-junit-xml
...
Turn off command echoing in test to avoid illegal bytes in XML
2019-02-21 12:27:17 -08:00
Kubernetes Prow Robot
4763720dc1
Merge pull request #74338 from BenTheElder/testcmdshellcheck
...
make test/cmd/delete.sh pass shellcheck
2019-02-21 12:26:57 -08:00
Kubernetes Prow Robot
aec0bfe611
Merge pull request #73922 from bclau/tests/adds-linuxonly-tag
...
tests: Adds [LinuxOnly] tag to conformance test
2019-02-21 10:42:56 -08:00
Katharine Berry
dd4f1c1990
Turn off command echoing to avoid illegal bytes in XML.
2019-02-21 09:30:41 -08:00
Kubernetes Prow Robot
ec1d83b82d
Merge pull request #74335 from cofyc/fix74229
...
Use same fsGroup for both pods
2019-02-21 09:22:01 -08:00
Thomas Runyon
f97170ea38
Merge remote-tracking branch 'upstream/master' into test-cmd-what
2019-02-21 11:35:23 -05:00
Thomas Runyon
30c78c7e1c
Feedback from review
2019-02-21 06:15:13 -05:00
Kubernetes Prow Robot
7d75b73e1d
Merge pull request #74057 from liggitt/ingress-network-v1beta1
...
Ingress extensions/v1beta1 -> networking.k8s.io/v1beta1
2019-02-21 01:07:48 -08:00
Benjamin Elder
da859ae734
make test/cmd/delete.sh pass shellcheck
2019-02-21 00:45:37 -08:00
xichengliudui
a499d81fc6
fix shellcheck in test/image/...
...
update pull request
2019-02-21 03:11:55 -05:00
Kubernetes Prow Robot
54240ce5ba
Merge pull request #74330 from xichengliudui/fixshellcheck190221
...
Fixed a minor bug
2019-02-20 23:57:28 -08:00
Kubernetes Prow Robot
e24e944ce1
Merge pull request #74312 from oomichi/golint-e2e-framework-aws
...
Fix golint failures on e2e/[..]/(aws|azure)
2019-02-20 23:56:36 -08:00
Yecheng Fu
5c67d55002
Use same fsGroup for both pods until we have a reliable way to detect
...
volumes are unmounted or not
2019-02-21 15:56:35 +08:00
xichengliudui
d251d089f2
Fixed a minor bug
2019-02-20 22:39:23 -05:00
Kubernetes Prow Robot
5bfea15e7b
Merge pull request #71351 from HotelsDotCom/kep/VolumeSubpathEnvExpansion
...
kep/VolumeSubpathEnvExpansion
2019-02-20 14:05:20 -08:00
Jordan Liggitt
8c28d3f63c
Add networking.k8s.io/v1beta1 Ingress
2019-02-20 16:41:14 -05:00
Jordan Liggitt
47cb9559be
Move internal Ingress type from extensions to networking
2019-02-20 16:41:12 -05:00
Johannes M. Scheuermann
30098fd73f
Make use of nc for Linux and Windows compatibility
2019-02-20 22:23:13 +01:00
Hemant Kumar
abf8df7543
clean up duplication
2019-02-20 15:43:12 -05:00
Kubernetes Prow Robot
d60b7d6a64
Merge pull request #73866 from apelisse/add-ssa-tests
...
Add basic server-side apply test to test-cmd
2019-02-20 11:33:02 -08:00
Kenichi Omichi
36b80a4c61
Fix golint failures on e2e/[..]/(aws|azure)
2019-02-20 19:11:53 +00:00
Kubernetes Prow Robot
21e3c15dfe
Merge pull request #72732 from sandeeppsunny/vsphere_volume_zone
...
Added e2e tests for multi-zone volume provisioning through VCP
2019-02-20 09:01:27 -08:00
Johannes M. Scheuermann
b515aa1d31
Use wget instead of curl for e2e network policy tests
2019-02-20 17:07:32 +01:00
Kubernetes Prow Robot
07cf5fa08e
Merge pull request #72434 from pohly/storage-volume-testsuites-config
...
e2e/storage: delay CreateDriver, simplify APIs and test definition
2019-02-20 05:37:45 -08:00
Kubernetes Prow Robot
b473d5c111
Merge pull request #73201 from YoubingLi/bugfix
...
Fixes #73077 - Allow to convert type across all version
2019-02-20 02:23:21 -08:00
Kubernetes Prow Robot
52353ed0c3
Merge pull request #74275 from ixdy/e2e-image-util-docker-manifest-expperimental
...
Ensure Docker experimental features are enabled before creating manifest
2019-02-19 21:41:48 -08:00
Kevin Taylor
a64b854137
Implementation of KEP Feature Gate VolumeSubpathEnvExpansion
2019-02-20 01:37:16 +00:00
Kubernetes Prow Robot
9e55995a31
Merge pull request #73989 from oomichi/golint-e2e-framework-metrics
...
Fix golint failures under test/e2e/framework/metrics
2019-02-19 16:23:48 -08:00
Jeff Grafton
ff1543e8d5
Ensure Docker experimental features are enabled before creating manifest
2019-02-19 14:41:27 -08:00
Kubernetes Prow Robot
b67126e350
Merge pull request #74113 from oomichi/use-ExpectNoError-on-e2e-framework
...
Use framework.ExpectNoError() instead Expect()
2019-02-19 13:42:06 -08:00
Kubernetes Prow Robot
ee50d4784d
Merge pull request #74193 from xichengliudui/fixshellcheck19021802
...
fix shellcheck in test/integration/... and test/kubemark/...
2019-02-19 09:56:07 -08:00
Kubernetes Prow Robot
e67562dc4c
Merge pull request #74143 from oomichi/issue/73771
...
Call getRandomClusterZone() only if necessary
2019-02-19 09:55:55 -08:00
Andrew Lytvynov
18458392ca
Extract new keyutil package from client-go/util/cert
...
This package contains public/private key utilities copied directly from
client-go/util/cert. All imports were updated.
Future PRs will actually refactor the libraries.
Updates #71004
2019-02-19 09:48:59 -08:00
Kubernetes Prow Robot
0ffd59e403
Merge pull request #74154 from mbohlool/gimli
...
Use Request Object interfaces instead of static scheme that is more appropriate for CRDs
2019-02-19 07:21:53 -08:00
Kubernetes Prow Robot
9ac5e49111
Merge pull request #73682 from selfmanagingresource/fixtest
...
Remove race condition with run-test
2019-02-19 07:21:38 -08:00
Sandeep Sunny
5b59c6e08c
Added e2e tests for multi-zone volume provisioning
2019-02-19 18:44:20 +05:30
xichengliudui
0b184d35a1
fixgo lint failures test/integration/...
...
update pull request
update pull request
add files
update pull request
2019-02-19 04:41:50 -05:00
Kubernetes Prow Robot
f35b7a365e
Merge pull request #73046 from mikkeloscar/fix-e2e-websocket-https
...
Fix websocket e2e tests for https endpoints
2019-02-18 22:45:33 -08:00
Kubernetes Prow Robot
aaf479f94a
Merge pull request #74013 from s-ito-ts/statefulsets_scale
...
Add e2e test for scale sub-resource of statefulsets
2019-02-18 20:16:36 -08:00
Kubernetes Prow Robot
0b01b9ce51
Merge pull request #72470 from danielqsj/kl
...
Change kubelet metrics to conform metrics guidelines
2019-02-18 20:16:14 -08:00
Kubernetes Prow Robot
f7eb5769c2
Merge pull request #71468 from bclau/windows-tests
...
Windows networking tests
2019-02-18 06:24:24 -08:00
danielqsj
79a3eb816c
rename latency to duration in metrics
2019-02-18 17:40:04 +08:00
Mikkel Oscar Lyderik Larsen
9f34d8bc79
Remove 'tlsConfig != nil' check
...
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2019-02-18 09:45:37 +01:00
Mikkel Oscar Lyderik Larsen
93abdb1205
Fix websocket e2e tests for https endpoints
...
When running e2e conformance tests against a public https protected
APIserver the websocket tests would fail because it fell back to using
`ws://` instead of `wss://` for the websocket connection.
This happened because the code detect if HTTPS is used only looks for
HTTPS related configuration in the kubeconfig, like a custom CA or
certificates.
The fix is to always use HTTPS when the apiserver URL has the scheme `https://`.
Signed-off-by: Mikkel Oscar Lyderik Larsen <mikkel.larsen@zalando.de>
2019-02-18 09:45:37 +01:00
xichengliudui
641f883b82
fix shellcheck in test/integration/... and test/kubemark/...
2019-02-18 01:16:39 -05:00
danielqsj
9fd99a48f5
Change kubelet metrics to conform guideline
2019-02-18 14:01:58 +08:00
Mehdy Bohlool
c14e7e2004
Add e2e test for multi-version CRD admission webhook patch bug
2019-02-16 00:46:57 -08:00
Kubernetes Prow Robot
07a5488b2a
Merge pull request #74141 from zetaab/fixtest
...
disable xfs localvolume test
2019-02-16 00:29:57 -08:00
Kubernetes Prow Robot
528cf14aa2
Merge pull request #74121 from truongnh1992/edit-owner-contact
...
Correct typecheck contact info
2019-02-15 22:59:48 -08:00
Kubernetes Prow Robot
95c3cbaf9f
Merge pull request #74094 from gnufied/fix-multizone-test-resizing
...
Use delayed binding for multizone tests
2019-02-15 20:35:51 -08:00
Nguyen Hai Truong
4c18fbcbb5
Correct owner's contact
...
@rmmh was no longer involved in the project anymore.
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-16 09:19:34 +07:00
Kubernetes Prow Robot
149d6f1115
Merge pull request #74117 from carlory/patch-1
...
fix typo
2019-02-15 18:02:58 -08:00
Kubernetes Prow Robot
16e08f3e53
Merge pull request #73408 from Klaven/component-base-flags
...
Move flag util pkgs to k8s.io/component-base/cli
2019-02-15 16:46:08 -08:00
Kubernetes Prow Robot
d5b890ea46
Merge pull request #72777 from bclau/tests/hardcoded-docker-image
...
Adds test which pulls dockerhub Windows image
2019-02-15 16:45:42 -08:00
Hemant Kumar
abb2fc656d
Use delayed binding for multizone tests
2019-02-15 15:57:21 -05:00
Kenichi Omichi
a01381a7d2
Call getRandomClusterZone() only if necessary
...
e2e test "[It] should provision storage with different parameters"
depends on cloud providers as gce/gke, aws, openstack, vsphere and
azure. If the other cloud providers like local, the test is skipped.
However getRandomClusterZone() was called before the above cloud
provider check, and if the zone label is not found the test was failed.
This makes the test call getRandomClusterZone() only if necessary
to avoid such unnecessary failures.
Fixes : #73771
2019-02-15 20:07:11 +00:00
Jesse Haka
c75b0bf8ca
disable xfs localvolume test
2019-02-15 21:31:25 +02:00
jennybuckley
8101b86ac4
Promote aggregator e2e test to conformance
2019-02-15 11:04:38 -08:00
Kenichi Omichi
2635b6d95c
Use framework.ExpectNoError() instead Expect()
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it.
2019-02-15 16:52:57 +00:00
Marek Counts
160ed26c20
autogen files to support new project structure.
2019-02-15 10:29:31 -05:00
Marek Counts
7744f90830
Moved flag and globalflag
...
Moved all flag code from `staging/src/k8s.io/apiserver/pkg/util/[flag|globalflag]` to `component-base/cli/[flag|globalflag]` except for the term function because of unwanted dependencies.
2019-02-15 10:28:13 -05:00
Ben Moss
34ac4d9ee9
Update deprecated links
2019-02-15 09:13:07 -05:00
Kubernetes Prow Robot
763042e938
Merge pull request #73939 from jiayingz/cuda10-test
...
Update ppc64le cuda-vector-add 2.0 to be based on Cuda10 base image.
2019-02-15 05:28:00 -08:00
Patrick Ohly
ec3655a1d4
e2e/storage: re-initialize all local variables
...
There is a risk that the init function does not reset one of the local
variables that was set by a previous test. To avoid this, all
variables set by init are now in a struct which gets cleaned
completely first.
2019-02-15 11:03:28 +01:00
Patrick Ohly
e79cd9efe1
e2e: update bazel BUILD files
...
Generated via hack/update-bazel.sh.
2019-02-15 11:01:09 +01:00
Patrick Ohly
4643624084
e2e/storage: remove test pattern filtering
...
The recommended approach for not running unsuitable tests is to skip
them at runtime with an explanation. Filtering out unsuitable test
patters and thus not even defining unsuitable tests was done earlier
because it was faster than skipping tests at runtime.
But now these tests can be skipped efficiently, so this special case
can be removed.
2019-02-15 11:01:08 +01:00
Patrick Ohly
05cc31697f
e2e/storage: speed up skipping, simplify APIs and test definition
...
CreateDriver (now called SetupTest) is a potentially expensive
operation, depending on the driver. Creating and tearing down a
framework instance also takes time (measured at 6 seconds on a fast
machine) and produces quite a bit of log output.
Both can be avoided for tests that skip based on static
information (like for instance the current OS, vendor, driver and test
pattern) by making the test suite responsible for creating framework
and driver.
The lifecycle of the TestConfig instance was confusing because it was
stored inside the DriverInfo, a struct which conceptually is static,
while the TestConfig is dynamic. It is cleaner to separate the two,
even if that means that an additional pointer must be passed into some
functions. Now CreateDriver is responsible for initializing the
PerTestConfig that is to be used by the test.
To make this approach simpler to implement (= less functions which
need the pointer) and the tests easier to read, the entire setup and
test definition is now contained in a single function. This is how it
is normally done in Ginkgo. This is easier to read because one can see
at a glance where variables are set, instead of having to trace values
though two additional structs (TestResource and TestInput).
Because we are changing the API already, also other changes are made:
- some function prototypes get simplified
- the naming of functions is changed to match their purpose
(tests aren't executed by the test suite, they only get defined
for later execution)
- unused methods get removed (TestSuite.skipUnsupportedTest is redundant)
2019-02-15 11:01:05 +01:00