Add neutron-fwaas dsvm-fullstack testing job

Now that the openstack client fully supports FWaaS v2, add a fullstack
testing job for neutron-fwaas.  This will be experimental to start with,
since the change that implements fullstack testing [1] is still under
development.

[1] https://review.openstack.org/394619

Change-Id: I98b58355b558fba9a17e75284a42db2813fb20ac
This commit is contained in:
Nate Johnston 2017-01-17 22:51:15 +00:00
parent 2a4c7fe50a
commit 028e732ef8
3 changed files with 56 additions and 0 deletions

View File

@ -188,3 +188,50 @@
- test-results - test-results
- devstack-logs - devstack-logs
- console-log - console-log
- job-template:
name: '{pipeline}-neutron-fwaas-dsvm-fullstack-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_UNSTACK=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh dsvm-fullstack
}}
export -f gate_hook
function post_test_hook {{
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh dsvm-fullstack
}}
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

@ -7707,6 +7707,10 @@
node: ubuntu-xenial-2-node node: ubuntu-xenial-2-node
branch-override: default branch-override: default
suffix: '-nv' suffix: '-nv'
- '{pipeline}-neutron-fwaas-dsvm-functional{suffix}':
pipeline: gate
branch-override: default
suffix: '-nv'
- project: - project:
name: neutron-lbaas name: neutron-lbaas

View File

@ -2255,6 +2255,9 @@ jobs:
- name: ^gate-neutron-fwaas-v2-dsvm-tempest-multinode-nv$ - name: ^gate-neutron-fwaas-v2-dsvm-tempest-multinode-nv$
branch: ^(?!stable/(mitaka|newton)).*$ branch: ^(?!stable/(mitaka|newton)).*$
- name: ^gate-neutron-fwaas-dsvm-functional-nv$
branch: ^(?!stable/(mitaka|newton)).*$
- name: ^gate-networking-sfc-functional-dsvm-ubuntu-trusty$ - name: ^gate-networking-sfc-functional-dsvm-ubuntu-trusty$
branch: ^(stable/mitaka).*$ branch: ^(stable/mitaka).*$
@ -12329,6 +12332,8 @@ projects:
- gate-neutron-fwaas-v1-dsvm-tempest - gate-neutron-fwaas-v1-dsvm-tempest
- gate-neutron-fwaas-legacy-dsvm-tempest - gate-neutron-fwaas-legacy-dsvm-tempest
- gate-neutron-fwaas-dsvm-functional - gate-neutron-fwaas-dsvm-functional
experimental:
- gate-neutron-fwaas-dsvm-functional-nv
post: post:
- neutron-fwaas-coverage-ubuntu-trusty - neutron-fwaas-coverage-ubuntu-trusty
- neutron-fwaas-coverage-ubuntu-xenial - neutron-fwaas-coverage-ubuntu-xenial