mirror of https://github.com/k3s-io/k3s
![]() 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. |
||
---|---|---|
.. | ||
container_gc.go | ||
container_gc_test.go | ||
convert.go | ||
convert_test.go | ||
docker.go | ||
docker_test.go | ||
exec.go | ||
fake_docker_client.go | ||
fake_manager.go | ||
instrumented_docker.go | ||
kube_docker_client.go | ||
labels.go | ||
labels_test.go | ||
manager.go | ||
manager_test.go |