Commit Graph

1476 Commits

Author SHA1 Message Date
Piotr Szczesniak
f3cfdb0ef7 Extended prediction algorithm in Initial Resource to use also namespace 2015-10-02 14:56:06 +02:00
Wojciech Tyczynski
5456b4519b Remove reference to Shell from jenkins/e2e.sh 2015-10-02 13:16:32 +02:00
k8s-merge-robot
ff85f0ba95 Merge pull request #14698 from yujuhong/gce_only
Auto commit by PR queue bot
2015-10-02 02:53:27 -07:00
gmarek
e58aff001b Stop existing Kubemark cluster before creating new one in Jenkins 2015-10-02 10:32:57 +02:00
Sergiusz Urbaniak
42c84954fd executor,scheduler: make launchGracePeriod configurable 2015-10-02 07:43:49 +02:00
Janet Kuo
7a2a5b021c Add test of kubectl support for multiple resources 2015-10-01 14:36:17 -07:00
David Oppenheimer
f01e124ca5 Merge pull request #14760 from ihmccreery/gke-upgrade-tests
First pass at getting visibility into 1.0/1.1 upgrades & version skew
2015-10-01 13:53:57 -07:00
Jeff Lowdermilk
aef32aa1a5 Test config for release candidate e2e run 2015-10-01 13:23:30 -07:00
Mike Danese
905e971651 be explicit about minion group size in upgrade test 2015-10-01 12:01:04 -07:00
k8s-merge-robot
f579f8edc3 Merge pull request #14790 from yujuhong/restart_count
Auto commit by PR queue bot
2015-10-01 11:34:32 -07:00
Yu-Ju Hong
15cdc45b09 Split kubelet e2e resource usage tracking tests
Some tests in this test suite expects --max-pods (i.e. the maximum pod capacity
on kubelet) to be greater than default, which applies only to the GCE test
environment. Split the tests into two sets so that we can better categorize
the tests in the jenkins setup, without making the test itself aware of the
environment.
2015-10-01 11:09:06 -07:00
k8s-merge-robot
d50810a1db Merge pull request #14831 from deads2k/allow-yaml-patch
Auto commit by PR queue bot
2015-10-01 08:48:45 -07:00
gmarek
a1e0ce8972 Fix Kubemark on Jenkins 2015-10-01 16:33:28 +02:00
gmarek
9a74980da2 Make kubemark work on Jenkins 2015-10-01 15:26:39 +02:00
Daniel Smith
bd7e2e5d8e Add -p option to hack/test-go.sh 2015-09-30 16:25:11 -07:00
Brendan Burns
40bb24d692 Revert "Fix 'flock' command in hack/jenkins/e2e.sh" 2015-09-30 12:27:02 -07:00
Brendan Burns
0a16257df5 Re-activate DaemonRestart tests, they've been clean in gce-flaky for > 10 runs 2015-09-30 11:00:17 -07:00
deads2k
8b063a34b0 allow yaml as argument to patch 2015-09-30 11:58:42 -04:00
gmarek
8e56866a0a Change the Jenkins kubemark Job name to match kubernetes-.*-gce regexp 2015-09-30 16:16:31 +02:00
gmarek
fd14fa5c48 Add first attempt of Kubemark config to jenkins/e2e.sh 2015-09-30 16:11:39 +02:00
Filip Grzadkowski
28d71418ca Merge pull request #14824 from gmarek/fix-jenkins
Fix 'flock' command in hack/jenkins/e2e.sh
2015-09-30 15:29:15 +02:00
gmarek
cf31d16d94 Fix 'flock' command in hack/jenkins/e2e.sh 2015-09-30 15:27:53 +02:00
Brendan Burns
e827934d78 Merge pull request #12677 from andronat/kubectl_doc_cmd
A new command to read types' description from Swagger - kubectl explain
2015-09-29 19:35:37 -07:00
k8s-merge-robot
b661cfd21e Merge pull request #14643 from liguangbo/change_Oom_to_OOM
Auto commit by PR queue bot
2015-09-29 18:54:22 -07:00
Yu-Ju Hong
5177e82d3a e2e: restore the test for monotonically increasing restart count
The test was disabled because sometimes restart count could not reach the
target before timeout. This change lowers the target restart count, increases
the timeout threshold to 5 minutes, and adds the test to the SLOW suite.
Running the test in a local cluster takes ~1m40s to complete.
2015-09-29 17:22:12 -07:00
Isaac Hollander McCreery
5ddadc5f62 First pass at getting visibility into 1.0/1.1 upgrades & version skew 2015-09-29 14:28:48 -07:00
Jeff Lowdermilk
e849c00b08 Disable Deployment tests in GKE
unbreak gke-ci. again.
2015-09-29 10:21:36 -07:00
k8s-merge-robot
4645ad3cb0 Merge pull request #14594 from nikhiljindal/deploymentE2e
Auto commit by PR queue bot
2015-09-28 20:22:14 -07:00
Mike Danese
ae7d3d5a54 add gce-upgrade to jenkins/e2e.sh 2015-09-28 13:52:42 -07:00
liguangbo
12299087da Change Oom to OOM 2015-09-28 18:18:04 +08:00
gmarek
dd3bd73948 Initial Kubemark commit 2015-09-28 11:39:05 +02:00
Anastasis Andronidis
e8b9dde623 new kubectl explain command 2015-09-26 14:25:53 +03:00
Jordan Liggitt
b71fbb3df9 Lengthen integration test timeout 2015-09-25 20:46:02 -04:00
nikhiljindal
d61ed52799 Adding an e2e test for deployment 2015-09-25 17:14:31 -07:00
Brian Grant
8236335697 Merge pull request #14580 from ixdy/hack-verify-print-status
In verify-all.sh, print check and its status in verbose mode
2015-09-25 16:30:58 -07:00
Brian Grant
10a7f2b1fa Merge pull request #14453 from yujuhong/kubelet_benchmark
Add a slow e2e test to monitor kubelet resource usage
2015-09-25 13:31:59 -07:00
Jeff Grafton
d466c63f5c In verify-all.sh, print check and its status in verbose mode 2015-09-25 13:25:44 -07:00
Brian Grant
313918f561 Merge pull request #14148 from brendandburns/perf
Add a method for encoding directly to a io.Writer and use it for HTTP
2015-09-25 13:19:58 -07:00
Brian Grant
44b0bb1ae7 Merge pull request #14325 from mikedanese/podgc
add pod garbage collection
2015-09-25 11:24:01 -07:00
Brian Grant
d6c3ac54b8 Merge pull request #14392 from caesarxuchao/fix-swagger-docs-move-v1alpha1
simplify group-version-to-pkg-path
2015-09-25 11:02:52 -07:00
Marcin Wielgus
039acb8c1d Merge pull request #14463 from nikhiljindal/DeploymentOnGCE
Allow enabling deployment controller on GCE and GKE
2015-09-25 13:47:36 +02:00
Mike Danese
376faea1cf add pod garbage collection 2015-09-24 22:47:53 -07:00
Chao Xu
d599d07bc3 simplify group-version-to-pkg-path 2015-09-24 21:33:32 -07:00
Chao Xu
c449baea46 Remove ExpStorageVersion and Add StorageVersions to APIServer struct 2015-09-24 17:44:59 -07:00
Brendan Burns
8998219686 Add a method for encoding directly to a io.Writer and use it for HTTPx 2015-09-24 15:52:09 -07:00
Chao Xu
ae1293418b move experimental/v1 to experimental/v1alpha1;
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune
f4f8ec68f8 Merge pull request #14518 from nikhiljindal/flag-exceptions
printf->print in hack/verify-flags-underscore.py script
2015-09-24 14:03:37 -07:00
nikhiljindal
0799c11cb5 printf->print 2015-09-24 13:10:25 -07:00
nikhiljindal
ed5d24ed52 Allow enabling deployment controller on GCE and GKE 2015-09-24 11:37:16 -07:00
Brendan Burns
ec427f22b1 Disable race detection for all integration tests 2015-09-24 09:37:01 -07:00
Jerzy Szczepkowski
c8238c079a E2E tests for horizontal pod autoscaler.
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
gmarek
24b03c4db2 Move broken service tests to the flaky suite to make GCE suite happy again 2015-09-24 09:13:00 +02:00
Yu-Ju Hong
0b8244505c Add a slow e2e test to monitor kubelet resource usage
This test tracks kubelet resource usage over a long period of time (1hr)
when running N pods (e.g., N=0,50), and prints out the resource usage. This
would give us an idea how much kubelet's management overhead is in a stable
cluster.

Some followup items:
 * Use a more realistic workload (e.g., including probing)
 * Fail the test if the resource usage is too high.

Caveat:
 * We assume the scheduler would do a decent job distributing the pause pods,
   but we should double check.
 * Cluster addon pods could be unevenly distributed and skews the resource
   usage on nodes.
2015-09-23 18:22:20 -07:00
Eric Tune
d3beca6f06 Merge pull request #14381 from dchen1107/fix
Flag controlled RLIMIT_NOFILE for kubelet.
2015-09-23 16:30:11 -07:00
Eric Tune
13821de107 Merge pull request #14427 from mesosphere/sttts-resource-tests
Avoid assumption of a fixed list of cgroups in e2e conformance tests
2015-09-23 16:22:53 -07:00
Eric Paris
2e814b3b79 hack/verify-all.sh: return error on error 2015-09-23 16:37:22 -04:00
Eric Paris
1ef9e05341 hack/verify-all.sh: turn tab into space 2015-09-23 16:34:38 -04:00
Dr. Stefan Schimanski
f9f91fd99d Remove cgroup list dependent e2e test from conformance test suite
As discussed @gmarek the given test does not belong into the conformance test
suite because it makes a lot of static assumptions about the cgroup setup of the
nodes which cannot be fulfilled by all cluster providers. Depending on the
installation the kubelet is not allowed to move around process
into specific containers.

Fixes https://github.com/mesosphere/kubernetes-mesos/issues/439.
2015-09-23 16:52:56 +02:00
gmarek
816b20a179 Move one of the service tests to skipped. 2015-09-23 15:18:19 +02:00
Dawn Chen
5649939a36 Add new flag to flag file. 2015-09-22 15:18:34 -07:00
Abhishek Shah
a64dad04c7 Make KubeProxy test faster 2015-09-22 13:43:43 -07:00
Tim Hockin
bd3cd82a12 Change kube-proxy flag: annotation for proxy-mode
This changes the --legacy-userspace-proxy flag to be a string flag
--proxy-mode.  If specified, the flag will be respected ('userspace' and
'iptables' being valid values).  If left blank (default) we will choose the
"best".  best means userspace for now UNLESS the user adds an annotation
(net.experimental.kubernetes.io/proxy-mode) to their node, in which case we
will try to use that.

This allows people to try it on a single machine without fear of global failure
and without it getting rolled back on reboots.  It is a poor-man's config blob.
2015-09-21 18:06:24 -07:00
k8s-merge-robot
c96c76b729 Merge pull request #13780 from smarterclayton/pod_logs
Auto commit by PR queue bot
2015-09-21 17:02:47 -07:00
Jeff Grafton
4ce49b6f45 Filter test output when running unit tests in verbose mode 2015-09-21 13:11:12 -07:00
Clayton Coleman
c2e90cd154 Support extended pod logging options
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.

Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
k8s-merge-robot
843134885e Merge pull request #12470 from simon3z/add-host-ipc
Auto commit by PR queue bot
2015-09-21 09:15:01 -07:00
Eric Paris
6766b732a5 Update verify-godeps.sh to actually work
The diff was incorrect. It was doing `diff -NIaupr`. And so diff was
interpreting the argument to -I to be `aupr`. So it was not running
recursively. The fix is not so simple because there is an intentionally
broken symlink in one of the godeps. Which diff -r fails on by default.
On linux there is an options to not dereference symlink and just make
sure they point to the same thing. No so on OS X. So we have to exclude
all files called "symlink". Which thankfully there is only one of.
2015-09-19 16:55:12 -04:00
Quinton Hoole
62a0aba550 Fix regex to banish KubeProxy test as slow. 2015-09-19 00:59:03 -07:00
Quinton Hoole
8a95a82c88 Merge pull request #14206 from ixdy/jenkins-configs
Demote "KubeProxy should test kube-proxy" to slow tests
2015-09-18 19:10:00 -07:00
k8s-merge-robot
cad5f03311 Merge pull request #14185 from tmrts/formatting
Auto commit by PR queue bot
2015-09-18 15:16:00 -07:00
Jeff Grafton
85179f3352 Demote "KubeProxy should test kube-proxy" to slow tests 2015-09-18 15:00:41 -07:00
Federico Simoncelli
f21d9ac9e4 Support pods with containers using host ipc
Add a HostIPC field to the Pod Spec to create containers sharing
the same ipc of the host.

