From: Alon Kochba Date: Tue, 28 Feb 2017 11:46:08 +0000 (+0200) Subject: Add additional filtering of log file exceptions X-Git-Tag: release/boron-sr3~244 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=49d23ed8be179858bca2c448e628d45e24326124;p=releng%2Fbuilder.git Add additional filtering of log file exceptions Add exception grepping and fix for cluster case. Change-Id: I9636cc9dbd3fd9e1bfdd1093b9c8224113a50fa4 Signed-off-by: Alon Kochba --- diff --git a/jjb/integration/include-raw-integration-deploy-openstack-run-test.sh b/jjb/integration/include-raw-integration-deploy-openstack-run-test.sh index 92617cf5e..c8767536b 100644 --- a/jjb/integration/include-raw-integration-deploy-openstack-run-test.sh +++ b/jjb/integration/include-raw-integration-deploy-openstack-run-test.sh @@ -382,8 +382,9 @@ do ${SSH} "${!CONTROLLERIP}" "tar -cf /tmp/odl${i}_karaf.log.tar /tmp/odl_log/*" scp "${!CONTROLLERIP}:/tmp/odl${i}_karaf.log.tar" "${WORKSPACE}/odl${i}_karaf.log.tar" tar -xvf ${WORKSPACE}/odl${i}_karaf.log.tar -C . --strip-components 2 --transform s/karaf/odl${i}_karaf/g - grep "ROBOT MESSAGE\| ERROR " odl1_karaf.log > odl${i}_err.log - grep "ROBOT MESSAGE\| ERROR \| WARN " odl1_karaf.log > odl${i}_err_warn.log + grep "ROBOT MESSAGE\| ERROR " odl${i}_karaf.log > odl${i}_err.log + grep "ROBOT MESSAGE\| Exception " 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