Commit Graph

8391 Commits (733f2478d38711b86be0385f552be339d758c235)

Author SHA1 Message Date
SataQiu a232c3266d fix golint failures of e2e/framework/test_context.go 2019-03-29 14:41:24 +08:00
Kubernetes Prow Robot da018a6bfa
Merge pull request #75362 from serathius/gcp-security-patches
Update gcp images with security patches
2019-03-28 14:25:58 -07:00
Kubernetes Prow Robot b9dbb458fb
Merge pull request #72384 from zhouhaibing089/quota-crd
resourcequota: use dynamic informer
2019-03-27 16:00:49 -07:00
Rohit Ramkumar 2020868fdf Remove tests exercising the backend protocol feature of Ingress-GCE 2019-03-27 15:51:02 -04:00
zhouhaibing089 f58c2ae62d resourcequota: use dynamic informer
The resource quota controller should use a dynamic informer so it
can create informer for custom resources.
2019-03-27 11:08:24 -07:00
Kubernetes Prow Robot e05be44808
Merge pull request #74693 from mkimuram/issue/74545
Add e2e tests for multiAttach
2019-03-26 20:44:48 -07:00
Cheng Xing 6a02ebb30c Updated regional PD minimum size; changed regional PD failover test to use StorageClassTest to generate PVC template 2019-03-26 14:23:08 -07:00
Kubernetes Prow Robot bff4ecbe1b
Merge pull request #75685 from freehan/flaky-test
make NEG tests more resilient to API failures and add more failure lo…
2019-03-25 23:13:17 -07:00
Kubernetes Prow Robot 2cda7d29e8
Merge pull request #75690 from oomichi/golint-e2e-framework-d-e
Fix golint failures of e2e/framework/[d-e]*.go
2019-03-25 19:47:28 -07:00
Minhan Xia 600e8b0eba make NEG tests more resilient to API failures and add more failure logging 2019-03-25 16:53:33 -07:00
Kenichi Omichi 65e6e46515 Fix golint failures of e2e/framework/[d-e]*.go
This fixes golint failures on the following files:
- test/e2e/framework/deployment_util.go
- test/e2e/framework/exec_util.go

Cleanup:
- ScaleDeployment() was not used at all, so let's remove it.
- ExecCommandInPod() and ExecCommandInPodWithFullOutput() were called
  in the framework only, so let's make them local.
2019-03-25 20:42:11 +00:00
Kenichi Omichi 20074882db Fix golint failures of e2e/framework/[k-l]*.go
In addition, this replaces the combination of GetCPUSummary() and
FormatCPUSummary() with LogCPUSummary() in e2e/node/kubelet_perf.go
because that is completely same.
2019-03-25 19:46:51 +00:00
Kubernetes Prow Robot 3dfe9072ad
Merge pull request #75615 from oomichi/golint-e2e-framework
Fix golint failures of e2e/framework/[a-c].go
2019-03-22 17:02:35 -07:00
Kubernetes Prow Robot 18ac575d9b
Merge pull request #75611 from neolit123/e2e-fw-owners
test/e2e/framework: add OWNERS file
2019-03-22 15:46:46 -07:00
Kenichi Omichi 63f44a0bbf Fix golint failures of e2e/framework/[a-c].go
This fixes golint failures on the following files:
- test/e2e/framework/authorizer_util.go
- test/e2e/framework/cleanup.go
- test/e2e/framework/create.go
2019-03-22 21:16:45 +00:00
Lubomir I. Ivanov e0f0d4c9f8 test/e2e/framework: add OWNERS file 2019-03-22 21:00:07 +02:00
Kenichi Omichi da7c9f70c3 Fix golint failures under test/e2e/[..]/gce
This fixes golint failures under test/e2e/framework/providers/gce/.

Cleanup:
* FirewallTimeoutDefault is not used at all, so remove it.
* FirewallTestTcpTimeout, FirewallTestHttpPort and FirewallTestUdpPort
  are used at test/e2e/network/firewall.go only. So move them.
2019-03-22 15:59:17 +00:00
Kubernetes Prow Robot dfe2e0e705
Merge pull request #75349 from brahmaroutu/cifailure_daemonset
Daemon Set Conformance test fails in CI process using ci-kubernetes-c…
2019-03-22 00:04:30 -07:00
Kubernetes Prow Robot c48ed1c5ac
Merge pull request #74356 from oomichi/golint-e2e-framework-kubemark
Fix golint failures for e2e/[..]/kubemark
2019-03-21 19:26:32 -07:00
Kubernetes Prow Robot 775d298cb0
Merge pull request #75347 from kanwar-saad/secret_negative_test_fix
test/e2e: Fix double error in secret negative testcase
2019-03-21 17:32:30 -07:00
Kubernetes Prow Robot e5d99f893b
Merge pull request #75280 from pontiyaraja/volumes
removed time flaky and added default pod delete timeout
2019-03-21 17:32:17 -07:00
Claudiu Belu e372f56b25
tests: Fixes Python3 compatibility
The Python code used in the example_cluster_dns test is not compatible with Python3.

Keeping in mind that Python2 will no longer be supported from 2020 onwards, it is a good idea to address this issue.
2019-03-21 14:32:25 +02:00
Kubernetes Prow Robot bce6434a3a
Merge pull request #75517 from jingxu97/march/gkeglustertest
Skip GlusterDynamicProvisioner test in GKE
2019-03-20 17:55:36 -07:00
Srini Brahmaroutu b64066b41b Daemon Set Conformance test fails in CI process using ci-kubernetes-conformance-image as the num nodes is calculates incorrectly by the test context.
Fixes #75348
2019-03-20 14:01:19 -07:00
Jing Xu 221c673f31 Skip GlusterDynamicProvisioner test in GKE
The GlusterDynamicProvisioner test will not work on GKE because master
node is in a different project and cannot talk to the pod running on
node which is used for gluster provisioner. So add the code to skip the
test on GKE
2019-03-20 12:07:50 -07:00
Kubernetes Prow Robot e34879925a
Merge pull request #75335 from sjenning/fix-sched-preempt-test
test/e2e: fix PreemptionExecutionPath nodeSelector
2019-03-20 11:08:14 -07:00
Kubernetes Prow Robot 6f93f87ac4
Merge pull request #75002 from rramkumar1/remove-ingress-upgrade-tests
Remove Ingress-GCE upgrade + downgrade tests from k/k
2019-03-19 21:27:01 -07:00
Kubernetes Prow Robot 5cc445dc8b
Merge pull request #75447 from liggitt/flaky-audit
Mark audit e2e tests as flaky
2019-03-18 21:56:19 -07:00
Kubernetes Prow Robot cd9f18bd7d
Merge pull request #75340 from pohly/framework-crd-utils
framework k8s.io/apiextensions-apiserver dependency
2019-03-18 12:26:22 -07:00
Jordan Liggitt cacafc1947 Mark audit e2e tests as flaky 2019-03-18 14:59:37 -04:00
Rohit Ramkumar 31d5e3c1a6 Remove Ingress-GCE upgrade tests from k/k 2019-03-18 10:18:08 -07:00
Kubernetes Prow Robot 3512757882
Merge pull request #75416 from tallclair/local-redirects
Don't follow non-local redirects from HTTP probes
2019-03-16 09:14:57 -07:00
Kubernetes Prow Robot d156c09010
Merge pull request #75411 from freehan/disable-test
disable HTTP2 ingress test
2019-03-16 02:24:57 -07:00
Tim Allclair 691a301368 e2e test for http probe redirects 2019-03-15 11:52:25 -07:00
Minhan Xia 3aa2f1b05c disable HTTP2 ingress test 2019-03-15 10:18:45 -07:00
Marek Siarkowicz 9e9b906047 Update gcp images with security patches
[stackdriver addon] Bump prometheus-to-sd to v0.5.0 to pick up security fixes.
[fluentd-gcp addon] Bump fluentd-gcp-scaler to v0.5.1 to pick up security fixes.
[fluentd-gcp addon] Bump event-exporter to v0.2.4 to pick up security fixes.
[fluentd-gcp addon] Bump prometheus-to-sd to v0.5.0 to pick up security fixes.
[metatada-proxy addon] Bump prometheus-to-sd v0.5.0 to pick up security fixes.
2019-03-15 09:24:32 +01:00
Lubomir I. Ivanov 4eabc1cc16
Revert "Speculative workaround for #74890" 2019-03-15 03:59:44 +02:00
Jordan Liggitt 8f9ed58d20 Deflake node lease test 2019-03-14 09:38:40 -07:00
Kubernetes Prow Robot 897d62ace7
Merge pull request #75164 from krmayankk/runasgroup
add missing psp e2e tests for runasgroup
2019-03-13 18:02:25 -07:00
Seth Jennings 6db621589c test/e2e: fix PreemptionExecutionPath nodeSelector 2019-03-13 17:20:34 -05:00
Patrick Ohly 25c615c157 test: fix golint warnings in crd_util.go
Because the code was moved, golint is now active. Because users of the
code must adapt to the new location of the code, it makes sense to
also change the API at the same time to address the style comments
from golint ("struct field ApiGroup should be APIGroup", same for
ApiExtensionClient).
2019-03-13 23:00:49 +01:00
kanwar saad bin liaqat 2f852a27cb Fix double error of secret negative testcase
E2E Test "Secret should fail to create secret in volume
due to empty secret key" tries to create a secret
with empty key and check whether it fails or not.
But the secret creation in this test fails with
double error due to invalid secret name. This will
make this test to pass even if the fuctionality
which needs to be tested is broken.

