Add case to capture exception log 69/64769/1
authorSam Hague <shague@redhat.com>
Thu, 26 Oct 2017 17:51:18 +0000 (13:51 -0400)
committerSam Hague <shague@redhat.com>
Thu, 26 Oct 2017 17:51:18 +0000 (13:51 -0400)
Change-Id: I2610be4386c804e2667381b76347398ef4cbf47a
Signed-off-by: Sam Hague <shague@redhat.com>
jjb/integration/integration-deploy-openstack-run-test.sh

index a0e231d3c8b45ef5aea3701df87563041771c9e4..f9b8852c1fc018233cea7a8c685b67d73d2b7165 100644 (file)
@@ -481,7 +481,7 @@ EOF
         grep "ROBOT MESSAGE\| ERROR " odl${i}_karaf.log > odl${i}_err.log
         # Print ROBOT lines, Print Caused by...Exception: lines,
         # Print Exception{ lines as well as the previous line that has the timestamp for context
-        sed -n -e '/ROBOT MESSAGE/P' -e '/Caused by.*Exception:/P' -e '$!N;/Exception{/P;D' odl${i}_karaf.log > odl${i}_exception.log
+        sed -n -e '/ROBOT MESSAGE/P' -e '/Caused by.*Exception:/P' -e '$!N;/Exception:/P;D' -e '$!N;/Exception{/P;D' odl${i}_karaf.log > odl${i}_exception.log
         grep "ROBOT MESSAGE\| ERROR \| WARN \|Exception" odl${i}_karaf.log > odl${i}_err_warn_exception.log
         rm ${WORKSPACE}/odl${i}_karaf.log.tar
     done