bugfix: dpkg was interrupted in one ubuntu instance 93/13893/1
authorwangyaoguang <sunshine.wang@huawei.com>
Wed, 11 May 2016 06:58:21 +0000 (14:58 +0800)
committerwangyaoguang <sunshine.wang@huawei.com>
Wed, 11 May 2016 07:01:14 +0000 (15:01 +0800)
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>
testsuites/rubbos/puppet_manifests/internal/run_rubbos_internal.sh

index 24e406f..ae67b85 100755 (executable)
@@ -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}