kubernetes/test/e2e_node
k8s-merge-robot d37e6ad332 Merge pull request #24126 from Random-Liu/fix-pull-image
Automatic merge from submit-queue

Fix PullImage and add corresponding node e2e test

Fixes #24101. This is a bug introduced by #23506, since ref #23563.

The root cause of #24101 is described [here](https://github.com/kubernetes/kubernetes/issues/24101#issuecomment-208547623).

This PR
1) Fixes #24101 by decoding the messages returned during pulling image, and return error if any of the messages contains error.
2) Add the node e2e test to detect this kind of failure.
3) Get present check out of `ConformanceImage.Remove()` and `ConformanceImage.Pull()`. Because sometimes we may expect error to occur in `PullImage()` and `RemoveImage()`, but even that doesn't happen, the `Present()` check will still return error and let the test pass.

@yujuhong @freehan @liangchenye 

Also /cc @resouer, because he is doing the image related functions refactoring.
2016-04-18 07:05:44 -07:00
..
environment Node e2e documentations and minor features 2016-02-26 10:58:48 -08:00
jenkins Node e2e sync pr builder host images to ci host images. 2016-02-29 12:15:55 -08:00
runner Don't clean up files on image-based tests since the instance will be deleted anyway and this is flaky on CoreOS. Fixed #24297 2016-04-15 10:32:26 -07:00
conformance_test.go Merge pull request #24126 from Random-Liu/fix-pull-image 2016-04-18 07:05:44 -07:00
container_manager_test.go Adding an e2e test for oom score adjust handling. 2016-04-11 12:51:42 -07:00
container.go use phase to test container status 2016-02-26 14:32:03 +08:00
doc.go Refactor node e2e tests 2016-02-22 20:06:15 -08:00
e2e_build.go Refactor node e2e tests 2016-02-22 20:06:15 -08:00
e2e_node_suite_test.go Don't clean up files on image-based tests since the instance will be deleted anyway and this is flaky on CoreOS. Fixed #24297 2016-04-15 10:32:26 -07:00
e2e_remote.go Node e2e documentations and minor features 2016-02-26 10:58:48 -08:00
e2e_service.go Merge pull request #23968 from yujuhong/privileged_containers 2016-04-17 12:37:12 -07:00
exec_util.go e2e_node: port privileged pod tests from test/e2e/priviliged.go 2016-04-06 19:09:07 -07:00
image.go Fix PullImage and corresponding node e2e test. 2016-04-12 10:42:25 -07:00
kubelet_test.go node e2e - make more resilient to flakes 2016-03-14 17:03:06 -07:00
privileged_test.go e2e_node: port privileged pod tests from test/e2e/priviliged.go 2016-04-06 19:09:07 -07:00
README.md Node e2e documentations and minor features 2016-02-26 10:58:48 -08:00

WARNING WARNING WARNING WARNING WARNING

PLEASE NOTE: This document applies to the HEAD of the source tree

If you are using a released version of Kubernetes, you should refer to the docs that go with that version.

The latest release of this document can be found [here](http://releases.k8s.io/release-1.1/docs/devel/collab.md).

Documentation for other releases can be found at releases.k8s.io.

See e2e-node-tests

Analytics