Commit Graph

135 Commits (e0ecb09fda0a015a11d29a16649a082f57a3e74a)

Author SHA1 Message Date
Buddha Prakash 5000e74664 Inject top level QoS cgroup creation in the Kubelet 2016-07-15 10:02:22 -07:00
Random-Liu b0d3f4c14a Change gci-preview-test to gci-canary-test. 2016-07-13 17:57:23 -07:00
Tim Hockin 6e516e1c8a make Jenkins pass 2016-07-12 21:52:54 -07:00
k8s-merge-robot 0cd93cfc53 Merge pull request #28708 from euank/node-e2e-image-conf
Automatic merge from submit-queue

node_e2e: configure gce images via config file

This file provides the abiliy to specify image project on a per-image
basis and is more extensible for future changes.

For backwards compatibility and local development convenience, the
existing flags are kept and should work.

The eventual goal is to be able to source some images, such as the CoreOS one (and possibly containervm one) from their upstream projects and do all new configuration changes via a cloud-init key added to the image config.

This PR is a first step there. A following PR will add a config key of `cloud-init` or `user-data` and migrate the CoreOS e2e to use that.

This motivation is driven by the fact that currently the changes needed for the CoreOS image can all be done quickly in cloud-init and this will make it much easier to update the image and ensure that changes are applied consistently.

/cc @timstclair @vishh @yifan-gu @pwittrock
2016-07-12 19:06:14 -07:00
Euan Kemp af1700b41e node_e2e: configure gce images via config file
This file provides the abiliy to specify image project on a per-image
basis and is more extensible for future changes.

For backwards compatibility and local development convenience, the
existing flags are kept and should work.
2016-07-11 19:19:37 -07:00
Random-Liu 79f564e9dc Add docker validation node e2e test. 2016-07-11 18:58:57 -07:00
Buddha Prakash fb7f18f542 Update node e2e image copy script 2016-07-08 11:10:23 -07:00
k8s-merge-robot f2ddd60eb9 Merge pull request #26755 from david-mcmahon/fix-headers
Automatic merge from submit-queue

Remove "All rights reserved" from all the headers.

cc @thockin @zmerlynn @brendanburns
2016-06-29 18:46:07 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Yu-Ju Hong e76b4184c3 node e2e: use updated ubuntu images 2016-06-29 15:53:15 -07:00
k8s-merge-robot 33165328b1 Merge pull request #27907 from vishh/update-node-e2e-project
Automatic merge from submit-queue

Update node e2e test images project to the new centralized project
2016-06-24 16:46:04 -07:00
Yu-Ju Hong a031f7aea4 node e2e: stop testing trusty+docker 1.8 2016-06-24 10:45:45 -07:00
Vishnu kannan 0fc392f40f Updating CoreOS image to CoreOS stable 1010.5.0 in Node e2e.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-06-22 17:38:29 -07:00
Vishnu kannan 0e56237057 Update node e2e test images project to the new centralized project - `kubernetes-node-e2e-images`
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-06-22 16:17:39 -07:00
Erick Fejta 25451a686c Add description to created node images 2016-06-13 22:41:30 -07:00
Euan Kemp b004122dfc Revert "Disable CoreOS image from node e2e testing."
This reverts commit 2494c77972.

The previous commit, which launches the kubelet under `systemd-run`,
fixes an error in detecting the kubelet's cgroup stats.

Fixes #26979
2016-06-09 19:35:57 -07:00
Phillip Wittrock e94e1c6e3d Node e2e Makefile support for running remote tests against kubernetes-node-e2e-images.
Also includes other improvements:
- Makefile rule to run tests against remote instance using existing host or image
- Makefile will reuse an instance created from an image if it was not torn down
- Runner starts gce instances in parallel with building source
- Runner uses instance ip instead of hostname so that it doesn't need to resolve
- Runner supports cleaning up files and processes on an instance without stopping / deleting it
- Runner runs tests using `ginkgo` binary to support running tests in parallel
2016-06-08 07:31:54 -07:00
Vishnu kannan 2494c77972 Disable CoreOS image from node e2e testing.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-06-07 10:45:37 -07:00
k8s-merge-robot 015bc3d60d Merge pull request #26811 from vishh/26809
Automatic merge from submit-queue

Mark runtime conformance tests as flaky and not run them in jenkins CI.

For #26809

@pwittrock As discussed offline, marking runtime tests as flaky for now. I'm not sure if those tests are required. Testing docker in every Kubernetes PR is un-necessary. 
These tests can be run periodically in a separate CI. AFAIK, these tests don't seem to exercise any kube features.
2016-06-06 11:14:44 -07:00
k8s-merge-robot 6c5f5c5e36 Merge pull request #26571 from pwittrock/node-e2e-godeps
Automatic merge from submit-queue

Node e2e use vendored testing packages.


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-04 14:54:25 -07:00
pwittrock c74997508e Node e2e use vendored testing packages. 2016-06-03 17:01:50 -07:00
Vishnu kannan 82718c186c update coreos node e2e images to include updated systemd config
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-06-03 16:14:26 -07:00
Vishnu kannan 7665120818 update attributes on node e2e copy image script
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-06-03 16:14:26 -07:00
Vishnu kannan 4e3bce8cb7 Mark runtime conformance tests as flaky and not run them in jenkins CI.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-06-03 13:57:44 -07:00
Vishnu kannan 60ed27783e Support images and instances to exist in different GCP projects for node
e2e.
Add current user to docker group on instances for node e2e.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-06-01 18:01:02 -07:00
Phillip Wittrock 1d91d24548 Allow per-environment ginkgo flags to be passed to the node e2e tests so that we can selectively disable slow tests in the PR builder when needed. 2016-05-26 15:05:40 -07:00
pwittrock eae1961599 Node e2e export test artifacts to jenkins.
- Add junit test reported
- Write etcd.log, kubelet.log and kube-apiserver.log to files instead of stdout
- Scp artifacts to the jenkins WORKSPACE

Fixes #25966
2016-05-24 23:00:58 +00:00
Phillip Wittrock e4b40fca9a Update node e2e containervm image to not start kubelet as part of init. Update the node e2e host setup.sh to also do this when creating new images. 2016-05-20 14:44:38 +00:00
Tim Hockin cbf886c7f4 Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
Yifan Gu 05951caa44 Revert "Disable coreos nodes from node e2e due to issues with ssh on coreos."
This reverts commit 33a46e0ed6.
2016-04-29 18:24:55 -07:00
Vishnu kannan 33a46e0ed6 Disable coreos nodes from node e2e due to issues with ssh on coreos.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-29 10:52:41 -07:00
Phillip Wittrock 9287e6c388 Node e2e sync pr builder host images to ci host images.
- Also fix seeding issue in run_e2e.go
- Disable failing kubelet_test for system container metrics
2016-02-29 12:15:55 -08:00
Phillip Wittrock 0db316970c Node e2e fix etcd compability issues across versions 2016-02-26 15:44:40 -08:00
Phillip Wittrock a11489e0ff Node e2e documentations and minor features
- Add README.md for node e2e tests
- Add support for --cleanup=false to leave test files on remote hosts and temporary instances for debugging
- Add ubuntu trusty instances for docker 1.8 and docker 1.9 to jenkins pr builder
- Disable coreos-beta for jenkins ci since it is failing - need to investigate
2016-02-26 10:58:48 -08:00
Phillip Wittrock c51c606f22 Node e2e test runner - run against images
- support allocating gce instances from images and running tests against them
- set --hostname-override to match node name
- add jenkins script to source to reproduce jenkins build locally
2016-02-24 16:29:59 -08:00