Write tests log to a separate file
Change-Id: I18649c24cb048c4ef5dbab85272975dad7584cd1
This commit is contained in:
parent
cb396cf03d
commit
6ed02eff2d
@ -30,6 +30,10 @@
|
|||||||
devstack_services:
|
devstack_services:
|
||||||
designate: true
|
designate: true
|
||||||
neutron-dns: true
|
neutron-dns: true
|
||||||
|
zuul_copy_output:
|
||||||
|
'{{ devstack_log_dir }}/test_output.log': 'logs'
|
||||||
|
extensions_to_txt:
|
||||||
|
log: true
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: ansible-collections-openstack-functional-devstack-octavia
|
name: ansible-collections-openstack-functional-devstack-octavia
|
||||||
|
@ -131,8 +131,9 @@ fi
|
|||||||
SDK_VER=$(python -c "import openstack; print(openstack.version.__version__)")
|
SDK_VER=$(python -c "import openstack; print(openstack.version.__version__)")
|
||||||
pushd ci/
|
pushd ci/
|
||||||
# run tests
|
# run tests
|
||||||
|
set -o pipefail
|
||||||
ANSIBLE_COLLECTIONS_PATHS=$TEST_COLLECTIONS_PATHS ansible-playbook \
|
ANSIBLE_COLLECTIONS_PATHS=$TEST_COLLECTIONS_PATHS ansible-playbook \
|
||||||
-vvv ./run-collection.yml \
|
-vvv ./run-collection.yml \
|
||||||
-e "sdk_version=${SDK_VER} cloud=${CLOUD} image=${IMAGE} ${ANSIBLE_VARS}" \
|
-e "sdk_version=${SDK_VER} cloud=${CLOUD} image=${IMAGE} ${ANSIBLE_VARS}" \
|
||||||
${tag_opt}
|
${tag_opt} 2>&1 | sudo tee /opt/stack/logs/test_output.log
|
||||||
popd
|
popd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user