summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwangyaoguang <sunshine.wang@huawei.com>2016-05-11 14:58:21 +0800
committerwangyaoguang <sunshine.wang@huawei.com>2016-05-11 15:01:14 +0800
commit15fdbb67072e1973a5fca27ee4663745be2c2f96 (patch)
tree7ac68672060597809aca9bc2ee49d066a06636e8
parentce012b86e8bb45ba444a79ceab6eb6ba0dd3e565 (diff)
bugfix: dpkg was interrupted in one ubuntu instance
dpkg issue, ref:https://build.opnfv.org/ci/view/bottlenecks/job/bottlenecks-fuel-rubbos-opnfv-jump-2-daily-master/2/console JIRA: BOTTLENECK-77 Change-Id: Ie6fdc849d056b93e5ef41ac15375d4e9b83e2330 Signed-off-by: wangyaoguang <sunshine.wang@huawei.com>
-rwxr-xr-xtestsuites/rubbos/puppet_manifests/internal/run_rubbos_internal.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuites/rubbos/puppet_manifests/internal/run_rubbos_internal.sh b/testsuites/rubbos/puppet_manifests/internal/run_rubbos_internal.sh
index 24e406f8..ae67b858 100755
--- a/testsuites/rubbos/puppet_manifests/internal/run_rubbos_internal.sh
+++ b/testsuites/rubbos/puppet_manifests/internal/run_rubbos_internal.sh
@@ -165,6 +165,7 @@ fetch_remote_resources() {
rm -rf $LOCAL_GIT_REPO
fi
mkdir -p $LOCAL_GIT_REPO
+ sudo dpkg --configure -a
sudo apt-get install -y git
cd $LOCAL_GIT_REPO
git clone ${REMOTE_GIT_REPO}