2016-07-06 14:54:51 -07:00
|
|
|
- job-template:
|
|
|
|
name: 'periodic-{name}-{python}-with-neutron-lib-master'
|
2016-09-27 16:22:57 +02:00
|
|
|
node: ubuntu-xenial
|
2016-07-06 14:54:51 -07:00
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
|
|
|
timeout: 50
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
|
|
|
- zuul-git-branch-prep-upper-constraints:
|
|
|
|
branch: master
|
|
|
|
- install-distro-packages
|
2017-02-01 21:05:44 +01:00
|
|
|
- extra-test-setup
|
2016-07-06 14:54:51 -07:00
|
|
|
- revoke-sudo
|
|
|
|
- shell: "/usr/local/jenkins/slave_scripts/run-tox-with-neutron-lib-master.sh {python}"
|
|
|
|
- assert-no-extra-files
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- test-results
|
|
|
|
- console-log
|
|
|
|
|
2015-03-04 20:55:11 +00:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-neutron-dsvm-api{which}-{node}{suffix}'
|
2015-03-04 20:55:11 +00:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-02-06 11:47:12 +01:00
|
|
|
timeout: 130
|
2015-03-04 20:55:11 +00:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2015-03-04 20:55:11 +00:00
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
2016-04-11 14:31:51 -07:00
|
|
|
export DEVSTACK_GATE_EXERCISES=0
|
2015-03-04 20:55:11 +00:00
|
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
2016-04-11 14:31:51 -07:00
|
|
|
# NOTE(armax): this condition should be revised every time each of the
|
|
|
|
# branches below are dropped. Prior to Newton, the API Tempest tests are
|
|
|
|
# invoked explicitly and thus we need the following variables set. From
|
|
|
|
# Newton onward, everything is taken care of by the Tempest plugin framework
|
2016-12-14 11:17:27 -08:00
|
|
|
if [ "$ZUUL_BRANCH" == "stable/mitaka" ] ; then
|
2016-04-11 14:31:51 -07:00
|
|
|
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
|
|
|
|
export DEVSTACK_GATE_INSTALL_TESTONLY=1
|
|
|
|
else
|
|
|
|
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
|
|
|
|
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron.tests.tempest.api\."
|
|
|
|
fi
|
2015-03-04 20:55:11 +00:00
|
|
|
|
|
|
|
function gate_hook {{
|
2016-01-15 11:04:47 -06:00
|
|
|
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh api{which}
|
2015-03-04 20:55:11 +00:00
|
|
|
}}
|
|
|
|
export -f gate_hook
|
|
|
|
|
|
|
|
function post_test_hook {{
|
2016-01-15 11:04:47 -06:00
|
|
|
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh api{which}
|
2015-03-04 20:55:11 +00:00
|
|
|
}}
|
|
|
|
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:
|
2015-04-08 13:53:57 +02:00
|
|
|
- test-results
|
2015-03-04 20:55:11 +00:00
|
|
|
- devstack-logs
|
|
|
|
- console-log
|
|
|
|
|
2015-05-21 10:17:35 -07:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-tempest-dsvm-neutron-dvr-{node}{suffix}'
|
2015-05-21 10:17:35 -07:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-02-06 11:47:12 +01:00
|
|
|
timeout: 130
|
2015-05-21 10:17:35 -07:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2015-05-21 10:17:35 -07:00
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
|
|
export DEVSTACK_GATE_NEUTRON_DVR=1
|
2016-10-05 11:48:46 -07:00
|
|
|
export DEVSTACK_GATE_TLSPROXY=1
|
2015-05-21 10:17:35 -07:00
|
|
|
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:
|
|
|
|
- devstack-logs
|
|
|
|
- console-log
|
|
|
|
|
2016-06-30 09:07:07 -07:00
|
|
|
# TODO(armax): drop this job after all branches in the gate are tested
|
|
|
|
# with the native configuration. This will happen when stable/mitaka is
|
|
|
|
# dropped
|
2015-08-25 12:43:57 +09:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-tempest-dsvm-neutron-dvr-ovs-native-{node}{suffix}'
|
2015-08-25 12:43:57 +09:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-02-06 11:47:12 +01:00
|
|
|
timeout: 130
|
2015-08-25 12:43:57 +09:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
2017-02-24 08:51:04 -05:00
|
|
|
- local_conf:
|
|
|
|
conf: |
|
|
|
|
[[post-config|/$Q_PLUGIN_CONF_FILE]]
|
|
|
|
[ovs]
|
|
|
|
of_interface=native
|
|
|
|
ovsdb_interface=native
|
|
|
|
|
|
|
|
|
2015-08-25 12:43:57 +09:00
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
|
|
export DEVSTACK_GATE_NEUTRON_DVR=1
|
|
|
|
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:
|
|
|
|
- devstack-logs
|
|
|
|
- console-log
|
|
|
|
|
2016-10-07 13:33:57 +00:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-tempest-dsvm-neutron-dvr-ha-multinode-full-{node-release}{suffix}'
|
2016-10-07 13:33:57 +00:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
|
|
|
timeout: 180
|
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
2017-03-23 13:11:01 +00:00
|
|
|
- local_conf:
|
|
|
|
conf: |
|
|
|
|
[[local|localrc]]
|
|
|
|
NOVA_VNC_ENABLED=true
|
|
|
|
VNCSERVER_LISTEN=0.0.0.0
|
|
|
|
VNCSERVER_PROXYCLIENT_ADDRESS=$HOST_IP
|
2016-10-07 13:33:57 +00:00
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
export DEVSTACK_GATE_CONFIGDRIVE=0
|
|
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
|
|
# Test DVR works multinode
|
|
|
|
export DEVSTACK_GATE_NEUTRON_DVR=1
|
|
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
|
|
|
export DEVSTACK_GATE_TOPOLOGY="multinode"
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2014-01-15 22:16:47 +00:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-neutron-dsvm-functional{python}-{node}{suffix}'
|
2014-01-15 22:16:47 +00:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
2014-05-27 14:51:16 -07:00
|
|
|
- build-timeout:
|
2016-02-06 11:47:12 +01:00
|
|
|
timeout: 130
|
2014-01-15 22:16:47 +00:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2014-03-11 15:46:51 -07:00
|
|
|
- link-logs
|
2014-03-19 00:06:03 +00:00
|
|
|
- net-info
|
2014-01-15 22:16:47 +00:00
|
|
|
- devstack-checkout
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
2014-08-23 05:42:21 +00:00
|
|
|
export DEVSTACK_GATE_UNSTACK=1
|
2014-01-15 22:16:47 +00:00
|
|
|
export DEVSTACK_GATE_TEMPEST=0
|
|
|
|
export DEVSTACK_GATE_EXERCISES=0
|
2014-07-28 22:11:45 +00:00
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
export DEVSTACK_GATE_INSTALL_TESTONLY=1
|
2014-01-15 22:16:47 +00:00
|
|
|
export BRANCH_OVERRIDE={branch-override}
|
2015-12-08 11:14:37 +01:00
|
|
|
export DEVSTACK_GATE_PROJECTS_OVERRIDE="openstack-dev/devstack openstack/neutron"
|
2014-01-15 22:16:47 +00:00
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
|
|
|
|
2014-08-22 23:48:44 -07:00
|
|
|
function gate_hook {{
|
2016-06-24 19:26:55 +02:00
|
|
|
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh dsvm-functional
|
2014-08-22 23:48:44 -07:00
|
|
|
}}
|
|
|
|
export -f gate_hook
|
|
|
|
|
2014-01-15 22:16:47 +00:00
|
|
|
function post_test_hook {{
|
2016-06-24 19:26:55 +02:00
|
|
|
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh dsvm-functional{python}
|
2014-01-15 22:16:47 +00:00
|
|
|
}}
|
|
|
|
export -f post_test_hook
|
2014-08-22 23:48:44 -07:00
|
|
|
|
2014-01-15 22:16:47 +00:00
|
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
|
|
|
|
|
|
publishers:
|
2014-08-06 11:26:13 -04:00
|
|
|
- test-results
|
2014-01-15 22:16:47 +00:00
|
|
|
- devstack-logs
|
|
|
|
- console-log
|
2015-03-06 22:58:34 +00:00
|
|
|
|
2015-06-21 15:47:31 -04:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-neutron-dsvm-fullstack-{node}{suffix}'
|
2015-06-21 15:47:31 -04:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-02-06 11:47:12 +01:00
|
|
|
timeout: 130
|
2015-06-21 15:47:31 -04:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2015-06-21 15:47:31 -04:00
|
|
|
- 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
|
|
|
|
|
Create experimental jobs for VPN DevStack plugin
Now that VPN has a devstack plugin, we need to make sure that it is enabled
for the python-neutronclient. Will do this in three steps, so that the
migration to the plugin use can be done without affecting working jobs.
First, in Ieeaca1375d68705509f4e05f10cb35c0fa0b9582, the python-neutronclient
code added a gate hook and changes to be able to support new jobs.
Second, in this commit, we'll add experimental jobs that create a gate hook
so that the needed customization can be done. There will be two jobs, one for
core tests (neutronclient-test-dsvm-functional), and one for advanced services
tests (neutronclient-test-dsvm-functional-adv-svcs).
Third, I1e3d19e51a1cbd1bc947bbf9927260cd4d73841a will use the new hook, enable
the VPN devstack plugin for the new experimental advanced services based job,
split the VPN tests out into a separate directory to run under the advanced
services job, and will move the rest of the tests to a "core" subdirectory.
The new experimental job will be tested by this commit.
Once tested, the experimental jobs can be made voting, and the old job
removed.
Change-Id: I2db939bf99288c0cdec06cdd49fec3bdc72e5253
Partial-Bug: 1484148
Depends-On: Ieeaca1375d68705509f4e05f10cb35c0fa0b9582
2015-08-06 10:49:11 +00:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-neutronclient-test-dsvm-{which-test}-{node}{suffix}'
|
Create experimental jobs for VPN DevStack plugin
Now that VPN has a devstack plugin, we need to make sure that it is enabled
for the python-neutronclient. Will do this in three steps, so that the
migration to the plugin use can be done without affecting working jobs.
First, in Ieeaca1375d68705509f4e05f10cb35c0fa0b9582, the python-neutronclient
code added a gate hook and changes to be able to support new jobs.
Second, in this commit, we'll add experimental jobs that create a gate hook
so that the needed customization can be done. There will be two jobs, one for
core tests (neutronclient-test-dsvm-functional), and one for advanced services
tests (neutronclient-test-dsvm-functional-adv-svcs).
Third, I1e3d19e51a1cbd1bc947bbf9927260cd4d73841a will use the new hook, enable
the VPN devstack plugin for the new experimental advanced services based job,
split the VPN tests out into a separate directory to run under the advanced
services job, and will move the rest of the tests to a "core" subdirectory.
The new experimental job will be tested by this commit.
Once tested, the experimental jobs can be made voting, and the old job
removed.
Change-Id: I2db939bf99288c0cdec06cdd49fec3bdc72e5253
Partial-Bug: 1484148
Depends-On: Ieeaca1375d68705509f4e05f10cb35c0fa0b9582
2015-08-06 10:49:11 +00:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-02-06 11:47:12 +01:00
|
|
|
timeout: 70
|
Create experimental jobs for VPN DevStack plugin
Now that VPN has a devstack plugin, we need to make sure that it is enabled
for the python-neutronclient. Will do this in three steps, so that the
migration to the plugin use can be done without affecting working jobs.
First, in Ieeaca1375d68705509f4e05f10cb35c0fa0b9582, the python-neutronclient
code added a gate hook and changes to be able to support new jobs.
Second, in this commit, we'll add experimental jobs that create a gate hook
so that the needed customization can be done. There will be two jobs, one for
core tests (neutronclient-test-dsvm-functional), and one for advanced services
tests (neutronclient-test-dsvm-functional-adv-svcs).
Third, I1e3d19e51a1cbd1bc947bbf9927260cd4d73841a will use the new hook, enable
the VPN devstack plugin for the new experimental advanced services based job,
split the VPN tests out into a separate directory to run under the advanced
services job, and will move the rest of the tests to a "core" subdirectory.
The new experimental job will be tested by this commit.
Once tested, the experimental jobs can be made voting, and the old job
removed.
Change-Id: I2db939bf99288c0cdec06cdd49fec3bdc72e5253
Partial-Bug: 1484148
Depends-On: Ieeaca1375d68705509f4e05f10cb35c0fa0b9582
2015-08-06 10:49:11 +00:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
Create experimental jobs for VPN DevStack plugin
Now that VPN has a devstack plugin, we need to make sure that it is enabled
for the python-neutronclient. Will do this in three steps, so that the
migration to the plugin use can be done without affecting working jobs.
First, in Ieeaca1375d68705509f4e05f10cb35c0fa0b9582, the python-neutronclient
code added a gate hook and changes to be able to support new jobs.
Second, in this commit, we'll add experimental jobs that create a gate hook
so that the needed customization can be done. There will be two jobs, one for
core tests (neutronclient-test-dsvm-functional), and one for advanced services
tests (neutronclient-test-dsvm-functional-adv-svcs).
Third, I1e3d19e51a1cbd1bc947bbf9927260cd4d73841a will use the new hook, enable
the VPN devstack plugin for the new experimental advanced services based job,
split the VPN tests out into a separate directory to run under the advanced
services job, and will move the rest of the tests to a "core" subdirectory.
The new experimental job will be tested by this commit.
Once tested, the experimental jobs can be made voting, and the old job
removed.
Change-Id: I2db939bf99288c0cdec06cdd49fec3bdc72e5253
Partial-Bug: 1484148
Depends-On: Ieeaca1375d68705509f4e05f10cb35c0fa0b9582
2015-08-06 10:49:11 +00:00
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
|
|
export DEVSTACK_PROJECT_FROM_GIT=python-neutronclient
|
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
|
|
|
|
|
|
|
function gate_hook {{
|
|
|
|
bash -xe $BASE/new/python-neutronclient/neutronclient/tests/functional/hooks/gate_hook.sh {which-test}
|
|
|
|
}}
|
|
|
|
export -f gate_hook
|
|
|
|
|
|
|
|
function post_test_hook {{
|
|
|
|
# Configure and run functional tests
|
|
|
|
$BASE/new/python-neutronclient/neutronclient/tests/functional/hooks/post_test_hook.sh {which-test}
|
|
|
|
}}
|
|
|
|
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
|
|
|
|
|
2015-08-05 16:36:46 -04:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-tempest-dsvm-neutron-ipv6only{suffix}'
|
2015-08-05 16:36:46 -04:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- timeout:
|
2016-02-06 11:47:12 +01:00
|
|
|
timeout: 130
|
2015-08-05 16:36:46 -04:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2015-08-05 16:36:46 -04:00
|
|
|
- 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_LOCAL_CONFIG="IP_VERSION=6"$'\n'"SERVICE_IP_VERSION=6"
|
|
|
|
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:
|
|
|
|
- devstack-logs
|
|
|
|
- console-log
|
|
|
|
|
2015-09-21 15:45:04 -04:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-tempest-dsvm-neutron-serviceipv6{suffix}'
|
2015-09-21 15:45:04 -04:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- timeout:
|
2016-02-06 11:47:12 +01:00
|
|
|
timeout: 130
|
2015-09-21 15:45:04 -04:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2015-09-21 15:45:04 -04:00
|
|
|
- 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_LOCAL_CONFIG="SERVICE_IP_VERSION=6"
|
|
|
|
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:
|
|
|
|
- devstack-logs
|
|
|
|
- console-log
|
|
|
|
|
2016-06-30 09:07:07 -07:00
|
|
|
# TODO(armax): drop this job after all branches in the gate are tested
|
|
|
|
# with the native configuration. This will happen when stable/mitaka is
|
|
|
|
# dropped
|
2015-08-25 12:43:57 +09:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-tempest-dsvm-neutron-ovs-native-{node}{suffix}'
|
2015-08-25 12:43:57 +09:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-02-06 11:47:12 +01:00
|
|
|
timeout: 130
|
2015-08-25 12:43:57 +09:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- 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 BRANCH_OVERRIDE={branch-override}
|
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
|
|
|
# Add configrations for ovs native interface in local.conf
|
|
|
|
function pre_test_hook {{
|
|
|
|
local localconf=$BASE/new/devstack/local.conf
|
|
|
|
echo "[[post-config|/\$Q_PLUGIN_CONF_FILE]]" >> $localconf
|
|
|
|
echo "[ovs]" >> $localconf
|
|
|
|
echo "of_interface=native" >> $localconf
|
2016-04-29 17:56:33 -07:00
|
|
|
echo "ovsdb_interface=native" >> $localconf
|
2015-08-25 12:43:57 +09:00
|
|
|
}}
|
|
|
|
export -f pre_test_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
|
|
|
|
|
2015-05-21 10:17:35 -07:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-tempest-dsvm-neutron-linuxbridge-{node}{suffix}'
|
2015-05-21 10:17:35 -07:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- timeout:
|
2016-02-06 11:47:12 +01:00
|
|
|
timeout: 130
|
2015-05-21 10:17:35 -07:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
2015-11-26 19:06:49 +01:00
|
|
|
- print-template-name:
|
|
|
|
template-name: "{template-name}"
|
2015-05-21 10:17:35 -07:00
|
|
|
- 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
|
2016-10-05 11:48:46 -07:00
|
|
|
export DEVSTACK_GATE_TLSPROXY=1
|
2016-09-08 17:34:12 -07:00
|
|
|
export DEVSTACK_LOCAL_CONFIG="Q_AGENT=linuxbridge"$'\n'"PHYSICAL_NETWORK=default"$'\n'
|
2015-05-21 10:17:35 -07:00
|
|
|
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:
|
|
|
|
- devstack-logs
|
|
|
|
- console-log
|
2016-01-15 11:04:47 -06:00
|
|
|
|
2016-08-18 15:00:58 -07:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-tempest-dsvm-neutron-scenario-linuxbridge-{node}{suffix}'
|
2016-08-18 15:00:58 -07:00
|
|
|
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_TEMPEST=1
|
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
export DEVSTACK_GATE_EXERCISES=0
|
|
|
|
export BRANCH_OVERRIDE={branch-override}
|
2016-09-08 17:34:12 -07:00
|
|
|
export DEVSTACK_LOCAL_CONFIG="Q_AGENT=linuxbridge"$'\n'"PHYSICAL_NETWORK=default"$'\n'
|
2016-08-18 15:00:58 -07:00
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
|
|
|
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
|
|
|
|
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron.tests.tempest.scenario\."
|
2017-02-16 13:39:24 +01:00
|
|
|
export TEMPEST_CONCURRENCY=2
|
2016-08-18 15:00:58 -07:00
|
|
|
|
|
|
|
function gate_hook {{
|
2017-02-24 08:54:06 +00:00
|
|
|
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh dsvm-scenario-linuxbridge dvrskip
|
2016-08-18 15:00:58 -07:00
|
|
|
}}
|
|
|
|
export -f gate_hook
|
|
|
|
|
|
|
|
function post_test_hook {{
|
2017-02-24 08:54:06 +00:00
|
|
|
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh dsvm-scenario-linuxbridge
|
2016-08-18 15:00:58 -07:00
|
|
|
}}
|
|
|
|
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
|
|
|
|
|
2016-01-15 11:04:47 -06:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-tempest-dsvm-neutron-{which}-{node}{suffix}'
|
2016-01-15 11:04:47 -06:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-02-06 11:47:12 +01:00
|
|
|
timeout: 130
|
2016-01-15 11:04:47 -06:00
|
|
|
- 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 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 full-{which}
|
|
|
|
}}
|
|
|
|
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
|
2016-02-11 19:44:53 +02:00
|
|
|
|
|
|
|
# run tempest with:
|
|
|
|
# 1) neutron enabled
|
|
|
|
# 2) oslo.messaging from git
|
|
|
|
# 3) specific oslo.messaging driver enabled
|
2017-05-05 18:08:09 -04:00
|
|
|
# 4) plug-in configuration (optional)
|
2016-02-11 19:44:53 +02:00
|
|
|
- job-template:
|
2017-05-05 18:08:09 -04:00
|
|
|
name: 'gate-tempest-neutron-dsvm-src-oslo.messaging-{plugin}-{config}-{node}{suffix}'
|
2016-02-11 19:44:53 +02:00
|
|
|
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_TEMPEST=1
|
|
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
|
|
|
2016-02-17 11:25:07 -05:00
|
|
|
export PROJECTS="openstack/devstack-plugin-{plugin} $PROJECTS"
|
2016-02-11 19:44:53 +02:00
|
|
|
export DEVSTACK_LOCAL_CONFIG="enable_plugin devstack-plugin-{plugin} git://git.openstack.org/openstack/devstack-plugin-{plugin}"
|
|
|
|
|
|
|
|
export DEVSTACK_PROJECT_FROM_GIT="oslo.messaging"
|
|
|
|
|
2017-05-05 18:08:09 -04:00
|
|
|
if [ "{plugin}" == "amqp1" ]; then
|
|
|
|
# The AMQP 1.0 plugin supports a couple of different message bus configurations
|
|
|
|
# 'hybrid' - use RabbitMQ for Notifications, qdrouterd for RPC
|
|
|
|
# 'dual' - use qpidd for Notifications, qdrouterd for RPC
|
|
|
|
# default: use qpidd for Notifications and for RPC
|
|
|
|
case "{config}" in
|
|
|
|
hybrid)
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"AMQP1_SERVICE=qpid-hybrid"
|
|
|
|
;;
|
|
|
|
dual)
|
|
|
|
export DEVSTACK_LOCAL_CONFIG+=$'\n'"AMQP1_SERVICE=qpid-dual"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
|
2016-02-11 19:44:53 +02:00
|
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
|
|
|
|
|
|
publishers:
|
|
|
|
- devstack-logs
|
2016-02-25 21:25:37 -08:00
|
|
|
- console-log
|
|
|
|
|
|
|
|
|
2016-09-28 17:42:25 +02:00
|
|
|
- job-template:
|
2016-12-08 22:05:01 +01:00
|
|
|
name: '{pipeline}-tempest-dsvm-neutron-dvr-multinode-scenario-{node-release}{suffix}'
|
2016-09-28 17:42:25 +02:00
|
|
|
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_NEUTRON=1
|
|
|
|
export DEVSTACK_GATE_CONFIGDRIVE=0
|
|
|
|
export DEVSTACK_GATE_TEMPEST_ALL_PLUGINS=1
|
|
|
|
export DEVSTACK_GATE_TEMPEST_REGEX="^neutron\.tests\.tempest\.scenario\."
|
2017-02-16 13:39:24 +01:00
|
|
|
export TEMPEST_CONCURRENCY=2
|
2016-09-28 17:42:25 +02:00
|
|
|
# Test DVR works multinode
|
|
|
|
export DEVSTACK_GATE_NEUTRON_DVR=1
|
|
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
|
|
|
export DEVSTACK_GATE_TOPOLOGY="multinode"
|
|
|
|
|
2016-12-16 11:45:22 +00:00
|
|
|
function gate_hook {{
|
2017-02-24 08:54:06 +00:00
|
|
|
bash -xe $BASE/new/neutron/neutron/tests/contrib/gate_hook.sh dsvm-scenario-ovs
|
2016-12-16 11:45:22 +00:00
|
|
|
}}
|
|
|
|
export -f gate_hook
|
|
|
|
|
|
|
|
function post_test_hook {{
|
2017-02-24 08:54:06 +00:00
|
|
|
bash -xe $BASE/new/neutron/neutron/tests/contrib/post_test_hook.sh dsvm-scenario-ovs
|
2016-12-16 11:45:22 +00:00
|
|
|
}}
|
|
|
|
export -f post_test_hook
|
|
|
|
|
2016-09-28 17:42:25 +02:00
|
|
|
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
|
2017-03-09 13:01:22 +09:00
|
|
|
|
|
|
|
- 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
|