This feature must be explicitly enabled in apiserver using the
option host-ipc-sources.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-09-18 21:13:39 +02:00
Tamer Tas
cb5f921df1 Add newline to the end of bash scripts 2015-09-18 19:35:05 +03:00
Eric Paris
ed5668f405 Hack to make godep work again 2015-09-18 11:03:29 -05:00
Quinton Hoole
e1c75e91fe Spaces don't work in e2e regex's. Doh! 2015-09-17 15:47:02 -07:00
Kris
f4ad00d9ae Moving Status object to a common package 2015-09-17 14:09:53 -07:00
Quinton Hoole
ceea590f7e Demote e2e test "Daemon set ... launch a pod on every node of the cluster" to flaky. 2015-09-17 13:11:51 -07:00
Eric Paris
650e38e12b Merge pull request #14083 from eparis/fix-doc-gen-on-mac
Fix doc generation on Macs
2015-09-17 09:56:13 -05:00
k8s-merge-robot
b342591032 Merge pull request #13604 from JanetKuo/kubectl-edit
Auto commit by PR queue bot
2015-09-17 03:00:33 -07:00
k8s-merge-robot
445fde3dc5 Merge pull request #13447 from pweil-/pid-mode
Auto commit by PR queue bot
2015-09-16 23:34:35 -07:00
Eric Paris
2c9708967e Fix doc generation on Macs
The find util on macs require a path. Linux does not. So give it the
path to work on both.
2015-09-16 20:13:14 -04:00
Jeff Lowdermilk
12010e9832 Add kubectl expose to GCE_PARALLEL_FLAKY_TESTS
It's essentially the same as Services.*expose, just using kubectl
instead of client lib.

Fixes #14078
2015-09-16 16:26:36 -07:00
Jeff Grafton
42dc0ca484 Mark "Networking should function for intra-pod communication" as flaky in parallel. 2015-09-16 16:09:19 -07:00
Alex Mohr
b44714da1d Merge pull request #14007 from quinton-hoole/2015-09-15-make-daemon-restart-e2e-run
Make Restart e2e regex more specific so that it doesn't accidentally …
2015-09-16 15:42:21 -07:00
Alex Mohr
063e6d93f1 Merge pull request #14002 from ixdy/e2e-stage-time
Explicitly log how long each step of e2e setup/test/teardown takes.
2015-09-16 15:40:16 -07:00
k8s-merge-robot
b051f3d3df Merge pull request #14024 from ixdy/jenkins-build-test
Auto commit by PR queue bot
2015-09-16 13:10:40 -07:00
Abhi Shah
c2ffe68d0f Merge pull request #13982 from ArtfulCoder/netexec
Created netexec docker image
2015-09-16 10:00:37 -07:00
k8s-merge-robot
22f698f5b0 Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
liguangbo
4df68f03a3 change iff to if and only if to improve annotation readability 2015-09-16 08:29:36 +00:00
Jeff Grafton
a345704c92 hack/test-go.sh: make kube::test::find_dirs actually work correctly
(Also sort the list of excluded directories.)
2015-09-15 23:32:23 -07:00
k8s-merge-robot
d007c9141d Merge pull request #13951 from ixdy/jenkins-go-tests
Auto commit by PR queue bot
2015-09-15 22:48:20 -07:00
Janet Kuo
5a608446ba pull "kubectl edit" from openshift upstream 2015-09-15 19:16:23 -07:00
Abhishek Shah
65fbf5a5fb Created netexec docker image 2015-09-15 19:05:03 -07:00
Jeff Lowdermilk
e0aeb1151b Merge pull request #9870 from markturansky/recyc_config
Allow Volume Plugins to be configurable
2015-09-15 17:53:49 -07:00
Jeff Lowdermilk
a327844575 Merge pull request #13974 from gmarek/framework
Allow disabling waiting for a service account in e2e tests
2015-09-15 17:44:45 -07:00
Jeff Lowdermilk
ebc0b02b7d Merge pull request #13613 from eparis/rework-doc-generation
Rework automatic doc generation
2015-09-15 17:35:47 -07:00
Quinton Hoole
d3996beb07 Make Restart e2e regex more specific so that it doesn't accidentally match DaemonRestart. 2015-09-15 15:41:47 -07:00
Jeff Grafton
170962becb Explicitly log how long each step of e2e setup/test/teardown takes. 2015-09-15 15:04:05 -07:00
Jeff Grafton
beb476d96b Add script to run unit/integration tests on Jenkins 2015-09-15 13:42:59 -07:00
Jeff Grafton
8a41cb46fa Jenkins gke e2e: don't use sudo with gsutil cp 2015-09-15 13:31:00 -07:00