Commit Graph

12086 Commits (1778d64a59305e43675fba75d7ec84d42e4e342a)

Author SHA1 Message Date
k8s-ci-robot a525a2b4ee
Merge pull request #70401 from ravisantoshgudimetla/fix-e2e-node-capacity
Fix capacities as well
2018-11-01 09:53:04 -07:00
Sandeep Rajan 4c8a65ac01 configure cluster domain via flags 2018-11-01 12:27:54 -04:00
k8s-ci-robot 215234d3a3
Merge pull request #67778 from gyuho/typo
staing/apimachinery: fix typo "perfer" to "prefer"
2018-11-01 03:21:02 -07:00
k8s-ci-robot 3b0c20bedc
Merge pull request #69675 from pontiyaraja/rc_cnf_test
Promote Replication Controller and Replica Set e2e tests to Conformance
2018-10-31 23:04:46 -07:00
k8s-ci-robot b8731a76f0
Merge pull request #70395 from seans3/expose-bug-fix
kubectl: fixes expose bug for workload without selectors
2018-10-31 14:48:16 -07:00
k8s-ci-robot 50dffba0f3
Merge pull request #70140 from agau4779/beef-up-negs
test switching between standalone/Ingress NEG
2018-10-31 13:07:38 -07:00
k8s-ci-robot ebe5e635c0
Merge pull request #70422 from zqm19941101/patch-1
fix typo
2018-10-31 11:50:41 -07:00
pontiyaraja b81936320b Promote Replication Controller and Replica Set e2e tests to Conformance 2018-11-01 00:20:04 +05:30
Ashley Gau 4840bfd913 test switching between standalone/Ingress NEG 2018-10-31 09:49:18 -07:00
Maciej Pytel 8f897d1dbd Add MaciekPytel to test OWNERS. 2018-10-31 14:56:11 +01:00
k8s-ci-robot dc1307b826
Merge pull request #70441 from jbartosik/e2e-deflake
Deflake HPA tests
2018-10-31 06:36:05 -07:00
Patrick Ohly 84db64fbcc e2e: less verbose item creation
The detailed dumps of original and patched item content was useful
while developing the feature, but is less relevant now and too
verbose. It might be relevant again, so it's left in the code as
comments.

What gets logged now is just a single-line "creating" resp. "deleting"
message with the type of the item and its unique name.

This also enhances up some other aspects of the original logging:
- the namespace is included for item types that are namespaced
- the "deleting" message no longer gets replicated in each factory
  method

Fixes: #70448
2018-10-31 10:23:12 +01:00
xichengliudui 8477389e7c Fix some types
Fix some typos
2018-10-31 04:05:25 -04:00
Sean Sullivan d5865240c5 kubectl: fixes expose bug for workload without selectors 2018-10-30 19:27:10 -07:00
k8s-ci-robot 0d37650107
Merge pull request #69986 from pohly/podlogs
e2e: live streaming of pod events and stdout for CSI volume tests
2018-10-30 16:16:06 -07:00
k8s-ci-robot f9c744acb8
Merge pull request #70242 from bclau/fixes-dns-false-positives
tests: Fixes DNS tests false positives
2018-10-30 12:22:58 -07:00
Joachim Bartosik cb6a8a2564 Deflake HPA tests
- Scale down based on custom metric was flaking. Increase target value
of the metric.
- Scale down based on CPU was flaking during stabilization. Increase
tolerance of stabilization (caused by resource consumer using more CPU
than requested).
2018-10-30 19:27:42 +01:00
Wei Huang ca10e616bf
add e2e tests for TaintBasedEvictions 2018-10-30 10:40:05 -07:00
ravisantoshgudimetla dd06ca7631 Fix capacities as well 2018-10-30 13:26:41 -04:00
k8s-ci-robot 76234a31b0
Merge pull request #69680 from jonfriesen/fix_golint_test/utils/images
Fixes golint in test/utils/image
2018-10-30 08:01:55 -07:00
zqm19941101 05013135b4
fix typo 2018-10-30 19:27:36 +08:00
Patrick Ohly 1449353067 e2e: live streaming of pod events and stdout for CSI volume tests
Debugging the CSI driver tests depends a lot on the output of the CSI
sidecar containers and the CSI driver, but that information was not
captured automatically and thus unavailable after a test run. This is
particularly bad when running in a remote CI system, but also manually
watching the cluster during a test was cumbersome.

Now pod events and log messages get copied to the test's output at the
time that they happen (when running without report directory) or get
written to individual log files (when running with report directory in
the CI).
2018-10-30 09:18:48 +01:00
k8s-ci-robot 070a35f9c3
Merge pull request #69544 from justinsb/tempdir_cleanup
Introduce test harness into unit tests
2018-10-29 20:07:27 -07:00
k8s-ci-robot 9d0a6d0fc6
Merge pull request #70390 from spiffxp/add-spiffxp-as-reviewer-to-test-conformance
Add myself as reviewer to test/conformance/OWNERS
2018-10-29 18:53:31 -07:00
k8s-ci-robot 975e6c0a73
Merge pull request #70039 from liggitt/deployment-rollback
Switch kubectl rollout to directly rolling back deployments
2018-10-29 18:52:51 -07:00
k8s-ci-robot dab98f9546
Merge pull request #70329 from ravisantoshgudimetla/fix-e2e-limits
Fix e2e limits
2018-10-29 17:11:38 -07:00
k8s-ci-robot 361f8c31bd
Merge pull request #70314 from samdamana/auth-revert
Revert "limit forbidden error to details of what was forbidden"
2018-10-29 17:11:27 -07:00
k8s-ci-robot 2ecc71da47
Merge pull request #69868 from pohly/e2e-manifests
e2e manifests
2018-10-29 17:11:08 -07:00
Jon Friesen 0415ebe439 Fixes golint in test/utils/image
This change fixes the test/utils/image package golint errors.
2018-10-29 17:07:01 -07:00
k8s-ci-robot 861e866b51
Merge pull request #69947 from tallclair/runtimeclass-e2e
Implement a basic RuntimeClass E2E
2018-10-29 15:53:59 -07:00
Aaron Crickenberger a188653334 Add myself as reviewer to test/conformance/OWNERS
I'd like to start fielding more reviews of this code since I'm actively
involved in efforts that are consumers of it
2018-10-29 15:48:00 -07:00
Tim Allclair fe7fe3cc64 Implement a basic RuntimeClass E2E 2018-10-29 12:44:56 -07:00
k8s-ci-robot 0768fa5604
Merge pull request #70188 from rajansandeep/ipv6tests
Extend DNS ConfigMap tests to support IPv6
2018-10-29 12:08:03 -07:00
walter 735ad9ed63 Fixed lint errors for pkg/cloudprovider/providers/gce.
Fixed minor issues.
Cleaned up from merge errors.
2018-10-29 11:52:24 -07:00
Sandeep Rajan 9e8bd5ccca extend tests to support ipv6 functionality
ipv6 tests for configmap
2018-10-29 12:34:00 -04:00
k8s-ci-robot fb6716e83c
Merge pull request #67495 from islinwb/policy_psp
use PodSecurityPolicySpec of policy/v1beta1 instead of extensions/v1beta1
2018-10-29 08:31:15 -07:00
Gyuho Lee 1adb8100ba staing/apimachinery: fix typo "perfer" to "prefer"
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
2018-10-27 20:29:54 -07:00
ravisantoshgudimetla fedfddcb21 Build files 2018-10-27 19:06:24 -04:00
ravisantoshgudimetla e47d587bee Fix e2e node status updates 2018-10-27 19:04:52 -04:00
k8s-ci-robot 8616687c90
Merge pull request #70282 from justinsb/better_unsupported_provider_messages
Disambiguate "unsupported provider" messages
2018-10-27 13:49:05 -07:00
Jordan Liggitt 57df11bc0f Switch kubectl rollout to directly rolling back deployments 2018-10-26 23:48:44 -04:00
k8s-ci-robot 7b5705c619
Merge pull request #70203 from ravisantoshgudimetla/fix-e2e-resource-limits
Fix e2e resource limits
2018-10-26 19:13:41 -07:00
k8s-ci-robot 95613765e4
Merge pull request #70114 from mikedanese/svcacctscale
scale test service account token projection in kubemark
2018-10-26 17:58:01 -07:00
Samuel Davidson 294e02ed4b Revert "limit forbidden error to details of what was forbidden"
This reverts commit ecbd013795.
2018-10-26 15:58:09 -07:00
Patrick Ohly 248df4ac58 e2e: update bazel BUILD files
Generated via hack/update-bazel.sh.
2018-10-27 00:39:44 +02:00
Patrick Ohly a56c518292 e2e CSI: bump all containers to v0.4.1 2018-10-27 00:39:44 +02:00
k8s-ci-robot 1355e6b277
Merge pull request #70283 from justinsb/only_reconcile_health_check_on_gce
e2e: Only do LB health check reconciliation test on GCE
2018-10-26 14:44:01 -07:00
Patrick Ohly 38efff564c e2e: deploy from manifest files + enhance CSI volume output
Ensuring that CSI drivers get deployed for testing exactly as intended
was problematic because the original .yaml files had to be converted
into code. e2e/manifest helped a bit, but not enough:
- could not load all entities
- didn't handle loading .yaml files with multiple entities
- actually creating and deleting entities still had to be done in tests

The new framework utility code handles all of that, including the
tricky cleanup operation that tests got wrong (AfterEach does not get
called after test failures!).

In addition, it is ensuring that each test gets its own instance of the
entities.

The PSP role binding for hostpath is now necessary because we switch
from creating a pod directly to creation via the StatefulSet
controller, which runs with less privileges.

Without this, the hostpath test runs into these errors in the
kubernetes-e2e-gce job:

Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpath-attacher: {statefulset-controller } FailedCreate: create Pod csi-hostpath-attacher-0 in StatefulSet csi-hostpath-attacher failed error: pods "csi-hostpath-attacher-0" is forbidden: unable to validate against any pod security policy: []
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpath-provisioner: {statefulset-controller } FailedCreate: create Pod csi-hostpath-provisioner-0 in StatefulSet csi-hostpath-provisioner failed error: pods "csi-hostpath-provisioner-0" is forbidden: unable to validate against any pod security policy: []
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpathplugin: {daemonset-controller } FailedCreate: Error creating: pods "csi-hostpathplugin-" is forbidden: unable to validate against any pod security policy: []

The extra role binding is silently ignored on clusters which don't
have this particular role.
2018-10-26 22:07:34 +02:00
k8s-ci-robot c56dcddbe4
Merge pull request #70253 from dekkagaijin/master
always allow unimportant legacy root paths
2018-10-26 12:22:29 -07:00
ravisantoshgudimetla c0a8d4702a Fix e2e test and build file 2018-10-26 13:48:51 -04:00
ravisantoshgudimetla fad6b326e3 Fix default algorithm provider priority insertion 2018-10-26 13:48:44 -04:00
Mike Danese 7613482623 scale test service account token projection in kubemark 2018-10-26 09:57:56 -07:00
Justin SB 4f3aafd6f5
e2e: Only do LB health check reconciliation test on GCE
The test requires restarting kube-controller-manager, we don't support
that on GKE.

Fix #70280
2018-10-26 07:19:43 -04:00
Justin SB ff8a0e08cb
Disambiguate "unsupported provider" messages
When we get an unsupported provider message, it often isn't clear what
method actually failed - add more information to the error message.

Issue #70280
2018-10-26 07:13:20 -04:00
Patrick Ohly dcbcef13b4 e2e: simplify gcePD .yaml files
Setting command line arguments via env variables that are not needed
by the binaries is just unnecessarily complex. The driver renaming
code in the E2E manifest PR would have to be made more complex to deal
with such a deployment. It is easier for that code and humans who look
at the .yaml file to remove the indirection.
2018-10-26 10:32:46 +02:00
Patrick Ohly 1effe0ca0f e2e framework: UniqueName
This is needed for tests which have to create entities that aren't
namespaced, like ServiceAccounts.
2018-10-26 10:32:46 +02:00
k8s-ci-robot 022c05c141
Merge pull request #70254 from msau42/add-out-of-tree-pd-tests
Add new driver config for testing PD CSI driver out of tree
2018-10-25 23:24:22 -07:00
Michelle Au 9acb8bca6d Add new driver config for testing PD CSI driver out of tree 2018-10-25 16:42:51 -07:00
k8s-ci-robot 35290b2207
Merge pull request #70243 from runcom/test-output-useful
test/e2e/storage: fix output in case of failure and use another NFS mount option
2018-10-25 15:25:46 -07:00
k8s-ci-robot 1975747b10
Merge pull request #70210 from cblecker/remove-golang-fork
Remove golang fork for typecheck
2018-10-25 14:03:17 -07:00
k8s-ci-robot ebace7718a
Merge pull request #70099 from grayluck/five-sec-hc
Change GCE LB health check interval from 2s to 8s
2018-10-25 14:03:07 -07:00
Jake Sanders 2a585d3fc7 bump metadata-concealment version to 1.1.1 2018-10-25 13:05:37 -07:00
Jake Sanders 884bfd11d9 always allow unimportant legacy root paths 2018-10-25 12:32:19 -07:00
Aniket Kulkarni 82f83a8f82 Updating build files after review comments 2018-10-25 14:49:01 -04:00
k8s-ci-robot 9ed206e3b9
Merge pull request #70206 from runcom/fix-cronjob-e2e
test/e2e/apps: fix race in cronjob test
2018-10-25 11:46:50 -07:00
Antonio Murdaca fc80120a0f test/e2e/storage: use relatime for checking NFS options
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2018-10-25 20:44:33 +02:00
Antonio Murdaca ebdc25a80e test/e2e/storage: provide useful output if test fail
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2018-10-25 20:44:28 +02:00
Aniket Kulkarni 45aec048db Incorporating review comments 2018-10-25 14:29:01 -04:00
Christoph Blecker e415c1ec1d
Fix typecheck test error message
extra characters due to whitespace differences
2018-10-25 11:27:58 -07:00
Christoph Blecker 8574c38f81
Update srcimporter.go to golang/go@5f0a9ba
Also move to third_party/ as it's copied code.
2018-10-25 11:27:53 -07:00
k8s-ci-robot 2dc511a4ec
Merge pull request #70233 from jbartosik/e2e-deflake
Change back HPA e2e tests to request 500 mCPU
2018-10-25 08:24:56 -07:00
k8s-ci-robot 63e9ecabb6
Merge pull request #70209 from ixdy/update-images-after-#69995
Update images after #69995
2018-10-25 05:55:29 -07:00
Joachim Bartosik 1b90dc96d7 Change back HPA e2e tests to request 500 mCPU
I increased request from 500mCPU to 1CPU in
https://github.com/kubernetes/kubernetes/pull/70125 but this interacts
poorly with other e2e tests (higher requests mean pods fil to schedule).
So revert that change.
2018-10-25 11:16:31 +02:00
k8s-ci-robot 689df2010d
Merge pull request #68676 from mikkeloscar/fix-redis-statefulset-test
Fix Redis StatefulSet e2e test
2018-10-24 22:53:05 -07:00
k8s-ci-robot 0df5462db6
Merge pull request #69700 from verult/repd-e2e-regionalcluster
Updated Regional PD failover test to use node taints instead of instance group deletion
2018-10-24 19:26:51 -07:00
k8s-ci-robot 375ff10803
Merge pull request #70195 from dekkagaijin/master
Increment version for metadata-concealment test image
2018-10-24 18:10:31 -07:00
k8s-ci-robot 432e8d43e0
Merge pull request #70141 from pohly/provider-warning
e2e: allow unknown providers with a warning
2018-10-24 18:10:22 -07:00
yankaiz 40ab479f06 Change GCE LB health check interval from 2s to 8s, unhealthyThreashold to 3
Force ELB to ensureHealthCheck when target pool exists.

Add e2e test to ensure that HC interval will be reconciled when
kube-controller-manager restarts.

Health checks with bigger thresholds and larger intervals will not be reconciled.

Add unittest for ILB and ELB to ensure HC reconciles and is configurable.
2018-10-24 17:55:26 -07:00
Christoph Blecker 328c3ce90a
Swap typecheck to use go/types stdlib 2018-10-24 17:39:52 -07:00
k8s-ci-robot c31d7f5b26
Merge pull request #70199 from mkimuram/issue/70191
Move the provisioning test for retain policy back to volume_provisioning.go
2018-10-24 16:58:31 -07:00
Jeff Grafton 162c00bdbc Update e2e test image manifests 2018-10-24 16:23:12 -07:00
Jeff Grafton 7b93b50e40 Update to use kube-addon-manager:v8.9 2018-10-24 16:19:51 -07:00
Antonio Murdaca 48f12259b1 test/e2e/apps: fix race in cronjob test
With CRI-O we've been hitting a lot of flakes with the following test:

[sig-apps] CronJob should remove from active list jobs that have been deleted

The events shown in the test failures in both kube and openshift were the following:

STEP: Found 13 events.
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:02 +0000 UTC - event for forbid: {cronjob-controller } SuccessfulCreate: Created job forbid-1540412040
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:02 +0000 UTC - event for forbid-1540412040: {job-controller } SuccessfulCreate: Created pod: forbid-1540412040-z7n7t
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:02 +0000 UTC - event for forbid-1540412040-z7n7t: {default-scheduler } Scheduled: Successfully assigned e2e-tests-cronjob-rjr2m/forbid-1540412040-z7n7t to 127.0.0.1
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:03 +0000 UTC - event for forbid-1540412040-z7n7t: {kubelet 127.0.0.1} Pulled: Container image "docker.io/library/busybox:1.29" already present on machine
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:03 +0000 UTC - event for forbid-1540412040-z7n7t: {kubelet 127.0.0.1} Created: Created container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:03 +0000 UTC - event for forbid-1540412040-z7n7t: {kubelet 127.0.0.1} Started: Started container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:14:12 +0000 UTC - event for forbid: {cronjob-controller } MissingJob: Active job went missing: forbid-1540412040
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:02 +0000 UTC - event for forbid: {cronjob-controller } SuccessfulCreate: Created job forbid-1540412100
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:02 +0000 UTC - event for forbid-1540412100: {job-controller } SuccessfulCreate: Created pod: forbid-1540412100-rq89l
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:02 +0000 UTC - event for forbid-1540412100-rq89l: {default-scheduler } Scheduled: Successfully assigned e2e-tests-cronjob-rjr2m/forbid-1540412100-rq89l to 127.0.0.1
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:06 +0000 UTC - event for forbid-1540412100-rq89l: {kubelet 127.0.0.1} Started: Started container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:06 +0000 UTC - event for forbid-1540412100-rq89l: {kubelet 127.0.0.1} Created: Created container
Oct 24 20:20:05.541: INFO: At 2018-10-24 20:15:06 +0000 UTC - event for forbid-1540412100-rq89l: {kubelet 127.0.0.1} Pulled: Container image "docker.io/library/busybox:1.29" already present on machine

The code in test is racy because the Forbid policy can still let the controller to create
a new pod for the cronjob. CRI-O is fast at re-creating the pod and by the time
the test code reaches the check, it fails. The events are as follow:

[It] should remove from active list jobs that have been deleted
  /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/apps/cronjob.go:192
STEP: Creating a ForbidConcurrent cronjob
STEP: Ensuring a job is scheduled
STEP: Ensuring exactly one is scheduled
STEP: Deleting the job
STEP: deleting Job.batch forbid-1540412040 in namespace e2e-tests-cronjob-rjr2m, will wait for the garbage collector to delete the pods
Oct 24 20:14:02.533: INFO: Deleting Job.batch forbid-1540412040 took: 2.699182ms
Oct 24 20:14:02.634: INFO: Terminating Job.batch forbid-1540412040 pods took: 100.223228ms
STEP: Ensuring job was deleted
STEP: Ensuring there are no active jobs in the cronjob
[AfterEach] [sig-apps] CronJob
  /go/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:148

It looks clear that by the time we're ensuring that there are no more active jobs, there
could be _already_ a new job spinned, making the test flakes.

This PR fixes all the above by making sure that the _deleted_ job is not in the Active
list anymore, besides other pod already running but with different UUID which is
going to be fine anyway for the purpose of the test.

Signed-off-by: Antonio Murdaca <runcom@linux.com>
2018-10-25 00:14:19 +02:00
k8s-ci-robot 2126045bcc
Merge pull request #70197 from dims/switch-from-mirror-to-main-download-site-for-zookeeper
Switch from mirror to main download site for zookeeper
2018-10-24 14:47:25 -07:00
Kim Min 79599ac419 Prune internal clientset/informer from kubeapiserver admission initializer (#70167)
* externalize pv resize admission controller

* externalize podtolerationrestriction admission controller

* externalize podnodeselector admission controller

* remove internal clientset/informer from kubeapiserver admission initializer

* minor change: fixes scheduler integration test compiliation
2018-10-24 14:47:16 -07:00
k8s-ci-robot 10121e6448
Merge pull request #69898 from Huang-Wei/scheudler-perf-more-cases
add more scheduler benchmark testcases
2018-10-24 14:47:06 -07:00
k8s-ci-robot 86e2d2bf03
Merge pull request #69587 from jonfriesen/fix_golint_tests
Fixes golint for test/list
2018-10-24 14:46:57 -07:00
Cheng Xing 8ee882a98a Updated Regional PD failover test to use node taints instead of instance group deletion 2018-10-24 13:22:39 -07:00
Patrick Ohly bf08f5c63c e2e: allow unknown providers with a warning
The E2E refactoring tightened the sanity checking of the --provider
parameter such that it only allowed known providers. That seemed to
make sense because it catches typos, but it turned out that various
callers depended on the "accept arbitrary provider value" behavior,
therefore it gets restored.
2018-10-24 21:57:02 +02:00
Aniket Kulkarni bfc0d45303 e2e tests for flex volume expand
mysterious build error
2018-10-24 15:31:24 -04:00
Aniket Kulkarni 75350d11e9 adding support for expanding in use persistent volumes for Flex 2018-10-24 15:31:16 -04:00
Masaki Kimura 6afcaccf7d Move the provisioning test for retain policy back to volume_provisioning.go
Provisioning test for retain policy requires each driver's backend volume
deletion logic. Without it, volume leakage happens. Move this test back
to volume_provisioning.go and test it only for gce, until general
backend volume deletion code for each driver becomes available.

Fixes: #70191
2018-10-24 19:21:28 +00:00
Davanum Srinivas 3e56e3c1c6
Switch from mirror to main download site for zookeeper
Change-Id: I14cd6aeef2f10ac3d270d03e624216eed78368ec
2018-10-24 14:46:45 -04:00
Jake Sanders 5d943acc09 Increment version for metadata-concealment test image 2018-10-24 11:36:25 -07:00
Wei Huang 5259d09c38
add more scheduler benchmark testcases
- add benchmark test for PodAffinity
- add benchmark test for NodeAffinity
- add 1000-nodes test for PodAntiAffinity/PodAffinity/NodeAffinity
2018-10-24 11:06:32 -07:00
zuoxiu.jm 38ddb4413a update token authn constructor 2018-10-24 16:56:38 +08:00
Audrey Lim 3eaab702fb Annotate errors in apimachinery e2e tests 2018-10-23 20:34:20 -07:00
k8s-ci-robot daf17e2aee
Merge pull request #69571 from bclau/tests-linux-commands-fix
tests: Makes tests' commands platform agnostic
2018-10-23 09:33:30 -07:00
k8s-ci-robot 8be25aaade
Merge pull request #70125 from jbartosik/e2e-deflake
Deflake e2e tests of HPA
2018-10-23 08:21:30 -07:00
k8s-ci-robot 83d3f7033b
Merge pull request #69441 from mkimuram/provision
Move minimum set of dynamic provisioning e2e test to testsuites
2018-10-23 07:08:35 -07:00
Joachim Bartosik e2394bd3b8 Deflake e2e tests of HPA
Resource consumer might use slightly more CPU than requested. That
resulted in HPA sometimes increasing size of deployments during e2e
tests. Deflake tests by:
- Scaling up CPU requests in those tests. Resource consumer might go a fixed
  number of milli CPU seconds above target. Having higher requests makes
  the test less sensitive.
- On scale down consume  CPU in the middle between what would generate
  recommendation of expexted size and 1 pod fewer (instead of righ on
  edge beween expected and expected +1).

Some variables were int32 but always cast to int before use. Make them
int.
2018-10-23 14:50:41 +02:00
k8s-ci-robot fecaa546c9
Merge pull request #69593 from dekkagaijin/legacy-metadata-test
account for disabled legacy metadata endpoints
2018-10-23 03:20:44 -07:00
k8s-ci-robot b1fbdfe76b
Merge pull request #69993 from Pradip-Khakurel/issue-#34059-annotate-auth-e2e-errors
make error messages more helpful for some e2e auth tests
2018-10-23 02:08:22 -07:00
k8s-ci-robot 4d182cec03
Merge pull request #70105 from mikedanese/trev1
promote --service-account-api-audiences to top level kube-apiserver config
2018-10-22 23:59:34 -07:00
k8s-ci-robot baa8d800ad
Merge pull request #69582 from mikedanese/trev7
tokenreview: authenticator interface changes
2018-10-22 23:59:04 -07:00
k8s-ci-robot 2472d67357
Merge pull request #68218 from jcsirot/fix-SkipIfMultizone-message
Fix the skip message since it was the exact opposite of the tested co…
2018-10-22 22:46:32 -07:00
k8s-ci-robot 77a1199b6c
Merge pull request #70019 from enj/enj/t/shared_etcd_stubs
Refactor dry run test to reuse ETCD storage data
2018-10-22 19:44:29 -07:00
Mike Danese 371b1e7fed promote --service-account-api-audiences to top level kube-apiserver config
The service account authenticator isn't the only authenticator that
should respect API audience. The authentication config structure should
reflect that.
2018-10-22 18:21:37 -07:00
Mike Danese e5227216c0 rebase authenticators onto new interface. 2018-10-22 10:16:59 -07:00
Masaki Kimura 4fcb36e205 Move minimum set of dynamic provisioning e2e test to testsuites 2018-10-22 16:04:43 +00:00
Claudiu Belu fb8d2f7ef5 tests: Fixes DNS tests false positives
If dig fails to reach the DNS, it will output errors to stdout, which
can cause the test -n to falsely pass:

ubuntu@ubuntu:~$ dig +notcp +noall +answer +search kubernetes.default A
;; connection timed out; no servers could be reached
command terminated with exit code 9

ubuntu@ubuntu:~$ test -n "$(dig +notcp +noall +answer +search kubernetes.default A)" && echo OK
OK

This patch solves this issue by making sure the dig command actually succeeds
before checking its output.
2018-10-21 14:29:15 -07:00
k8s-ci-robot 570f9195d0
Merge pull request #69829 from jpbetz/watch-e2e-test1
Add api-machinery 'watch-consistency' e2e test
2018-10-19 22:17:54 -07:00
Claudiu Belu d76108c595 Removes unnecessary SELinuxOptions from test case
The test "should run with the expected status" passes with and without
the set SELinuxOptions, but removing it will ensure that the test will
be able to run and pass on Windows nodes as well.
2018-10-19 17:31:49 -07:00
Benjamin Elder 3787a4b5be register skeleton provider 2018-10-19 17:05:06 -07:00
k8s-ci-robot 82cba09870
Merge pull request #69995 from ixdy/purge-libsystemd-from-debian-base
debian-base: purge libsystemd0 to eliminate CVE false-positives
2018-10-19 16:04:23 -07:00
Monis Khan c16edb2738
Refactor dry run test to reuse ETCD storage data
This change updates the ETCD storage test so that its data is
exported.  Thus it can be used by other tests.  The dry run test was
updated to consume this data instead of having a duplicate copy.

The code to start a master that can be used for "one of every
resource" style tests was also factored out.  It is reused in the
dry run test as well.

This prevents these tests from drifting in the future and reduces
the long term maintenance burden.

Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-10-19 18:35:56 -04:00
Joe Betz f87d2c61f3 Add api-machinery 'watch-consistency' e2e test 2018-10-19 14:05:43 -07:00
k8s-ci-robot 8b36038b41
Merge pull request #68483 from pohly/e2e-refactor-pr
e2e refactor
2018-10-19 12:32:01 -07:00
Jeff Grafton 7a8696c331 Update to debian-base 0.4.0
Additionally, update the addon-manager to use kubectl v1.11.3.
2018-10-19 11:13:28 -07:00
k8s-ci-robot c0d9a0728c
Merge pull request #69897 from code-sleuth/develop
Remove error output from stdout to stderr
2018-10-19 04:57:33 -07:00
k8s-ci-robot cfd6343477
Merge pull request #66515 from justinsb/verify_kubectl_dump
Add test for kubectl cluster-info dump
2018-10-18 18:38:52 -07:00
k8s-ci-robot c30f5269a3
Merge pull request #69810 from chrisohaver/checkmem
Add DNS container memory check to scalability tests
2018-10-18 14:44:09 -07:00
Ibrahim Mbaziira 7480650e05
Remove error output from stdout to stderr 2018-10-19 00:28:36 +03:00
Pradip-Khakurel 8c4fd312c9 make error messages more helpful for some e2e auth tests 2018-10-18 22:03:02 +02:00
Chris O'Haver 402266afde add dns pod memory constraint 2018-10-18 10:35:30 -04:00
k8s-ci-robot 0ab29b4852
Merge pull request #69944 from jingxu97/defertest
Make sure kubelet is restarted after it is stopped in the test
2018-10-18 00:10:54 -07:00
Weibin Lin e81776b140 update bazel 2018-10-18 10:18:15 +08:00
Weibin Lin d02e3bd780 use PodSecurityPolicySpec of policy/v1beta1 instead of extensions/v1beta1 2018-10-18 10:18:13 +08:00
k8s-ci-robot 0652e098d0
Merge pull request #67547 from pbarker/audit-api
dynamic audit configuration api
2018-10-17 16:19:39 -07:00
Jing Xu 9de354034b Make sure kubelet is restarted in the storage test
In some storage tests, kubelet is stopped first and the test check node
NotReady state. However, if it fails to have this state, kubelet could
not be restarted because the defer function is placed after the stop
kubelet command. This PR fixes this issue.
2018-10-17 14:19:04 -07:00
k8s-ci-robot 897b3a9fa7
Merge pull request #69437 from ravisantoshgudimetla/promote-resource-limits-priority-function
Promote resource limits priority function to beta
2018-10-17 11:57:02 -07:00
Jeff Grafton a88244598a Use sudo only when not already root 2018-10-16 23:42:22 -07:00
Jeff Grafton 9e4fa1493d Use our forked qemu-static-register scripts instead of a privileged container 2018-10-16 23:41:32 -07:00
k8s-ci-robot bba6e2583e
Merge pull request #69739 from mortent/UnflakeCmdRsTest
Remove flaky test by avoiding reuse of name for replicaset
2018-10-16 19:26:05 -07:00
k8s-ci-robot 1d3d1e8968
Merge pull request #68518 from leakingtapan/golint-fix-volume-empty-dir
fix golint issues for pkg/volume/empty_dir
2018-10-16 17:52:44 -07:00
k8s-ci-robot 851444f382
Merge pull request #68300 from yliaog/e2e-api
Upgraded e2e/apimachinery/aggregator to 1.10 Sample API server
2018-10-16 16:23:17 -07:00
k8s-ci-robot 08be38186d
Merge pull request #69755 from mrunalp/use_fsync
Use fsync instead of sync for test
2018-10-16 13:01:52 -07:00
k8s-ci-robot dbd3be9213
Merge pull request #67695 from ipuustin/start-kubemark
start-kubemark.sh: clean up the shell script.
2018-10-16 10:03:04 -07:00
ravisantoshgudimetla ba71ae7227 E2E and build file generated 2018-10-16 12:58:38 -04:00
Patrick Barker b8e1250487 adds dynamic audit api generated 2018-10-16 13:07:27 +00:00
Patrick Barker 381d0a5d14 adds dynamic audit api 2018-10-16 06:46:34 -06:00
Wei Huang 8726ed29ef
enable and improve e2e of NoExecuteTaintManager
- e2e test file cannot end with "_test.go". rename "taints_test.go" to "taints.go"
- test multiple pods case
2018-10-15 16:02:05 -07:00
Yu Liao ce1e62fb1b Upgraded the test to 1.10 Sample API server. 2018-10-15 15:35:24 -07:00
k8s-ci-robot c7886f8ba4
Merge pull request #69828 from ironcladlou/e2e-psp-reentrancy-fix
Make CreatePrivilegedPSPBinding reentrant
2018-10-15 15:04:53 -07:00
Mrunal Patel 6327c7403b Use fsync instead of sync for test
sync sometimes hangs with misbehaving NFS during the tests

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2018-10-15 14:27:26 -07:00
k8s-ci-robot d54e0fc0bc
Merge pull request #69670 from atlassian/simplify-rand-seed
Simplify rand seeding
2018-10-15 13:53:01 -07:00
Cheng Pan 42ef7ae8d5 fix golint issues for pkg/volume/empty_dir 2018-10-15 20:00:36 +00:00
Dan Mace 0bef5e4325 Make CreatePrivilegedPSPBinding reentrant
Make CreatePrivilegedPSPBinding reentrant so tests using it (e.g. DNS) can be
executed more than once against a cluster. Without this change, such tests will
fail because the PSP already exists, short circuiting test setup.
2018-10-15 15:31:25 -04:00
k8s-ci-robot d20912c83f
Merge pull request #69728 from SataQiu/fix-2018101201
fix some typos
2018-10-13 21:47:08 -07:00
k8s-ci-robot e9066b848d
Merge pull request #64993 from liggitt/aggregator-authz
Add auth-delegator permissions for e2e sample server test
2018-10-13 14:26:58 -07:00
k8s-ci-robot 2129bc9f85
Merge pull request #69742 from apelisse/fix-diff-error
Rename KUBERNETES_EXTERNAL_DIFF to KUBECTL_EXTERNAL_DIFF
2018-10-13 09:54:52 -07:00
k8s-ci-robot 1ba56437d9
Merge pull request #69673 from dims/add-labels-when-conformance-directory-changes
Add labels when conformance/ directory changes
2018-10-13 07:37:32 -07:00
k8s-ci-robot d918327926
Merge pull request #69239 from fedebongio/aggregator-update
upgrading sample-apiserver to 1.10
2018-10-12 20:41:59 -07:00
k8s-ci-robot d82397b5c9
Merge pull request #69192 from tanshanshan/scheduler927
Move pkg/scheduler/algorithm/well_known_labels.go out
2018-10-12 20:41:50 -07:00
k8s-ci-robot 79869afda5
Merge pull request #68910 from msau42/fix-names
Distinguish projected secret, configmap and downward api tests
2018-10-12 20:41:40 -07:00
k8s-ci-robot 9c5cf3ccf7
Merge pull request #69549 from tallclair/podevent-test
Fix WaitTimeoutForPodEvent logic
2018-10-12 19:13:52 -07:00
tanshanshan b7c7966b9f Move pkg/scheduler/algorithm/well_known_labels.go out 2018-10-13 09:10:00 +08:00
k8s-ci-robot 53e85280f4
Merge pull request #69714 from ericchiang/owners
Remove ericchiang from OWNERS files
2018-10-12 16:01:52 -07:00
Federico Bongiovanni f777787481
Update BASEIMAGE
Adding suggested lost in translation missing ARCH to the BASEIMAGE
2018-10-12 15:18:40 -07:00
k8s-ci-robot a8c76d4d57
Merge pull request #69674 from mooncak/fix_e2e_issue
Fix typos in the test comments
2018-10-12 14:48:46 -07:00
k8s-ci-robot 4d4c9065de
Merge pull request #69631 from Huang-Wei/use-gcr-io-pause
use k8s.gcr.io/pause instead of kubernetes/pause
2018-10-12 14:48:36 -07:00
k8s-ci-robot 3348f9ae23
Merge pull request #69627 from dims/updating-ghodss-yaml-to-latest-version-2
Updating ghodss/yaml and gopkg.in/yaml.v2 to latest version 2
2018-10-12 14:48:26 -07:00
Antoine Pelisse 572a028148 kubectl diff: Print error when something goes wrong 2018-10-12 14:12:32 -07:00
Jordan Liggitt f8cfb7437c Add auth-delegator permissions for e2e sample server test 2018-10-12 15:01:17 -04:00
Morten Torkildsen dcb3d8b14f Remove flaky test by avoiding reuse of name for replicaset 2018-10-12 12:01:07 -07:00
Tim Allclair 5214be3f16 Fix WaitTimeoutForPodEvent logic 2018-10-12 11:59:45 -07:00
SataQiu e1d5b97f3f fix some typos 2018-10-12 22:29:18 +08:00
k8s-ci-robot 23a84774b1
Merge pull request #69241 from wangzhen127/heartbeat
NodeLifecycleController treats node lease renewal as a heartbeat signal
2018-10-12 03:32:15 -07:00
k8s-ci-robot e1a1aa2112
Merge pull request #69695 from justinsb/service_utils_typos
e2e: fix some small typos
2018-10-11 20:46:30 -07:00
k8s-ci-robot b516a99a01
Merge pull request #69568 from bclau/fixes-webhook-test
Fixes webhook test failures
2018-10-11 19:35:42 -07:00
k8s-ci-robot b3033a7278
Merge pull request #67934 from tanshanshan/typo828
fix spelling mistakes
2018-10-11 18:26:24 -07:00
Eric Chiang 766f5875bf Remove ericchiang from OWNERS files
Kept myself in the OpenID Connect ones for now.
2018-10-11 18:11:15 -07:00
Zhen Wang e35d808aa2 NodeLifecycleController treats node lease renewal as a heartbeat signal 2018-10-11 16:07:15 -07:00
k8s-ci-robot cdf264cab5
Merge pull request #69651 from justinsb/faster_dns_e2e
e2e: speed up DNS tests
2018-10-11 15:22:25 -07:00
k8s-ci-robot 94306c12f5
Merge pull request #69057 from denkensk/create-a-new-scheduler-constructor
create-a-new-scheduler-constructor
2018-10-11 13:45:02 -07:00
Justin Santa Barbara ee1b0c81a7 e2e: fix some small typos 2018-10-11 13:06:42 -07:00
k8s-ci-robot 632df63061
Merge pull request #68822 from pohly/csi-pod-creation
CSI E2E: retry csi-pod creation
2018-10-11 12:32:28 -07:00
Wei Huang 328f63179e
use k8s.gcr.io/pause instead of kubernetes/pause 2018-10-11 11:39:57 -07:00
mooncake 91419e6782 Fix typos in the test comments
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-11 19:25:55 +08:00
Davanum Srinivas 744b8c1694
Add labels when conformance/ directory changes
So we don't have to do this manually for every PR

Change-Id: I4dc656e84ff6c48bc582b2aee6615bef11553257
2018-10-11 07:18:07 -04:00
Mikhail Mazurskiy 55bc668f8d
Seed math/rand in TestMain before tests are executed 2018-10-11 22:07:45 +11:00
Mikhail Mazurskiy f5e9c0473c
Remove unnecessary random re-seeding
Package k8s.io/apimachinery/pkg/util/rand seeds the random based on time
during the package initialization, so no need to re-seed it.
2018-10-11 22:02:01 +11:00
Mikhail Mazurskiy 3a243090a5
Simplify random seed initialization
There is no need to set the time zone as the result does not
depend on it
2018-10-11 21:01:15 +11:00
Patrick Ohly 97101a6a86 e2e: update bazel BUILD files
Generated via hack/update-bazel.sh.
2018-10-11 11:36:25 +02:00
Patrick Ohly 8b17db7e0c e2e: modular framework
Not all users of the E2E framework want to run cloud-provider specific
tests. By splitting out the code it becomes possible to decide in
a E2E test suite which providers are supported.

This is achieved in two ways:
- the framework calls certain functions through a provider
  interface instead of calling specific cloud provider functions
  directly
- tests that are cloud-provider specific directly import the
  new provider packages

The ingress test utilities are only needed by a few tests. Splitting
them out into a separate package makes the framework simpler for test
suites not using those tests.

Fixes: #66649
2018-10-11 11:16:11 +02:00
k8s-ci-robot 8012b9583e
Merge pull request #69650 from justinsb/remove_etcd2_test_workarounds
e2e: remove workarounds for etcd2 test jobs
2018-10-10 22:22:58 -07:00
k8s-ci-robot a9fb3f5fc9
Merge pull request #69616 from k82cn/sched_perf_owner
Aligned sched_perf owner.
2018-10-10 20:25:04 -07:00
k8s-ci-robot 362de68bef
Merge pull request #68353 from wgliang/fixbug/handle-close-not-check-err
fix bug not check error before defer conn.Close()
2018-10-10 20:24:27 -07:00
Justin Santa Barbara ed7840ad50 e2e: speed up DNS tests
Poll a little more often, and use PollImmediate instead of Poll.
2018-10-10 19:33:57 -07:00
Justin Santa Barbara 9023dae86b e2e: remove workarounds for etcd2 test jobs
Now we've removed support for etcd2, we should make sure we're testing
chunking fully.
2018-10-10 19:31:57 -07:00
k8s-ci-robot 8042411f0c
Merge pull request #65296 from lichuqiang/povision_inter_test
Add volume topology-aware dynamic provisioning related integration case
2018-10-10 13:13:48 -07:00
k8s-ci-robot 9c94363ef9
Merge pull request #69105 from pohly/e2e-settings
E2E settings
2018-10-10 12:01:07 -07:00
Davanum Srinivas 65da81f42e
Fix up test cases
Change-Id: Ib9245f78dbfb88f1f37a26ca64bf80d3f78d7497
2018-10-10 10:24:09 -04:00
wangqingcan a74fd15e62 create a new scheduler constructor 2018-10-10 17:10:10 +08:00
Da K. Ma 0064c2c4d4 Aligned sched_perf owner.
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-10-10 16:05:04 +08:00
lichuqiang db775814e2 add volume topology-aware dynamic provisioning integration case 2018-10-10 09:38:04 +08:00
Michelle Au 17c0e9f7ea Update build and conformance test list 2018-10-09 14:27:58 -07:00
Michelle Au 253e8d5b74 Update test suite names 2018-10-09 14:25:30 -07:00
Michelle Au cb7cb9aa8e Keep related test cases and delete the rest 2018-10-09 14:25:29 -07:00
Michelle Au f82ff5b16d Break up projected.go into projected_combined/configmap/secret/downwardapi 2018-10-09 14:25:29 -07:00
Kenichi Omichi 2e6a8deece Add debugging info in pv/pvc protection e2e tests
When facing an issue which is due to lack of PV/PVC Protection
finalizer on the e2e tests, the error message is just like

  Expected
      <bool>: false
  to be true

Actually we cannot understand what happened during the tests.
This adds more debugging info on the tests.
2018-10-09 21:15:45 +00:00
Jake Sanders e5945c2da0 account for disabled legacy metadata endpoints
Signed-off-by: Jake Sanders <jsand@google.com>
2018-10-09 13:43:17 -07:00
k8s-ci-robot 830e09cc96
Merge pull request #46517 from goblain/cli-port-forward-listen
port-forward listen on address
2018-10-09 12:38:55 -07:00
Jon Friesen 65ada74b98 Fixes golint for test/list
Fixes minor golint errors in the test/list tool.

ref: #68026
2018-10-09 12:32:27 -07:00
k8s-ci-robot 637ba154c8
Merge pull request #65189 from juanvallejo/jvallejo/path-fixes-cmd-copy
fix paths w shortcuts when copying from pods
2018-10-09 10:14:28 -07:00
juanvallejo e55a28d169
fix paths w shortcuts when copying from pods
Addresses an issue where copying from a remote location containing path
shortcuts (podName:../../../tmp/foo) causes an index out of range panic.
2018-10-09 10:27:54 -04:00
k8s-ci-robot 321313b19e
Merge pull request #69004 from mgdevstack/master-pods-websocket-conformance
Promote pod's websocket based NodeConformance tests to Conformance
2018-10-08 22:28:12 -07:00
k8s-ci-robot 1d2e10c7c6
Merge pull request #69541 from justinsb/remove_unnecessary_mkdir
Remove superfluous MkdirAll from MakeTempDirOrDie
2018-10-08 20:55:30 -07:00
Guoliang Wang f5ff020892 fix bug not checkou err before defer conn.CLose() 2018-10-09 10:35:50 +08:00
k8s-ci-robot a34123d9c3
Merge pull request #67901 from dims/drop-flaky-test-from-conformance
Remove conformance tag from flaky test
2018-10-08 19:24:58 -07:00
Claudiu Belu 7cd4ebf3c3 tests: Makes tests' commands platform agnostic
Some commands used in tests are Linux specific and do not exist
or do not behave the same on Windows nodes. This can cause those
tests to fail on Windows nodes.

Replaces the mentioned commands with ones that behave the same on
both Linux and Windows.
2018-10-08 17:19:18 -07:00
Claudiu Belu 6db2dadc87 Fixes webhook test failures
The test "Should be able to deny attaching pod" can randomly fail
because it never waits for the pod to enter a "Running" state. Because
of this, the "kubectl attach" command can potentially fail, if the pod is
not in the correct state.

Additionally, if the "kubectl attach" actually manages to attach, then the
test will hang. The command should be executed with a timeout.
2018-10-08 16:55:33 -07:00
Justin Santa Barbara b56d577e4d Add test for kubectl cluster-info dump
kubectl cluster-info dump is currently giving a schema error; adding a
test for it.
2018-10-08 18:52:52 -04:00
Justin Santa Barbara 58fc3c8c23 Introduce test harness into unit tests
The harness lets us execute code after the test has completed.

Use it to clean-up temp dirs in the flexvolume tests (initially).
2018-10-08 18:44:05 -04:00
Justin Santa Barbara f841f3ab40 Remove superfluous MkdirAll from MakeTempDirOrDie
After the call to ioutil.TempDir, the directory has already been
created, and MkdirAll therefore can't do anything.  The mode argument
in particular is misleading.
2018-10-08 18:11:09 -04:00
k8s-ci-robot 981a064c85
Merge pull request #68793 from aveshagarwal/master-rhbz-1628998
Fix DS tests to set node selectors related annotations on test namespaces to empty.
2018-10-08 10:41:57 -07:00
Radek Pieczonka 4643c6e95e port-forward listen on address
adds an address flag to kubectl port-forward to allow to bind to a different ip then localhost
2018-10-07 22:18:18 +02:00
k8s-ci-robot c00f19bd15
Merge pull request #68403 from wgliang/master.deprecate-Parallelize
Replace Parallelize with function ParallelizeUntil and formally depre…
2018-10-06 09:40:07 -07:00
k8s-ci-robot 664d797245
Merge pull request #69466 from mooncak/fix_test_issues
Remove the duplicated words in test files
2018-10-05 22:18:31 -07:00
k8s-ci-robot bc135bd328
Merge pull request #69198 from mkumatag/fix-tests
Use proper manifest images
2018-10-05 20:25:23 -07:00
k8s-ci-robot 0abb0f533a
Merge pull request #69377 from justinsb/avoid_spurious_highlighting
e2e: change test strings to avoid error highlighting
2018-10-05 18:47:51 -07:00
k8s-ci-robot 0f17e9ade6
Merge pull request #69386 from cblecker/go-1.11
Update to go1.11.1
2018-10-05 17:35:51 -07:00
Christoph Blecker ee3e404122
fix vet error in test/soak/serve_hostnames/serve_hostnames.go
test/soak/serve_hostnames/serve_hostnames.go:124: Warningf format %e has arg ns of wrong type string
2018-10-05 16:05:17 -07:00
Christoph Blecker 781d3f6055
fix vet error in test/soak/cauldron/cauldron.go
test/soak/cauldron/cauldron.go:106: Warningf format %e has arg ns of wrong type string
2018-10-05 16:04:40 -07:00
k8s-ci-robot 13705ac81e
Merge pull request #68310 from cheftako/cpiMove
Moving the cloudprovider interface to staging.
2018-10-05 13:29:01 -07:00
Christoph Blecker 97b2992dc1
Update gofmt for go1.11 2018-10-05 12:59:38 -07:00
Christoph Blecker 962fdbcbca
Bump golang version to 1.11.1 2018-10-05 12:58:56 -07:00
mooncake 4894f5583d Remove the duplicated words in test files
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-10-05 22:55:16 +08:00
Patrick Ohly 4423735dc3 e2e: update bazel BUILD files
Generated via hack/update-bazel.sh.
2018-10-05 14:28:03 +02:00
Patrick Ohly 7305a3e395 e2e/lifecycle: decentralized settings
Tests settings should be defined in the test source code itself
because conceptually the framework is a separate entity that not all
test authors can modify.

For the sake of backwards compatibility the name of the command line
flags are not changed.
2018-10-05 14:24:35 +02:00
Patrick Ohly 752203d3fa e2e/instrumentation: decentralized settings
Tests settings should be defined in the test source code itself
because conceptually the framework is a separate entity that not all
test authors can modify.

Using the new framework/config code also has several advantages:
- defaults can be set with less code
- no confusion around what's a duration
- the options can also be set via command line flags

While at it, a minor bug gets fixed:
- readConfig() returns only defaults when called while
  registering Ginkgo tests because Viperize() gets called later,
  so the scale in the logging soak test couldn't really be configured;
  now the value is read when the test runs and thus can be changed

The options get moved into the "instrumentation.logging"
resp. "instrumentation.monitoring" group to make it more obvious where
they are used. This is a breaking change, but that was already
necessary to improve the duration setting from plain integer to a
proper time duration.
2018-10-05 14:24:35 +02:00
Patrick Ohly 8cde9c08f0 e2e/storage: decentralized settings
Tests shouldn't have to use the central context for their settings,
because conceptually tests and framework get developed independently.

This does not yet use the new framework/config utility code because
that code still needs to be reviewed.

Besides moving the flags, they also get renamed from the top-level
"--csiImage{Version|Registry}" to
"--storage.csi.image.{version|registry}". These flags were introduced
fairly recently and shouldn't be in use much, so now is a good time to
introduce a hierarchical naming for storage flags, in particular
because more flags will be added soon.
2018-10-05 14:24:35 +02:00
Patrick Ohly cf0dcc6ab2 e2e: clarify and enhance configuration support
Storing settings in the framework's TestContext is not something that
out-of-tree test authors can do because for them the framework is a
read-only upstream component. Conceptually the same is true for
in-tree tests, so the recommended approach is to define configuration
settings in the code that uses them.

How to do that is a bit uncertain. Viper has several
drawbacks (maintenance status uncertain, cannot list supported
options, cannot validate the configuration file). How to handle
configuration files is currently getting discussed for kubeadm, with
similar concerns about
Viper (https://github.com/kubernetes/kubeadm/issues/1040).

Instead of making a choice now for E2E, the recommendation is that
test authors continue to define command line flags as before, except
that they should do it in their own code and with better flag names.

But the ability to read options also from a file is useful, so
several enhancements get added:
- all settings defined via flags can also be read from a
  configuration file, without extra work for test authors
- framework/config makes it possible to populate a struct directly
  and define flags with a single function call
- a path and file suffix can be given to --viper-config (as in
  "--viper-config /tmp/e2e.json") instead of expecting the file in
  the current directory; as before, just plain "--viper-config e2e"
  still works
- if "--viper-config" is set, the file must exist; otherwise the
  "e2e" config is optional (as before)
- errors from Viper are no longer silently ignored, so syntax errors
  are detected early
- Viper support is optional: test suite authors who don't want
  it are not forced to use it by the e2e/framework
2018-10-05 14:22:18 +02:00
Guoliang Wang c2622dd9d8 Replace Parallelize with function ParallelizeUntil and formally deprecate the Parallelize 2018-10-05 17:56:56 +08:00
k8s-ci-robot 766d860f86
Merge pull request #69021 from mgdevstack/master-kubelet-conformance
Promote kubelet NodeConformance tests to Conformance
2018-10-04 18:19:25 -07:00
Walter Fender f3f46d5f5a Moving the cloudprovider interface to staging.
Individual implementations are not yet being moved.
Fixed all dependencies which call the interface.
Fixed golint exceptions to reflect the move.
Added project info as per @dims and
https://github.com/kubernetes/kubernetes-template-project.
Added dims to the security contacts.
Fixed minor issues.
Added missing template files.
Copied ControllerClientBuilder interface to cp.
This allows us to break the only dependency on K8s/K8s.
Added TODO to ControllerClientBuilder.
Fixed GoDeps.
Factored in feedback from JustinSB.
2018-10-04 14:41:20 -07:00
k8s-ci-robot 409871ecae
Merge pull request #69310 from liggitt/remove-etcd2
Remove etcd2 storage backend
2018-10-04 13:40:00 -07:00
k8s-ci-robot 166490a473
Merge pull request #69103 from pohly/testfiles
E2E: handling extra files
2018-10-04 13:39:49 -07:00
k8s-ci-robot c568da3ab4
Merge pull request #69384 from oomichi/add-distros
Update options of master/node-os-distro
2018-10-04 10:09:45 -07:00
Jordan Liggitt ad46728158 Switch e2e_node to etcd3 2018-10-04 11:41:16 -04:00
k8s-ci-robot 68536e4382
Merge pull request #68520 from verult/top-auth-integration
Auth integration tests for CSINodeInfo changes
2018-10-03 21:32:01 -07:00
k8s-ci-robot 5dd78df7da
Merge pull request #68982 from aruneli/master
Fixes #65869 Do not listen insecurely if secure port is specified
2018-10-03 17:32:28 -07:00
k8s-ci-robot 16256296d2
Merge pull request #69353 from davidz627/fix/provisionerName
Update provisioner name and don't supply zone in GCE PD CSI test
2018-10-03 15:21:59 -07:00
Cheng Xing c65d7c9a49 NodeAuthorizer and NodeRestriction integration test for CSINodeInfo permissions 2018-10-03 14:31:16 -07:00
k8s-ci-robot 10368ee68b
Merge pull request #68915 from oomichi/issue/68914
Add fall-back to get node IP on host_path tests
2018-10-03 13:01:54 -07:00
k8s-ci-robot e03886c34a
Merge pull request #68297 from leakingtapan/golint-fix-gce-pd
fix golint for pkg/volume/gce_pd
2018-10-03 13:01:34 -07:00
Kenichi Omichi b259e91420 Update options of master/node-os-distro
Some e2e tests are skipped by depending on Linux distribution of
master and node, and the options can be one of "debian", "ubuntu",
"gci" or "custom". This updates the help message of the options.
2018-10-03 17:44:28 +00:00
k8s-ci-robot c635e19e59
Merge pull request #69349 from davidz627/fix/gcePDCSITest
Add PodSecurityPolicy Binding back to GCE PD CSI Test and make non-serial
2018-10-03 10:38:16 -07:00
Justin Santa Barbara 153f91693b e2e: change test strings to avoid error highlighting
The words "error" and "fail" are magic in test output, and are
highlighted in the build logs.  Change some test strings to avoid
hitting the highlighting in normal operation.
2018-10-03 09:37:26 -07:00
k8s-ci-robot c1ad6e961a
Merge pull request #69337 from MrHohn/addon-manager-manifest-8.8
Bump addon-manager to v8.8
2018-10-03 04:44:17 -07:00
k8s-ci-robot f149d2a2c2
Merge pull request #68409 from wgliang/feature/remove-chaosclien
Remove unused chaosclient
2018-10-02 21:46:22 -07:00
k8s-ci-robot c179a9c9df
Merge pull request #67356 from yliaog/master
Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s…
2018-10-02 20:35:51 -07:00
k8s-ci-robot 2d67d782de
Merge pull request #69225 from gnufied/volume-limit-tidy-up
Enable volume limit feature by default
2018-10-02 17:03:32 -07:00
David Zhu fa41fa9acd Update provisioner name and don't supply zone in GCE PD CSI test 2018-10-02 16:52:14 -07:00
David Zhu fd18fc548d Remove redundant [Serial] tags and dont delete CRD's at the end of test 2018-10-02 16:01:38 -07:00
David Zhu e7af381538 Add Pod Security Policy back in to GCE PD Cluster Role 2018-10-02 14:42:14 -07:00
Zihong Zheng 81eae648cb Bump addon-manager to v8.8
- Rebase docker image on debian-base:0.3.2.
2018-10-02 11:43:40 -07:00
Hemant Kumar e38cfb61be Add a e2e test to check node limits 2018-10-02 13:59:05 -04:00
Yu Liao fc21115c3f Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s.io/cluster-bootstrap 2018-10-02 09:46:13 -07:00
k8s-ci-robot 59957af125
Merge pull request #69283 from chrisohaver/trackdns2
Add option to track dns pods
2018-10-02 05:35:33 -07:00
k8s-ci-robot a27adf1612
Merge pull request #69300 from mrunalp/subpath_test_wait_for_event
test: Wait for pod event to show up
2018-10-02 01:12:00 -07:00
k8s-ci-robot a9823bc314
Merge pull request #69154 from pohly/csi-0.4.0
CSI sidecar containers 0.4.0
2018-10-02 01:11:51 -07:00
Patrick Ohly 20c9549c10 e2e: update bazel BUILD files
Generated via hack/update-bazel.sh.
2018-10-02 08:31:03 +02:00
Patrick Ohly 212af1ac29 e2e: abstract access to additional files
The new test/e2e/framework/testfiles package makes it possible to
write tests that do not depend on a specific way of providing
additional test files at runtime. Such tests and the framework are
then more easily reused in other test suites.

In the test/e2e suite file access is enabled based on the existing
"repo-root" command line parameter and the built-in bindata. Tests
using the new API will first check for files under "repo-root" and
then fall back to the builtin data. This way, users of a test binary
can modify those files without having to rebuild the binary.

"repo-root" is still needed because at least some tests check for
additional files (secret.yaml, via ingress_utils.go) that are not part
of the upstream source code and thus may or may not be built into a
test binary.

Tests using bindata or repo-root directly get modified to use the new
API, or removed when they are obsolete: test/e2e/examples.go depended
on files that were removed in
https://github.com/kubernetes/kubernetes/pull/61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in https://github.com/kubernetes/examples/issues/214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

Related-to: #66649 and #23987
2018-10-02 08:31:03 +02:00
k8s-ci-robot d25e6a6f62
Merge pull request #69291 from mrunalp/bump_up_pod_start_short_timeout
Increase the pod start short timeout
2018-10-01 22:21:08 -07:00
k8s-ci-robot de2b43f14d
Merge pull request #64080 from karataliu/klv
Update verbose level for kubectl test
2018-10-01 18:03:45 -07:00
Mrunal Patel c771de1e6b test: Wait for pod event to show up
We are seeing flakes where pod event isn't yet visible when
we check for it leading to test failure.

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2018-10-01 12:28:40 -07:00
Cheng Pan 7d68fd00e6 fix golint for pkg/volume/gce_pd 2018-10-01 18:58:30 +00:00
k8s-ci-robot e567c791aa
Merge pull request #69273 from dims/use-token-file-for-in-cluster-config-during-e2e-tests
Use token file for in cluster config during e2e tests
2018-10-01 09:28:04 -07:00
Mrunal Patel c58fc8ce4b Increase the pod start short timeout
We have seen flakes related to this timeout.

Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2018-10-01 09:27:22 -07:00
Patrick Ohly 39d28d1af4 E2E CSI: bump versions of sidecar containers to 0.4.0
The 0.4.0 versions are what is getting released together with and for
Kubernetes 1.12.
2018-10-01 17:38:39 +02:00
k8s-ci-robot 860d3cb32c
Merge pull request #68887 from jsafrane/csi-roles
Add controller roles to CSI e2e tests
2018-10-01 08:18:36 -07:00
Chris O'Haver 9060fc6e6d add opt to track dns pods 2018-10-01 10:00:16 -04:00
k8s-ci-robot 577e06e0b8
Merge pull request #69222 from SataQiu/fix-2018092805
fix typo
2018-10-01 04:40:34 -07:00
Davanum Srinivas 57f1f6e5b7
Use token file for in cluster config during e2e tests
Change-Id: I08e792d7c4db2d81861eec6f91028ebf26dea8db
2018-10-01 05:55:37 -04:00
Jan Safranek 60f736ed3d Add controller roles to CSI e2e tests
External attacher + provisioner need extra role for leader election.
2018-10-01 10:31:31 +02:00
Mayank Gaikwad 78a15ed1c9 Promote pod's websocket based NodeConformance tests to Conformance 2018-09-30 21:57:49 +05:30
k8s-ci-robot 945e075aa1
Merge pull request #69215 from bertinatto/fix_csi_plugin_test
Fix flake in CSI plugin e2e test
2018-09-29 14:25:21 -07:00
k8s-ci-robot bcc23dfdc1
Merge pull request #68621 from jcsirot/fix-deleting-critical-pod
Move pod created into kube-system namespace delete call into a defer …
2018-09-29 07:58:07 -07:00
k8s-ci-robot 72dd54ec48
Merge pull request #69169 from mgdevstack/master-pods-fmt
Add slow test comment and format import statements in e2e/common/pods.go
2018-09-28 18:57:27 -07:00
Kenichi Omichi dd9cffb18f Add fall-back to get node IP on host_path tests
As the same as the commit[1], this adds fall-back way to get a
node IP address on host_path e2e tests for environments which
don't support external IPs.

[1]: 4e7c2f638d (diff-5ee86aefbb33223865bc542107ea8560L81)
2018-09-28 23:01:18 +00:00
Federico Bongiovanni 54ba2ae877 upgrading sample-apiserver to 1.10 2018-09-28 15:17:29 -07:00
SataQiu 94a653f100 fix typo 2018-09-28 23:41:24 +08:00
Fabio Bertinatto 8894021b99 Fix flake in CSI plugin e2e test 2018-09-28 14:00:39 +02:00
Manjunath A Kumatagi 55868655ff Use proper manifest images 2018-09-28 04:17:07 +00:00
k8s-ci-robot 8fd28eface
Merge pull request #69167 from apelisse/kubectl-diff
Move `diff` command from alpha sub-command to root cmd
2018-09-27 20:52:11 -07:00
k8s-ci-robot f31cec4174
Merge pull request #69149 from mkumatag/update-auth-images
Update authenticated-image-pulling with fat manifest image
2018-09-27 15:53:37 -07:00
k8s-ci-robot 01379fe61e
Merge pull request #69022 from k82cn/k8s_68987
Got allocatable GPUs.
2018-09-27 15:53:19 -07:00
Antoine Pelisse e1eadc5031 Move `diff` command to root rather than alpha
New command is now `kubectl diff` rather than `kubectl alpha diff` since
it's moving out of alpha soon, and will be using dry-run apply to
produce the diff rather than the custom merge logic.
2018-09-27 13:11:43 -07:00
k8s-ci-robot aa3993abc6
Merge pull request #69102 from x13n/test-fix
Fix Stackdriver custom metrics tests
2018-09-27 12:21:36 -07:00
Mayank Gaikwad 440816af3d Add slow test comment and format import statements 2018-09-28 00:47:11 +05:30
k8s-ci-robot 0787715978
Merge pull request #69124 from tanshanshan/httpcode
replace 200 with http.StatusOK
2018-09-27 09:51:48 -07:00
k8s-ci-robot b25bf81573
Merge pull request #69044 from enj/enj/i/gv_remove_pointers
Remove pointer receivers from schema structs
2018-09-27 07:18:40 -07:00
Manjunath A Kumatagi 7b9833ce56 Update authenticated-image-pulling with fat manifest image 2018-09-27 17:43:15 +05:30
Daniel Kłobuszewski 68ebdaacef Fix Stackdriver custom metrics tests
They were broken probably by https://github.com/kubernetes/kubernetes/pull/68015
that introduced a REST mapper which doesn't contain a mapping for Pod
resource, yet the test is depending on it.
2018-09-27 13:26:27 +02:00
k8s-ci-robot 63fd42b10b
Merge pull request #68948 from davidz627/fix/upgradeTestFail
Fix [sig-storage] naming consistency for upgrade tests
2018-09-27 02:28:59 -07:00
k8s-ci-robot 3fe21e5433
Merge pull request #68922 from BenTheElder/version-staging
move pkg/util/version to staging
2018-09-26 22:59:42 -07:00
k8s-ci-robot 25b3ec6c62
Merge pull request #68908 from msau42/add-slow
Move storage tests that take longer than 2 minutes to slow suite
2018-09-26 22:59:23 -07:00
k8s-ci-robot 3d2fcf4155
Merge pull request #68892 from ravisantoshgudimetla/fix-pdb
PDB checks should not be done for terminal pods while evicting
2018-09-26 22:59:14 -07:00
k8s-ci-robot 1e4edac012
Merge pull request #68886 from mgdevstack/master-emptydir-wrapper
Promote emptyDir wrapper volumes tests to Conformance
2018-09-26 20:37:47 -07:00
k8s-ci-robot d89418a083
Merge pull request #68860 from bsalamat/remove-pdb-cache
Remove PDB and its event handlers from the scheduler cache
2018-09-26 19:22:34 -07:00
k8s-ci-robot 48689a9e3a
Merge pull request #68820 from soltysh/cronjob_e2e_flake
Wait for events instead of just checking them in cronjob e2e
2018-09-26 18:10:56 -07:00
tanshanshan acdc45628f use http.StatusOK instead of 200 2018-09-27 08:33:27 +08:00
k8s-ci-robot 7b83d6eb40
Merge pull request #62143 from jennybuckley/mutating-webhooks-on-webhooks
Add e2e test for mutating webhooks affecting webhook-config objects
2018-09-26 15:52:59 -07:00
k8s-ci-robot 4b859010e9
Merge pull request #68757 from neolit123/e2e-fix-k-a-path
e2e/framework: update kubernetes-anywhere path
2018-09-26 14:43:03 -07:00
k8s-ci-robot ea09a3b40c
Merge pull request #68525 from apelisse/kubectl-diff-simplify-interface
kubectl-diff: Simplify interface
2018-09-26 14:42:35 -07:00
Bobby (Babak) Salamat c051f0d31a autogenerated files 2018-09-26 14:22:21 -07:00
Bobby (Babak) Salamat f340f8baf8 Remove PDB and its event handlers from the scheduler cache 2018-09-26 14:22:21 -07:00
David Zhu f33f850ff1 Update GCE PD CSI Driver to run by default and automatically set up secrets with GCP Service Account Key 2018-09-26 10:10:48 -07:00
Monis Khan ad87465e2f
Remove pointer receivers from schema structs
This change makes the schema structs consistently use non-pointer
receivers.  This makes it easier to call these methods since these
structs are used as values instead of pointers.

Signed-off-by: Monis Khan <mkhan@redhat.com>
2018-09-26 09:51:29 -04:00
k8s-ci-robot 4278b75668
Merge pull request #68805 from davidz627/fix/storagePSP
Add privileged test pod security policy to local volume provisioner test service account
2018-09-26 04:57:27 -07:00
k8s-ci-robot 50df6321ca
Merge pull request #68798 from jennybuckley/aggregator-cleanup
Fix typo in aggregator test cleanup
2018-09-26 04:57:17 -07:00
Arun 1761031f5f Fixes #65869 Do not listen insecurely if secure port is specified 2018-09-25 19:06:34 -07:00
Guoliang Wang 1eceb1dcdb Remove unused chaosclient 2018-09-26 08:43:01 +08:00
jennybuckley 1ba644ef6b Add e2e test for mutating webhooks affecting webhook-config objects 2018-09-25 11:21:00 -07:00
k8s-ci-robot 57cd1725ec
Merge pull request #68401 from konstantinos-angelo/patch-1
Fix small typo - "nfds"
2018-09-25 11:04:12 -07:00
k8s-ci-robot 435bd61145
Merge pull request #68354 from wgliang/fixbug/trim
fix wrong usage of strings.TrimLeft
2018-09-25 11:04:02 -07:00
k8s-ci-robot bc6cb90820
Merge pull request #68311 from atoato88/issue/68279
Fix failure message of e2e test about kubectl
2018-09-25 08:37:19 -07:00
k8s-ci-robot c16691037d
Merge pull request #68255 from leakingtapan/golint-fix-ebs
Fix golint for pkg/volume/aws_ebs
2018-09-25 06:13:33 -07:00
k8s-ci-robot 0805860dba
Merge pull request #67870 from yue9944882/refactor/externalize-resource-quota-admission-controller
Externalize resource quota admission controller & controller reconciliation
2018-09-25 02:41:40 -07:00
k8s-ci-robot db322a4944
Merge pull request #67841 from jiayingz/fix-e2e-node
Updates test/e2e_node/device_plugin.go to cope with recent device
2018-09-25 01:27:22 -07:00
k8s-ci-robot c00f45c533
Merge pull request #67612 from mgdevstack/master-commit-runtime-conforamnce
Promote non-table based container-runtime e2e test to Conformance
2018-09-25 01:27:12 -07:00
k8s-ci-robot 06d72ad494
Merge pull request #60848 from adelina-t/configure_test_image_repo
Made image registries configurable from registry.yaml file
2018-09-25 01:27:02 -07:00
Da K. Ma adbdbdec49 Got allocatable GPUs.
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-09-25 12:33:42 +08:00
Mayank Gaikwad 696c9ea0b1 Promote kubelet NodeConformance tests to Conformance 2018-09-25 08:54:20 +05:30
k8s-ci-robot 6b1af84d4a
Merge pull request #64803 from misterikkit/etcd-main
Make integration test work with `go test`.
2018-09-24 19:48:52 -07:00
k8s-ci-robot 6da4d79373
Merge pull request #67967 from MrHohn/e2e-esipp-skip-aws
Skip LB session affinity test on AWS
2018-09-24 17:17:10 -07:00
k8s-ci-robot 2fb9fc2400
Merge pull request #67230 from tanshanshan/schedulertest810
add ns for pod in scheduler integration test
2018-09-24 13:19:55 -07:00
k8s-ci-robot 7a58db1ec3
Merge pull request #67144 from mgdevstack/master-kubelet-to-conforamnce
Port kubelet e2e_node tests to e2e/common
2018-09-24 13:19:33 -07:00
k8s-ci-robot 73942d8b13
Merge pull request #67105 from cadmuxe/fix_example_test
fix yaml file path for test/e2e/network/example_cluster_dns.go
2018-09-24 13:19:21 -07:00
k8s-ci-robot b223e880d5
Merge pull request #66937 from mortent/CronJobIntegrationTest
Integration test for CronJob
2018-09-24 13:19:09 -07:00
Benjamin Elder 8b56eb8588 hack/update-gofmt.sh 2018-09-24 12:21:29 -07:00
Benjamin Elder f828c6f662 hack/update-bazel.sh 2018-09-24 12:03:24 -07:00
Benjamin Elder 088cf3c37b find & replace version import 2018-09-24 12:03:24 -07:00
Mayank Gaikwad b9942796db Promote emptyDir wrapper volume tests to conformance 2018-09-24 15:39:20 +05:30
k8s-ci-robot b51c1908cb
Merge pull request #68965 from janetkuo/ttl-test
Enable TTLAfterFinished e2e test
2018-09-23 02:36:53 -07:00
k8s-ci-robot 7ef6f0b625
Merge pull request #68950 from anusha-ragunathan/fix_panic
[e2e] Fix Panic in PersistentVolumes:vsphere
2018-09-22 13:27:48 -07:00
Cheng Pan 000e30086b fix golint for pkg/volume/aws_ebs 2018-09-22 05:56:05 +00:00
Janet Kuo 36c0dab4fc Enable TTLAfterFinished e2e test 2018-09-21 17:18:48 -07:00
David Zhu 8329ceb432 Upgrade test naming consistency for sig 2018-09-21 15:02:20 -07:00
k8s-ci-robot 95ab206e34
Merge pull request #68896 from ixdy/etcd-3.2.24-1
cluster/gce and test/: update etcd:3.2.24-0 image to etcd:3.2.24-1
2018-09-21 14:37:43 -07:00
Anusha Ragunathan b13d35caf7 Fix Panic in PersistentVolumes:vsphere
Bootstrap initializes the necessary vSphere objects before the tests are
run. A call to Bootstrap was missing in persistent_volumes-vsphere.go's
BeforeEach. This results in Panic while running e2e tests for 'vsphere'
provider with a stack trace like this:

  	/usr/local/go/src/runtime/panic.go:502 +0x229
  github.com/docker/kube-e2e-image/vendor/k8s.io/kubernetes/test/e2e/storage/vsphere.glob..func1.1()
  	/go/src/github.com/docker/kube-e2e-image/vendor/k8s.io/kubernetes/test/e2e/storage/vsphere/persistent_volumes-vsphere.go:77
+0xa21
  github.com/docker/kube-e2e-image/vendor/github.com/onsi/ginkgo/internal/leafnodes.(*runner).runSync(0xc4217c9b60,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
  	/go/src/github.com/docker/kube-e2e-image/e2e_test.go:88 +0x2c8
  testing.tRunner(0xc4206e01e0, 0x4212900)
  	/usr/local/go/src/testing/testing.go:777 +0xd0
  created by testing.(*T).Run
  	/usr/local/go/src/testing/testing.go:824 +0x2e0

This change fixes the Panic by calling Bootstrap.

Testing:
After this change, tests with FOCUS set to "PersistentVolumes:vsphere"
 dont Panic. They pass as expected.

Signed-off-by: Anusha Ragunathan <anusha.ragunathan@docker.com>
2018-09-21 13:46:58 -07:00
k8s-ci-robot 2dec334ab8
Merge pull request #68881 from k82cn/k8s_68857
Removed taint check as DaemonSet tolerates default taints.
2018-09-21 09:36:00 -07:00
k8s-ci-robot 0d878e6252
Merge pull request #68551 from bskiba/fix-e2e-small
Autoscaler e2e tests use allocatable to calculate resources
2018-09-21 05:47:50 -07:00
Patrick Ohly 6dbb07c4b6 CSI E2E: retry csi-pod creation
Normally the pod would get created via a DaemonSet controller, but
during testing it is easier to create it directly. We just need to
ignore errors (like 'No API token found for service account
"csi-service-account"') and retry for a while. If the error persists,
the error will still abort and report it eventually.

This problem also occurs elsewhere, so an utility function in the
framework for it seems justified.

Fixes: #68776
2018-09-21 11:45:52 +02:00
Da K. Ma 1fe15010cf Removed taint check as DaemonSet tolerates default taints.
Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com>
2018-09-21 10:03:18 +08:00
k8s-ci-robot 5f49f3b88c
Merge pull request #68380 from bsalamat/test-tag-removal
Remove feature tag from ScheudulerPreemption e2e tests
2018-09-20 17:30:26 -07:00
Michelle Au b1594f3cd1 Move storage tests that take longer than 2 minutes to slow suite 2018-09-20 15:29:00 -07:00
Jeff Grafton 3388e0ce5f Update to use etcd:3.2.24-1 image 2018-09-20 12:40:26 -07:00
ravisantoshgudimetla d776f865a2 PDB checks should not be done for terminal pods while evicting
Signed-off-by: ravisantoshgudimetla <ravisantoshgudimetla@gmail.com>
2018-09-20 14:30:34 -04:00