You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@hbase.apache.org by ap...@apache.org on 2013/10/14 12:13:46 UTC

Build failed in Jenkins: HBase-TRUNK-Hadoop-2 #521

See <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/521/changes>

Changes:

[Lars Hofhansl] HBASE-9751 Excessive readpoints checks in StoreFileScanner

------------------------------------------
[...truncated 7303 lines...]
Running org.apache.hadoop.hbase.master.TestMaster
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.839 sec
Running org.apache.hadoop.hbase.master.TestRollingRestart
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.595 sec
Running org.apache.hadoop.hbase.master.TestActiveMasterManager
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.054 sec
Running org.apache.hadoop.hbase.master.TestHMasterRPCException
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.721 sec
Running org.apache.hadoop.hbase.master.TestMasterMetrics
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.948 sec
Running org.apache.hadoop.hbase.master.TestMasterTransitions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 42.292 sec
Running org.apache.hadoop.hbase.master.TestMasterMetricsWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.066 sec
Running org.apache.hadoop.hbase.master.TestMasterFailover
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 108.545 sec
Running org.apache.hadoop.hbase.master.cleaner.TestLogsCleaner
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.658 sec
Running org.apache.hadoop.hbase.master.cleaner.TestHFileCleaner
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.769 sec
Running org.apache.hadoop.hbase.mapreduce.TestTableMapReduce
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 420.507 sec
Running org.apache.hadoop.hbase.master.TestMasterNoCluster
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.372 sec
Running org.apache.hadoop.hbase.master.snapshot.TestSnapshotFileCache
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.621 sec
Running org.apache.hadoop.hbase.master.TestMasterRestartAfterDisablingTable
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.516 sec
Running org.apache.hadoop.hbase.master.TestRegionPlacement
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.927 sec
Running org.apache.hadoop.hbase.master.cleaner.TestSnapshotFromMaster
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.098 sec
Running org.apache.hadoop.hbase.master.TestMasterFileSystem
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.852 sec
Running org.apache.hadoop.hbase.master.TestMasterStatusServlet
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.679 sec
Running org.apache.hadoop.hbase.master.TestOpenedRegionHandler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.608 sec
Running org.apache.hadoop.hbase.master.balancer.TestDefaultLoadBalancer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.806 sec
Running org.apache.hadoop.hbase.master.TestMasterShutdown
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.175 sec
Running org.apache.hadoop.hbase.master.balancer.TestBaseLoadBalancer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.762 sec
Running org.apache.hadoop.hbase.master.TestRestartCluster
Running org.apache.hadoop.hbase.master.TestAssignmentManagerOnCluster
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.867 sec
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.74 sec
Running org.apache.hadoop.hbase.master.TestDeadServer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.938 sec
Running org.apache.hadoop.hbase.master.TestTableLockManager
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 159.684 sec
Running org.apache.hadoop.hbase.master.TestZKBasedOpenCloseRegion
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.501 sec
Running org.apache.hadoop.hbase.master.handler.TestTableDeleteFamilyHandler
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.138 sec
Running org.apache.hadoop.hbase.master.handler.TestTableDescriptorModification
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.622 sec
Running org.apache.hadoop.hbase.master.handler.TestCreateTableHandler
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.624 sec
Running org.apache.hadoop.hbase.master.TestClusterStatusPublisher
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.627 sec
Running org.apache.hadoop.hbase.master.TestMasterFailoverBalancerPersistence
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.479 sec
Running org.apache.hadoop.hbase.master.TestSplitLogManager
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.922 sec
Running org.apache.hadoop.hbase.client.TestSnapshotMetadata
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.799 sec
Running org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 122.758 sec
Running org.apache.hadoop.hbase.client.TestScannerTimeout
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.249 sec
Running org.apache.hadoop.hbase.client.TestClientTimeouts
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.806 sec
Running org.apache.hadoop.hbase.client.TestTimestampsFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.517 sec
Running org.apache.hadoop.hbase.client.TestMultipleTimestamps
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.544 sec
Running org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.945 sec
Running org.apache.hadoop.hbase.client.TestMetaScanner
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.619 sec
Running org.apache.hadoop.hbase.master.TestDistributedLogSplitting
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 214.203 sec
Running org.apache.hadoop.hbase.client.TestFromClientSide
Tests run: 66, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 134.339 sec
Running org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Tests run: 66, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 125.368 sec
Running org.apache.hadoop.hbase.client.TestMultiParallel
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.22 sec
Running org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.25 sec
Running org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 188.383 sec
Running org.apache.hadoop.hbase.client.TestHCM
Tests run: 15, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 63.252 sec
Running org.apache.hadoop.hbase.client.TestFromClientSide3
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.567 sec
Running org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.669 sec
Running org.apache.hadoop.hbase.client.TestSnapshotFromClient
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.028 sec
Running org.apache.hadoop.hbase.client.TestScannersFromClientSide
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.539 sec
Running org.apache.hadoop.hbase.client.TestFromClientSideNoCodec
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.958 sec
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.996 sec
Running org.apache.hadoop.hbase.client.TestCloneSnapshotFromClient
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.174 sec
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.435 sec
Running org.apache.hadoop.hbase.client.TestHTableUtil
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.936 sec
Running org.apache.hadoop.hbase.client.TestHTableMultiplexer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.446 sec
Running org.apache.hadoop.hbase.client.TestAdmin
Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 513.001 sec

Results :

Failed tests:   testExceptionFromCoprocessorDuringPut(org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort): The put should have failed, as the coprocessor is buggy

Tests run: 1636, Failures: 1, Errors: 0, Skipped: 21

[JENKINS] Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [38.866s]
[INFO] HBase - Common .................................... SUCCESS [1:23.000s]
[INFO] HBase - Protocol .................................. SUCCESS [19.904s]
[INFO] HBase - Client .................................... SUCCESS [47.472s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [5.696s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [19.619s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [5.492s]
[INFO] HBase - Server .................................... FAILURE [1:02:27.000s]
[INFO] HBase - Testing Util .............................. SKIPPED
[INFO] HBase - Thrift .................................... SKIPPED
[INFO] HBase - Shell ..................................... SKIPPED
[INFO] HBase - Integration Tests ......................... SKIPPED
[INFO] HBase - Examples .................................. SKIPPED
[INFO] HBase - Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:06:08.432s
[INFO] Finished at: Mon Oct 14 10:13:40 UTC 2013
[INFO] Final Memory: 42M/887M
[INFO] ------------------------------------------------------------------------
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-hadoop2-compat/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-hadoop2-compat/builds/2013-10-14_09-07-26/archive/org.apache.hbase/hbase-hadoop2-compat/0.97.0-SNAPSHOT/hbase-hadoop2-compat-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-common/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-common/builds/2013-10-14_09-07-26/archive/org.apache.hbase/hbase-common/0.97.0-SNAPSHOT/hbase-common-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-hadoop-compat/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-hadoop-compat/builds/2013-10-14_09-07-26/archive/org.apache.hbase/hbase-hadoop-compat/0.97.0-SNAPSHOT/hbase-hadoop-compat-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-examples/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-examples/builds/2013-10-14_09-07-26/archive/org.apache.hbase/hbase-examples/0.97.0-SNAPSHOT/hbase-examples-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-it/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-it/builds/2013-10-14_09-07-26/archive/org.apache.hbase/hbase-it/0.97.0-SNAPSHOT/hbase-it-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase/builds/2013-10-14_09-07-25/archive/org.apache.hbase/hbase/0.97.0-SNAPSHOT/hbase-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-assembly/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-assembly/builds/2013-10-14_09-07-26/archive/org.apache.hbase/hbase-assembly/0.97.0-SNAPSHOT/hbase-assembly-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-thrift/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-thrift/builds/2013-10-14_09-07-26/archive/org.apache.hbase/hbase-thrift/0.97.0-SNAPSHOT/hbase-thrift-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-testing-util/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-testing-util/builds/2013-10-14_09-07-26/archive/org.apache.hbase/hbase-testing-util/0.97.0-SNAPSHOT/hbase-testing-util-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-client/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-client/builds/2013-10-14_09-07-26/archive/org.apache.hbase/hbase-client/0.97.0-SNAPSHOT/hbase-client-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-prefix-tree/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-prefix-tree/builds/2013-10-14_09-07-26/archive/org.apache.hbase/hbase-prefix-tree/0.97.0-SNAPSHOT/hbase-prefix-tree-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-protocol/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-protocol/builds/2013-10-14_09-07-26/archive/org.apache.hbase/hbase-protocol/0.97.0-SNAPSHOT/hbase-protocol-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-server/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-server/builds/2013-10-14_09-07-25/archive/org.apache.hbase/hbase-server/0.97.0-SNAPSHOT/hbase-server-0.97.0-SNAPSHOT.pom
[JENKINS] Archiving <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-shell/pom.xml> to /var/lib/jenkins/jobs/HBase-TRUNK-Hadoop-2/modules/org.apache.hbase$hbase-shell/builds/2013-10-14_09-07-26/archive/org.apache.hbase/hbase-shell/0.97.0-SNAPSHOT/hbase-shell-0.97.0-SNAPSHOT.pom
Waiting for Jenkins to finish collecting data
mavenExecutionResult exceptions not empty
message : Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12-TRUNK-HBASE-2:test (secondPartTestsExecution) on project hbase-server: There are test failures.

Please refer to <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-server/target/surefire-reports> for the individual test results.
cause : There are test failures.

Please refer to <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-server/target/surefire-reports> for the individual test results.
Stack trace : 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12-TRUNK-HBASE-2:test (secondPartTestsExecution) on project hbase-server: There are test failures.

Please refer to <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-server/target/surefire-reports> for the individual test results.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
	at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:100)
	at hudson.maven.Maven3Builder.call(Maven3Builder.java:66)
	at hudson.remoting.UserRequest.perform(UserRequest.java:118)
	at hudson.remoting.UserRequest.perform(UserRequest.java:48)
	at hudson.remoting.Request$2.run(Request.java:326)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
	at java.lang.Thread.run(Thread.java:662)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.

Please refer to <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/ws/hbase-server/target/surefire-reports> for the individual test results.
	at org.apache.maven.plugin.surefire.SurefireHelper.reportExecution(SurefireHelper.java:87)
	at org.apache.maven.plugin.surefire.SurefirePlugin.writeSummary(SurefirePlugin.java:651)
	at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:625)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:137)
	at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:98)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	... 27 more
channel stopped
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
    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-TRUNK-Hadoop-2] $ /bin/bash -xe /tmp/hudson2766958750892930340.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

Jenkins build is back to normal : HBase-TRUNK-Hadoop-2 #522

Posted by ap...@apache.org.
See <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/522/changes>