X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fintegration%2Finclude-raw-integration-start-cluster-run-test.sh;h=ab79025604a601de3b80fc9657a4cb7f4dc0cba4;hb=17bab41e424572f91b47b4a7cb0433b42732305a;hp=1f54c60d4c617e072c1cd6b500d6b853d0ced553;hpb=93eea32e12e0f361e75086d9f4196c0065f69524;p=releng%2Fbuilder.git diff --git a/jjb/integration/include-raw-integration-start-cluster-run-test.sh b/jjb/integration/include-raw-integration-start-cluster-run-test.sh index 1f54c60d4..ab7902560 100644 --- a/jjb/integration/include-raw-integration-start-cluster-run-test.sh +++ b/jjb/integration/include-raw-integration-start-cluster-run-test.sh @@ -30,7 +30,7 @@ while true; do echo "Dumping last 500K bytes of karaf log..." tail --bytes=500K "/tmp/${BUNDLEFOLDER}/data/log/karaf.log" echo "Listing all open ports on controller system" - netstat -natu + netstat -pnatu exit 1 else COUNT=\$(( \${COUNT} + 5 )) @@ -40,7 +40,7 @@ while true; do done echo "Listing all open ports on controller system.." -netstat -natu +netstat -pnatu function exit_on_log_file_message { echo "looking for \"\$1\" in log file" @@ -120,6 +120,14 @@ TOOLS_SYSTEM_IP:${TOOLS_SYSTEM_IP} ${tools_variables} -v NUM_TOOLS_SYSTEM:${NUM_ -v USER_HOME:${HOME} ${TESTOPTIONS} ${SUITES} || true # FIXME: Sort (at least -v) options alphabetically. +echo "Examining the files in data/log and checking filesize" +ssh ${ODL_SYSTEM_1_IP} "ls -altr /tmp/${BUNDLEFOLDER}/data/log/" +ssh ${ODL_SYSTEM_1_IP} "du -hs /tmp/${BUNDLEFOLDER}/data/log/*" +ssh ${ODL_SYSTEM_2_IP} "ls -altr /tmp/${BUNDLEFOLDER}/data/log/" +ssh ${ODL_SYSTEM_2_IP} "du -hs /tmp/${BUNDLEFOLDER}/data/log/*" +ssh ${ODL_SYSTEM_3_IP} "ls -altr /tmp/${BUNDLEFOLDER}/data/log/" +ssh ${ODL_SYSTEM_3_IP} "du -hs /tmp/${BUNDLEFOLDER}/data/log/*" + set +e # We do not want to create red dot just because something went wrong while fetching logs. for i in `seq 1 ${NUM_ODL_SYSTEM}` do