Add post test hook to copy marconi logs

This patch is to copy marconi logs after marconi-tempest jobs.
This is needed to troubleshoot the failures we are seeing in the
experimental jobs, when marconi is using sqlalchemy drivers.

Change-Id: I0bb2be4278de9eb1bade6df5491e65703d17190b
This commit is contained in:
Malini Kamalambal 2014-03-18 08:43:12 -04:00
parent ac304b1c4d
commit 0062890539

View File

@ -487,6 +487,11 @@
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
function post_test_hook {{
gzip -9 -c /var/log/marconi/queues.log > $WORKSPACE/logs/queues.log.txt.gz
}}
export -f post_test_hook
publishers:
- devstack-logs
- console-log