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.8,Hadoop #66
Date Tue, 14 Jul 2015 05:30:36 GMT
See <https://builds.apache.org/job/HBase-1.2/jdk=latest1.8,label=Hadoop/66/changes>

Changes:

[busbey] HBASE-14066 clean out old docbook docs from branch-1.

------------------------------------------
[...truncated 45995 lines...]
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
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.475 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
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: 16.647 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.39 sec - in org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.779 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 79.297 sec - in org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.515 sec - in org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 188.762 sec - in org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 179.414 sec - in org.apache.hadoop.hbase.wal.TestWALSplit
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.842 sec - in org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.836 sec - in org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.604 sec - in org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.265 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.395 sec - in org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.replication.TestReplicationWithTags
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.036 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.replication.TestMasterReplication
Running org.apache.hadoop.hbase.replication.TestReplicationSource
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.223 sec - in org.apache.hadoop.hbase.replication.TestReplicationSource
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.789 sec - in org.apache.hadoop.hbase.replication.TestReplicationWithTags
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.245 sec - in org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Running org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Running org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.842 sec - in org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.439 sec - in org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.381 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 202.502 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
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: 60.313 sec - in org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerObserver
Running org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.606 sec - in org.apache.hadoop.hbase.coprocessor.TestWALObserver
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.776 sec - in org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.coprocessor.TestDoubleColumnInterpreter
Running org.apache.hadoop.hbase.coprocessor.TestHTableWrapper
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.603 sec - in org.apache.hadoop.hbase.replication.TestMasterReplication
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.588 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerObserver
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.437 sec - in org.apache.hadoop.hbase.coprocessor.TestDoubleColumnInterpreter
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.999 sec - in org.apache.hadoop.hbase.coprocessor.TestHTableWrapper
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.913 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.448 sec - in org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Running org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.495 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.885 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.687 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.532 sec - in org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 13, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 70.637 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorTableEndpoint
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.368 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.318 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorTableEndpoint
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.coprocessor.TestBigDecimalColumnInterpreter
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.241 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.63 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.coprocessor.TestClassLoading
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.977 sec - in org.apache.hadoop.hbase.coprocessor.TestBigDecimalColumnInterpreter
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Running org.apache.hadoop.hbase.TestJMXListener
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.662 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.TestMetaTableLocator
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.16 sec - in org.apache.hadoop.hbase.TestMetaTableLocator
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.TestHBaseTestingUtility
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.561 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.343 sec - in org.apache.hadoop.hbase.coprocessor.TestClassLoading
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.545 sec - in org.apache.hadoop.hbase.TestJMXListener
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.447 sec - in org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Running org.apache.hadoop.hbase.namespace.TestNamespaceAuditor
Running org.apache.hadoop.hbase.namespace.TestZKLessNamespaceAuditor
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.172 sec - in org.apache.hadoop.hbase.TestHBaseTestingUtility
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 95.635 sec - in org.apache.hadoop.hbase.namespace.TestNamespaceAuditor
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.707 sec - in org.apache.hadoop.hbase.namespace.TestZKLessNamespaceAuditor

Results :


Tests in error: 
org.apache.hadoop.hbase.master.TestTableLockManager.testReapAllTableLocks(org.apache.hadoop.hbase.master.TestTableLockManager)
  Run 1: TestTableLockManager.testReapAllTableLocks:283 » LockTimeout Timed out acquiri...
  Run 2: TestTableLockManager.testReapAllTableLocks:283 » LockTimeout Timed out acquiri...
  Run 3: TestTableLockManager.testReapAllTableLocks:283 » LockTimeout Timed out acquiri...



Tests run: 2610, Failures: 0, Errors: 1, Skipped: 20

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [1:03.371s]
[INFO] HBase - Checkstyle ................................ SUCCESS [6.484s]
[INFO] HBase - Annotations ............................... SUCCESS [1.166s]
[INFO] HBase - Protocol .................................. SUCCESS [18.614s]
[INFO] HBase - Common .................................... SUCCESS [2:24.710s]
[INFO] HBase - Procedure ................................. SUCCESS [1:51.902s]
[INFO] HBase - Client .................................... SUCCESS [1:28.161s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [7.676s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [10.314s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [7.192s]
[INFO] HBase - Server .................................... FAILURE [1:29:27.401s]
[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: 1:37:26.854s
[INFO] Finished at: Tue Jul 14 05:28:23 UTC 2015
[INFO] Final Memory: 97M/1244M
[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.8,label=Hadoop/ws/hbase-server>
&& /home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.8/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.8,label=Hadoop/ws/hbase-server/target/surefire/surefirebooter8140001415067306294.jar>
<https://builds.apache.org/job/HBase-1.2/jdk=latest1.8,label=Hadoop/ws/hbase-server/target/surefire/surefire3462598204644052227tmp>
<https://builds.apache.org/job/HBase-1.2/jdk=latest1.8,label=Hadoop/ws/hbase-server/target/surefire/surefire_8907199281574545922893tmp>
[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/hudson91747755467166102.sh
++ jps
++ grep surefirebooter
++ wc -l
+ 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.8,Hadoop #65
Archived 2095 artifacts
Archive block size is 32768
Received 44 blocks and 510302215 bytes
Compression is 0.3%
Took 2 min 17 sec

Mime
View raw message