From 94bfe909aff9fd74cb1a5d0c3f9209a19704c6cf Mon Sep 17 00:00:00 2001 From: stack Date: Wed, 14 Oct 2015 00:29:37 -0700 Subject: [PATCH] HBASE-14589 Builds are being killed... --- dev-support/test-patch.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dev-support/test-patch.sh b/dev-support/test-patch.sh index 26b6d88f8d6..c312ba35e93 100755 --- a/dev-support/test-patch.sh +++ b/dev-support/test-patch.sh @@ -853,10 +853,6 @@ runTests () { echo "" failed_tests="" - ### Kill any rogue build processes from the last attempt - condemnedCount=`$PS auxwww | $GREP ${PROJECT_NAME}PatchProcess | $AWK '{print $2}' | $AWK 'BEGIN {total = 0} {total += 1} END {print total}'` - echo "WARNING: $condemnedCount rogue build processes detected, terminating." - $PS auxwww | $GREP ${PROJECT_NAME}PatchProcess | $AWK '{print $2}' | /usr/bin/xargs -t -I {} /bin/kill -9 {} > /dev/null echo "$MVN clean test -Dsurefire.rerunFailingTestsCount=2 -P runAllTests -D${PROJECT_NAME}PatchProcess" export MAVEN_OPTS="${MAVEN_OPTS}" ulimit -a @@ -897,6 +893,9 @@ runTests () { {color:red}-1 core zombie tests{color}. There are ${ZOMBIE_TESTS_COUNT} zombie test(s): ${ZB_STACK}" BAD=1 + # Killing these zombies + echo 'Killing ZOMBIES!!!' + jps -v jps -v | grep surefirebooter | grep '-Dhbase.test' | cut -d ' ' -f 1 | xargs kill -9 else echo "We're ok: there is no zombie test, but some tests took some time to stop" @@ -1043,7 +1042,7 @@ This message is automatically generated." parseArgs $@ cd $BASEDIR -echo "Version of this script: Tue Oct 13 20:44:46 PDT 2015" +echo "Version of this script: Wed Oct 14 00:29:04 PDT 2015" checkout RESULT=$? if [[ $JENKINS == "true" ]] ; then