Commit Graph

34934 Commits

Author SHA1 Message Date
Marcin Wielgus
7258b8e4f6 Events for federated secrets controller 2016-08-31 18:57:40 +02:00
Jedrzej Nowak
9e2abd4b02 Fix various typos in pgk/cloudprovider,dns,kubectl 2016-08-31 18:56:52 +02:00
Marcin Wielgus
4c55babcf8 Clean-up and fixes in federated replica set 2016-08-31 18:53:54 +02:00
Kubernetes Submit Queue
39fbfd00ea Merge pull request #31787 from gmarek/scheduledCondition
Automatic merge from submit-queue

Make a scheduler predicates test resiliant to race for scheduledCondi…

Fix #31341

@pwittrock - this fixes a P1 flake.

FYI @mwielgus - I don't think that the race that caused this flake can impact cluster autoscaling, but you probably should know about it.

cc @wojtek-t
2016-08-31 09:30:38 -07:00
Tim St. Clair
3808243b9e
Append "AppArmor enabled" to the Node ready condition message 2016-08-31 09:27:47 -07:00
Kubernetes Submit Queue
d0a2d17ec1 Merge pull request #31782 from wojtek-t/bump_pod_nanny_version_2
Automatic merge from submit-queue

Bump addon-resizer version

Fix #31105
2016-08-31 08:51:36 -07:00
jianhuiz
893f499fb8 test Metadata.ClusterName not saved into etcd 2016-08-31 08:12:41 -07:00
Kubernetes Submit Queue
a93b979881 Merge pull request #31699 from gmarek/allnodesready
Automatic merge from submit-queue

AllNodesReady waits for all system pods to be running

Fix #29820

cc @pwittrock @dchen1107
2016-08-31 07:46:45 -07:00
gmarek
94c9997daf Make a scheduler predicates test resiliant to race for scheduledCondition 2016-08-31 15:57:38 +02:00
gmarek
f8dbdc1695 AllNodesReady waits for all system pods to be running 2016-08-31 15:08:01 +02:00
Wojciech Tyczynski
3c64346e24 Bump addon-resizer version 2016-08-31 14:53:13 +02:00
mksalawa
87cba30aae Print message if metrics are not yet available. 2016-08-31 11:54:53 +02:00
Marek Grabowski
ebe733e469 Merge pull request #31770 from kubernetes/revert-31614-bump_pod_nanny_version
Revert "Bump addon-resizer version in heapster"
2016-08-31 08:53:44 +02:00
Wojciech Tyczynski
f75e0ece0a Revert "Bump addon-resizer version in heapster" 2016-08-31 08:30:56 +02:00
Kubernetes Submit Queue
3b404bd213 Merge pull request #31651 from Random-Liu/move-host-info-around-test-result
Automatic merge from submit-queue

Node E2E: Move host info around test result.

Discussed offline with @yujuhong and @dchen1107. Currently, the node e2e result is organized as:
```
================================================================
Success Finished Host tmp-node-e2e-b6c375c7-e2e-node-containervm-v20160321-image Test Suite
{ginkgo-output}
{framework-error}
================================================================
```
This makes it painful to find which image the test is failing on. The `{ginkgo-output}` is usually quite long, so we have to scroll mouse up and down to find the host name.
This PR changes the test result to:
```
================================================================
Start Host tmp-node-e2e-b6c375c7-e2e-node-containervm-v20160321-image Test Suite
{ginkgo-output}
Success Finished Host tmp-node-e2e-b6c375c7-e2e-node-containervm-v20160321-image Test Suite
{framework-error}
================================================================
```
This is not perfect, but much better than before. We can easily find the host name under the ginkgo test result, like this:
```
================================================================
Start Host test-gci-dev-54-8743-3-0 Test Suite
Running Suite: E2eNode Suite
============================
Random Seed: 1472511489 - Will randomize all specs
Will run 0 of 131 specs

Running in parallel across 8 nodes

I0829 22:58:13.727764    1143 e2e_node_suite_test.go:98] Pre-pulling images so that they are cached for the tests.
I0829 22:58:28.562459    1143 e2e_node_suite_test.go:111] Node services started.  Running tests...
I0829 22:58:28.562477    1143 e2e_node_suite_test.go:116] Wait for the node to be ready

SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
------------------------------
I0829 22:58:29.742596    1143 e2e_node_suite_test.go:136] Stopping node services...
I0829 22:58:29.742650    1143 services.go:673] Killing process 1423 (services) with -TERM
I0829 22:58:29.860893    1143 e2e_node_suite_test.go:141] Tests Finished


Ran 0 of 131 Specs in 16.185 seconds
SUCCESS! -- 0 Passed | 0 Failed | 0 Pending | 131 Skipped 

Ginkgo ran 1 suite in 19.939034297s
Test Suite Passed

Success Finished Host test-gci-dev-54-8743-3-0 Test Suite
================================================================
```

In a following PR, I'll print the test result from different images into different files to make it more clear for debugging. Mark v1.4 because this helps us de-flake test.

/cc @kubernetes/sig-node
2016-08-30 23:08:41 -07:00
Chao Xu
dbd8014af3 commit Godeps.json 2016-08-30 22:14:45 -07:00
Chao Xu
a6c5d3331c run copy.sh 2016-08-30 22:14:45 -07:00
Chao Xu
2f43d080da call a go program to update Godeps.json in copy.sh 2016-08-30 22:14:45 -07:00
Kubernetes Submit Queue
e3acd8df71 Merge pull request #31760 from Random-Liu/remove-stop-services-option
Automatic merge from submit-queue

Node E2E: Make sure the test framework collect log properly.

Fixes #31537.

It turns out that the service [stop function](https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/e2e_node_suite_test.go#L135-L139) is never called, because `stop-services` is [always `false`](https://github.com/kubernetes/kubernetes/blob/master/test/e2e_node/runner/remote/run_remote.go#L444). And currently we collect log in the `stop` function.

This PR makes sure the `stop-services` is always true in node e2e. This will fix #31537.

@yujuhong @dchen1107 @vishh
2016-08-30 22:12:54 -07:00
Random-Liu
2907d4019d Move host info around test result. 2016-08-30 21:31:04 -07:00
nikhiljindal
0fcbde5ee1 Adding clusters to the list of valid resources printed in kubectl help 2016-08-30 18:57:35 -07:00
Random-Liu
e7a1b4e16f Do not set stop-services=false for node e2e and add more logs. 2016-08-30 17:52:23 -07:00
Vishnu kannan
8d74371537 make pods e2e retry getting logs from web-sockets
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-08-30 17:11:48 -07:00
Kubernetes Submit Queue
f839c5ffdf Merge pull request #31746 from mwielgus/ingres-events
Automatic merge from submit-queue

Events for federated ingress controller

cc: @quinton-hoole @kubernetes/sig-cluster-federation
2016-08-30 16:52:08 -07:00
Kubernetes Submit Queue
2b755dc480 Merge pull request #31716 from coufon/explicitly_delete_pods_in_node_perf_test
Automatic merge from submit-queue

Explicitly delete pods in node performance tests

This PR explicitly deletes all created pods at the end in node e2e performance related tests.

The large number of pods may cause namespace cleanup times out (in #30878), therefore we explicitly delete all pods for cleaning up.
2016-08-30 16:52:03 -07:00
Matt Liggett
15899451a5 // update-all 2016-08-30 16:25:04 -07:00
Matt Liggett
956f74c383 Fix followups from #31033 2016-08-30 16:14:39 -07:00
Kubernetes Submit Queue
09e3fb355b Merge pull request #31629 from rmmh/fix-gubernator-line
Automatic merge from submit-queue

Only print "running gubernator.sh" when actually running it.
2016-08-30 16:10:18 -07:00
Kubernetes Submit Queue
1c607b391a Merge pull request #31721 from mml/disrupt.e2e.versioned
Automatic merge from submit-queue

Rewrite disruption e2e test to use versioned client.

This currently includes the changes from #31638.  I will rebase once that is merged.
2016-08-30 15:35:15 -07:00
Zhou Fang
0167f74c6c explicitly delete pods in node perf tests 2016-08-30 15:18:37 -07:00
Chao Xu
faef914087 update doc 2016-08-30 15:16:41 -07:00
Marcin Wielgus
e850d4f0a2 Events for federated ingress controller 2016-08-30 23:52:35 +02:00
nikhiljindal
a954ff18e6 Adding update-federation-generated-swagger-docs to generate comment funcs for federation gvs 2016-08-30 14:15:21 -07:00
Jedrzej Nowak
9e51eea6a3 Fix various typos in pkg/kubelet 2016-08-30 22:57:47 +02:00
Girish Kalele
db95798b39 Enforce EndpointAddress.NodeName validation + added unit tests 2016-08-30 13:40:19 -07:00
Matt Liggett
a5f1dc44f5 // update-all and staging/.../client-go/copy.sh 2016-08-30 13:35:51 -07:00
Kubernetes Submit Queue
3fd14d97fb Merge pull request #31229 from pigmej/typos_englishify_pkg_api
Automatic merge from submit-queue

Fix various typos in pkg/api

Just fixed some typos + "englishify" in pkg/api
2016-08-30 13:35:36 -07:00
Ryan Hitchman
0c80bce7a7 Fix test owners for horizontal pod autoscaling. 2016-08-30 13:30:45 -07:00
Kubernetes Submit Queue
9f4fb68b37 Merge pull request #31658 from spxtr/slow-tests
Automatic merge from submit-queue

Move several tests to the slow suite.

https://k8s-testgrid.appspot.com/google-gce#gce&width=5&graph-metrics=test-duration-minutes

ref https://github.com/kubernetes/contrib/issues/1522
2016-08-30 12:56:18 -07:00
Matt Liggett
44b2c862ef Rewrite disruption e2e test to use versioned client. 2016-08-30 12:34:45 -07:00
Kubernetes Submit Queue
a3b17f5e53 Merge pull request #31614 from wojtek-t/bump_pod_nanny_version
Automatic merge from submit-queue

Bump addon-resizer version in heapster

Ref #31105
2016-08-30 12:14:28 -07:00
Kubernetes Submit Queue
be859b144d Merge pull request #30808 from smarterclayton/no_defaults
Automatic merge from submit-queue

ClientConfig should not default to http://localhost:8080

This changes clientcmd to skip the default cluster, but preserves the
behavior in kubectl. This prevents the possibility of an administrator
misconfiguration in kubelet or other server component from allowing a
third party who can bind to 8080 on that host from potentially
impersonating an API server and gaining root access.

@mikedanese @deads2k this removes the defaulting of http://localhost:8080 for server from everything except kubectl.



```release-note
Kubernetes server components using `kubeconfig` files no longer default to `http://localhost:8080`.  Administrators must specify a server value in their kubeconfig files.
```
2016-08-30 11:33:39 -07:00
Kubernetes Submit Queue
ec061b81d0 Merge pull request #31660 from mtaufen/un-ref-KubeletConfiguration-on-kubelet
Automatic merge from submit-queue

Make kubeletConfiguration field on Kubelet struct a value type
2016-08-30 10:46:48 -07:00
Paul Morie
c9b97c38a8 Improve doc for the fake client 2016-08-30 13:42:43 -04:00
Kubernetes Submit Queue
1dfd6ab0c1 Merge pull request #31696 from thommay/no_maintainer
Automatic merge from submit-queue

I'm not a rackspace or kubernetes user any more
2016-08-30 09:57:24 -07:00
Kubernetes Submit Queue
12429e1690 Merge pull request #31664 from coufon/fix_perf_test_limit
Automatic merge from submit-queue

increase latency and resource limit accroding to test results

This PR increases the latency limit of node e2e density test according to previous test results.

Fixed #30878
2016-08-30 09:57:19 -07:00
Kubernetes Submit Queue
1b05640cf8 Merge pull request #31640 from mwielgus/events-for-ns
Automatic merge from submit-queue

Events in federated namespace controller

@quinton-hoole @nikhiljindal @wojtek-t @kubernetes/sig-cluster-federation
2016-08-30 09:11:27 -07:00
Kubernetes Submit Queue
dccf3e9288 Merge pull request #31639 from derekwaynecarr/fix-e2e-local
Automatic merge from submit-queue

Fix running e2e against local cluster

required env vars were not being set.

/cc @pmorie
2016-08-30 09:11:22 -07:00
Kubernetes Submit Queue
dbb1950922 Merge pull request #31141 from deads2k/add-queue-depth-metrics
Automatic merge from submit-queue

add names for workqueues to gather controller latency/depth metrics

Adding names to the workqueues used by controllers allows the automatic collection of depth, rate, and latency metrics for those controllers.  These are useful for diagnosing various "slow controller" cases.

@kubernetes/rh-cluster-infra
2016-08-30 08:32:00 -07:00
Kubernetes Submit Queue
a6e8283021 Merge pull request #31700 from gmarek/unused
Automatic merge from submit-queue

Remove unused argument to NodeController.Run

@pwittrock - can this go into 1.4? It's zero risk and reduces possible confusion.
2016-08-30 07:49:40 -07:00