Commit Graph

5889 Commits (7a2d63048d3fa39ecb19a54281916dbc3e72c36c)

Author SHA1 Message Date
Zach Loafman 9261c5a655 Remove timeout from cmd/e2e now that all tests are under it 2015-02-05 14:35:24 -08:00
Filipe Brandenburger 5de4c49792 Merge pull request #4153 from brendandburns/e2e
Add a simple endpoints test.
2015-02-05 13:54:33 -08:00
Tim Hockin a20fb598bc Merge pull request #4132 from jszczepkowski/master
Improve "constraint violation" error message.
2015-02-05 13:43:29 -08:00
Brian Grant 7a13c2f0e3 Merge pull request #4169 from brendandburns/shell_sucks
Fix a regression where we never cleared out failed nodes.
2015-02-05 13:41:11 -08:00
Brian Grant c1ca07338f Merge pull request #4149 from nikhiljindal/autoSwaggerSpec
Adding static swagger spec and a script to update it
2015-02-05 12:13:33 -08:00
Zach Loafman 3fbfecccff Merge pull request #4163 from rrati/e2e-services-4162
E2e services 4162
2015-02-05 12:06:37 -08:00
nikhiljindal fe27529d7e Adding static swagger spec and a script to update it 2015-02-05 12:00:28 -08:00
CJ Cullen 079dd4dba6 Merge pull request #4172 from mike-schiller/aws_cf_user_data_fix
fixes kube-apiserver failure when using  aws/cloudformation-template.json
2015-02-05 11:37:08 -08:00
Jerzy Szczepkowski 18c5fa1ae7 Applied comments. 2015-02-05 20:32:51 +01:00
Zach Loafman 9674939860 Merge pull request #4178 from zmerlynn/jenkins_fix_status
Breakfix for #4177, not a real solution
2015-02-05 11:25:39 -08:00
Zach Loafman 49a1984e98 Breakfix for #4177, not a real solution 2015-02-05 11:24:45 -08:00
Brendan Burns 6d0b8ea7a7 Fix a regression where we never cleared out failed nodes. 2015-02-05 10:55:57 -08:00
Jeff Lowdermilk 5a702ad123 Allow --output formatting of kubectl config view, make merge default 2015-02-05 10:44:16 -08:00
Wojciech Tyczynski 9d9bca9958 kubectl doesn't fail silently with no k8s master 2015-02-05 19:37:20 +01:00
CJ Cullen 3a16a9c39e Merge pull request #4161 from pierredup/patch-1
Typo
2015-02-05 10:36:08 -08:00
Zach Loafman f904484b38 Merge pull request #4173 from zmerlynn/fix_jenkins_3
Revert jenkins/e2e.sh back to 606b517a, minus -tap
2015-02-05 10:30:00 -08:00
Zach Loafman c15595fdf7 Revert jenkins/e2e.sh back to 606b517a, minus -tap 2015-02-05 10:25:59 -08:00
Robert Rati 70237e9cc6 Changed to return in the success case testing testContext instead of using
an else statement.  #4162
2015-02-05 13:09:46 -05:00
Brendan Burns 8b25b43039 Merge pull request #4117 from wojtek-t/validate_docker_version
Check Docker version in Kubelet /healthz handler
2015-02-05 10:06:33 -08:00
Zach Loafman 253752d830 Merge pull request #4171 from zmerlynn/fix_jenkins_2
Add more logging
2015-02-05 10:02:35 -08:00
Zach Loafman dad85ef4f1 Add more logging 2015-02-05 10:01:45 -08:00
Jeff Lowdermilk d46ae5d841 Refactor kubectl/cmd helpers into pkg/kubectl/cmd/util
Allows helpers to be used by config commands.
2015-02-05 09:39:42 -08:00
Mike Schiller 3efb4527f4 inserted mising = in kube-apiserver's portal_net parameter that prevented the kube-apiserver from starting 2015-02-05 12:27:41 -05:00
Zach Loafman afeaf8fc6f Merge pull request #4168 from zmerlynn/fix_jenkins
Fix jenkins/hack/e2e.sh, log errors better
2015-02-05 09:17:50 -08:00
Zach Loafman 0b456e40bf Fix jenkins/hack/e2e.sh, log errors better 2015-02-05 09:16:11 -08:00
Eric Paris 4b309aa864 Do not use {} in systemd environment variables
From the systemd man page:
 Use "${FOO}" as part of a word, or as a word of its own, on the command
 line, in which case it will be
 replaced by the value of the environment variable including
 all whitespace it contains, resulting in a single argument.
 Use "$FOO" as a separate word on the
 command line, in which case it will be replaced
 by the value of the environment variable split at
 whitespace, resulting in zero or more arguments.

Since we want people to be able to use these for multiple arguments we
need to make sure we don't use {} around the env vars...
2015-02-05 11:36:55 -05:00
Filipe Brandenburger 827dcbc623 Merge pull request #4145 from zmerlynn/contort_shell_under_go_tests
Pervert e2e shell tests to run under Ginkgo
2015-02-05 08:30:41 -08:00
Zach Loafman 2f33c06c21 Remove cluster/test-network.sh
To fix this, it would be an alias for:

  hack/ginkgo-e2e.sh -t TestNetwork

... which may not work on binary distributions, because it's relying
on test assets, so it probably shouldn't live in cluster/ ...
2015-02-05 08:14:39 -08:00
Zach Loafman f21a25e7fc Add hack/ginkgo-e2e.sh to kubernetes-test.tgz 2015-02-05 08:06:50 -08:00
Zach Loafman bace7593d0 Enable ginkgo.v (console output is missing spec without it) 2015-02-05 07:24:05 -08:00
Zach Loafman 688f96cd33 Run shell tests under Ginkgo, changing all reporting to JUnit
* Add a test/e2e/shell.go that slurps up everything in hack/e2e-suite
and runs it as a bash test, borrowing all the code from hack/e2e.go.

* Rip out all the crap in hack/e2e.go that deal with multiple tests

* Move hack/e2e-suite/goe2e.sh to hack/ginkgo-e2e.sh so that it
doesn't get slurped up.
2015-02-05 07:24:05 -08:00
Robert Rati d3e04cd246 Moved the ROService test into the services suite #4162 2015-02-05 10:23:48 -05:00
Robert Rati eefd7ace56 Converted TestKubernetesROService to native ginkgo syntax #4162 2015-02-05 10:23:48 -05:00
Robert Rati d44c1d5b84 Converted TestClusterDNS to native ginkgo syntax #4162 2015-02-05 10:23:46 -05:00
Brian Grant bb6b332a8b Merge pull request #3099 from proppy/git-sync
contrib: add git-sync container
2015-02-05 07:10:24 -08:00
Brian Grant 50b1034b6c Merge pull request #4122 from pmorie/comment
Clarify commenting in endpoints_controller
2015-02-05 07:09:56 -08:00
Brian Grant 2c9e620d43 Merge pull request #4102 from brendandburns/rc
Make the replication controller more resilient to event expiration in watch.
2015-02-05 07:08:35 -08:00
Brian Grant 42fec8ec4e Merge pull request #4110 from jimmidyson/proxy-tweaks
kubectl proxy: make static prefix configurable
2015-02-05 07:08:07 -08:00
Robert Rati de848cc3f0 Moved cluster_dns to create the new service test suite #4162 2015-02-05 10:07:32 -05:00
Brian Grant 251348122c Merge pull request #4136 from yujuhong/fixvalidationtests
Fix tests in validation_test
2015-02-05 07:07:16 -08:00
Brian Grant 4e0ef6fda4 Merge pull request #4150 from nikhiljindal/cleanOperationAPI
Deleting the API objects related to /operations
2015-02-05 07:07:02 -08:00
Brian Grant 9f377b196e Merge pull request #4154 from brendandburns/docs
Remove kubecfg from all getting started docs.
2015-02-05 07:06:48 -08:00
Zach Loafman bb8f35ce17 Merge pull request #4156 from filbranden/e2e_standalone_scripts
Make e2e shell tests work standalone
2015-02-05 07:02:25 -08:00
George Kuan e8c33b7916 Add timeouts to HealthChecks and retry checks
Fixes issue #3532. Added timeouts for HTTP and TCP checks
and enabled kubelet/probe to kubelet#maxRetries times
before declaring Failure.

Added Probe.TimeoutSecs to API

Probe variants now check container.LivenessProbe.TimeoutSeconds
Also added a test for timeouts in http_test.go.
2015-02-05 06:04:45 -08:00
Pierre du Plessis 8ded7be5fb Typo 2015-02-05 15:10:32 +02:00
Filipe Brandenburger 7bb62cbfb3 Make e2e shell tests work standalone
Simply incorporate some of the boilerplate from hack/e2e.go into the
scripts in hack/e2e-suite.

Use environment variables with default values to allow overrides in
kubectl command line and to use a versioned package root.

Tested:
- Ran `go run hack/e2e.go -test` on a test cluster.
- Ran the test cases individually.
- Ran hack/e2e-suite/goe2e.sh -t Pods to confirm it takes arguments.
- Also fixed cluster/test-network.sh (which should be more and more irrelevant.)
2015-02-05 00:22:16 -08:00
saadali a41f520bf0 Add "Update Event" to Kubernetes API 2015-02-05 00:07:51 -08:00
Brendan Burns 93776b1363 Remove kubecfg from all getting started docs. 2015-02-04 23:20:11 -08:00
Brendan Burns 30f91b0ab7 Add a simple endpoints test. 2015-02-04 22:51:36 -08:00
nikhiljindal 19f7ecf31b Deleting the API objects related to /operations 2015-02-04 20:50:45 -08:00