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-0.98 #1143
Date Tue, 06 Oct 2015 02:23:56 GMT
See <https://builds.apache.org/job/HBase-0.98/1143/changes>

Changes:

[matteo.bertozzi] HBASE-14347 Add a switch to DynamicClassLoader to disable it (huaxiang

------------------------------------------
[...truncated 1701 lines...]
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.093 sec - in org.apache.hadoop.hbase.coprocessor.TestWALObserver
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorHConnection
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.861 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorHConnection
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.056 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.387 sec - in org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.079 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.072 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.042 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.83 sec - in org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Running org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.725 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Running org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.663 sec - in org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.099 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Running org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.519 sec - in org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB
Running org.apache.hadoop.hbase.catalog.TestMetaReaderEditorNoCluster
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.43 sec - in org.apache.hadoop.hbase.catalog.TestMetaReaderEditorNoCluster
Running org.apache.hadoop.hbase.catalog.TestCatalogTracker
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.414 sec - in org.apache.hadoop.hbase.catalog.TestCatalogTracker
Running org.apache.hadoop.hbase.catalog.TestMetaReaderEditor
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.664 sec - in org.apache.hadoop.hbase.catalog.TestMetaReaderEditor
Running org.apache.hadoop.hbase.client.TestHTableUtil
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.708 sec - in org.apache.hadoop.hbase.client.TestHTableUtil
Running org.apache.hadoop.hbase.client.TestScannersFromClientSide
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.798 sec - in org.apache.hadoop.hbase.client.TestScannersFromClientSide
Running org.apache.hadoop.hbase.client.TestRpcControllerFactory
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.779 sec - in org.apache.hadoop.hbase.client.TestRpcControllerFactory
Running org.apache.hadoop.hbase.client.TestSnapshotFromClient
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.628 sec - in org.apache.hadoop.hbase.client.TestSnapshotFromClient
Running org.apache.hadoop.hbase.client.TestFromClientSide
Tests run: 81, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 96.332 sec - in org.apache.hadoop.hbase.client.TestFromClientSide
Running org.apache.hadoop.hbase.client.TestAdmin2
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.397 sec - in org.apache.hadoop.hbase.client.TestAdmin2
Running org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.652 sec - in org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout
Running org.apache.hadoop.hbase.client.TestAdmin1
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.78 sec - in org.apache.hadoop.hbase.client.TestAdmin1
Running org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Tests run: 81, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 96.301 sec - in org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Running org.apache.hadoop.hbase.client.TestResultSizeEstimation
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.092 sec - in org.apache.hadoop.hbase.client.TestResultSizeEstimation
Running org.apache.hadoop.hbase.client.TestFromClientSide3
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.774 sec - in org.apache.hadoop.hbase.client.TestFromClientSide3
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.487 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Running org.apache.hadoop.hbase.client.TestHTableMultiplexerFlushCache
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.81 sec - in org.apache.hadoop.hbase.client.TestHTableMultiplexerFlushCache
Running org.apache.hadoop.hbase.client.TestClientTimeouts
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.968 sec - in org.apache.hadoop.hbase.client.TestClientTimeouts
Running org.apache.hadoop.hbase.client.TestClientPushback
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.53 sec - in org.apache.hadoop.hbase.client.TestClientPushback
Running org.apache.hadoop.hbase.client.TestSizeFailures
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.876 sec - in org.apache.hadoop.hbase.client.TestSizeFailures
Running org.apache.hadoop.hbase.client.TestMultipleTimestamps
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.56 sec - in org.apache.hadoop.hbase.client.TestMultipleTimestamps
Running org.apache.hadoop.hbase.client.TestHCM
Tests run: 15, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 42.777 sec - in org.apache.hadoop.hbase.client.TestHCM
Running org.apache.hadoop.hbase.client.TestScannerTimeout
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.092 sec - in org.apache.hadoop.hbase.client.TestScannerTimeout
Running org.apache.hadoop.hbase.client.TestCheckAndMutate
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.789 sec - in org.apache.hadoop.hbase.client.TestCheckAndMutate
Running org.apache.hadoop.hbase.client.TestPutWithDelete
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.571 sec - in org.apache.hadoop.hbase.client.TestPutWithDelete
Running org.apache.hadoop.hbase.client.TestCloneSnapshotFromClient
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.905 sec - in org.apache.hadoop.hbase.client.TestCloneSnapshotFromClient
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.885 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.518 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.829 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Running org.apache.hadoop.hbase.client.TestSnapshotMetadata
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.769 sec - in org.apache.hadoop.hbase.client.TestSnapshotMetadata
Running org.apache.hadoop.hbase.client.replication.TestReplicationAdminWithClusters
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.687 sec - in org.apache.hadoop.hbase.client.replication.TestReplicationAdminWithClusters
Running org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.402 sec - in org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Running org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.379 sec - in org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
Running org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.195 sec - in org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
Running org.apache.hadoop.hbase.client.TestTimestampsFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.818 sec - in org.apache.hadoop.hbase.client.TestTimestampsFilter
Running org.apache.hadoop.hbase.client.TestTableSnapshotScanner
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.509 sec - in org.apache.hadoop.hbase.client.TestTableSnapshotScanner
Running org.apache.hadoop.hbase.client.TestMultiParallel
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.586 sec - in org.apache.hadoop.hbase.client.TestMultiParallel
Running org.apache.hadoop.hbase.client.TestFromClientSideNoCodec
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.208 sec - in org.apache.hadoop.hbase.client.TestFromClientSideNoCodec
Running org.apache.hadoop.hbase.client.TestClientOperationInterrupt
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.841 sec - in org.apache.hadoop.hbase.client.TestClientOperationInterrupt
Running org.apache.hadoop.hbase.client.TestHTableMultiplexer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.669 sec - in org.apache.hadoop.hbase.client.TestHTableMultiplexer
Running org.apache.hadoop.hbase.client.TestMetaScanner
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.515 sec - in org.apache.hadoop.hbase.client.TestMetaScanner
Running org.apache.hadoop.hbase.TestFullLogReconstruction
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.071 sec - in org.apache.hadoop.hbase.TestFullLogReconstruction
Running org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.946 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Running org.apache.hadoop.hbase.zookeeper.TestZKTable
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.876 sec - in org.apache.hadoop.hbase.zookeeper.TestZKTable
Running org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.018 sec - in org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Running org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.196 sec - in org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Running org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.381 sec - in org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.359 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.011 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Running org.apache.hadoop.hbase.zookeeper.TestZKMulti
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.962 sec - in org.apache.hadoop.hbase.zookeeper.TestZKMulti
Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.101 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Running org.apache.hadoop.hbase.TestZooKeeper
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.276 sec - in org.apache.hadoop.hbase.TestZooKeeper
Running org.apache.hadoop.hbase.migration.TestNamespaceUpgrade
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.892 sec - in org.apache.hadoop.hbase.migration.TestNamespaceUpgrade
Running org.apache.hadoop.hbase.migration.TestUpgradeTo96
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.28 sec - in org.apache.hadoop.hbase.migration.TestUpgradeTo96
Running org.apache.hadoop.hbase.TestDrainingServer
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.156 sec - in org.apache.hadoop.hbase.TestDrainingServer
Running org.apache.hadoop.hbase.TestNamespace
Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 7.114 sec - in org.apache.hadoop.hbase.TestNamespace
Running org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.29 sec - in org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Running org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.522 sec - in org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.682 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Running org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.456 sec - in org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Running org.apache.hadoop.hbase.replication.TestReplicationSource
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.541 sec - in org.apache.hadoop.hbase.replication.TestReplicationSource
Running org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.098 sec - in org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationHLogReaderManager
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 170.49 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationHLogReaderManager
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.057 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.227 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.334 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Running org.apache.hadoop.hbase.replication.TestMasterReplication
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.119 sec - in org.apache.hadoop.hbase.replication.TestMasterReplication
Running org.apache.hadoop.hbase.replication.TestPerTableCFReplication

Results :

Tests run: 1919, Failures: 0, Errors: 0, Skipped: 20

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ...................................... SUCCESS [4.304s]
[INFO] Apache HBase - Checkstyle ......................... SUCCESS [0.822s]
[INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.267s]
[INFO] Apache HBase - Annotations ........................ SUCCESS [1.115s]
[INFO] Apache HBase - Common ............................. SUCCESS [54.749s]
[INFO] Apache HBase - Protocol ........................... SUCCESS [10.706s]
[INFO] Apache HBase - Client ............................. SUCCESS [59.507s]
[INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [7.344s]
[INFO] Apache HBase - Hadoop Two Compatibility ........... SUCCESS [7.306s]
[INFO] Apache HBase - Prefix Tree ........................ SUCCESS [9.370s]
[INFO] Apache HBase - Server ............................. FAILURE [2:46:47.983s]
[INFO] Apache HBase - Testing Util ....................... SKIPPED
[INFO] Apache HBase - Thrift ............................. SKIPPED
[INFO] Apache HBase - Rest ............................... SKIPPED
[INFO] Apache HBase - Shell .............................. SKIPPED
[INFO] Apache HBase - Integration Tests .................. SKIPPED
[INFO] Apache HBase - Examples ........................... SKIPPED
[INFO] Apache HBase - Assembly ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:49:25.397s
[INFO] Finished at: Tue Oct 06 02:23:04 UTC 2015
[INFO] Final Memory: 268M/545M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1: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-0.98/ws/hbase-server>
&& /home/jenkins/tools/java/jdk1.7.0_25-32/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-0.98/ws/hbase-server/target/surefire/surefirebooter5087629985001416780.jar>
<https://builds.apache.org/job/HBase-0.98/ws/hbase-server/target/surefire/surefire1623668394151469512tmp>
<https://builds.apache.org/job/HBase-0.98/ws/hbase-server/target/surefire/surefire_887209834257963879929tmp>
[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
[HBase-0.98] $ /bin/bash -xe /tmp/hudson4424503525931859252.sh
++ jps
++ grep surefirebooter
++ wc -l
+ ZOMBIE_TESTS_COUNT=1
+ [[ 1 != 0 ]]
+ echo 'Suspicious java process found - waiting 10s to see if there are just slow to stop'
Suspicious java process found - waiting 10s to see if there are just slow to stop
+ sleep 10
++ jps
++ grep surefirebooter
++ wc -l
+ ZOMBIE_TESTS_COUNT=0
+ [[ 0 != 0 ]]
+ echo 'We'\''re ok: there is no zombie test, but some tests took some time to stop'
We're ok: there is no zombie test, but some tests took some time to stop
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Archiving artifacts
Recording test results
Updating HBASE-14347

Mime
View raw message