Add functional test job for python-novaclient

Create functional test job for python-novaclient, set as non-voting until
its working. The novaclient functional tests will come from the tempest
cli tests.

Change-Id: I5964ae7234f2d8f274afa398d5290afa4bf1da83
This commit is contained in:
Joe Gordon 2015-01-28 15:40:24 -08:00
parent cb451dbde4
commit c4093cd6d3
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,35 @@
- job-template:
name: '{pipeline}-novaclient-dsvm-functional{branch-designator}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
# Configure and run functional tests
$BASE/new/python-novaclient/novaclient/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
- console-log

View File

@ -805,6 +805,11 @@
- pypi-jobs
- 'stable-compat-jobs-{name}'
- 'lib-forward-testing-{name}'
- '{pipeline}-novaclient-dsvm-functional{branch-designator}':
pipeline: check
node: 'devstack-precise || devstack-trusty'
branch-designator: ''
branch-override: default
- project:

View File

@ -865,6 +865,8 @@ jobs:
voting: false
- name: ^(gate|check)-tempest-dsvm-nova-v21-full$
branch: ^(?!stable/(icehouse|juno)).*$
- name: ^(gate|check)-novaclient-dsvm-functional$
voting: false
# TODO(yamamoto): Revisit when Neutron driver API become more stable.
- name: gate-networking-ofagent-python27
voting: false
@ -1794,6 +1796,7 @@ projects:
- python-novaclient-coverage
experimental:
- gate-grenade-dsvm-forward
- check-novaclient-dsvm-functional
- name: openstack/python-openstackclient
template: