See <https://builds.apache.org/job/HBase-1.3/jdk=latest1.8,label=Hadoop/225/changes>
Changes: [apurtell] HBASE-13143 TestCacheOnWrite is flaky and needs a diet ------------------------------------------ [...truncated 46572 lines...] Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Running org.apache.hadoop.hbase.io.TestFileLink Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.208 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlock 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.346 sec - in org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks 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 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 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 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.887 sec - in org.apache.hadoop.hbase.io.TestFileLink Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Running org.apache.hadoop.hbase.constraint.TestConstraint Running org.apache.hadoop.hbase.filter.TestColumnRangeFilter Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 122.955 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite 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: 7.323 sec - in org.apache.hadoop.hbase.filter.TestColumnRangeFilter Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Running org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter 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 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: 4.329 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Running org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd Running org.apache.hadoop.hbase.filter.TestFilterWithScanLimits Running org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.245 sec - in org.apache.hadoop.hbase.constraint.TestConstraint 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: 489.874 sec - in org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer2 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 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 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: 4.071 sec - in org.apache.hadoop.hbase.filter.TestFilterWithScanLimits 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 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 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 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 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 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.TestGlobalMemStoreSize Running org.apache.hadoop.hbase.filter.TestScanRowPrefix Running org.apache.hadoop.hbase.filter.TestFilterWrapper Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.674 sec - in org.apache.hadoop.hbase.filter.TestScanRowPrefix Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Running org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.14 sec - in org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter 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.119 sec - in org.apache.hadoop.hbase.filter.TestFilterWrapper Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.82 sec - in org.apache.hadoop.hbase.TestGlobalMemStoreSize 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 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Running org.apache.hadoop.hbase.migration.TestUpgradeTo96 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.266 sec - in org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster 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.TestNamespace 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 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: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.813 sec - in org.apache.hadoop.hbase.migration.TestUpgradeTo96 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Running org.apache.hadoop.hbase.replication.TestReplicationSource Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.311 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 Running org.apache.hadoop.hbase.migration.TestNamespaceUpgrade Running org.apache.hadoop.hbase.replication.TestReplicationWithTags Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.944 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 Running org.apache.hadoop.hbase.replication.TestPerTableCFReplication Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.731 sec - in org.apache.hadoop.hbase.migration.TestNamespaceUpgrade 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: 36.897 sec - in org.apache.hadoop.hbase.TestNamespace 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.TestReplicationChangingPeerRegionservers Running org.apache.hadoop.hbase.replication.TestReplicationSmallTests Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.478 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 Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.017 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.TestMasterReplication Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.613 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.TestReplicationKillSlaveRS Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.841 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 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.287 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.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.763 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 Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.876 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.regionserver.TestRegionReplicaReplicationEndpoint Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.905 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 Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 198.61 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.258 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 Running org.apache.hadoop.hbase.replication.multiwal.TestReplicationKillMasterRSCompressedWithMultipleWAL Running org.apache.hadoop.hbase.replication.multiwal.TestReplicationEndpointWithMultipleWAL Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.873 sec - in org.apache.hadoop.hbase.replication.multiwal.TestReplicationKillMasterRSCompressedWithMultipleWAL Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.798 sec - in org.apache.hadoop.hbase.replication.multiwal.TestReplicationEndpointWithMultipleWAL 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.71 sec - in org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl Running org.apache.hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleWAL 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.TestReplicationEndpoint Running org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.346 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 Running org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.868 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 Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.472 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 Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.044 sec - in org.apache.hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleWAL 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: 20.437 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.953 sec - in org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool Running org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.053 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.621 sec - in org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 206.476 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager Results : Flaked tests: org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence.testOnlineSnapshotDeleteIndependent(org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence) Run 1: TestSnapshotCloneIndependence.testOnlineSnapshotDeleteIndependent:184->runTestSnapshotDeleteIndependent:427 expected:<17576> but was:<14046> Run 2: PASS org.apache.hadoop.hbase.master.handler.TestEnableTableHandler.testEnableTableWithNoRegionServers(org.apache.hadoop.hbase.master.handler.TestEnableTableHandler) Run 1: TestEnableTableHandler.testEnableTableWithNoRegionServers:113 expected:<testEnableTableWithNoRegionServers> but was:<hbase:namespace> Run 2: PASS Tests run: 2479, Failures: 0, Errors: 0, Skipped: 38, Flakes: 2 [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] Apache HBase ...................................... SUCCESS [1:14.432s] [INFO] Apache HBase - Checkstyle ......................... SUCCESS [5.980s] [INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.326s] [INFO] Apache HBase - Annotations ........................ SUCCESS [1.799s] [INFO] Apache HBase - Protocol ........................... SUCCESS [21.200s] [INFO] Apache HBase - Common ............................. SUCCESS [1:51.962s] [INFO] Apache HBase - Procedure .......................... SUCCESS [1:55.551s] [INFO] Apache HBase - Client ............................. SUCCESS [1:24.406s] [INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [8.695s] [INFO] Apache HBase - Hadoop Two Compatibility ........... SUCCESS [8.944s] [INFO] Apache HBase - Prefix Tree ........................ SUCCESS [7.810s] [INFO] Apache HBase - Server ............................. FAILURE [1:45:48.268s] [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: 1:53:27.124s [INFO] Finished at: Fri Oct 02 05:16:10 UTC 2015 [INFO] Final Memory: 97M/645M [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.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.3/jdk=latest1.8,label=Hadoop/ws/hbase-server/target/surefire/surefirebooter3124440563369640379.jar> <https://builds.apache.org/job/HBase-1.3/jdk=latest1.8,label=Hadoop/ws/hbase-server/target/surefire/surefire7054456826041510291tmp> <https://builds.apache.org/job/HBase-1.3/jdk=latest1.8,label=Hadoop/ws/hbase-server/target/surefire/surefire_9095961288404517491855tmp> [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/hudson7553757287773092350.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
