55370a54ab
To assist in troubleshooting a variety of otherwise hard-to-diagnose failure modes, add a builder macro to jobs so that we will be able to see their interface addresses, routing table entries and network neighbors. Change-Id: I256c31312fa97dbc3aa44732cae99d066b57d223
39 lines
1.1 KiB
YAML
39 lines
1.1 KiB
YAML
- job-template:
|
|
name: '{pipeline}-sqlalchemy-migrate-devstack-dsvm{branch-designator}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 185
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=180
|
|
export PROJECTS="stackforge/sqlalchemy-migrate $PROJECTS"
|
|
export DEVSTACK_GATE_TEMPEST=1
|
|
export DEVSTACK_GATE_TEMPEST_FULL=1
|
|
export BRANCH_OVERRIDE={branch-override}
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
fi
|
|
|
|
function pre_test_hook {{
|
|
cd /opt/stack/new/sqlalchemy-migrate
|
|
sudo pip install .
|
|
}}
|
|
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
|