Add tempest-dsvm-sahara

Because sahara builds on the compute base layer, it does not need to be
tested in all devstack-gate jobs. Instead create a new job that tests
sahara in a devstack environment as a first step in removing it from the
standard configuration.

Specify that SAHARA should be enabled in the devstack updown job
so that the parts that enable sahara are exercised in devstack.
This is already currently the case, but this updates the job config
so that it will continue to do so later when we remove sahara from
the default config.

Change-Id: Iae4e2439bfdfe7f3fc5f0b75b38583a70d7d78f4
Co-Authored-By: James E. Blair <jeblair@hp.com>
This commit is contained in:
Joe Gordon 2015-03-25 15:59:31 -04:00
parent 1023e20f41
commit df4a4e475f
3 changed files with 38 additions and 1 deletions

View File

@ -600,6 +600,7 @@
export DEVSTACK_GATE_TIMEOUT=60
export DEVSTACK_GATE_TROVE=1
export DEVSTACK_GATE_HEAT=1
export DEVSTACK_GATE_SAHARA=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE

View File

@ -598,6 +598,11 @@
- openstack-publish-jobs
- gate-{name}-tox-{envlist}:
envlist: "py27-scenario-unit"
- '{pipeline}-tempest-dsvm-sahara{branch-designator}':
pipeline: check
node: 'devstack-trusty'
branch-designator: ''
branch-override: default
- project:
name: sahara-specs

View File

@ -111,10 +111,41 @@
$BASE/new/python-saharaclient/saharaclient/tests/functional/hooks/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- job-template:
name: '{pipeline}-tempest-dsvm-sahara{branch-designator}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_REGEX="data_processing"
export DEVSTACK_GATE_SAHARA=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- devstack-logs
- console-log