Add separate log file to CSIT runs filtered by errors/warns 92/52292/1
authorAlon Kochba <alonko@hpe.com>
Mon, 27 Feb 2017 10:57:59 +0000 (12:57 +0200)
committerAlon Kochba <alonko@hpe.com>
Mon, 27 Feb 2017 10:57:59 +0000 (12:57 +0200)
Change-Id: I689d6f2dbb14fdfd9bf2be14433785c5e3638c43
Signed-off-by: Alon Kochba <alonko@hpe.com>
jjb/integration/include-raw-integration-deploy-openstack-run-test.sh

index 2cefedcb952c3314065c9ca1f40d23c44159fede..92617cf5e94fdb956689f9985b2c155a56f04676 100644 (file)
@@ -382,6 +382,8 @@ 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
     rm ${WORKSPACE}/odl${i}_karaf.log.tar
 done