Add test job for watcher with split tempest plugin

This patch set adds nonvoting job for watcher to test
splitted out tempest plugin.

Change-Id: Idd12afcd77054c22b10bb37c1330681a5c64c675
Depends-On: I4acb68a5f46f1d12b1e74d2203ff61357460eab7
This commit is contained in:
Alexander Chadin 2017-08-03 10:51:43 +03:00
parent 0885221c34
commit db474c481c
3 changed files with 55 additions and 0 deletions

View File

@ -15309,6 +15309,12 @@
node: ubuntu-xenial-2-node node: ubuntu-xenial-2-node
suffix: '-nv' suffix: '-nv'
branch-override: default branch-override: default
- '{pipeline}-watcher-dsvm-multinode-split-{node-release}{suffix}':
pipeline: gate
node-release: ubuntu-xenial
node: ubuntu-xenial-2-node
suffix: '-nv'
branch-override: default
- project: - project:
name: watcher-dashboard name: watcher-dashboard

View File

@ -87,3 +87,51 @@
- test-results - test-results
- devstack-logs - devstack-logs
- console-log - console-log
- job-template:
name: '{pipeline}-watcher-dsvm-multinode-split-{node-release}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
TEMPEST_PLUGINS='/opt/stack/new/watcher-tempest-plugin'
enable_plugin ceilometer git://git.openstack.org/openstack/ceilometer
# Enable watcher devstack plugin.
enable_plugin watcher git://git.openstack.org/openstack/watcher
- shell: |
#!/bin/bash -xe
export DEVSTACK_SUBNODE_CONFIG=" "
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TOPOLOGY="multinode"
export PROJECTS="openstack/watcher $PROJECTS"
export PROJECTS="openstack/python-watcherclient $PROJECTS"
export PROJECTS="openstack/watcher-tempest-plugin $PROJECTS"
export DEVSTACK_GATE_TEMPEST_REGEX="watcher_tempest_plugin"
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:
- test-results
- devstack-logs
- console-log

View File

@ -18386,6 +18386,7 @@ projects:
- watcher-coverage-ubuntu-xenial-nv - watcher-coverage-ubuntu-xenial-nv
- gate-rally-dsvm-watcher-watcher-ubuntu-xenial-nv - gate-rally-dsvm-watcher-watcher-ubuntu-xenial-nv
- gate-watcher-dsvm-multinode-ubuntu-xenial-nv - gate-watcher-dsvm-multinode-ubuntu-xenial-nv
- gate-watcher-dsvm-multinode-split-ubuntu-xenial-nv
- name: openstack/watcher-dashboard - name: openstack/watcher-dashboard
template: template: