hbase-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: HBase-1.2 » latest1.7,Hadoop #57
Date Tue, 07 Jul 2015 23:35:48 GMT
See <https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/57/changes>

Changes:

[stack] HBASE-13561 ITBLL.Verify doesn't actually evaluate counters after job completes (Josh
Elser)

------------------------------------------
[...truncated 44893 lines...]
Running org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter
Running org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.203 sec - in org.apache.hadoop.hbase.filter.TestFilterWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.81 sec - in org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Running org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.551 sec - in org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter
Running org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.163 sec - in org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Running org.apache.hadoop.hbase.TestDrainingServer
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 78.751 sec - in org.apache.hadoop.hbase.backup.TestHFileArchiving
Running org.apache.hadoop.hbase.TestLocalHBaseCluster
Running org.apache.hadoop.hbase.trace.TestHTraceHooks
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.594 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.684 sec - in org.apache.hadoop.hbase.trace.TestHTraceHooks
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.881 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.467 sec - in org.apache.hadoop.hbase.TestLocalHBaseCluster
Running org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster
Running org.apache.hadoop.hbase.quotas.TestQuotaAdmin
Running org.apache.hadoop.hbase.quotas.TestQuotaThrottle
Running org.apache.hadoop.hbase.quotas.TestQuotaTableUtil
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.331 sec - in org.apache.hadoop.hbase.quotas.TestQuotaAdmin
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.284 sec - in org.apache.hadoop.hbase.quotas.TestQuotaTableUtil
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.903 sec - in org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster
Running org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Running org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.394 sec - in org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Running org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingProvider
Running org.apache.hadoop.hbase.wal.TestWALFactory
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.951 sec - in org.apache.hadoop.hbase.quotas.TestQuotaThrottle
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.587 sec - in org.apache.hadoop.hbase.TestDrainingServer
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.216 sec - in org.apache.hadoop.hbase.wal.TestWALFactory
Running org.apache.hadoop.hbase.wal.TestWALSplit
Running org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.668 sec - in org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingProvider
Running org.apache.hadoop.hbase.wal.TestSecureWAL
Running org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.244 sec - in org.apache.hadoop.hbase.wal.TestSecureWAL
Running org.apache.hadoop.hbase.wal.TestWALFiltering
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.486 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Running org.apache.hadoop.hbase.TestMovedRegionsCleaner
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.257 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.997 sec - in org.apache.hadoop.hbase.TestMovedRegionsCleaner
Running org.apache.hadoop.hbase.TestMetaMigrationConvertingToPB
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.957 sec - in org.apache.hadoop.hbase.wal.TestWALFiltering
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.991 sec - in org.apache.hadoop.hbase.TestMetaMigrationConvertingToPB
Running org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.739 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Running org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Running org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.674 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.93 sec - in org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.5 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Running org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 213.474 sec - in org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 102.776 sec - in org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.295 sec - in org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 209.757 sec - in org.apache.hadoop.hbase.wal.TestWALSplit
Running org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Running org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.103 sec - in org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Running org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.876 sec - in org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Running org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.608 sec - in org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.713 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.796 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.76 sec - in org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Running org.apache.hadoop.hbase.replication.TestReplicationSource
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.375 sec - in org.apache.hadoop.hbase.replication.TestReplicationSource
Running org.apache.hadoop.hbase.replication.TestMasterReplication
Running org.apache.hadoop.hbase.replication.TestReplicationWithTags
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.939 sec - in org.apache.hadoop.hbase.replication.TestReplicationWithTags
Running org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Running org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.852 sec - in org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Running org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 215.259 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager
Running org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.376 sec - in org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.014 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestWALObserver
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 67.475 sec - in org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.356 sec - in org.apache.hadoop.hbase.coprocessor.TestWALObserver
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerObserver
Running org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 90.988 sec - in org.apache.hadoop.hbase.replication.TestMasterReplication
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.544 sec - in org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.336 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerObserver
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 62.839 sec <<< FAILURE!
- in org.apache.hadoop.hbase.replication.TestReplicationEndpoint
testReplicationEndpointReturnsFalseOnReplicate(org.apache.hadoop.hbase.replication.TestReplicationEndpoint)
 Time elapsed: 60.468 sec  <<< FAILURE!
junit.framework.AssertionFailedError: Waiting timed out after [60,000] msec
	at junit.framework.Assert.fail(Assert.java:57)
	at org.apache.hadoop.hbase.Waiter.waitFor(Waiter.java:209)
	at org.apache.hadoop.hbase.Waiter.waitFor(Waiter.java:143)
	at org.apache.hadoop.hbase.replication.TestReplicationEndpoint.testReplicationEndpointReturnsFalseOnReplicate(TestReplicationEndpoint.java:145)

Running org.apache.hadoop.hbase.coprocessor.TestDoubleColumnInterpreter
Running org.apache.hadoop.hbase.coprocessor.TestHTableWrapper
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.428 sec - in org.apache.hadoop.hbase.coprocessor.TestDoubleColumnInterpreter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.183 sec - in org.apache.hadoop.hbase.coprocessor.TestHTableWrapper
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Running org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.811 sec - in org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.67 sec - in org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.15 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.113 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Running org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Tests run: 13, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 72.794 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Running org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.605 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.324 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.564 sec - in org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.579 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorTableEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.183 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestClassLoading
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.397 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorTableEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestBigDecimalColumnInterpreter
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.12 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.678 sec - in org.apache.hadoop.hbase.coprocessor.TestBigDecimalColumnInterpreter
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Running org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.491 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Running org.apache.hadoop.hbase.TestMetaTableLocator
Running org.apache.hadoop.hbase.TestJMXListener
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.53 sec - in org.apache.hadoop.hbase.TestMetaTableLocator
Running org.apache.hadoop.hbase.TestHBaseTestingUtility
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.044 sec - in org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.345 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.32 sec - in org.apache.hadoop.hbase.coprocessor.TestClassLoading
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.579 sec - in org.apache.hadoop.hbase.TestJMXListener
Running org.apache.hadoop.hbase.namespace.TestZKLessNamespaceAuditor
Running org.apache.hadoop.hbase.namespace.TestNamespaceAuditor
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.744 sec - in org.apache.hadoop.hbase.TestHBaseTestingUtility
Killed
Killed

Results :



Flaked tests: 
org.apache.hadoop.hbase.replication.TestReplicationEndpoint.testReplicationEndpointReturnsFalseOnReplicate(org.apache.hadoop.hbase.replication.TestReplicationEndpoint)
  Run 1: TestReplicationEndpoint.testReplicationEndpointReturnsFalseOnReplicate:145 Waiting
timed out after [60,000] msec
  Run 2: PASS


Tests run: 2649, Failures: 0, Errors: 0, Skipped: 20, Flakes: 1

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [1:17.648s]
[INFO] HBase - Checkstyle ................................ SUCCESS [7.926s]
[INFO] HBase - Annotations ............................... SUCCESS [1.155s]
[INFO] HBase - Protocol .................................. SUCCESS [17.956s]
[INFO] HBase - Common .................................... SUCCESS [2:45.817s]
[INFO] HBase - Procedure ................................. SUCCESS [1:52.445s]
[INFO] HBase - Client .................................... SUCCESS [1:30.237s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [9.335s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [11.107s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [8.971s]
[INFO] HBase - Server .................................... FAILURE [1:52:00.902s]
[INFO] HBase - Testing Util .............................. SKIPPED
[INFO] HBase - Thrift .................................... SKIPPED
[INFO] HBase - Rest ...................................... SKIPPED
[INFO] HBase - Shell ..................................... SKIPPED
[INFO] HBase - Integration Tests ......................... SKIPPED
[INFO] HBase - Examples .................................. SKIPPED
[INFO] HBase - Assembly .................................. SKIPPED
[INFO] HBase - Shaded .................................... SKIPPED
[INFO] HBase - Shaded - Client ........................... SKIPPED
[INFO] HBase - Shaded - Server ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:00:43.820s
[INFO] Finished at: Tue Jul 07 23:33:28 UTC 2015
[INFO] Final Memory: 96M/638M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (secondPartTestsExecution)
on project hbase-server: ExecutionException: java.lang.RuntimeException: The forked VM terminated
without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd <https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/ws/hbase-server>
&& /home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7/jre/bin/java -enableassertions
-XX:MaxDirectMemorySize=1G -Xmx2800m -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom
-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -jar <https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefirebooter8555559666216256675.jar>
<https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefire8402534102930000074tmp>
<https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefire_13122542452433832646493tmp>
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hbase-server
Build step 'Invoke top-level Maven targets' marked build as failure
Performing Post build task...
Match found for :.* : True
Logical operation result is TRUE
Running script  :   ZOMBIE_TESTS_COUNT=`jps | grep surefirebooter | wc -l`
  if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
    #It seems sometimes the tests are not dying immediately. Let's give them 10s
    echo "Suspicious java process found - waiting 10s to see if there are just slow to stop"
    sleep 10   
    ZOMBIE_TESTS_COUNT=`jps | grep surefirebooter | wc -l`
    if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
      echo "There are $ZOMBIE_TESTS_COUNT zombie tests, they should have been killed by surefire
but survived"
      echo "************ BEGIN zombies jstack extract"
      ZB_STACK=`jps | grep surefirebooter | cut -d ' ' -f 1 | xargs -n 1 jstack | grep ".test"
| grep "\.java"`
      jps | grep surefirebooter | cut -d ' ' -f 1 | xargs -n 1 jstack
      echo "************ END  zombies jstack extract"
      JIRA_COMMENT="$JIRA_COMMENT

     {color:red}-1 core zombie tests{color}.  There are ${ZOMBIE_TESTS_COUNT} zombie test(s):
${ZB_STACK}"
      BAD=1
      jps | grep surefirebooter | 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"
    fi
  else
    echo "We're ok: there is no zombie test"
  fi
[Hadoop] $ /bin/bash -xe /tmp/hudson7433166093345337675.sh
++ jps
++ wc -l
++ grep surefirebooter
+ ZOMBIE_TESTS_COUNT=0
+ [[ 0 != 0 ]]
+ echo 'We'\''re ok: there is no zombie test'
We're ok: there is no zombie test
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Archiving artifacts
Sending artifact delta relative to HBase-1.2 » latest1.7,Hadoop #56
Archived 2108 artifacts
Archive block size is 32768
Received 38 blocks and 506098232 bytes
Compression is 0.2%
Took 2 min 22 sec

Mime
View raw message