Commit Graph

12125 Commits (816dfab180e1a0739a7928c0eff45067801aaa12)

Author SHA1 Message Date
Kubernetes Prow Robot 3724e2e5a0
Merge pull request #71489 from tallclair/audit-test
Split audit test cases into separate tests
2019-01-04 09:02:24 -08:00
Kubernetes Prow Robot a103bddc2a
Merge pull request #72354 from globervinodhn/conformance-slow
Remove SLOW tag from Probing container and EmptyDir Wrapper Volume
2019-01-03 20:21:53 -08:00
Michelle Au 6279515914 Add e2e test for removing the subpath directory 2019-01-03 16:35:54 -08:00
Kubernetes Prow Robot 18778ea4a1
Merge pull request #72521 from dims/ensure-capture-of-http-and-trace-logs
Ensure we capture http and trace related logs
2019-01-03 15:52:06 -08:00
Kubernetes Prow Robot 47f2f7a53a
Merge pull request #72410 from pohly/storage-gcepd-config-fix
e2e/storage: reset driver config in the test suite
2019-01-03 15:51:44 -08:00
Kubernetes Prow Robot 1061f31644
Merge pull request #71188 from taragu/readonly-test-validate-readonly-io
Add test case for validate container cannot write to readonly volumes
2019-01-03 15:51:23 -08:00
Tara Gu fb324249c2 Add test case for validate container cannot write to readonly volumes 2019-01-03 15:24:31 -05:00
Davanum Srinivas e6f8e51c50
Ensure we capture http and trace related logs
When we are running apiserver related code, we do not currently capture
the logs from `httplog.NewLogged` and `trace.LogIfLong` since the
default log verbosity is not set. So just make sure we have a minimum
verbosity set in these circumstance.

Change-Id: I64a30029778615e679b244ddba801833218d1573
2019-01-03 11:03:12 -05:00
Dr. Stefan Schimanski 00a717b572 apiserver: start only one compactor per unique storage transport config 2019-01-03 12:01:47 +01:00
Dr. Stefan Schimanski 7b242533a2 apiserver: separate transport setting from storagebackend.Config 2019-01-02 12:52:38 +01:00
Kubernetes Prow Robot 6e182ed5ea
Merge pull request #71816 from liggitt/service-account-lookup
Look up service accounts from informer before trying live lookup
2018-12-31 21:18:55 -08:00
Kubernetes Prow Robot 65fdea80e7
Merge pull request #71922 from vikramk7/master
Make error messages more helpful in some e2e tests
2018-12-31 20:07:35 -08:00
globervinodhn b3217cc624 Remove SLOW tag from KUBEDESCRIBE and SIGDESCRIBE
Remove SLOW tag and update description for KUBEDESCRIBE(Probing container) and SIGDESCRIBE(EmptyDir Wrapper Volume)

Remove slow references for tests that execute below 5 minutes
2018-12-31 13:13:11 +05:30
Kubernetes Prow Robot 65f87b5a4a
Merge pull request #72259 from bsalamat/fix_nominated_node
Fix a race in setting nominated node and the scheduling cycle after it.
2018-12-30 00:01:26 -08:00
Bobby (Babak) Salamat b75672c4ba autogenerated files 2018-12-29 22:54:15 -08:00
Kubernetes Prow Robot 74f779fbb5
Merge pull request #69087 from tanshanshan/error926
make sure to check for errors and close the request body in the cluster size autoscaling e2e test
2018-12-29 01:58:26 -08:00
Patrick Ohly 98ba1d8519 e2e/storage: reset driver config in the test suite
PR #70862 made each driver responsible for resetting its config, but
as it turned out, one place was missed in that PR: the in-tree gcepd
sets a node selector. Not resetting that caused other tests to fail
randomly depending on test execution order.

Now the test suite resets the config by taking a copy after setting up
the driver and restoring that copy before each test.

Long term the intention is to separate the entire test config from the
static driver info (https://github.com/kubernetes/kubernetes/issues/72288),
but for now resetting the config is the fastest way to fix the test flake.

Fixes: #72378
2018-12-28 22:44:09 +01:00
Kubernetes Prow Robot a6ba2ebf85
Merge pull request #72376 from liggitt/filter-ns-debugging
Filter resources logged by e2e ns debugging
2018-12-27 22:38:56 -08:00
Jordan Liggitt 73dcfe12da Stop checking VolumeScheduling feature gate 2018-12-27 17:45:45 -05:00
Jordan Liggitt 78c987751c Filter resources logged by e2e ns debugging 2018-12-27 14:35:11 -05:00
Wei Huang 5492e2f8c3
move resource_quota e2e test to apimachinery folder 2018-12-27 10:45:41 -08:00
Bobby (Babak) Salamat 5581497846 Add a test that reproduces the race condition between setting nominated node name of a pod and scheduling cycle of other pods 2018-12-27 02:15:59 -08:00
Jordan Liggitt e243e646fc Fix create secret docker-registry compatibility 2018-12-26 11:11:29 -05:00
Vikram Krishnamurthy da0896c101 Make error messages more helpful in some e2e tests 2018-12-25 11:13:03 -08:00
Shyam Jeedigunta ce79d27048 Add eks case to GetSigner() 2018-12-24 16:50:45 -08:00
Kubernetes Prow Robot eb79f8f279
Merge pull request #69615 from k82cn/update_node_ns
Fixed node namespace to none.
2018-12-23 23:39:09 -08:00
Kubernetes Prow Robot 37dc6789d7
Merge pull request #71978 from denkensk/move-predicate-types
Move predicate types from algorithm to predicates
2018-12-21 19:05:29 -08:00
Kubernetes Prow Robot e3bf5dbc5b
Merge pull request #70862 from pohly/e2e-storage-tests
e2e storage tests: usable out-of-tree
2018-12-21 16:03:41 -08:00
wangqingcan b82a1d4600 Move predicate types from algorithm to predicates 2018-12-21 22:26:47 +08:00
Patrick Ohly ac8ac8ee6c e2e: update bazel BUILD files
Generated via hack/update-bazel.sh.
2018-12-21 10:30:10 +01:00
Patrick Ohly 3253e9ab6b e2e/storage: refactor test config
Exposing framework.VolumeTestConfig as part of the testsuite package
API was confusing because it was unclear which of the values in it
really have an effect. How it was set also was a bit awkward: a test
driver had a copy that had to be overwritten at test runtime and then
might have been updated and/or overwritten again by the driver.

Now testsuites has its own test config structure. It contains the
values that might have to be set dynamically at runtime. Instead of
overwriting a copy of that struct inside the test driver, the test
driver takes some common defaults (specifically, the framework pointer
and the prefix) when it gets initialized and then manages its own
copy. For example, the hostpath driver has to lock the pods to a
single node.

framework.VolumeTestConfig is still used internally and test drivers
can decide to run tests with a fully populated instance if needed (for
example, after setting up an NFS server).
2018-12-21 10:30:06 +01:00
wojtekt 73d14dede6 Promote Lease API to v1 2018-12-20 15:39:57 +01:00
Patrick Ohly dfcf2ca345 e2e/storage: separate generic testsuites from specific drivers
This makes it possible to use the testsuites package out-of-tree
without pulling in unnecessary dependencies and code (in
test/e2e/storage/vsphere) that defines tests that are not wanted in a
custom test suite.
2018-12-20 13:41:48 +01:00
Patrick Ohly 41ab9449ed e2e/storage: drivers determine the claim size
Different drivers support different volume sizes. Some have certain
minimum sizes, some maximum sizes. Instead of hard-coding some kind of
default into the testsuites, now each driver that supports dynamic
provisioning has to provide the size.
2018-12-20 13:41:48 +01:00
Patrick Ohly 5349ce75fa e2e/storage: remove code duplication
The setup of the V0 hostpath driver was done with copy-and-paste and
then changing just the driver name and the manifests. The same can be
achieved by making the base struct a bit more configurable, which
simplifies future changes (less code).

Renaming the provisioner container was unnecessary and was reverted to
make it possible to use the same patch configuration.

While at it, also fix the InitHostV0PathCSIDriver typo.
2018-12-20 13:41:48 +01:00
Kubernetes Prow Robot cdeb8c108f
Merge pull request #72205 from losipiuk/lo/env-gke-api-endpoint
Use CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER for GKE Api endpoint
2018-12-20 03:11:44 -08:00
Kubernetes Prow Robot 7ce7a80cda
Merge pull request #71355 from bradhoekstra/kube-proxy-services-optional
Make kube-proxy service abstraction optional
2018-12-19 15:27:12 -08:00
Kubernetes Prow Robot 00ca6939cb
Merge pull request #72038 from bowei/change-gce-cloud-provider
Change gce cloud provider
2018-12-19 14:13:55 -08:00
Kubernetes Prow Robot 6da32b078f
Merge pull request #72006 from soltysh/allnamespaces_shorthand
Introduce -A as a shorthand for --all-namespaces in kubectl
2018-12-19 14:13:40 -08:00
Kubernetes Prow Robot 1bd7c7126c
Merge pull request #70370 from liggitt/to_apps_v1
Switch client and test usage to apps/v1
2018-12-19 14:13:28 -08:00
Kubernetes Prow Robot ac6fa2235b
Merge pull request #71742 from pohly/csi-sidecar-test
e2e: use quay.io/k8scsi images, bump versions
2018-12-19 11:58:37 -08:00
Łukasz Osipiuk b1408dbe45 Use CLOUDSDK_API_ENDPOINT_OVERRIDES_CONTAINER for GKE Api endpoint 2018-12-19 17:55:33 +01:00
Jordan Liggitt 0ff455e340 generated files 2018-12-19 11:19:12 -05:00
Jordan Liggitt b409ffa658 Update test manifests to apps/v1 2018-12-19 11:19:12 -05:00
Jordan Liggitt fd9e9b01b1 Remove uses of extensions/v1beta1 clients 2018-12-19 11:18:53 -05:00
Weibin Lin 842bd1e1ec update deployment, daemonset, replicaset, statefulset to apps/v1 2018-12-19 10:46:45 -05:00
Maciej Szulik 885bed15da Introduce -A as a shorthand for --all-namespaces in kubectl 2018-12-19 14:37:43 +01:00
Kubernetes Prow Robot 33404d973a
Merge pull request #72174 from msau42/owners
Update sig-storage owners
2018-12-18 21:28:10 -08:00
Kubernetes Prow Robot 6858c95636
Merge pull request #72084 from ixdy/k8s-master-go1.11.4
Update to go1.11.4
2018-12-18 19:10:10 -08:00
Tim Allclair 10f45aacd5 Split audit test cases into separate tests 2018-12-18 16:58:19 -08:00