From: Guillaume Abrioux Date: Mon, 28 May 2018 14:18:57 +0000 (+0200) Subject: ceph-ansible: vagrant clean old cache X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1033%2Fhead;p=ceph-build.git ceph-ansible: vagrant clean old cache Somehow, it's possible sometimes there is some old cache left after a failure. `vagrant global-status --prune` ensures old caches that were left are removed. Signed-off-by: Guillaume Abrioux --- diff --git a/scripts/build_utils.sh b/scripts/build_utils.sh index c0d58fa5..d099082b 100644 --- a/scripts/build_utils.sh +++ b/scripts/build_utils.sh @@ -761,6 +761,7 @@ teardown_vagrant_tests() { collect_ceph_logs all vagrant destroy -f stat ./fetch > /dev/null 2>&1 && rm -rf ./fetch + vagrant global-status --prune cd - done