Add job to run Tempest dsvm on MongoDB backend for Ceilometer

This patch adds templates for both smoke and full Tempest
tests executions and enables both of them to the experimental
pipeline for Ceilometer to be able to debug its behavior
in both cases.

Change-Id: I5655dec73616a0b68665115c1406c41397e5e90c
This commit is contained in:
Dina Belova 2014-07-29 13:12:05 +04:00
parent b63a96079e
commit a49fb4a31b
3 changed files with 77 additions and 0 deletions

View File

@ -0,0 +1,61 @@
- job-template:
name: 'gate-tempest-dsvm-ceilometer-{backend}{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_CEILOMETER_BACKEND={backend}
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
- job-template:
name: 'gate-tempest-dsvm-ceilometer-{backend}-full{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_FULL=1
export DEVSTACK_GATE_CEILOMETER_BACKEND={backend}
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

View File

@ -423,6 +423,16 @@
- python-havana-bitrot-jobs - python-havana-bitrot-jobs
- openstack-publish-jobs - openstack-publish-jobs
- translation-jobs - translation-jobs
- 'gate-tempest-dsvm-ceilometer-{backend}{branch-designator}':
backend: 'mongodb'
node: 'bare-trusty'
branch-designator: ''
branch-override: default
- 'gate-tempest-dsvm-ceilometer-{backend}-full{branch-designator}':
backend: 'mongodb'
node: 'bare-trusty'
branch-designator: ''
branch-override: default
- project: - project:
name: cinder name: cinder

View File

@ -713,6 +713,10 @@ jobs:
voting: false voting: false
- name: ^(gate|check)-marconi-python33 - name: ^(gate|check)-marconi-python33
branch: ^(?!stable/(havana|icehouse)).*$ branch: ^(?!stable/(havana|icehouse)).*$
- name: gate-tempest-dsvm-ceilometer-mongodb
voting: false
- name: gate-tempest-dsvm-ceilometer-mongodb-full
voting: false
# The project list is grouped by type of project, and within each # The project list is grouped by type of project, and within each
# group, projects are sorted (mostly) alphabetically. # group, projects are sorted (mostly) alphabetically.
@ -758,6 +762,8 @@ projects:
- gate-swift-dsvm-functional - gate-swift-dsvm-functional
experimental: experimental:
- gate-grenade-dsvm-forward - gate-grenade-dsvm-forward
- gate-tempest-dsvm-ceilometer-mongodb
- gate-tempest-dsvm-ceilometer-mongodb-full
pre-release: pre-release:
- ceilometer-tarball - ceilometer-tarball
release: release: