
Env vars from separate script were exported only for child process and were not available for other subprocesses. https://jenkins07.openstack.org/job/gate-manila-tempest-dsvm-neutron/122/console Set all external scripts to be called in parent process. Because there is no need to use subprocesses. Call of setup.sh is intended to be in pre_test_hook: https://review.openstack.org/#/c/97003/ Also added 'export DEVSTACK_GATE_NEUTRON=1' to the config, because name of job supposes using of neutron, so enable it by default. Change-Id: Ia211526d63c172b5c9f700d59c143ad78694348b
81 lines
2.2 KiB
YAML
81 lines
2.2 KiB
YAML
- job:
|
|
name: gate-manila-tempest-dsvm-neutron
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 65
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=60
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
export ENABLED_SERVICES=manila,m-api,m-shr,m-sch,tempest
|
|
export PROJECTS="stackforge/manila $PROJECTS"
|
|
export PROJECTS="stackforge/python-manilaclient $PROJECTS"
|
|
|
|
function pre_test_hook {
|
|
source $BASE/new/manila/contrib/ci/pre_test_hook.sh
|
|
}
|
|
export -f pre_test_hook
|
|
|
|
function post_test_hook {
|
|
source $BASE/new/manila/contrib/ci/post_test_hook.sh
|
|
}
|
|
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:
|
|
- devstack-logs
|
|
- console-log
|
|
|
|
|
|
- job:
|
|
name: gate-manila-tempest-dsvm-neutron-multibackend
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 65
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=60
|
|
export DEVSTACK_GATE_NEUTRON=1
|
|
export ENABLED_SERVICES=manila,m-api,m-shr,m-sch,tempest
|
|
export PROJECTS="stackforge/manila $PROJECTS"
|
|
export PROJECTS="stackforge/python-manilaclient $PROJECTS"
|
|
|
|
function pre_test_hook {
|
|
source $BASE/new/manila/contrib/ci/multi_backend/pre_test_hook.sh
|
|
}
|
|
export -f pre_test_hook
|
|
|
|
function post_test_hook {
|
|
source $BASE/new/manila/contrib/ci/multi_backend/post_test_hook.sh
|
|
}
|
|
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:
|
|
- devstack-logs
|
|
- console-log
|