Add neutron job with ryu master

ryu is often released(basically every month). And the new release
may affect the behavior of ovs agent. This adds job to check neutron
with the ryu master to avoid a trouble with the new ryu release.

It is added as an experimental job firstly and if it is stable
we make it a periodic job.

Change-Id: I82f404a04a1082140208546fad28ca369d210d5a
This commit is contained in:
fumihiko kakuma 2017-03-09 13:01:22 +09:00
parent 16aae916ee
commit 0755ce8aef
3 changed files with 50 additions and 0 deletions

View File

@ -651,3 +651,47 @@
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-with-ryu-master-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 180
- 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_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TLSPROXY=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
local ryu_path=$BASE/new/ryu_master
if [ ! -d $ryu_path ]; then
git clone https://github.com/osrg/ryu $ryu_path
fi
sudo pip install -e $ryu_path
$BASE/new/devstack-gate/devstack-vm-gate.sh
}}
export -f gate_hook
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

@ -8098,6 +8098,11 @@
node: ubuntu-xenial
suffix: ''
branch-override: master
- '{pipeline}-tempest-dsvm-neutron-with-ryu-master-{node}{suffix}':
pipeline: gate
node: ubuntu-xenial
suffix: '-nv'
branch-override: default
- periodic-python-jobs-with-oslo-master
- periodic-python-jobs-with-neutron-lib-master

View File

@ -13071,6 +13071,7 @@ projects:
- gate-tempest-dsvm-neutron-ovsfw-ubuntu-xenial-nv
- gate-tempest-dsvm-neutron-full-centos-7-nv
- gate-tempest-dsvm-neutron-dvr-multinode-full-ubuntu-xenial-nv
- gate-tempest-dsvm-neutron-with-ryu-master-ubuntu-xenial-nv
experimental-tripleo:
- gate-tripleo-ci-centos-7-ovb-ha
periodic: