diff --git a/devstack-vm-gate.sh b/devstack-vm-gate.sh index 323e522e..b03ab7a8 100755 --- a/devstack-vm-gate.sh +++ b/devstack-vm-gate.sh @@ -29,6 +29,10 @@ if [ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]; then ENABLED_SERVICES=$ENABLED_SERVICES,tempest fi +if [ "$GERRIT_BRANCH" == "stable/diablo" ]; then + export DEVSTACK_GATE_TEMPEST=0 +fi + if [ "$GERRIT_BRANCH" != "stable/diablo" ] && [ "$GERRIT_BRANCH" != "stable/essex" ]; then ENABLED_SERVICES=$ENABLED_SERVICES,cinder,c-api,c-vol,c-sch @@ -91,4 +95,11 @@ if [ "$DEVSTACK_GATE_TEMPEST" -eq "1" ]; then echo "Running tempest full test suite" sudo -H -u stack NOSE_XUNIT_FILE=nosetests-full.xml nosetests --with-xunit -sv --nologcapture --eval-attr='type!=smoke' tempest fi +else + # Jenkins expects at least one nosetests file. If we're not running + # tempest, then write a fake one that indicates the tests pass (since + # we made it past exercise.sh. + cat > $WORKSPACE/nosetests-fake.xml < +EOF fi