Add experimental scenario dsvm jobs for Sahara

It will be running bunch of scenario tests for Sahara for all
combinations of network and engine to fully test how the
provisioning part of Sahara works.

Hook scripts in Sahara: Ibfd787247bf04b3c75d7341c3fecd6a5c5621e0d

Change-Id: I51854bd25e2b69704448829af4dcbd42b93fcf85
This commit is contained in:
Sergey Lukjanov 2015-08-17 00:23:13 +03:00
parent e2be320851
commit 62bc6c087b
3 changed files with 89 additions and 1 deletions

View File

@ -1091,7 +1091,34 @@
node: 'devstack-trusty'
branch-designator: ''
branch-override: default
- '{pipeline}-sahara-dsvm-scenario-{network}-{engine}{branch-designator}':
pipeline: gate
node: 'devstack-trusty'
branch-designator: ''
branch-override: default
network: neutron
engine: heat
- '{pipeline}-sahara-dsvm-scenario-{network}-{engine}{branch-designator}':
pipeline: gate
node: 'devstack-trusty'
branch-designator: ''
branch-override: default
network: nova
engine: heat
- '{pipeline}-sahara-dsvm-scenario-{network}-{engine}{branch-designator}':
pipeline: gate
node: 'devstack-trusty'
branch-designator: ''
branch-override: default
network: neutron
engine: direct
- '{pipeline}-sahara-dsvm-scenario-{network}-{engine}{branch-designator}':
pipeline: gate
node: 'devstack-trusty'
branch-designator: ''
branch-override: default
network: nova
engine: direct
- project:

View File

@ -184,3 +184,55 @@
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-sahara-dsvm-scenario-{network}-{engine}{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_LOCAL_CONFIG="enable_plugin sahara git://git.openstack.org/openstack/sahara"
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export KEEP_LOCALRC=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{network}" == "neutron" ] ; then
export DEVSTACK_GATE_NEUTRON=1
fi
function pre_test_hook {{
cd /opt/stack/new/sahara/tools/gate/scenario
./pre_test_hook.sh {network} {engine}
}}
export -f pre_test_hook
function post_test_hook {{
cd /opt/stack/new/sahara/tools/gate/scenario
./post_test_hook.sh {network} {engine}
}}
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:
- devstack-logs
- console-log

View File

@ -1076,6 +1076,10 @@ jobs:
branch: ^(?!stable/(icehouse|juno|kilo)).*$
voting: false
- name: ^gate-sahara-dsvm-scenario.*$
branch: ^(?!stable/(icehouse|juno|kilo)).*$
voting: false
- name: gate-kite-python34
voting: false
@ -2757,6 +2761,11 @@ projects:
- gate-sahara-tox-py27-scenario-unit
post:
- sahara-coverage
experimental:
- gate-sahara-dsvm-scenario-neutron-heat
- gate-sahara-dsvm-scenario-nova-heat
- gate-sahara-dsvm-scenario-neutron-direct
- gate-sahara-dsvm-scenario-nova-direct
- name: openstack/sahara-specs
template: