HBASE-14589 Looking for the surefire-killer; builds being killed...; ADDENDUM; purge killing of zombies

This commit is contained in:
stack 2015-11-02 22:01:10 -08:00
parent ca4d27c700
commit a82d55e3cf
1 changed files with 0 additions and 5 deletions

View File

@ -884,7 +884,6 @@ runTests () {
if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
echo "There are $ZOMBIE_TESTS_COUNT zombie tests, they should have been killed by surefire but survived" echo "There are $ZOMBIE_TESTS_COUNT zombie tests, they should have been killed by surefire but survived"
echo "************ zombies jps listing" echo "************ zombies jps listing"
jps -v
jps -v | grep surefirebooter | grep '-Dhbase.test' jps -v | grep surefirebooter | grep '-Dhbase.test'
echo "************ BEGIN zombies jstack extract" echo "************ BEGIN zombies jstack extract"
# HBase tests have been flagged with an innocuous '-Dhbase.test' just so they can # HBase tests have been flagged with an innocuous '-Dhbase.test' just so they can
@ -896,10 +895,6 @@ runTests () {
{color:red}-1 core zombie tests{color}. There are ${ZOMBIE_TESTS_COUNT} zombie test(s): ${ZB_STACK}" {color:red}-1 core zombie tests{color}. There are ${ZOMBIE_TESTS_COUNT} zombie test(s): ${ZB_STACK}"
BAD=1 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 else
echo "We're ok: there is no zombie test, but some tests took some time to stop" echo "We're ok: there is no zombie test, but some tests took some time to stop"
fi fi