split up pbr tests from requirements tests

pbr installation testing needs to know that all current package
definitions will actually work upon a pbr change, in the multiple ways
that packages need to be installed.

requirements testing needs to ensure that all the requirements work,
but don't need to check that 3 times on every tree. They also only
need to care that the global list is installable (not currently tested).

We should fork these tests and specialize the requirements test to
it's purpose. Especially as doing so should reduce the run time by
over 50%.

Depends-On: I37b1510f3639c332a13bd7fc892b66f71b99b594

Change-Id: Ia49d93031425ce70e7667972fdf9078143d0dd53
This commit is contained in:
Sean Dague 2015-01-13 16:22:14 -05:00
parent 9e4f88219e
commit a9f9ce6674
3 changed files with 42 additions and 2 deletions

View File

@ -1427,6 +1427,12 @@
- '{pipeline}-requirements-integration-dsvm':
pipeline: check
node: 'devstack-precise || devstack-trusty'
- '{pipeline}-pbr-installation-dsvm':
pipeline: gate
node: 'devstack-precise || devstack-trusty'
- '{pipeline}-pbr-installation-dsvm':
pipeline: check
node: 'devstack-precise || devstack-trusty'
- project:
name: sahara-dashboard

View File

@ -2,6 +2,40 @@
name: '{pipeline}-requirements-integration-dsvm'
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_TIMEOUT=120
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_REQS_INTEGRATION=1
export PIP_PROCESS_DEPENDENCY_LINKS=1
function gate_hook {{
set -x
bash $BASE/new/devstack-gate/devstack-vm-gate.sh && \
bash -xe $BASE/new/requirements/tools/integration.sh $(cat $BASE/new/requirements/projects.txt)
}}
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
- job-template:
name: '{pipeline}-pbr-installation-dsvm'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125

View File

@ -3015,9 +3015,9 @@ projects:
- name: pypy-jobs
- name: experimental-tripleo-jobs
check:
- check-requirements-integration-dsvm
- check-pbr-installation-dsvm
gate:
- gate-requirements-integration-dsvm
- gate-pbr-installation-dsvm
post:
- pbr-coverage
post: