Commit Graph

13681 Commits

Author SHA1 Message Date
Jordan Liggitt
2b911dda65 Fix conflicting duplicate webhook test 2019-06-06 11:35:13 -04:00
Kubernetes Prow Robot
49a485b7d8
Merge pull request #78710 from spiffxp/conformance-exclude-tags
Error on tests ineligible for promotion to conformance
2019-06-05 14:02:14 -07:00
Aaron Crickenberger
67be4f5d06 Error on tests ineligible for promotion to conformance
If there are tags in the test name that describe qualities of the
test that make it ineligible for conformance, raise an error. This
is basically the "skip list" that heptio's e2e image used to use.

Thankfully all of our existing Conformance tests lack these tags. I
considered added [Slow] to the list, but let's save that for another
day.
2019-06-05 10:36:59 -07:00
Jordan Liggitt
07670b67d2 Add integration test for propagationPolicy=Orphan GC 2019-06-05 01:45:22 -04:00
Bin Lu
34f95a8985 Bug fix: remove etcd related issues in bazel-test-integration
Signed-off-by: Bin Lu <bin.lu@arm.com>
2019-06-04 22:09:48 -07:00
Kubernetes Prow Robot
714fcd910f
Merge pull request #78537 from liggitt/log-gc-test
Fix GC integration test
2019-06-04 20:35:53 -07:00
Kubernetes Prow Robot
0d1007f84b
Merge pull request #78708 from jpbetz/reinvocation-flake-fix
Flake fix: poll for webhook registration to complete in reinvocation integration tests
2019-06-04 18:45:52 -07:00
Kubernetes Prow Robot
b3b1c7c1e1
Merge pull request #78704 from dashpole/fix_windows_podresources
Disable kubelet local endpoints on windows
2019-06-04 16:47:52 -07:00
Joe Betz
e51320f69d Flake fix: poll for webhook registration to complete in reinvocation integration tests 2019-06-04 15:52:55 -07:00
Jordan Liggitt
6a7e7fc156 Fix TestStressingCascadingDeletion flake 2019-06-04 17:26:36 -04:00
David Ashpole
80ed28b15b disable kubelet local endpoints on windows 2019-06-04 14:07:10 -07:00
Kubernetes Prow Robot
85f2730d85
Merge pull request #78658 from jingxu97/June/window-test-fix
Fix volume mount tests issue for windows
2019-06-04 13:15:53 -07:00
Sandeep Rajan
bfb809f3c6 revert coredns to 1.3.1 2019-06-04 08:53:02 -04:00
Kubernetes Prow Robot
a04017a468
Merge pull request #78530 from liggitt/deflake-core-integration
Wait for pods to be garbage collected in integration test
2019-06-04 05:03:08 -07:00
Jordan Liggitt
8229af31d2 Move test/e2e use to v1 APIs 2019-06-03 14:46:08 -04:00
Chao Xu
a64b3890e7 generated 2019-06-03 10:34:44 -07:00
Chao Xu
1ad5cb5bb1 Protect remainingItemCount behind a feature flag. Also updating the API doc 2019-06-03 10:34:44 -07:00
Jing Xu
8aacb8003f Fix volume mount tests issue for windows
For windows node, security context is disabled. This PR fixes a bug so
that fsGroup will not be applied to pods that run on windows node.

Change-Id: Id9870416d2ad8ef791b3b4896d6747a2adbada2f
2019-06-03 10:12:27 -07:00
Hemant Kumar
0f62e3fbe8 Make language of error msgs and func names consistent: ExpandVolumeInUse
change feature flag
Fix the e2e test for online and offline expansion
2019-06-03 12:26:56 -04:00
Kubernetes Prow Robot
ed4c1ddd23
Merge pull request #78548 from dashpole/flaky_performance
Move e2e node perf test to flaky suite
2019-06-01 12:12:29 -07:00
Kubernetes Prow Robot
9186366577
Merge pull request #78410 from MrHohn/svc-finalizer-e2e
[e2e] Add tests for service load balancer finalizer
2019-06-01 12:12:16 -07:00
Kubernetes Prow Robot
bada1c6b1e
Merge pull request #78505 from caesarxuchao/dynamic-object-selector
Adding ObjectSelector to admission webhooks
2019-06-01 04:45:09 -07:00
Kubernetes Prow Robot
08b19d58ce
Merge pull request #78486 from yastij/event-integration-test
add integration test for core/v1beta1 event compatibility
2019-06-01 02:54:55 -07:00
Kubernetes Prow Robot
ebdae0b3b7
Merge pull request #78485 from oomichi/add-use-ExpectError
Check e2e test code to use ExpectError()
2019-06-01 02:54:42 -07:00
Kubernetes Prow Robot
d817a7e9a0
Merge pull request #78325 from caesarxuchao/storageVersionHash-beta
Graduate storageVersionHash field in the discovery doc to beta
2019-05-31 23:22:33 -07:00
Kubernetes Prow Robot
753a422b13
Merge pull request #78305 from rajansandeep/addreadyplugintotests
Add ready plugin in CoreDNS corefile for DNS tests
2019-05-31 23:22:20 -07:00
Kubernetes Prow Robot
227f34b33a
Merge pull request #77817 from smarterclayton/apicrd
CRDs should support watch of protobuf PartialObjectMetadata
2019-05-31 20:44:35 -07:00
Robert Krawitz
10d37bb748 Rename pkg/volume/util/quota -> pkg/volume/util/fsquota 2019-05-31 13:57:44 -04:00
Kubernetes Prow Robot
e87679cfaa
Merge pull request #74733 from wk8/wk8/misc_fixes
Not asking for sudo passwords for password-less sudo users any more
2019-05-31 07:12:43 -07:00
Mayank Gaikwad
3377737af2 Add references of registry and image from imageutils 2019-05-31 14:27:07 +05:30
Kubernetes Prow Robot
f49fe2a750
Merge pull request #72787 from dashpole/cadvisor_prefix_whitelist
Only collect metrics for cgroups required by the summary API
2019-05-31 00:28:26 -07:00
Kubernetes Prow Robot
cf76868b34
Merge pull request #66928 from RobertKrawitz/ephemeral-storage-quota-exp
Ephemeral storage monitoring via filesystem quotas
2019-05-30 20:44:26 -07:00
Chao Xu
6cf499db6c object matcher 2019-05-30 17:23:35 -07:00
Clayton Coleman
26a6cdda86
Set integration tests to use distinct namespaces
TestWatchBasedManager was racing with the default namespace creation.
To fix that flake and to ensure integration tests using a shared etcd
don't accidentally overlap in the future, move the three main tests
using the default namespace to separate namespaces, and have
TestWatchBasedManager create that namespace before it runs.

Make StartTestServer wait for default namespace creation, which will
reduce other flakes until future changes completely remove use of default
namespace.

From a failed integration run:

	watch_manager_test.go:66: namespaces "default" not found
	watch_manager_test.go:66: namespaces "default" not found
	watch_manager_test.go:66: namespaces "default" not found
2019-05-30 19:11:50 -04:00
Joe Betz
95fa928ecb Add mutating admission webhook reinvocation 2019-05-30 14:31:09 -07:00
Joe Betz
55ecc45455 split admissionregistration.v1beta1/Webhook into MutatingWebhook and ValidatingWebhook 2019-05-30 14:31:09 -07:00
David Ashpole
3a33f5378c move e2e node perf test to flaky suite 2019-05-30 13:50:28 -07:00
David Zhu
00eb0d23c3 Skip tests is fstype is xfs and node distro is gci, cos, or windows 2019-05-30 13:08:29 -07:00
Jordan Liggitt
d93ef9396b Wait for pods to be garbage collected 2019-05-30 11:46:09 -04:00
Yassine TIJANI
bfa12a0992 add integration test for core/v1beta1 event compatibility
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-05-30 15:01:15 +00:00
Clayton Coleman
89e752add0
CRDs should support watch of protobuf PartialObjectMetadata
Correctly ensure CRDs can be watched using protobuf when transformed to
PartialObjectMetadata. To do this we add a set of serializers allowed to
be used for "normal" requests (that return CRDs) while the serializers
supported by the infrastructure is broader and includes protobuf. During
negotatiation we check for transformation requests and protobuf is
excluded from non-transform requests.

