From bef94a097d2612b28894bfecd92196cd26c7aa35 Mon Sep 17 00:00:00 2001 From: Sumit Naiksatam Date: Wed, 4 Mar 2015 12:49:29 -0800 Subject: [PATCH] Create experimental job for neutron-fwaas This patch enables functional testing as experimental and non-voting. Change-Id: Ibf5fe43a654ee8f97e9de978698fa0f1e17ae639 --- jenkins/jobs/neutron-fwaas.yaml | 44 +++++++++++++++++++++++++++++++++ jenkins/jobs/projects.yaml | 10 ++++++++ zuul/layout.yaml | 4 +++ 3 files changed, 58 insertions(+) create mode 100644 jenkins/jobs/neutron-fwaas.yaml diff --git a/jenkins/jobs/neutron-fwaas.yaml b/jenkins/jobs/neutron-fwaas.yaml new file mode 100644 index 0000000000..3070fdac0f --- /dev/null +++ b/jenkins/jobs/neutron-fwaas.yaml @@ -0,0 +1,44 @@ +- job-template: + name: '{pipeline}-neutron-fwaas-dsvm-functional{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_UNSTACK=1 + export DEVSTACK_GATE_TIMEOUT=120 + 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-fwaas/neutron_fwaas/tests/contrib/gate_hook.sh dsvm-functional + }} + export -f gate_hook + + function post_test_hook {{ + bash -xe $BASE/new/neutron-fwaas/neutron_fwaas/tests/contrib/post_test_hook.sh dsvm-functional + }} + 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 diff --git a/jenkins/jobs/projects.yaml b/jenkins/jobs/projects.yaml index 24a68a4b7b..b1d9226ebd 100755 --- a/jenkins/jobs/projects.yaml +++ b/jenkins/jobs/projects.yaml @@ -404,6 +404,16 @@ - python-jobs - openstack-publish-jobs - gate-{name}-pylint + - '{pipeline}-neutron-fwaas-dsvm-functional{branch-designator}': + pipeline: gate + node: 'devstack-precise || devstack-trusty' + branch-designator: '' + branch-override: default + - '{pipeline}-neutron-fwaas-dsvm-functional{branch-designator}': + pipeline: check + node: 'devstack-precise || devstack-trusty' + branch-designator: '' + branch-override: default - project: name: neutron-lbaas diff --git a/zuul/layout.yaml b/zuul/layout.yaml index 655c7804d9..29ee18b9e7 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -685,6 +685,8 @@ jobs: voting: false - name: ^check-neutron-vpnaas-dsvm-functional-sswan$ voting: false + - name: ^check-neutron-fwaas-dsvm-functional$ + voting: false # For Gerrit ver 2.4.x (using maven) - name: ^(gate|check)-gerrit-unittests$ branch: ^openstack/2\.4.*$ @@ -1478,6 +1480,8 @@ projects: - gate-neutron-fwaas-pylint gate: - gate-neutron-fwaas-pylint + experimental: + - check-neutron-fwaas-dsvm-functional - name: openstack/neutron-lbaas template: