Merge "Update test-birfrost to limit log lines"

This commit is contained in:
Jenkins 2015-06-10 12:23:00 +00:00 committed by Gerrit Code Review
commit 67f4168738

View File

@ -42,10 +42,10 @@ if [ $EXITCODE != 0 ]; then
sudo iptables -L -n -v sudo iptables -L -n -v
echo "*************************" echo "*************************"
echo "Ironic API log, last 1000 lines:" echo "Ironic API log, last 1000 lines:"
sudo cat /var/log/upstart/ironic-api.log sudo tail -n 1000 /var/log/upstart/ironic-api.log
echo "*************************" echo "*************************"
echo "Ironic Conductor log, last 1000 lines:" echo "Ironic Conductor log, last 1000 lines:"
sudo cat /var/log/upstart/ironic-conductor.log sudo tail -n 1000 /var/log/upstart/ironic-conductor.log
echo "Making logs directory and collecting logs." echo "Making logs directory and collecting logs."
mkdir ../logs mkdir ../logs
sudo cp /var/log/libvirt/baremetal_logs/testvm1_console.log ../logs/ sudo cp /var/log/libvirt/baremetal_logs/testvm1_console.log ../logs/