Add check-devstack-gate-tempest-dsvm-full jobs

A check job that runs on devstack-gate changes that checks out
the proposed change as the initial checkout of devstack-gate
thereby exercising the parts of the script that are not exercised
by the re-exec.

A second job that sets the ZUUL project to none to further ensure
that the re-exec code is not used at all.

These are not able to be used in the gate because they rely on
gerrit-git-prep which does not handle changes to multiple projects.

Change-Id: If62b251e2a22a579d9fc251b745e59a9f2bc355c
This commit is contained in:
James E. Blair 2013-12-06 13:49:41 -08:00
parent df29757c1b
commit e90f81108d
4 changed files with 75 additions and 0 deletions

View File

@ -1,3 +1,54 @@
- job-template:
name: 'check-dg-tempest-dsvm-full'
node: '{node}'
wrappers:
- timeout:
timeout: 90
fail: true
- timestamps
builders:
- experimental-devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export ZUUL_PROJECT=none
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
- console-log
- job-template:
name: 'check-dg-tempest-dsvm-full-reexec'
node: '{node}'
wrappers:
- timeout:
timeout: 90
fail: true
- timestamps
builders:
- experimental-devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
- console-log
- job-template: - job-template:
name: '{pipeline}-tempest-dsvm-full{branch-designator}' name: '{pipeline}-tempest-dsvm-full{branch-designator}'
node: '{node}' node: '{node}'
@ -643,6 +694,13 @@
- console-log - console-log
- job-group:
name: devstack-gate-jobs
jobs:
- 'check-dg-tempest-dsvm-full'
- 'check-dg-tempest-dsvm-full-reexec'
- job-group: - job-group:
name: devstack-jobs name: devstack-jobs
jobs: jobs:

View File

@ -201,6 +201,18 @@
cd .. cd ..
fi fi
- builder:
name: experimental-devstack-checkout
builders:
- shell: |
#!/bin/bash -xe
if [[ ! -e devstack-gate ]]; then
git clone git://git.openstack.org/openstack-infra/devstack-gate
fi
cd devstack-gate
/usr/local/jenkins/slave_scripts/gerrit-git-prep.sh https://review.openstack.org http://zuul.openstack.org git://git.openstack.org
cd ..
- builder: - builder:
name: link-logs name: link-logs
builders: builders:

View File

@ -1062,6 +1062,9 @@
branch-designator: '-master' branch-designator: '-master'
branch-override: master branch-override: master
node: devstack-precise node: devstack-precise
# Special jobs for devstack-gate
- devstack-gate-jobs:
node: devstack-precise
- project: - project:

View File

@ -1696,6 +1696,8 @@ projects:
- name: openstack-infra/devstack-gate - name: openstack-infra/devstack-gate
check: check:
- check-dg-tempest-dsvm-full
- check-dg-tempest-dsvm-full-reexec
- check-tempest-dsvm-full - check-tempest-dsvm-full
- check-tempest-dsvm-postgres-full - check-tempest-dsvm-postgres-full
- check-tempest-dsvm-neutron - check-tempest-dsvm-neutron