hbase-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject Build failed in Jenkins: HBase-TRUNK-Hadoop-2 #519
Date Sat, 12 Oct 2013 10:12:34 GMT
See <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/519/changes>

Changes:

[jxiang] HBASE-9696 Master recovery ignores online merge znode

------------------------------------------
[...truncated 7304 lines...]
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.292 sec
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationHLogReaderManager
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 320.614 sec
Running org.apache.hadoop.hbase.regionserver.wal.TestReadOldRootAndMetaEdits
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.874 sec
Running org.apache.hadoop.hbase.regionserver.wal.TestWALReplayCompressed
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.734 sec
Running org.apache.hadoop.hbase.regionserver.wal.TestHLogSplitCompressed
Tests run: 33, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 96.38 sec
Running org.apache.hadoop.hbase.regionserver.wal.TestHLogSplit
Tests run: 33, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 97.24 sec
Running org.apache.hadoop.hbase.regionserver.wal.TestHLog
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.391 sec
Running org.apache.hadoop.hbase.regionserver.TestSeekOptimizations
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.979 sec
Running org.apache.hadoop.hbase.regionserver.wal.TestHLogFiltering
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.082 sec
Running org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.093 sec
Running org.apache.hadoop.hbase.regionserver.wal.TestLogRollAbort
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.532 sec
Running org.apache.hadoop.hbase.regionserver.TestBlocksRead
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.034 sec
Running org.apache.hadoop.hbase.regionserver.TestMemStore
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.902 sec
Running org.apache.hadoop.hbase.regionserver.TestGetClosestAtOrBefore
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.603 sec
Running org.apache.hadoop.hbase.regionserver.TestRegionFavoredNodes
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.158 sec
Running org.apache.hadoop.hbase.regionserver.TestFSErrorsExposed
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.716 sec
Running org.apache.hadoop.hbase.regionserver.TestTags
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.979 sec
Running org.apache.hadoop.hbase.regionserver.TestHRegionOnCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.087 sec
Running org.apache.hadoop.hbase.regionserver.TestPriorityRpc
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.936 sec
Running org.apache.hadoop.hbase.regionserver.TestHRegion
Tests run: 64, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.481 sec
Running org.apache.hadoop.hbase.regionserver.TestHRegionServerBulkLoad
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.177 sec
Running org.apache.hadoop.hbase.regionserver.TestMultiColumnScanner
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.477 sec
Running org.apache.hadoop.hbase.regionserver.TestCacheOnWriteInSchema
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.264 sec
Running org.apache.hadoop.hbase.regionserver.TestJoinedScanners
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.165 sec
Running org.apache.hadoop.hbase.regionserver.TestHRegionBusyWait
Tests run: 65, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.844 sec
Running org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster
Tests run: 12, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 237.314 sec <<<
FAILURE!
Running org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.721 sec
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.441 sec
Running org.apache.hadoop.hbase.mapred.TestTableInputFormat
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.97 sec
Running org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 122.822 sec
Running org.apache.hadoop.hbase.procedure.TestZKProcedure
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.695 sec
Running org.apache.hadoop.hbase.procedure.TestZKProcedureControllers
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.761 sec
Running org.apache.hadoop.hbase.TestFullLogReconstruction
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.832 sec
Running org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 112.889 sec
Running org.apache.hadoop.hbase.mapred.TestTableMapReduce
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.785 sec
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.053 sec
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.418 sec
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildHole
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.03 sec
Running org.apache.hadoop.hbase.util.TestProcessBasedCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.711 sec
Running org.apache.hadoop.hbase.util.TestDefaultEnvironmentEdge
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.023 sec
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadEncoded
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 67.822 sec
Running org.apache.hadoop.hbase.util.TestFSUtils
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.846 sec
Running org.apache.hadoop.hbase.util.TestFSTableDescriptors
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.354 sec
Running org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.838 sec
Running org.apache.hadoop.hbase.util.TestRegionSplitter
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.165 sec
Running org.apache.hadoop.hbase.util.TestMergeTool
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.21 sec
Running org.apache.hadoop.hbase.regionserver.wal.TestLogRolling
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 446.927 sec
Running org.apache.hadoop.hbase.util.TestFSVisitor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.216 sec
Running org.apache.hadoop.hbase.util.TestFSHDFSUtils
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.898 sec
Running org.apache.hadoop.hbase.util.TestMergeTable
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.01 sec
Running org.apache.hadoop.hbase.util.TestIdLock
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.329 sec
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.832 sec
Running org.apache.hadoop.hbase.migration.TestUpgradeTo96
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.456 sec
Running org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.519 sec
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.252 sec
Running org.apache.hadoop.hbase.TestDrainingServer
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.264 sec
Running org.apache.hadoop.hbase.migration.TestNamespaceUpgrade
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.715 sec
Running org.apache.hadoop.hbase.TestHBaseTestingUtility
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.353 sec
Running org.apache.hadoop.hbase.util.TestHBaseFsck
Tests run: 38, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 193.978 sec

Results :

Tests in error: 
  testSplitHooksBeforeAndAfterPONR(org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster):
test timed out after 180000 milliseconds

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

[JENKINS] Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [38.574s]
[INFO] HBase - Common .................................... SUCCESS [1:22.048s]
[INFO] HBase - Protocol .................................. SUCCESS [21.407s]
[INFO] HBase - Client .................................... SUCCESS [47.441s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [5.674s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [19.512s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [5.056s]
[INFO] HBase - Server .................................... FAILURE [1:01:12.539s]
[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:04:53.656s
[INFO] Finished at: Sat Oct 12 10:12:28 UTC 2013
[INFO] Final Memory: 44M/860M
[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-12_09-07-29/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-12_09-07-29/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-12_09-07-29/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-12_09-07-29/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-12_09-07-29/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-12_09-07-28/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-12_09-07-29/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-12_09-07-28/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-12_09-07-29/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-12_09-07-29/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-12_09-07-29/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-12_09-07-29/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-12_09-07-28/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-12_09-07-29/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/hudson417273521329324389.sh
++ jps
++ wc -l
++ grep surefirebooter
+ 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

Mime
View raw message