As part of the change, correct an error message when the server returns
a 406 but the client doesn't accept the format to avoid confusing users
who set impossible Accept rules for CRDs (the dynamic client doesn't
support Protobuf, so if the server responds with a protobuf status the
message from the server is lost and the generic error was confusing).
2019-05-30 10:47:35 -04:00
Jorge Alarcon Ochoa
4969a05327 Refactored pod-related functions from framework/util.go
This a refactoring of framework/utils.go into framework/pod.

Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-30 09:30:26 -04:00
Kubernetes Prow Robot
13ec0e2bb9
Merge pull request #78478 from draveness/feature/use-framework-expect-no-error
fix: use framework.ExpectNoError instead of gomega
2019-05-30 04:55:01 -07:00
Kubernetes Prow Robot
38afd9815e
Merge pull request #78445 from soltysh/remove_job_scale
Remove kubectl scale job
2019-05-30 02:24:33 -07:00
Kubernetes Prow Robot
b18846cf4c
Merge pull request #78426 from sttts/sttts-crd-conversion-beta
apiextensions: promote CRD conversion to beta
2019-05-30 02:24:18 -07:00
Kubernetes Prow Robot
6dfec4a2ec
Merge pull request #78386 from SataQiu/fix-test-golint-20190527
Fix golint failures of test/e2e/chaosmonkey
2019-05-29 22:54:45 -07:00
Chao Xu
2f4c273398 Graduate storageVersionHash field in the discovery doc to beta 2019-05-29 17:38:28 -07:00
Kubernetes Prow Robot
eb2b5d37ff
Merge pull request #78283 from s-ito-ts/77706_e2e_common
Use framework.ExpectError() for e2e/common
2019-05-29 17:24:58 -07:00
Kubernetes Prow Robot
60248990a8
Merge pull request #78051 from davidz627/fix/skipMetrics
Skips metrics gathering for test if not on gce, gke, or aws
2019-05-29 17:24:33 -07:00
Kubernetes Prow Robot
bb475c4a64
Merge pull request #77567 from wgliang/features/scheduling-framework-post-bind
Add Post-bind extension point to the scheduling framework
2019-05-29 17:24:20 -07:00
Jean Rouge
1bd3d8b929 Not asking for sudo passwords for password-less sudo users any more
Running hack/make-rules/test-e2e-node.sh or test/e2e_node/conformance/run_test.sh
with a password-less sudo user on a dev box right now requires to first
create a password for that user, and then type it every time one wants
to run these tests. This patch is fixing this by not asking for sudo
credentials if it seems the user can run any command without a
password.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-29 14:04:13 -07:00
Dr. Stefan Schimanski
c692875277 apiextensions: fix conversion tests to enable pruning 2019-05-29 21:57:45 +02:00
yameiwang
8d07b2641e fix typo in /test/integration 2019-05-30 03:47:43 +08:00
Dr. Stefan Schimanski
1e5591297b apiextensions: remove CustomResourceWebhookConversion test guards 2019-05-29 21:19:51 +02:00
Robert Krawitz
46b3c75113 Add e2e test for quota-based eviction.
Positive test is skipped if quotas not available.
2019-05-29 15:12:28 -04:00
Kubernetes Prow Robot
472b9011d5
Merge pull request #77937 from MaysaMacedo/increase-e2e-np-tests
Increase coverage for e2e Network Policy tests
2019-05-29 11:26:39 -07:00
Kubernetes Prow Robot
c7611727a6
Merge pull request #77861 from bclau/images/dnsutils-coredns
test images: Adds CoreDNS to dnsutils and jessie-dnsutils images
2019-05-29 11:26:26 -07:00
Kubernetes Prow Robot
cc11d977b4
Merge pull request #76826 from bclau/tests/nettest-recheck
tests: Adds retry to netexec connectivity check
2019-05-29 11:26:00 -07:00
Kubernetes Prow Robot
38468e4338
Merge pull request #70536 from mysunshine92/golint-hostpath
fix golint for pkg/volume/host_path
2019-05-29 11:25:46 -07:00
Kenichi Omichi
63e0507fd9 Check e2e test code to use ExpectError()
We can use framework.ExpectError() for checking the expected error
happens. However Expect(err).To(HaveOccurred()) can be used instead
and that makes the e2e test code unreadable.
This adds the check to use framework.ExpectError() for readable code.
2019-05-29 17:04:58 +00:00
Kubernetes Prow Robot
3978d13d45
Merge pull request #78086 from lubinsz/pr_bzl_api
data attribute was missing for apiextensions-apiserver test cases
2019-05-29 09:44:38 -07:00
draveness
d6c600dac0 fix: use framework.ExpectNoError instead of gomega 2019-05-29 23:46:35 +08:00
Kubernetes Prow Robot
d8fd232ea1
Merge pull request #78327 from caesarxuchao/pointer-remainingItemCount
Make RemainingItemCount a pointer
2019-05-29 07:59:29 -07:00
Kubernetes Prow Robot
350c309da4
Merge pull request #78284 from SataQiu/test-e2e-refactor-20190524
[e2e] Refactor: cleanup Logf from framework/util
2019-05-29 05:33:15 -07:00
Kubernetes Prow Robot
dcf2dd332a
Merge pull request #77612 from oomichi/add-check-test-code
Add hack/verify-test-code.sh
2019-05-29 05:33:00 -07:00
Kubernetes Prow Robot
223809de3b
Merge pull request #78279 from k-toyoda-pi/replace_expecterror_e2e_a
Use framework.ExpectError() for e2e/a*
2019-05-29 03:11:16 -07:00
Kubernetes Prow Robot
51336deb4a
Merge pull request #78264 from tallclair/runasnonroot
Add RunAsNonRoot test
2019-05-29 03:10:50 -07:00
Kubernetes Prow Robot
cd9f430941
Merge pull request #78135 from liggitt/webhook-conversion
Convert to admission webhook-recognized versions
2019-05-29 00:52:36 -07:00
s-ito-ts
3492c81e12 Use framework.ExpectError() for e2e/common 2019-05-29 05:46:16 +00:00
Kubernetes Prow Robot
afba9c0355
Merge pull request #77877 from liggitt/deflake-integration
Wait for integration precondition
2019-05-28 22:21:12 -07:00
Kubernetes Prow Robot
65188f8690
Merge pull request #77852 from k-toyoda-pi/golint_test_e2e_common_p-r
Fix golint failures of test/e2e/common/[p-r]*
2019-05-28 22:21:00 -07:00
Nils Domrose
cc93ec05e8 Merge branch 'master' of https://github.com/kubernetes/kubernetes into fix-golint-test/e2e/storage/utils 2019-05-28 22:18:42 +02:00
Zihong Zheng
a9ed5702be [e2e] Add tests for service load balancer finalizer 2019-05-28 11:32:24 -07:00
Jordan Liggitt
8c194ea615 Add webhook admission conversion test 2019-05-28 14:30:20 -04:00
Jordan Liggitt
145e8c46cf Make GetRemainingItemCount/SetRemainingItemCount use pointers 2019-05-28 10:37:06 -04:00
Maciej Szulik
85d8b0ce3f
Remove kubectl scale job 2019-05-28 15:24:38 +02:00
Kubernetes Prow Robot
b49d429f64
Merge pull request #78381 from qingsenLi/k8s-190527
fix a little spelling error
2019-05-28 01:02:57 -07:00
Kubernetes Prow Robot
cc5a87dba9
Merge pull request #78326 from roycaihw/crd-kubectl-e2e
fix test flake when kubectl e2e and crd-openapi e2e run in parallel
2019-05-28 01:02:43 -07:00
Kubernetes Prow Robot
470916d32d
Merge pull request #77922 from sttts/sttts-structural-crd-pruning-conversion-test
apiextensions: integration tests for pruning after conversion webhook
2019-05-28 01:02:00 -07:00
Haowei Cai
9808fa3d6c mitigate test flake when kubectl e2e and crd-openapi e2e run in parallel 2019-05-27 12:59:11 -07:00
qingsenLi
f98bbdec32 fix a little spelling error 2019-05-28 01:38:44 +08:00
SataQiu
a6e0614dd9 fix golint failures of test/e2e/chaosmonkey 2019-05-27 18:30:12 +08:00
Maysa Macedo
b6f73bc82a Increase coverage for e2e Network Policy tests 2019-05-27 02:59:56 -04:00
toyoda
028cd65db9 fix golint failure in e2e/common/[p-r]* 2019-05-27 08:57:02 +09:00
Kubernetes Prow Robot
16d33c4985
Merge pull request #78042 from oomichi/use-ExpectNoError-common2
Use framework.ExpectNoError() on e2e/common
2019-05-25 13:03:50 -07:00
Kubernetes Prow Robot
eaece39c86
Merge pull request #78323 from tallclair/docker
Add a special-cased runtime handler for dockershim
2019-05-25 09:01:50 -07:00
Dr. Stefan Schimanski
cd0b46874a apiextensions: add storage race TODO in CRD conversion e2e test 2019-05-25 17:57:04 +02:00
Chao Xu
e28a1072d9 Make ListMeta.RemainingItemCount a pointer (*int64) to make sure it's omitted
when serialized to proto.

