See <https://builds.apache.org/job/HBase-1.3/jdk=latest1.7,label=Hadoop/253/changes>
Changes: [eclark] HBASE-14585 Clean up TestSnapshotCloneIndependence ------------------------------------------ [...truncated 45020 lines...] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.907 sec - in org.apache.hadoop.hbase.filter.TestFilterWithScanLimits Running org.apache.hadoop.hbase.quotas.TestQuotaAdmin Running org.apache.hadoop.hbase.quotas.TestQuotaThrottle Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.166 sec - in org.apache.hadoop.hbase.quotas.TestQuotaAdmin Running org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders Running org.apache.hadoop.hbase.quotas.TestQuotaTableUtil Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.555 sec - in org.apache.hadoop.hbase.quotas.TestQuotaTableUtil Running org.apache.hadoop.hbase.io.encoding.TestChangingEncoding Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.814 sec - in org.apache.hadoop.hbase.quotas.TestQuotaThrottle Running org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.573 sec - in org.apache.hadoop.hbase.TestHBaseTestingUtility Running org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.385 sec - in org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder Running org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.047 sec - in org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.364 sec - in org.apache.hadoop.hbase.io.encoding.TestChangingEncoding Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.015 sec - in org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL Running org.apache.hadoop.hbase.io.hfile.TestHFileBlock Running org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 217.692 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 183.031 sec - in org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers Running org.apache.hadoop.hbase.io.hfile.TestHFileSeek Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.089 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileSeek Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.907 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex Running org.apache.hadoop.hbase.io.hfile.TestCacheConfig Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.575 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheConfig Running org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks Running org.apache.hadoop.hbase.io.TestFileLink Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.903 sec - in org.apache.hadoop.hbase.io.TestFileLink Running org.apache.hadoop.hbase.procedure.TestZKProcedure Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.826 sec - in org.apache.hadoop.hbase.procedure.TestZKProcedure Running org.apache.hadoop.hbase.procedure.TestZKProcedureControllers Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.503 sec - in org.apache.hadoop.hbase.procedure.TestZKProcedureControllers Running org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.854 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlock Running org.apache.hadoop.hbase.ipc.TestHBaseClient Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.532 sec - in org.apache.hadoop.hbase.ipc.TestHBaseClient Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.409 sec - in org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.291 sec - in org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks Running org.apache.hadoop.hbase.ipc.TestProtoBufRpc Running org.apache.hadoop.hbase.ipc.TestDelayedRpc Running org.apache.hadoop.hbase.TestLocalHBaseCluster Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.08 sec - in org.apache.hadoop.hbase.ipc.TestProtoBufRpc Running org.apache.hadoop.hbase.TestAcidGuarantees Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.989 sec - in org.apache.hadoop.hbase.ipc.TestDelayedRpc Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.394 sec - in org.apache.hadoop.hbase.TestLocalHBaseCluster Running org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.512 sec - in org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide Running org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.527 sec - in org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.741 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.897 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker Running org.apache.hadoop.hbase.zookeeper.TestZKTableStateManager Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.525 sec - in org.apache.hadoop.hbase.zookeeper.TestZKTableStateManager Running org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.758 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.199 sec - in org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock Running org.apache.hadoop.hbase.zookeeper.TestZKMulti Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.055 sec - in org.apache.hadoop.hbase.zookeeper.TestZKMulti Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 347.552 sec - in org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders Running org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.871 sec - in org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster Running org.apache.hadoop.hbase.TestJMXListener Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.066 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock Running org.apache.hadoop.hbase.TestZooKeeper Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.518 sec - in org.apache.hadoop.hbase.TestJMXListener Running org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 214.373 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.397 sec - in org.apache.hadoop.hbase.TestAcidGuarantees Running org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.441 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: 4.355 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager Running org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.999 sec - in org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.87 sec - in org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.192 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.814 sec - in org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint Running org.apache.hadoop.hbase.replication.TestMultiSlaveReplication Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.548 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS Running org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.167 sec - in org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.892 sec - in org.apache.hadoop.hbase.replication.TestMultiSlaveReplication Running org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS Running org.apache.hadoop.hbase.replication.multiwal.TestReplicationKillMasterRSCompressedWithMultipleWAL Running org.apache.hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleWAL Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 208.986 sec - in org.apache.hadoop.hbase.TestZooKeeper Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.811 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.65 sec - in org.apache.hadoop.hbase.replication.multiwal.TestReplicationKillMasterRSCompressedWithMultipleWAL Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 238.107 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager Running org.apache.hadoop.hbase.replication.TestMasterReplication Running org.apache.hadoop.hbase.replication.multiwal.TestReplicationEndpointWithMultipleWAL Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.015 sec - in org.apache.hadoop.hbase.replication.multiwal.TestReplicationEndpointWithMultipleWAL Running org.apache.hadoop.hbase.replication.TestPerTableCFReplication Running org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.893 sec - in org.apache.hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleWAL Running org.apache.hadoop.hbase.replication.TestReplicationWithTags Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.38 sec - in org.apache.hadoop.hbase.replication.TestReplicationWithTags Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.024 sec - in org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.011 sec - in org.apache.hadoop.hbase.replication.TestPerTableCFReplication Running org.apache.hadoop.hbase.replication.TestReplicationSource Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.372 sec - in org.apache.hadoop.hbase.replication.TestReplicationSource Running org.apache.hadoop.hbase.replication.TestReplicationEndpoint Running org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.306 sec - in org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.448 sec - in org.apache.hadoop.hbase.replication.TestReplicationEndpoint Running org.apache.hadoop.hbase.fs.TestBlockReorder Running org.apache.hadoop.hbase.replication.TestReplicationSmallTests Running org.apache.hadoop.hbase.trace.TestHTraceHooks Running org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.056 sec - in org.apache.hadoop.hbase.trace.TestHTraceHooks Running org.apache.hadoop.hbase.TestMovedRegionsCleaner Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.411 sec - in org.apache.hadoop.hbase.fs.TestBlockReorder Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.687 sec - in org.apache.hadoop.hbase.replication.TestMasterReplication Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.138 sec - in org.apache.hadoop.hbase.TestMovedRegionsCleaner Running org.apache.hadoop.hbase.TestMetaTableLocator Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.645 sec - in org.apache.hadoop.hbase.TestMetaTableLocator Running org.apache.hadoop.hbase.namespace.TestNamespaceAuditor Running org.apache.hadoop.hbase.namespace.TestZKLessNamespaceAuditor Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.166 sec - in org.apache.hadoop.hbase.replication.TestReplicationSmallTests Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.947 sec - in org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool Running org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat Running org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil Running org.apache.hadoop.hbase.mapred.TestMultiTableSnapshotInputFormat Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 127.69 sec - in org.apache.hadoop.hbase.namespace.TestZKLessNamespaceAuditor Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 129.437 sec - in org.apache.hadoop.hbase.namespace.TestNamespaceAuditor Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 126.978 sec - in org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil Running org.apache.hadoop.hbase.mapred.TestTableInputFormat Running org.apache.hadoop.hbase.mapred.TestTableMapReduce Running org.apache.hadoop.hbase.TestMetaMigrationConvertingToPB Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.03 sec - in org.apache.hadoop.hbase.TestMetaMigrationConvertingToPB Running org.apache.hadoop.hbase.TestMultiVersions Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.441 sec - in org.apache.hadoop.hbase.TestMultiVersions Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 126.139 sec - in org.apache.hadoop.hbase.mapred.TestTableInputFormat Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 234.843 sec - in org.apache.hadoop.hbase.mapred.TestMultiTableSnapshotInputFormat Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 146.002 sec - in org.apache.hadoop.hbase.mapred.TestTableMapReduce Killed Results : Flaked tests: org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer.testRegionReplicationOnMidClusterSameHosts(org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer) Run 1: TestStochasticLoadBalancer.testRegionReplicationOnMidClusterSameHosts:453->BalancerTestBase.testWithCluster:444->BalancerTestBase.assertClusterAsBalanced:203 null Run 2: PASS org.apache.hadoop.hbase.master.procedure.TestModifyNamespaceProcedure.testRollbackAndDoubleExecution(org.apache.hadoop.hbase.master.procedure.TestModifyNamespaceProcedure) Run 1: TestModifyNamespaceProcedure.testRollbackAndDoubleExecution:277 expected null, but was:<bar> Run 2: PASS org.apache.hadoop.hbase.util.TestHBaseFsck.testSplitDaughtersNotInMeta(org.apache.hadoop.hbase.util.TestHBaseFsck) Run 1: TestHBaseFsck.testSplitDaughtersNotInMeta:1741 » NullPointer Run 2: PASS Tests run: 2542, Failures: 0, Errors: 0, Skipped: 56, Flakes: 3 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache HBase ...................................... SUCCESS [1:33.630s] [INFO] Apache HBase - Checkstyle ......................... SUCCESS [8.287s] [INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.283s] [INFO] Apache HBase - Annotations ........................ SUCCESS [1.693s] [INFO] Apache HBase - Protocol ........................... SUCCESS [33.757s] [INFO] Apache HBase - Common ............................. SUCCESS [4:57.019s] [INFO] Apache HBase - Procedure .......................... SUCCESS [2:08.853s] [INFO] Apache HBase - Client ............................. SUCCESS [1:48.080s] [INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [9.576s] [INFO] Apache HBase - Hadoop Two Compatibility ........... SUCCESS [12.091s] [INFO] Apache HBase - Prefix Tree ........................ SUCCESS [14.298s] [INFO] Apache HBase - Server ............................. FAILURE [2:01:35.644s] [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 - External Block Cache ............... SKIPPED [INFO] Apache HBase - Assembly ........................... SKIPPED [INFO] Apache HBase - Shaded ............................. SKIPPED [INFO] Apache HBase - Shaded - Client .................... SKIPPED [INFO] Apache HBase - Shaded - Server .................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2:13:49.609s [INFO] Finished at: Mon Oct 12 21:51:41 UTC 2015 [INFO] Final Memory: 96M/708M [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-1.3/jdk=latest1.7,label=Hadoop/ws/hbase-server> && /home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7/jre/bin/java -enableassertions -Dhbase.test -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.3/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefirebooter688025229633414465.jar> <https://builds.apache.org/job/HBase-1.3/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefire7694410651006518936tmp> <https://builds.apache.org/job/HBase-1.3/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefire_1106296548242220416918tmp> [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/hudson5929273347885787378.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