This commit fix the secret name error(name should not
have capital letters) so that the secret creation fails
only due to desired reason.

Signed-off-by: kanwar saad bin liaqat <kanwar.sbl@gmail.com>
2019-03-13 22:23:02 +02:00
Patrick Ohly cf805f5af4 update Bazel files 2019-03-13 19:06:56 +01:00
Patrick Ohly e8a7cee43e test: remove k8s.io/apiextensions-apiserver from framework
There are two reason why this is useful:

1. less code to vendor into external users of the framework

The following dependencies become obsolete due to this change (from `dep`):

(8/23) Removed unused project github.com/grpc-ecosystem/go-grpc-prometheus
(9/23) Removed unused project github.com/coreos/etcd
(10/23) Removed unused project github.com/globalsign/mgo
(11/23) Removed unused project github.com/go-openapi/strfmt
(12/23) Removed unused project github.com/asaskevich/govalidator
(13/23) Removed unused project github.com/mitchellh/mapstructure
(14/23) Removed unused project github.com/NYTimes/gziphandler
(15/23) Removed unused project gopkg.in/natefinch/lumberjack.v2
(16/23) Removed unused project github.com/go-openapi/errors
(17/23) Removed unused project github.com/go-openapi/analysis
(18/23) Removed unused project github.com/go-openapi/runtime
(19/23) Removed unused project sigs.k8s.io/structured-merge-diff
(20/23) Removed unused project github.com/go-openapi/validate
(21/23) Removed unused project github.com/coreos/go-systemd
(22/23) Removed unused project github.com/go-openapi/loads
(23/23) Removed unused project github.com/munnerz/goautoneg

2. works around https://github.com/kubernetes/kubernetes/issues/75338
   which currently breaks vendoring

Some recent changes to crd_util.go must now be pulling in the broken
k8s.io/apiextensions-apiserver packages, because it was still working
in revision 2e90d92db9 (as demonstrated by
586ae281ac).
2019-03-13 19:05:13 +01:00
Kubernetes Prow Robot 118e33dfcd
Merge pull request #72092 from vllry/move-gce-test-manifests
Move e2e ingress test manifests for GCE to a subdirectory
2019-03-13 10:39:35 -07:00
Mayank Kumar c4e0ede58b add missing psp e2e tests for runasgroup 2019-03-12 22:07:07 -07:00
Justin SB 803de74685
Speculative workaround for #74890
We try using an atomic with a CAS, as a potential workaround for
issue #74890.

Kudos to @neolit123 for the investigation & idea.

This is a speculative workaround - we are really seeing if this is
better; if not we should revert.

If it is better we should file a bug against go 1.12, and then revert!

Issue #74890
2019-03-12 18:09:01 -04:00
Kubernetes Prow Robot c67e16c74f
Merge pull request #75272 from gnufied/add-pod-information-on-error
Add pod information when max volume condition is missing
2019-03-12 13:19:31 -07:00
Kubernetes Prow Robot 11b9ebf113
Merge pull request #75225 from jingxu97/pd_windows_test
Add bracket to the sig-window tag and other fixes
2019-03-12 13:19:19 -07:00
Kubernetes Prow Robot 02b6557e49
Merge pull request #75081 from freehan/flaky-test
beef up NEG tests
2019-03-12 13:18:53 -07:00