Add job to run swift functional tests.

Run swift functional tests against a devstack vm.

Change-Id: I26a33de6bd413cbc73f65a99c03c091f8b7799c9
Reviewed-on: https://review.openstack.org/32125
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Monty Taylor 2013-06-07 14:28:54 +02:00 committed by Jenkins
parent a0a7b7d800
commit caacc138e3
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,37 @@
- job:
name: gate-swift-devstack-vm-functional
node: devstack-precise
wrappers:
- timeout:
timeout: 120
fail: true
- timestamps
parameters:
- label:
name: NODE_LABEL
description: Label of node to use for this build
default: devstack-precise
builders:
- devstack-inprogress
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
function post_test_hook {
cd /opt/stack/swift
bash .functests
}
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
- link-logs
publishers:
- console-log
- devstack-complete

View File

@ -85,6 +85,9 @@ jobs:
branch: ^(?!stable/(folsom|grizzly)).*$ branch: ^(?!stable/(folsom|grizzly)).*$
- name: tempest-docs - name: tempest-docs
branch: ^(?!stable/(folsom|grizzly)).*$ branch: ^(?!stable/(folsom|grizzly)).*$
- name: gate-swift-devstack-vm-functional
voting: false
branch: ^(?!stable/(folsom|grizzly)).*$
- name: gate-nova-pylint - name: gate-nova-pylint
voting: false voting: false
- name: gate-cinder-pylint - name: gate-cinder-pylint
@ -649,6 +652,7 @@ projects:
- gate-swift-docs - gate-swift-docs
- gate-swift-python26 - gate-swift-python26
- gate-swift-python27 - gate-swift-python27
- gate-swift-devstack-vm-functional
- gate-tempest-devstack-vm-smoke - gate-tempest-devstack-vm-smoke
- gate-tempest-devstack-vm-full - gate-tempest-devstack-vm-full
- gate-tempest-devstack-vm-cinder - gate-tempest-devstack-vm-cinder