Commit Graph

2610 Commits (9bfa27a5bfb9739c7d66ce79f67920c3b5791f83)

Author SHA1 Message Date
Saad Ali b6c26ef69b Merge pull request #20569 from thockin/service-e2e-hang-20561
Fix wrong timeout param to wget
2016-02-03 16:00:13 -08:00
Saad Ali ae35a302b5 Merge pull request #20471 from bprashanth/kp-logs
kube-proxy tries to apply latest snapshot
2016-02-03 15:49:02 -08:00
Paul Morie b672785d72 Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
Paul Morie 05bd107301 Add boilerplate checks for Makefiles 2016-02-03 18:35:26 -05:00
Tim Hockin 88dbcffdf0 Fix wrong timeout param to wget 2016-02-03 14:53:32 -08:00
Saad Ali 351138372e Merge pull request #20426 from thockin/service-e2e
Service e2e cleanup  and factoring
2016-02-03 13:10:44 -08:00
Chao Xu f9f5736b01 grep sed 2016-02-03 13:06:07 -08:00
Prashanth Balasubramanian 47f7f4417d Poll w/ timeout for nodeport to disappear. 2016-02-03 12:58:42 -08:00
Justin Santa Barbara f61a5d0400 AWS: Switch arguments to AttachDisk/DetachDisk to match GCE 2016-02-03 20:43:23 +00:00
Justin Santa Barbara 6c87a4be7c AWS: Handle deleting volume that no longer exists
The tests in particular double-delete volumes, so we need to handle this
graciously.
2016-02-03 20:43:14 +00:00
Justin Santa Barbara 1ae1db6027 AWS: Update copy-paste of GCE PD code to latest version
We are (sadly) using a copy-and-paste of the GCE PD code for AWS EBS.
This code hasn't been updated in a while, and it seems that the GCE code
has some code to make volume mounting more robust that we should copy.
2016-02-03 20:43:14 +00:00
Janet Kuo e3cb44aaff Copy deployment's annotations to its RC 2016-02-03 10:19:06 -08:00
Tim Hockin 5ff5890ef9 Remove e2e global 'timeout' 2016-02-03 07:47:21 -08:00
k8s-merge-robot 52e3e2ca78 Merge pull request #20484 from gmarek/fix-kubemark
Auto commit by PR queue bot
2016-02-03 06:12:46 -08:00
k8s-merge-robot 251ea3241b Merge pull request #20485 from gmarek/fix
Auto commit by PR queue bot
2016-02-03 04:56:25 -08:00
k8s-merge-robot a7ef693f84 Merge pull request #20464 from thockin/proxymode-iptables
Auto commit by PR queue bot
2016-02-03 00:17:38 -08:00
k8s-merge-robot 843c11e06a Merge pull request #20452 from caesarxuchao/replace-client-kubelet
Auto commit by PR queue bot
2016-02-02 23:46:58 -08:00
Tim Hockin b7782e73b6 Service e2e cleanup
Make a new jig that is based on the netexec container.  Change the LB tests to
use this new jig and leave TODOs for other tests.

Add UDP testing to the main mutability test.

Flatten the "identical names" test into the mutability test - it is now the
only load-balancer test (speedup).  Create LBs in parallel.
2016-02-02 22:04:27 -08:00
Abhishek Shah d907da25b2 Updated kubeproxy test to test hitting 127.0.0.1:nodeport from node itself 2016-02-02 22:03:14 -08:00
Tim Hockin bb460c04dd netexec: Add / and /echo handlers, bump to 1.4
Add some logs, allow simple "cmd" arg for shell.
2016-02-02 21:46:30 -08:00
Tim Hockin fd5cbdf73f Rename a couple things for obviousness 2016-02-02 21:46:30 -08:00
Chao Xu cddd7b56a4 replace client with clientset in kubelet and other places 2016-02-02 20:28:45 -08:00
Chao Xu fe7887f1ec replace the client with clientset in controllers 2016-02-02 20:28:45 -08:00
mqliang c4a1ab42e3 Move MinReadySeconds out of RollingUpdateDeployment 2016-02-03 11:38:11 +08:00
Jeff Lowdermilk 09b4341e9f Merge pull request #20525 from kubernetes/revert-18910-esmaster
Revert "remove cluster logging e2e test from flaky suite"
2016-02-02 19:02:27 -08:00
Jeff Lowdermilk ae2aece9af Merge pull request #20202 from caesarxuchao/skip-update
skip update when deleting with grace-period=0
2016-02-02 18:24:57 -08:00
Jeff Lowdermilk 136c1f9d94 Merge pull request #20373 from bprashanth/l7_flaky
Mark L7 tests as Feature:Ingress
2016-02-02 18:24:15 -08:00
Jeff Lowdermilk 92d30e7610 Merge pull request #20441 from ihmccreery/feature-deployment
Make HPA Deployment tests [Feature:Deployment] until GKE has enabled them
2016-02-02 18:14:30 -08:00
Minhan Xia d55853dc07 Revert "remove cluster logging e2e test from flaky suite" 2016-02-02 14:39:38 -08:00
Jeff Lowdermilk ea5f1233c2 Merge pull request #20451 from ihmccreery/fix-20362
Reference #20015 for [Flaky] NodeOutOfDisk tests
2016-02-02 14:21:41 -08:00
Janet Kuo 442c75045a Add kubectl rollout undo 2016-02-02 14:20:01 -08:00
Minhan Xia cacda7bc7a Merge pull request #20364 from freehan/estest
explictly check log tainted string
2016-02-02 14:12:52 -08:00
k8s-merge-robot 26202fc98a Merge pull request #18804 from marun/fix-nodeport-services
Auto commit by PR queue bot
2016-02-02 14:07:49 -08:00
Jeff Lowdermilk 03d99d706e Merge pull request #20510 from davidopp/flake3
Un-disable "Pods should get a host IP" e2e.
2016-02-02 13:37:17 -08:00
Jeff Lowdermilk 0e6bca310c Merge pull request #20455 from ihmccreery/daemon-restart-no-flaky
Promote DaemonRestart e2es out of Flaky
2016-02-02 13:36:31 -08:00
Jeff Lowdermilk 0ea5967955 Merge pull request #20423 from yujuhong/adjust_limit
Adjust the limits in the kubelet resource tracking test
2016-02-02 13:35:27 -08:00
Tim Hockin 7ed83ad4f9 Make kube-proxy default to iptables (regression)
This was accidentally introduced as part of the component config changes.
2016-02-02 12:45:11 -08:00
k8s-merge-robot 4a8d811e61 Merge pull request #18910 from freehan/esmaster
Auto commit by PR queue bot
2016-02-02 12:36:25 -08:00
David Oppenheimer ccd810550a Un-disable "Pods should get a host IP" e2e. 2016-02-02 11:39:21 -08:00
Jeff Lowdermilk 8050715725 Merge pull request #20440 from roberthbailey/liveness-logging
Add timestamps to the liveness e2e test
2016-02-02 11:08:12 -08:00
Chao Xu fdf6a0f61c skip update when deleting with grace-period=0 2016-02-02 10:53:25 -08:00
gmarek de740236b8 Randomize password to kubemark master 2016-02-02 15:36:08 +01:00
gmarek e271365192 Re-add deletion of replication controller to the density test 2016-02-02 14:55:27 +01:00
k8s-merge-robot c5260c8c71 Merge pull request #20145 from mqliang/quorum-read
Auto commit by PR queue bot
2016-02-02 05:50:41 -08:00
Jan Safranek 1edf34a4e5 Fixed persistent volume claim controllers processing an old claim.
Fixes #19860 (it may be easier to look at the issue to see exact sequence
to reproduce the bug and understand the fix).

When PersistentVolumeProvisionerController.reconcileClaim() is called with the
same claim in short succession (e.g. the claim is created by an user and
at the same time periodic check of all claims is scheduled), the second
reconcileClaim() call gets an old copy of the claim as its parameter.

The method should always reload the claim to get a fresh copy with all
annotations, possibly added by previous reconcileClaim() call.


The same applies to PersistentVolumeClaimBinder.syncClaim().


Also update all the test to store claims in "fake" API server before calling
syncClaim and reconcileClaim.
2016-02-02 13:52:07 +01:00
k8s-merge-robot df4d50a7ac Merge pull request #20098 from brendandburns/flake2
Auto commit by PR queue bot
2016-02-02 04:22:45 -08:00
k8s-merge-robot 32ab64ce5b Merge pull request #19778 from resouer/runtime
Auto commit by PR queue bot
2016-02-01 21:05:05 -08:00
k8s-merge-robot f7bc0c1fc7 Merge pull request #19608 from ihmccreery/skip-1.0
Auto commit by PR queue bot
2016-02-01 20:33:25 -08:00
k8s-merge-robot ec1f5d03c1 Merge pull request #19934 from gmarek/fix-test
Auto commit by PR queue bot
2016-02-01 20:02:45 -08:00
Isaac Hollander McCreery 14e6910364 Skip kubectl tests that don't work before v1.1 when running against a pre-v1.1 cluster; fixes #18581 2016-02-01 16:56:19 -08:00
Isaac Hollander McCreery dea73fd306 Promote DaemonRestart e2es out of Flaky 2016-02-01 16:07:21 -08:00
Isaac Hollander McCreery fbc5e3f807 Reference 20015 for [Flaky] NodeOutOfDisk tests 2016-02-01 15:58:29 -08:00
Brendan Burns 2aa5dc317b Try harder to delete cloud resources in service tests 2016-02-01 15:34:55 -08:00
Isaac Hollander McCreery bb41ba986b Make HPA Deployment tests [Feature:Deployment] until GKE has enabled them 2016-02-01 13:50:10 -08:00
Robert Bailey 404d0696a9 Add timestamps to the liveness e2e test by changing By -> Logf
in places where the statement is for debugging rather than
describing what the test is doing.
2016-02-01 13:44:31 -08:00
Maru Newby a5e00da867 Fix nodeport service compat with default-deny fw 2016-02-01 21:34:30 +00:00
gmarek 35b317c094 Kubemark scripts retry failed gcloud commands 2016-02-01 21:05:57 +01:00
Piotr Szczesniak 1077d37aaf Revert "Revert "Decrease request size in autoscaling suite"" 2016-02-01 20:42:03 +01:00
Jeff Lowdermilk e44164b939 Revert "Decrease request size in autoscaling suite" 2016-02-01 11:18:32 -08:00
Isaac Hollander McCreery c929d81d52 Use [Feature:ComprehensiveNamespaceDraining] instead of PIt 2016-02-01 10:40:23 -08:00
Yu-Ju Hong 3d1972054f Adjust the limits in the kubelet resource tracking test
The new limits reflect the recent changes in kubelet, and also account for
noise better.
2016-02-01 10:30:14 -08:00
gmarek 5ed9b3fab7 Change the tag for performance tests. 2016-02-01 17:41:48 +01:00
harry 1032067ff9 Replace runtime reference by pkg 2016-02-01 21:06:44 +08:00
Marek Grabowski cfe7ee6dab Merge pull request #20406 from mwielgus/heapster-alpha3
Heapster v0.20.0-alpha3
2016-02-01 12:39:40 +01:00
Marcin Wielgus a14f791d8c Revert "Merge pull request #20329 from kubernetes/revert-20323-bump-influxdb"
This reverts commit b4188ec459, reversing
changes made to 28951bd66a.
2016-02-01 12:12:37 +01:00
Marcin Wielgus ed73bad857 Decrease request size in autoscaling suite 2016-02-01 12:02:26 +01:00
k8s-merge-robot dff7490c57 Merge pull request #20312 from caesarxuchao/replace-many-controllers
Auto commit by PR queue bot
2016-01-31 18:42:26 -08:00
Chao Xu c72d234bbf replacing handwritten client in several controllers 2016-01-31 15:42:02 -08:00
Chao Xu 90b4662d8d Add services/status path, and let the service controller uses Services.UpdateStatus() 2016-01-31 12:39:45 -08:00
Janet Kuo 3396db9510 Add rollback subresource; add rollback logic to deployment controller 2016-01-30 16:00:34 -08:00
k8s-merge-robot 470b69b590 Merge pull request #20310 from janetkuo/remove-deployment-e2e-flaky
Auto commit by PR queue bot
2016-01-30 15:52:54 -08:00
Prashanth Balasubramanian 3726355887 Mark L7 tests as Feature:Ingress 2016-01-30 12:26:31 -08:00
Janet Kuo 42f712467e Use ListOptions when listing RCs in deployment 2016-01-30 12:04:35 -08:00
Janet Kuo c84a0371a2 Deployment adds version info to its new rc 2016-01-30 12:04:35 -08:00
Alex Robinson 1362316c69 Merge pull request #20360 from ihmccreery/draconian-slow
Demote 'Pods should have their auto-restart back-off timer reset on image update' to [Slow]
2016-01-30 10:37:34 -08:00
k8s-merge-robot 1140c12e58 Merge pull request #20245 from mesosphere/jdef_fix_746_remove_git_binary_dependency_conformance
Auto commit by PR queue bot
2016-01-30 08:41:46 -08:00
k8s-merge-robot 1f8bdd2748 Merge pull request #20059 from hongchaodeng/kubemark
Auto commit by PR queue bot
2016-01-30 05:21:17 -08:00
mqliang b0e06c14e5 add a knob to enable quorum read 2016-01-30 20:32:12 +08:00
Janet Kuo 9e236a6c57 Remove 3 deployment e2e tests from flaky list 2016-01-29 22:59:49 -08:00
k8s-merge-robot b276a98b55 Merge pull request #19731 from freehan/nodedown
Auto commit by PR queue bot
2016-01-29 22:26:42 -08:00
k8s-merge-robot 5b3318a0c8 Merge pull request #19612 from swagiaal/add-fsgroup-to-e2e
Auto commit by PR queue bot
2016-01-29 21:55:02 -08:00
Minhan Xia b06094f09d explictly check log tainted string 2016-01-29 18:29:35 -08:00
mqliang c5cda2012a cleanup-policy 2016-01-30 09:57:21 +08:00
Isaac Hollander McCreery b368091f25 Demote 'Pods should have their auto-restart back-off timer reset on image update' to [Slow] 2016-01-29 16:36:18 -08:00
David Oppenheimer 913e6ce359 Revert "Kubemark scripts retry failed gcloud commands" 2016-01-29 13:07:01 -08:00
Fabio Yeon ac373b6e84 Merge pull request #20158 from mwielgus/fix-kubemark
Kubemark scripts retry failed gcloud commands
2016-01-29 12:04:40 -08:00
Fabio Yeon 7d2f2f4b89 Merge pull request #20339 from ihmccreery/hpa-serial
Move HPA tests to [Serial] until #20338 is resolved
2016-01-29 11:09:02 -08:00
Isaac Hollander McCreery a2f2f633af Move HPA tests to [Serial] until #20338 is resolved 2016-01-29 11:05:58 -08:00
Fabio Yeon 6ee2f57490 Merge pull request #19638 from mqliang/RecreateDeployment
remove the flaky mark in deployment e2e test
2016-01-29 10:54:29 -08:00
Isaac Hollander McCreery 5ac20da16c Move HPA e2es into the default slow suite, and add [Feature:ClusterSizeAutoscaling] and [Feature:InitialResources] 2016-01-29 09:20:47 -08:00
Filip Grzadkowski 13480c171d Revert "Yet another try to migrate to the new Heapster" 2016-01-29 15:03:49 +01:00
k8s-merge-robot 8b66e93127 Merge pull request #19510 from madhusudancs/daemonset-nonpointer-template
Auto commit by PR queue bot
2016-01-29 02:17:23 -08:00
Filip Grzadkowski da10882775 Merge pull request #20323 from piosz/bump-influxdb
Yet another try to migrate to the new Heapster
2016-01-29 10:53:22 +01:00
k8s-merge-robot 73f0ce7421 Merge pull request #19947 from mesosphere/jdef_fix_k8sm_738_exampledns_conformance
Auto commit by PR queue bot
2016-01-29 01:46:44 -08:00
Piotr Szczesniak 0c5cc1bde1 Revert "Merge pull request #20215 from kubernetes/revert-20156-bump-influxdb"
This reverts commit 06996d5af9, reversing
changes made to b2f6e7d08f.
2016-01-29 09:19:03 +01:00
Madhusudan.C.S 73fb6dca62 DaemonSetSpec.Template should not be a pointer.
Pod template for DaemonSets isn't optional, like Deployments and Jobs,
so the DaemonSetSpec.Template field should not be a pointer.
2016-01-28 22:51:58 -08:00
Fabio Yeon 4f559b3af7 Merge pull request #20301 from lavalamp/flake-kubectl-logs
Fix potential rounding problem
2016-01-28 16:47:17 -08:00
Fabio Yeon c3e966a4ea Merge pull request #20297 from ihmccreery/skip-feature-serial
Reclassify Restart tests as [Disruptive] and skip [Feature:.+] tests in -serial jobs
2016-01-28 16:47:05 -08:00
Fabio Yeon de99fcc7dd Merge pull request #20294 from dchen1107/test
Log more information for ssh command.
2016-01-28 16:46:51 -08:00
Fabio Yeon 54816aab4f Merge pull request #19624 from jayunit100/e2e_lib_minimal
E2E libraryzation (minimal patch)
2016-01-28 16:46:28 -08:00
Fabio Yeon da19f81e0a Merge pull request #19739 from vishh/cadvisor-v0.20.2
Updating cAdvisor deps to v0.20.4
2016-01-28 16:45:55 -08:00
Daniel Smith 394e91c4ff Fix potential rounding problem 2016-01-28 15:50:39 -08:00
jay vyas ef5f1012f6 E2E Libification rebased (3). 2016-01-28 18:07:53 -05:00
Isaac Hollander McCreery 843b913b07 Reclassify Restart tests as [Disruptive] and skip [Feature:.+] tests in -serial jobs 2016-01-28 14:44:22 -08:00
k8s-merge-robot 76f8a800ed Merge pull request #19716 from pmorie/config-api-move
Auto commit by PR queue bot
2016-01-28 14:39:25 -08:00
Fabio Yeon ef80fcc9d7 Merge pull request #20289 from mml/kubectl-log-e2e
Add debug output to kubectl-log-e2e.
2016-01-28 14:34:48 -08:00
Marcin Wielgus 39428cc0e5 Kubemark scripts retry failed gcloud commands 2016-01-28 23:23:46 +01:00
Fabio Yeon 2bc12a2a8e Merge pull request #20248 from yujuhong/more_logs
e2e reboot: prints stats and logs for not ready pods before and after the test
2016-01-28 14:13:28 -08:00
Fabio Yeon 11a16988b9 Merge pull request #20049 from ixdy/ginkgo-synchronized
Refactor TestE2E to work correctly in parallel mode
2016-01-28 14:12:03 -08:00
Dawn Chen 7943708b96 Log more information for ssh command.
Sometimes e2e test nodes are refused to reboot, but we didn't properly
catch the exit code. This one can give us more information on debugging.
2016-01-28 14:11:54 -08:00
Paul Morie 9030f16071 Move ConfigMap to main API 2016-01-28 17:07:05 -05:00
Fabio Yeon 454ebc4e30 Merge pull request #19547 from ihmccreery/feature-example
Reclassify [Example] and [Feature:Example]
2016-01-28 14:03:48 -08:00
Minhan Xia 9611986509 add e2e test for network partition 2016-01-28 13:56:28 -08:00
Matt Liggett 54a7904682 Add debug output to kubectl-log-e2e.
Fixes #20287.
2016-01-28 13:49:52 -08:00
Fabio Yeon 95f0861502 Merge pull request #20134 from vishh/18704
Increase initial delay for liveness probe test pod from 15s to 30s.
2016-01-28 13:48:55 -08:00
Fabio Yeon a89607f8b1 Merge pull request #20238 from bprashanth/nodeport
Poll nodeip:node-port till kube-proxy updates iptables.
2016-01-28 13:31:21 -08:00
Jeff Grafton 4cc7f9d3f7 Refactor TestE2E to work correctly in parallel mode
The TestE2E function is run on every Ginkgo parallel node.
The cluster cleanup, sanity checking, and log dump operations are only
intended to be called once, however, so these have been moved out into
SynchronizedBeforeSuite and SynchronizedAfterSuite blocks.
2016-01-28 13:24:40 -08:00
Prashanth Balasubramanian 7076ec9ebf Poll nodeip:node-port till kube-proxy updates iptables. 2016-01-28 10:58:29 -08:00
Isaac Hollander McCreery a51f291b91 Classify all HPA tests as [Feature:Autoscaling] 2016-01-27 16:10:33 -08:00
Isaac Hollander McCreery d002a68f3c Label feature tests for Feature:DaemonSet, Feature:Deployment, Feature:ExperimentalResourceUsageTracking, and remove GKE and AWS skip lists 2016-01-27 16:09:12 -08:00
Yu-Ju Hong 4975e5d9d9 e2e reboot: prints stats and logs for not ready pods 2016-01-27 15:41:07 -08:00
James DeFelice 345f027be3 remove this test from conformance since it introduces a binary dependency, git, on previously conforming kube nodes 2016-01-27 22:07:31 +00:00
k8s-merge-robot 458eb5284a Merge pull request #19105 from smarterclayton/prepare_negotiate
Auto commit by PR queue bot
2016-01-27 13:35:30 -08:00
Filip Grzadkowski 0dedf869c7 Revert "Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1" 2016-01-27 17:22:36 +01:00
Jan Safranek 23cd0913f7 Tag dynamically created GCE PD disks.
GCE disks don't have tags, we must encode the tags into Description field.
It's encoded as JSON, which is both human and machine readable:
description: '{"kubernetes.io/created-for/pv/name":"pv-gce-oxwts","kubernetes.io/created-for/pvc/name":"myclaim","kubernetes.io/created-for/pvc/namespace":"default"}'
2016-01-27 15:16:05 +01:00
Filip Grzadkowski 8e319c456c Merge pull request #20156 from piosz/bump-influxdb
Bumped Heapster version to v0.20.0-alpha and Influxdb to 0.9.2.1
2016-01-27 14:39:20 +01:00
k8s-merge-robot bd7255a27e Merge pull request #18901 from kargakis/inert-deployments
Auto commit by PR queue bot
2016-01-27 05:14:38 -08:00
Piotr Szczesniak 8aebecc232 Fixed e2e tests 2016-01-27 11:09:17 +01:00
Isaac Hollander McCreery f318ccb5eb Make upgrades e2es [Feature:Upgrade] 2016-01-26 15:38:44 -08:00
Clayton Coleman 38c7eded99 Prepare for content-type negotiation
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.

Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
Brendan Burns 41412d4a64 Merge pull request #20014 from derekwaynecarr/e2e_serial_namespace
Mark namespace e2e [Serial]
2016-01-26 10:14:58 -08:00
Michail Kargakis 436d2677f9 extensions: support paused deployments
This commit adds support for paused deployments so a user can choose
when to run a deployment that exists in the system instead of having
the deployment controller automatically reconciling it after every
change or sync interval.
2016-01-26 12:42:26 +01:00
k8s-merge-robot 52cb4c1d9d Merge pull request #18445 from resouer/fix-emptydir
Auto commit by PR queue bot
2016-01-26 02:45:54 -08:00
Dawn Chen 1e68e719c3 Merge pull request #20108 from yujuhong/get_logs
e2e reboot: print status and logs for not running/ready pods
2016-01-25 17:33:49 -08:00
Vishnu kannan c7de580623 Update the Metrics test to only require the presense of a list of needed
metrics, and not fail if any new metrics are added.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-01-25 17:24:07 -08:00
Vishnu kannan 1521435fad Increase initial delay for liveness probe test pod from 15s to 30s.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-01-25 17:11:26 -08:00
Dawn Chen c3cab5493d Merge pull request #19998 from dchen1107/test
Move test (Pods should not back-off restarting a container on Livenes…
2016-01-25 16:25:49 -08:00
Dawn Chen c2eb90cc4d Merge pull request #20106 from mikedanese/ds-debug
e2e: bump daemonset reap timeout and add some logging dumps of the na…
2016-01-25 15:35:14 -08:00
Yu-Ju Hong 872e34bfa4 e2e reboot: print status and logs for not running/ready pods 2016-01-25 14:38:42 -08:00
Dawn Chen 72745f226a Merge pull request #20102 from spxtr/resize-logs
Dump core at beginning and end of node resizes.
2016-01-25 14:01:55 -08:00
Dawn Chen 6a341731f2 Merge pull request #20010 from lavalamp/e2e-kubectl-describe
Accept both 'No events.' and 'Events:'
2016-01-25 13:54:07 -08:00
Mike Danese 00576dc07d e2e: bump daemonset reap timeout and add some logging dumps of the namespace state when the e2e test fails 2016-01-25 13:16:06 -08:00
Joe Finney 7164e88a3a Dump core at beginning and end of node resizes. 2016-01-25 09:52:57 -08:00
k8s-merge-robot d3b869ae14 Merge pull request #17922 from smarterclayton/split_codec
Auto commit by PR queue bot
2016-01-25 06:30:39 -08:00
Piotr Szczesniak 23b9ca221d Disabled cluster size autoscaling e2e since they are flaky 2016-01-25 10:34:10 +01:00
Zach Loafman 364814072a Merge pull request #20024 from mikedanese/nil-ptr
fix nil pointer in addons test
2016-01-24 06:56:46 -08:00
harry 0fa5b6c4f7 Add e2e test for wrapper volumes
Use git server in e2e and refactor wrapper builder

Update e2e test to use a fake git server
2016-01-24 16:57:44 +08:00
Mike Danese 00144659ec fix nil pointer in addons test 2016-01-23 22:04:53 -08:00
Hongchao Deng 5c68e9171d clean up generated content in stop-kubemark.sh 2016-01-23 16:07:00 -08:00
Zach Loafman c3fc36ee95 Merge pull request #20042 from thockin/logs-for-19665
slightly better logs in service e2e
2016-01-23 07:33:11 -08:00
Zach Loafman 2cd4d9e2a0 Merge pull request #19557 from ihmccreery/feature-serviceloadbalancer
Make ServiceLoadBalancer a Feature test
2016-01-23 07:32:37 -08:00
derekwaynecarr 93005eb7c9 Mark namespace e2e [Serial] 2016-01-22 22:55:40 -05:00
Tim Hockin 9a75794fd6 slightly better logs in service e2e 2016-01-22 16:12:02 -08:00
Dawn Chen 138f18cc92 Move test (Pods should not back-off restarting a container on LivenessProbe failure)
out of flaky test.

For last 100+ runs, the test never fail in kubernetes-e2e-gce-flaky build.
The only exception is build 10313, but the failure is caused by previous
flaky test, not this one itself.
2016-01-22 13:04:57 -08:00
Zach Loafman 0b00928c74 Merge pull request #19987 from gmarek/remove-test
Remove monitor_resources test
2016-01-22 11:10:06 -08:00
Daniel Smith 4fe0a18024 Accept both 'No events.' and 'Events:' 2016-01-22 10:56:14 -08:00
Clayton Coleman 4a6935b31f Remaining codec change refactors 2016-01-22 13:27:27 -05:00
Eric Tune a99e151b90 Merge pull request #19962 from erictune/service-account-try-not-flaky
Promote ServiceAccount e2e out of [Flaky] status
2016-01-22 09:41:30 -08:00
gmarek 9ac68ecb77 Remove monitor_resources test 2016-01-22 13:38:33 +01:00
Marcin Wielgus 631b965384 Merge pull request #19968 from lavalamp/e2e-kubectl-proxy
e2e kubectl proxy test: Make future flake diagnosis possible
2016-01-22 12:50:06 +01:00
Clayton Coleman 4d127dc969 Initialize API servers with negotiated serializers
Pass down into the server initialization the necessary interface for
handling client/server content type negotiation. Add integration tests
for the negotiation.
2016-01-22 01:10:22 -05:00
Clayton Coleman 125ef6fbc8 Support content-type negotiation in the API server
A NegotiatedSerializer is passed into the API installer (and
ParameterCodec, which abstracts conversion of query params) that can be
used to negotiate client/server request/response serialization. All
error paths are now negotiation aware, and are at least minimally
version aware.

Watch is specially coded to only allow application/json - a follow up
change will convert it to use negotiation.

Ensure the swagger scheme will include supported serializations - this
now includes application/yaml as a negotiated option.
2016-01-22 00:12:50 -05:00
Nikhil Jindal cd2e0c490e Merge pull request #19674 from nikhiljindal/latestAndRegistered
Merge registered and latest and move to apimachinery
2016-01-21 17:19:49 -08:00
Daniel Smith 23fd5e9a33 Make future flake diagnosis possible.
It's currently unclear if the request failed because the proxy wasn't
quite up yet, or if it failed because traffic couldn't get from the
proxy to apiserver. Getting the proxy logs unconditionally should help
narrow this down.
2016-01-21 16:41:26 -08:00
Eric Tune b048814beb Promote ServiceAccount e2e out of [Flaky] status
Was marked as flaky prior to #11291, 6 months ago.
Code has changed many times.
No flakes in last 28 runs, and no Jenkins
history before that.
Follow up in #19024 if you see a flake.
2016-01-21 16:13:56 -08:00
Alex Mohr 76f02d562a Merge pull request #19083 from resouer/allocatable
Use Allocatable to replace Capacity
2016-01-21 16:05:05 -08:00
nikhiljindal 2ad642d370 Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00
Alex Mohr a5dddfcb32 Merge pull request #19851 from thockin/fix-19723-test-strings
Match regexes for error strings in e2e
2016-01-21 14:31:47 -08:00
Alex Mohr 7742c6c78e Merge pull request #19673 from ihmccreery/feature-volumes
Mark Volumes and PersistentVolumes as [Feature:Volumes] instead of [Skipped]
2016-01-21 14:25:06 -08:00
James DeFelice 1b110bff0b fully qualified cluster name should conform to kube-dns spec 2016-01-21 21:44:24 +00:00
k8s-merge-robot bc55b1a58b Merge pull request #19857 from resouer/fakegit
Auto commit by PR queue bot
2016-01-21 11:29:14 -08:00
Alex Mohr e3bec5c1e8 Merge pull request #19833 from swagiaal/reclassify-security-context
Relabel Security Context e2e
2016-01-21 10:50:25 -08:00
Alex Mohr 8044a5f1e1 Merge pull request #19676 from ihmccreery/feature-skip-e2e-test-go
Skip [Feature:.+] instead of [Feature]
2016-01-21 10:44:08 -08:00
Alex Mohr d2d349bc84 Merge pull request #19334 from resouer/network
Networking should be used to hold network related pkgs
2016-01-21 10:26:13 -08:00
Alex Mohr 8c9aa2af33 Merge pull request #19733 from janetkuo/flaky-deployment-recreate
Fix e2e flake: Sync deployment status when with RecreateDeploymentStrategy
2016-01-21 10:23:21 -08:00
Alex Mohr eaa61a72b0 Merge pull request #17919 from justinsb/multizone_gce
Ubernetes Lite support for GCE
2016-01-21 10:22:34 -08:00
Tim Hockin a1df9ff4b4 Match regexes for error strings in e2e 2016-01-21 08:46:37 -08:00
k8s-merge-robot 6cf3a4b5f0 Merge pull request #18957 from jsafrane/devel/pv-name-tag
Auto commit by PR queue bot
2016-01-21 05:55:12 -08:00
harry 845a3145cd Add a fake git server image for e2e test 2016-01-21 14:19:18 +08:00
k8s-merge-robot 03ecde1277 Merge pull request #17535 from mesosphere/jdef_abspath_breaks_proxies
Auto commit by PR queue bot
2016-01-20 21:46:47 -08:00
Justin Santa Barbara 43cbfb74fe Ubernetes Lite GCE: Support multiple zones in GCE cloud provider
We adapt the existing code to work across all zones in a region.

We require a feature-flag to enable Ubernetes-Lite

Reasons:

* There are some behavioural changes if users create volumes with
the same name in two zones.
* We don't want to make one API call per zone if we're not running
Ubernetes-Lite.
* Ubernetes-Lite is still experimental.

There isn't a parallel flag implemented for AWS, because at the moment
there would be no behaviour changes from this.
2016-01-20 23:04:53 -05:00
k8s-merge-robot a0909076c0 Merge pull request #19550 from ihmccreery/unskip-restart
Auto commit by PR queue bot
2016-01-20 16:26:30 -08:00
Harry Zhang 0202a206b8 Integration test to verify alloc works
Add integration test to verify allocatable can works
2016-01-20 15:36:19 +08:00
James DeFelice 75f487f7bf AbsPath should be compatible with proxy-prefixes:
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
Sami Wagiaalla 70fceeff92 Relabel Security Context e2e 2016-01-19 16:49:42 -05:00
Paul Morie c548054560 Add ability to consume secrets in env vars 2016-01-18 12:20:51 -05:00
Piotr Szczesniak bd26e6eae0 Revert "Increase api call latency threshold." 2016-01-18 11:09:47 +01:00
k8s-merge-robot 9e7da41481 Merge pull request #19440 from Random-Liu/add-update-count-in-density-test
Auto commit by PR queue bot
2016-01-16 11:47:32 -08:00
k8s-merge-robot f2d273d481 Merge pull request #19128 from resouer/qps-limit
Auto commit by PR queue bot
2016-01-16 10:03:00 -08:00
k8s-merge-robot c678ef3592 Merge pull request #19410 from mesosphere/jdef_run_job_with_timeout
Auto commit by PR queue bot
2016-01-16 05:53:40 -08:00
Prashanth Balasubramanian 6d172bcad4 Increase api call latency threshold. 2016-01-15 16:59:26 -08:00
Janet Kuo 5a22e30b7d Sync deployment status when with RecreateDeploymentStrategy 2016-01-15 16:10:06 -08:00
Isaac Hollander McCreery 7779e0325d Don't skip Restart tests, just mark as [Feature:Restart] to start stabilizing 2016-01-15 10:39:14 -08:00
k8s-merge-robot 7f095c1f8e Merge pull request #19391 from timstclair/pod-waiting
Auto commit by PR queue bot
2016-01-15 09:33:38 -08:00
k8s-merge-robot 21aa683fb5 Merge pull request #18974 from pmorie/config-env
Auto commit by PR queue bot
2016-01-15 06:42:56 -08:00
k8s-merge-robot 68a6147454 Merge pull request #19543 from ihmccreery/autoscaling-skips
Auto commit by PR queue bot
2016-01-15 06:10:59 -08:00
gmarek ed7e9bfb20 Print only interesting Kubelet metrics in JSON printer 2016-01-15 09:57:07 +01:00
Harry Zhang 936a11e775 Use networking to hold network related pkgs
Change names of unclear methods

Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Isaac Hollander McCreery 93d6ac8556 Skip [Feature:.+] instead of [Feature] 2016-01-14 15:43:41 -08:00
Isaac Hollander McCreery 63bc42c872 Mark Volumes and PersistentVolumes as [Feature:Volumes] 2016-01-14 14:07:33 -08:00
James DeFelice bc92fd6a02 add a timeout for job runs in case something gets stuck 2016-01-14 19:29:38 +00:00
Isaac Hollander McCreery 2d09e07ae6 Add documentation for test labels 2016-01-14 09:54:23 -08:00
gmarek bd4c0427db Remove per-container metrics from ones printed by e2e tests 2016-01-14 14:31:16 +01:00
k8s-merge-robot a57647eea0 Merge pull request #19614 from swagiaal/improve-e2e-util-error
Auto commit by PR queue bot
2016-01-14 03:35:10 -08:00
Marek Grabowski d9fdc96770 Merge pull request #19597 from gmarek/grab-metrics
Add explicit start and end to JSON encoded test data for easier parsing
2016-01-14 10:38:08 +01:00
k8s-merge-robot a385de1e43 Merge pull request #19357 from timstclair/stats-refactor
Auto commit by PR queue bot
2016-01-13 23:54:48 -08:00
k8s-merge-robot 36dc6eab34 Merge pull request #19300 from caesarxuchao/move-SwaggerSchema-to-disocovery
Auto commit by PR queue bot
2016-01-13 23:20:08 -08:00
mqliang a06137a181 remove the flaky mark in deployment e2e test 2016-01-14 11:11:33 +08:00
Random-Liu 6c36b611ea Add lock in density test 2016-01-13 16:15:56 -08:00
Paul Morie 6cfd101251 Add support for ConfigMap keys in env vars 2016-01-13 17:00:15 -05:00
Sami Wagiaalla 608012db16 Add cmd.Run error as in addition to stdout and stderr 2016-01-13 16:08:39 -05:00
Sami Wagiaalla c7be0a2a36 Add FSGroup check to e2e of applicable volumes 2016-01-13 15:07:43 -05:00
Daniel Smith 5c556b1b87 Merge pull request #19566 from spxtr/pod-disks-slow
Label the very slow pod disk tests [Slow].
2016-01-13 10:26:01 -08:00
Chao Xu 144b5acd08 move ServerVersion to DiscoveryClient 2016-01-13 10:11:52 -08:00
gmarek ba8efbddea Add explicit start and end to JSON encoded test data for easier parsing 2016-01-13 15:57:57 +01:00
harry 080cb60dab Fix duplicated rate limit in scheduler
Remove BindingRateLimiterSaturation metrics

Update generated doc
2016-01-13 20:51:55 +08:00
k8s-merge-robot e1a71fefaa Merge pull request #19306 from yifan-gu/kubelet_service_e2e
Auto commit by PR queue bot
2016-01-13 03:33:13 -08:00
k8s-merge-robot cf7d2af14a Merge pull request #19086 from mikedanese/fix-build
Auto commit by PR queue bot
2016-01-13 02:12:44 -08:00
k8s-merge-robot 077d1ddb61 Merge pull request #16713 from mqliang/RecreateDeployment
Auto commit by PR queue bot
2016-01-13 01:04:51 -08:00
mqliang 92798408af implement reconcileRecreateDeployment 2016-01-13 11:27:26 +08:00
k8s-merge-robot 3f2e99b7e7 Merge pull request #19375 from pwittrock/retry
Auto commit by PR queue bot
2016-01-12 17:03:47 -08:00
Yifan Gu fb5ee7397b e2e: Add support for getting kubelet logs from journald.
If there is any successful detection of kubelet.service,
fetch the kubelet logs using journalctl.
2016-01-12 15:52:46 -08:00
k8s-merge-robot 0df7e695d4 Merge pull request #19458 from davidopp/notsclose
Auto commit by PR queue bot
2016-01-12 13:53:13 -08:00
Joe Finney ce6114d5ae Label the very slow pod disk tests [Slow]. 2016-01-12 13:48:52 -08:00
Random-Liu 1df76bc663 Add update count statistics in density test 2016-01-12 11:52:40 -08:00
Isaac Hollander McCreery 6bd9324b6a Make ServiceLoadBalancer a Feature test; closes #19552 2016-01-12 11:29:43 -08:00
Isaac Hollander McCreery b202b2eb24 Reclassify [Example] and [Feature:Example] 2016-01-12 10:34:12 -08:00
Isaac Hollander McCreery cfdae7b482 Make [Autoscaling] [Feature:Autoscaling] 2016-01-12 10:11:56 -08:00
gmarek e704e6c0bc Make MetricsForE2E public 2016-01-12 13:23:47 +01:00
David Oppenheimer 8ac484793d Comment out calls to httptest.Server.Close() to work around
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
Mike Danese 22cfa5ea7e build: move some of hack/lib/ into a new cluster/lib/
Some functionality in hack/lib is currently depended on by
cluster/common.sh so kube-up from the full release tar (which
does not include hack/) is currently broken. With this PR we
create cluster/lib/ and move the necessary bits from hack/
over to get kube-up working again.

Fixes: 96d1b8d1b2
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-11 17:10:26 -08:00
Isaac Hollander McCreery a284927713 Add 5-minute sleep in GKE for dead tunnels to be removed 2016-01-11 15:30:23 -08:00
Minhan Xia 2a7656c0c0 Merge pull request #19383 from freehan/esloggingfix
Improve ES test resilience
2016-01-11 10:08:50 -08:00
gmarek 1dba92824c Changes required for test analyzer 2016-01-11 13:29:05 +01:00
gmarek 5f2222a866 Run test for grabbing metrics from Kubelet only on GCE 2016-01-11 11:54:43 +01:00
k8s-merge-robot 30f206c9e3 Merge pull request #19261 from gmarek/in-test-metrics
Auto commit by PR queue bot
2016-01-11 01:59:29 -08:00
Marek Grabowski b7f03ff600 Merge pull request #19421 from janetkuo/known-flaky
Label 3 flaky deployment e2e tests with [Flaky]
2016-01-11 09:55:42 +01:00
Jeff Lowdermilk bd9d980243 Merge pull request #19425 from ihmccreery/skip-labels
Label [Skipped] tests apprpriately
2016-01-08 14:50:10 -08:00
k8s-merge-robot 37b5726716 Merge pull request #14431 from Defensative/UDP-LB
Auto commit by PR queue bot
2016-01-08 12:39:02 -08:00
Isaac Hollander McCreery b731b20907 Collapse REBOOT_SKIP_TESTS into GCE_DEFAULT_SKIP_TESTS, and remove GCE_SOAK_CONTINUOUS_SKIP_TESTS as redundant (see notes) 2016-01-08 11:09:15 -08:00
Minhan Xia a8d913bf8b do not fail when parsing unexpected log line 2016-01-08 10:40:41 -08:00
Janet Kuo 81c39b45ad Label 3 flaky deployment e2e tests with [Flaky] 2016-01-08 10:26:06 -08:00
Jan Safranek 8c48250a55 Add an integration test for volume tags. 2016-01-08 19:09:29 +01:00
Marek Grabowski 46945ab50f Merge pull request #19402 from gmarek/json
Implement JSON printing for test summaries
2016-01-08 16:21:09 +01:00
gmarek f5a41823c2 Implement JSON printing for test summaries 2016-01-08 10:07:43 +01:00
gmarek 927103121a Update constraints for system container 2016-01-08 09:38:57 +01:00
Tim St. Clair 5ce90c31c9 Treat pod NotFound errors as permanent
When waiting for a pod to become running, a NotFound error should be
treated a permanent, and report the NotFound error rather than a timeout
error.
2016-01-07 16:54:10 -08:00
Abhi Shah 7ca0fa431b Merge pull request #19385 from kubernetes/revert-19297-skip-labels
Revert "Label [Skipped] tests appropriately"
2016-01-07 16:21:24 -08:00
Isaac Hollander McCreery 791cae90f0 Merge pull request #19350 from brendandburns/oncall
Improve error reporting a little in ingress e2e.
2016-01-07 15:51:31 -08:00
Phillip Wittrock 4397bdedf3 Errof -> Warningf 2016-01-07 13:29:17 -08:00