From 1a8edfece7eeaa57d3446aa87f57497b25483788 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 5 Apr 2016 09:20:24 -0400 Subject: [PATCH] Make sure we don't have a stale package cache We need to make sure ubuntu-trusty doesn't have a stale packaging cache because diskimage-builder uses ubuntu mirrors and jenkins jobs switch to a local AFS mirror. Change-Id: Ide90ecab72b94f4f4f0db6fb75493bb7ef188a32 Signed-off-by: Paul Belanger --- tests/ci/test_install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/ci/test_install.sh b/tests/ci/test_install.sh index 1875ea1b..ea889734 100755 --- a/tests/ci/test_install.sh +++ b/tests/ci/test_install.sh @@ -19,6 +19,10 @@ env sudo yum remove -y python-crypto || true +# NOTE(pabelanger): We run apt-get update to ensure we don't have a stale +# package cache in the gate. +sudo apt-get update || true + sudo ./install_rally.sh --system --yes rally deployment list [ -d /etc/bash_completion.d ] && cat /etc/bash_completion.d/rally.bash_completion || true