Fix system_tests.sh script in the fuel-main repo

Bug #1282632 reported by Aleksandra Fedorova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Aleksandra Fedorova

Bug Description

The system-tests.sh script used by jenkins jobs is different from the one in the repo https://github.com/stackforge/fuel-main/blob/master/utils/jenkins/system_tests.sh

We need to fix the script and reconfigure Jenkins to use the proper test script.

Here is the difference

--- system_tests.sh 2013-11-21 22:34:53.367540260 -0800
+++ ../test/fuel-main/utils/jenkins/system_tests.sh 2014-02-20 02:27:33.158447164 -0800
@@ -364,7 +364,7 @@
     fi

     export ENV_NAME
- #export LOGS_DIR="${WORKSPACE}/logs"
+ export LOGS_DIR="${WORKSPACE}/logs"
     export ISO_PATH

     if [ "${KEEP_BEFORE}" != "yes" ]; then
@@ -400,6 +400,15 @@
     fi
     ec=$?

+ if [ "${KEEP_AFTER}" != "yes" ]; then
+ # remove environment after tests
+ if [ "${DRY_RUN}" = "yes" ]; then
+ echo dos.py destroy "${ENV_NAME}"
+ else
+ dos.py destroy "${ENV_NAME}"
+ fi
+ fi
+
     exit "${ec}"
 }

Mike Scherbakov (mihgen)
Changed in fuel:
milestone: none → 5.0
Changed in fuel:
importance: Undecided → Medium
status: New → Confirmed
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Aleksandra Fedorova (afedorova)
Revision history for this message
Aleksandra Fedorova (bookwar) wrote :

Fix commited to master.

4.1 branch patch is hanging https://review.openstack.org/#/c/77193/

Currently we run all fuellib system test with the script taken from master branch.

Revision history for this message
Aleksandra Fedorova (bookwar) wrote :

We've decided to use master repo for system_tests.sh script to run all the tests.

Changed in fuel:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.