From 8fe04adab257ca5f176e1cd5e65c491ea88b9532 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Mon, 5 Mar 2018 14:54:28 -0500 Subject: [PATCH] prevent conformance test failure in DIND scenario in the "ci-kubernetes-local-e2e" job, we are running local-up-cluster.sh using DIND. We see failure for "HostPath should give a volume the correct mode [Conformance]" test. The failure looks as follows: linux mounts: path /tmp is mounted on / but it is not a shared or slave mount --- hack/local-up-cluster.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/local-up-cluster.sh b/hack/local-up-cluster.sh index 412e33b4d8b..65b0b71607b 100755 --- a/hack/local-up-cluster.sh +++ b/hack/local-up-cluster.sh @@ -954,6 +954,8 @@ if [[ "${KUBETEST_IN_DOCKER:-}" == "true" ]]; then export PATH="${KUBE_ROOT}/third_party/etcd:${PATH}" KUBE_FASTBUILD=true make ginkgo cross apt install -y sudo + # configure shared mounts to prevent failure in DIND scenarios + mount --make-rshared / fi # validate that etcd is: not running, in path, and has minimum required version.