Add experimental rally job for networking-odl.

Change-Id: I8380895b9768389658bd03dc854cd4e0c7ac57a4
Signed-off-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
Russell Bryant 2016-01-18 11:29:08 -05:00
parent ec4ecf3e3f
commit 720da87d99
3 changed files with 63 additions and 0 deletions

View File

@ -61,3 +61,58 @@
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-rally-dsvm-networking-odl-{odl-release-base}{job-suffix}'
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_NEUTRON=1
export RALLY_SCENARIO=odl
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PROJECTS="openstack/networking-odl $PROJECTS"
export PROJECTS="openstack/rally $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin networking-odl git://git.openstack.org/openstack/networking-odl"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"enable_plugin rally git://git.openstack.org/openstack/rally"
export OVERRIDE_ENABLED_SERVICES=q-svc,q-dhcp,q-meta,quantum,tempest,n-api,n-cond,n-cpu,n-crt,n-sch,g-api,g-reg,mysql,rabbit,key,dstat
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
# specify ODL release to use
export ODL_RELEASE_BASE={odl-release-base}
function pre_test_hook {{
. $BASE/new/networking-odl/devstack/pre_test_hook.sh
}}
export -f pre_test_hook
function post_test_hook {{
$BASE/new/rally/tests/ci/rally-gate.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
- console-log
- rally-plot

View File

@ -3314,6 +3314,12 @@
job-suffix: ''
odl-release-base: 'beryllium-snapshot'
branch-override: default
- '{pipeline}-rally-dsvm-networking-odl-{odl-release-base}{job-suffix}':
pipeline: gate
node: devstack-trusty
job-suffix: '-nv'
odl-release-base: 'beryllium-snapshot'
branch-override: default
- project:
name: networking-ofagent

View File

@ -6791,6 +6791,8 @@ projects:
check:
- gate-tempest-dsvm-networking-odl-lithium-snapshot
- gate-tempest-dsvm-networking-odl-beryllium-snapshot
experimental:
- gate-rally-dsvm-networking-odl-beryllium-snapshot-nv
- name: openstack/networking-ofagent
template: