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 #530
Date Tue, 26 Nov 2013 10:17:07 GMT
See <http://jenkins-public.iridiant.net/job/HBase-TRUNK-Hadoop-2/530/>

------------------------------------------
[...truncated 7384 lines...]
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.493 sec
Running org.apache.hadoop.hbase.client.TestFromClientSideNoCodec
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.102 sec
Running org.apache.hadoop.hbase.client.TestHCM
Tests run: 15, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 62.002 sec
Running org.apache.hadoop.hbase.client.TestMetaScanner
Running org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Tests run: 66, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 142.034 sec
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.514 sec
Running org.apache.hadoop.hbase.client.TestSnapshotFromClient
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.572 sec
Running org.apache.hadoop.hbase.client.TestTimestampsFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.136 sec
Running org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.876 sec
Running org.apache.hadoop.hbase.client.TestTableSnapshotScanner
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.868 sec
Running org.apache.hadoop.hbase.client.TestFromClientSide
Running org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
Tests run: 66, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 121.716 sec
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 181.508 sec
Running org.apache.hadoop.hbase.TestZooKeeper
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.857 sec
Running org.apache.hadoop.hbase.ipc.TestHBaseClient
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.839 sec
Running org.apache.hadoop.hbase.ipc.TestProtoBufRpc
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.847 sec
Running org.apache.hadoop.hbase.ipc.TestDelayedRpc
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.356 sec
Running org.apache.hadoop.hbase.mapred.TestTableInputFormat
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.696 sec
Running org.apache.hadoop.hbase.mapred.TestTableMapReduce
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 178.077 sec
Running org.apache.hadoop.hbase.client.TestAdmin
Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 424.025 sec
Running org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.607 sec
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 125.717 sec
Running org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 136.374 sec
Running org.apache.hadoop.hbase.mapreduce.TestHLogRecordReader
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.349 sec
Running org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 173.848 sec
Running org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 78.498 sec
Running org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFilesSplitRecovery
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.247 sec
Running org.apache.hadoop.hbase.mapreduce.TestHRegionPartitioner
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.991 sec
Running org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFiles
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.308 sec
Running org.apache.hadoop.hbase.mapreduce.TestCellCounter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 121.161 sec
Running org.apache.hadoop.hbase.mapreduce.TestMultithreadedTableMapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 348.259 sec
Running org.apache.hadoop.hbase.mapreduce.TestCopyTable
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 390.575 sec
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithOperationAttributes
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 324.866 sec
Running org.apache.hadoop.hbase.mapreduce.TestTimeRangeMapRed
Running org.apache.hadoop.hbase.mapreduce.TestTableMapReduce
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 147.251 sec
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 530.797 sec
Running org.apache.hadoop.hbase.mapreduce.TestImportTsv
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 463.422 sec
Running org.apache.hadoop.hbase.mapreduce.TestImportExport
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 731.531 sec
Running org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat
Tests run: 10, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 381.267 sec
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesSplitRecovery
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 618.02 sec
Running org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan2
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 472.927 sec
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFiles
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.85 sec
Running org.apache.hadoop.hbase.mapreduce.TestRowCounter
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 203.186 sec
Running org.apache.hadoop.hbase.rest.TestMultiRowResource
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.387 sec
Running org.apache.hadoop.hbase.rest.TestStatusResource
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.562 sec
Running org.apache.hadoop.hbase.mapreduce.TestWALPlayer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 101.243 sec
Running org.apache.hadoop.hbase.rest.TestSchemaResource
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.691 sec
Running org.apache.hadoop.hbase.rest.TestScannerResource
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.791 sec
Running org.apache.hadoop.hbase.rest.TestVersionResource
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.862 sec
Running org.apache.hadoop.hbase.rest.TestScannersWithFilters
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.008 sec
Running org.apache.hadoop.hbase.rest.TestResourceFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.935 sec
Running org.apache.hadoop.hbase.rest.TestTableResource
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.975 sec
Running org.apache.hadoop.hbase.rest.TestRowResource
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.134 sec
Running org.apache.hadoop.hbase.rest.TestGzipFilter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.218 sec
Running org.apache.hadoop.hbase.TestMultiVersions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.894 sec
Running org.apache.hadoop.hbase.rest.client.TestRemoteTable
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.536 sec
Running org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.233 sec
Running org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.753 sec
Running org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.045 sec
Running org.apache.hadoop.hbase.filter.TestFilterWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.157 sec
Running org.apache.hadoop.hbase.mapreduce.TestTableSnapshotInputFormat
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 482.69 sec
Running org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 494.248 sec

Results :

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

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

[JENKINS] Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [43.734s]
[INFO] HBase - Common .................................... SUCCESS [1:39.444s]
[INFO] HBase - Protocol .................................. SUCCESS [21.050s]
[INFO] HBase - Client .................................... SUCCESS [42.304s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [5.693s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [7.337s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [5.547s]
[INFO] HBase - Server .................................... FAILURE [1:08:22.622s]
[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:12:09.166s
[INFO] Finished at: Tue Nov 26 10:17:01 UTC 2013
[INFO] Final Memory: 43M/748M
[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-11-26_09-04-46/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-11-26_09-04-46/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-11-26_09-04-46/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-11-26_09-04-46/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-11-26_09-04-46/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-11-26_09-04-46/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-11-26_09-04-46/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-11-26_09-04-46/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-11-26_09-04-46/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-11-26_09-04-46/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-11-26_09-04-46/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-11-26_09-04-46/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-11-26_09-04-46/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-11-26_09-04-46/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/hudson6282622355738103971.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

Mime
View raw message