Commit Graph

12500 Commits (ae1ec8826affed7bf31d0c87cc5b0f683f9dcdad)

Author SHA1 Message Date
Kubernetes Prow Robot 5bfea15e7b
Merge pull request #71351 from HotelsDotCom/kep/VolumeSubpathEnvExpansion
kep/VolumeSubpathEnvExpansion
2019-02-20 14:05:20 -08: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
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
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
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
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
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
Youbing Li 0756781994 Fixes #73077 - Allow to convert type across all version 2019-02-15 04:03:35 -05:00
Kubernetes Prow Robot 808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
Patrick Ohly 1cb121d2a9 e2e/storage: introduce TestVolume interface
This increases type safety and makes the code easier to read because
it becomes obvious that the "test resource" passed to some functions
must be the result of a previous CreateVolume.

This makes it possible to remove:
- functions that never did anything (the DeleteVolume methods in
  drivers that never create a volume)
- type casts (in the DeleteVolume implementation)
- the unused DeleteVolume parameters
- the stand-alone DeleteVolume function (which would be just a non-nil
  check)

GetPersistentVolumeSource and GetVolumeSource could also become
methods on more specific interfaces - they don't actually use anything
from TestDriver instance which provides them.

The main motivation however is to reduce the number of methods which
might need an explicit test config parameter.
2019-02-15 08:38:54 +01:00
帝俊 09519fde26
fix typo 2019-02-15 15:28:43 +08:00
Kubernetes Prow Robot 0eb69f6b92
Merge pull request #74079 from jarrpa/csi-cluster-registrar
CSIDriverRegistrar e2e cleanups
2019-02-14 17:05:51 -08:00
Kubernetes Prow Robot 1b8c8f1daf
Merge pull request #73831 from jennybuckley/apply-create-service
Honor forceAllowCreate in service registry
2019-02-14 13:59:44 -08:00