The SetRemainingItemCount() and GetRemainingItemCount() still takes and
returns an int64 to make developers life easier.
2019-05-24 18:12:55 -07:00
Tim Allclair
19a588eeda Add a special-cased runtime handler for dockershim 2019-05-24 15:30:34 -07:00
Tim Allclair
c851c480d3 Move to debian-base non-root image 2019-05-24 11:57:43 -07:00
Sandeep Rajan
08e3fb5588 Add ready plugin to dns tests 2019-05-24 11:08:58 -04:00
SataQiu
d3a902ff5b e2e refactor: cleanup Logf form framework/util 2019-05-24 16:39:46 +08:00
toyoda
7acb1540a9 Use framework.ExpectError() for e2e/a* 2019-05-24 15:16:02 +09:00
Kubernetes Prow Robot
a07b027261
Merge pull request #77825 from roycaihw/crd-openapi-beta
Promote Publish CRD OpenAPI to beta
2019-05-23 22:24:31 -07:00
Morten Torkildsen
f1883c9e8c Support scale subresource for PDBs (#76294)
* Support scale subresource for PDBs

* Check group in finder functions

* Small fixes and more tests
2019-05-23 22:24:17 -07:00
toyoda
749e76351f change BeTrue to Equal or BeNumerically in cronjob e2e test 2019-05-24 13:22:07 +09:00
Kubernetes Prow Robot
8c94f4daed
Merge pull request #78058 from verult/skip-leaking-pd
CSI migration e2e: do not skip tests if metricsGrabber.HasRegisteredM…
2019-05-23 14:48:20 -07:00
Tim Allclair
6e78c5bdde Add RunAsNonRoot test 2019-05-23 12:23:04 -07:00
Kubernetes Prow Robot
d83805c479
Merge pull request #78194 from roycaihw/crd-openapi-e2e
Fix alpha CRD openapi e2e
2019-05-22 21:34:25 -07:00
Kubernetes Prow Robot
d1d6f64cda
Merge pull request #78198 from Random-Liu/node-e2e-service-account
Use default service account when creating test instance.
2019-05-22 20:06:23 -07:00