fix the undercloud-oooq job's subunit failures

The undercloud job does not run ping-test or tempest.
The generated subunit failure is never overwritten.

Closes-Bug: #1729686
Depends-On: I4850eaadc09035577cb48a367c5f482ed07b7a32
Change-Id: Ibce680f0f7e843e477267fdf25e99cf9e07694a5
This commit is contained in:
Wes Hayutin 2017-11-02 16:30:24 -04:00 committed by wes hayutin
parent 701ff27cfb
commit 4ba55fc87f
1 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,8 @@ if [[ -e $LOGS_DIR/undercloud/home/$USER/tempest/testrepository.subunit.gz ]]; t
cp $LOGS_DIR/undercloud/home/$USER/tempest/testrepository.subunit.gz ${LOGS_DIR}/testrepository.subunit.gz
elif [[ -e $LOGS_DIR/undercloud/home/$USER/pingtest.subunit.gz ]]; then
cp $LOGS_DIR/undercloud/home/$USER/pingtest.subunit.gz ${LOGS_DIR}/testrepository.subunit.gz
elif [[ -e $LOGS_DIR/undercloud/home/$USER/undercloud_sanity.subunit.gz ]]; then
cp $LOGS_DIR/undercloud/home/$USER/undercloud_sanity.subunit.gz ${LOGS_DIR}/testrepository.subunit.gz
fi
# Copy tempest.html to root dir