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-0.95-Hadoop-2 #779
Date Thu, 08 Aug 2013 21:13:33 GMT
See <http://54.241.6.143/job/HBase-0.95-Hadoop-2/779/changes>

Changes:

[Lars Hofhansl] HBASE-8408; addendum for new HConnection API

[nkeywal] HBASE-9156  2000ms timeout for some client calls

------------------------------------------
[...truncated 7122 lines...]
Running org.apache.hadoop.hbase.rest.TestMultiRowResource
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.221 sec
Running org.apache.hadoop.hbase.rest.TestSchemaResource
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.92 sec
Running org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.333 sec
Running org.apache.hadoop.hbase.thrift2.TestThriftHBaseServiceHandler
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.029 sec
Running org.apache.hadoop.hbase.util.TestFSHDFSUtils
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.082 sec
Running org.apache.hadoop.hbase.TestNamespace
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.656 sec
Running org.apache.hadoop.hbase.util.TestIdLock
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.819 sec
Running org.apache.hadoop.hbase.TestRegionRebalancing
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.81 sec
Running org.apache.hadoop.hbase.util.TestMergeTable
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.638 sec
Running org.apache.hadoop.hbase.util.TestMergeTool
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.826 sec
Running org.apache.hadoop.hbase.util.TestDefaultEnvironmentEdge
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.781 sec
Running org.apache.hadoop.hbase.util.TestProcessBasedCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.891 sec
Running org.apache.hadoop.hbase.backup.TestHFileArchiving
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.529 sec
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.489 sec
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.884 sec
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.039 sec
Running org.apache.hadoop.hbase.util.TestFSTableDescriptors
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.701 sec
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildHole
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.136 sec
Running org.apache.hadoop.hbase.util.TestFSUtils
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.4 sec
Running org.apache.hadoop.hbase.util.TestRegionSplitter
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.456 sec
Running org.apache.hadoop.hbase.util.TestFSVisitor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.452 sec
Running org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.876 sec
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadEncoded
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.682 sec
Running org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Tests run: 4, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 3.902 sec
Running org.apache.hadoop.hbase.TestDrainingServer
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.061 sec
Running org.apache.hadoop.hbase.replication.TestReplicationSource
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.889 sec
Running org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.861 sec
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.669 sec
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.245 sec
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationHLogReaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.21 sec
Running org.apache.hadoop.hbase.client.TestAdmin
Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 572.295 sec
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.145 sec
Running org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.326 sec
Running org.apache.hadoop.hbase.util.TestHBaseFsck
Tests run: 37, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 193.928 sec <<<
FAILURE!
Running org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.438 sec
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.886 sec
Running org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.879 sec
Running org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.177 sec
Running org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.728 sec
Running org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.625 sec
Running org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.884 sec
Running org.apache.hadoop.hbase.replication.TestMasterReplication
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.814 sec
Running org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.592 sec
Running org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.914 sec
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.629 sec
Running org.apache.hadoop.hbase.security.access.TestTablePermissions
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.32 sec
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.134 sec
Running org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.39 sec
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.625 sec
Running org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.561 sec
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.376 sec
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.542 sec
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.321 sec
Running org.apache.hadoop.hbase.security.access.TestAccessController
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 79.048 sec
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.345 sec
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.505 sec
Running org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.051 sec
Running org.apache.hadoop.hbase.coprocessor.TestWALObserver
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.069 sec
Running org.apache.hadoop.hbase.coprocessor.TestClassLoading
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.64 sec
Running org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.625 sec
Running org.apache.hadoop.hbase.filter.TestFilterWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.771 sec
Running org.apache.hadoop.hbase.TestZooKeeper
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.942 sec
Running org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.879 sec
Running org.apache.hadoop.hbase.TestFullLogReconstruction
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.143 sec

Results :

Failed tests:   testBlockCacheSummary(org.apache.hadoop.hbase.regionserver.TestStoreFileBlockCacheSummary):
blockCache summary has entries expected:<2> but was:<0>
  testLingeringReferenceFile(org.apache.hadoop.hbase.util.TestHBaseFsck): expected:<[LINGERING_REFERENCE_HFILE]>
but was:<[]>

Tests in error: 
  org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB: File hdfs://localhost:51431/user/ec2-user/hbase/.archive
does not exist.
  testSplitRegionNotAssignable(org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster):
Failed 1 action: org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException: Column
family cf does not exist in region testSplitRegionWithNoStoreFiles,,1375995424032.e75de6e59df7382f9db1c1b1ec03391a.
in table 'testSplitRegionWithNoStoreFiles', {NAME => 'info', DATA_BLOCK_ENCODING =>
'NONE', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', COMPRESSION => 'NONE', VERSIONS
=> '1', TTL => '2147483647', MIN_VERSIONS => '0', KEEP_DELETED_CELLS => 'false',
BLOCKSIZE => '65536', ENCODE_ON_DISK => 'true', IN_MEMORY => 'false', BLOCKCACHE
=> 'true'}(..)

Tests run: 1489, Failures: 2, Errors: 2, Skipped: 21

[JENKINS] Recording test results
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [28.799s]
[INFO] HBase - Common .................................... SUCCESS [1:30.646s]
[INFO] HBase - Protocol .................................. SUCCESS [17.686s]
[INFO] HBase - Client .................................... SUCCESS [56.947s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [5.972s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [19.812s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [5.267s]
[INFO] HBase - Server .................................... FAILURE [50:35.012s]
[INFO] HBase - Integration Tests ......................... SKIPPED
[INFO] HBase - Examples .................................. SKIPPED
[INFO] HBase - Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 54:43.970s
[INFO] Finished at: Thu Aug 08 21:13:28 UTC 2013
[INFO] Final Memory: 60M/849M
[INFO] ------------------------------------------------------------------------
[JENKINS] Archiving <http://54.241.6.143/job/HBase-0.95-Hadoop-2/ws/hbase-hadoop2-compat/pom.xml>
to /var/lib/jenkins/jobs/HBase-0.95-Hadoop-2/modules/org.apache.hbase$hbase-hadoop2-compat/builds/2013-08-08_20-18-39/archive/org.apache.hbase/hbase-hadoop2-compat/0.95.2-SNAPSHOT/hbase-hadoop2-compat-0.95.2-SNAPSHOT.pom
[JENKINS] Archiving <http://54.241.6.143/job/HBase-0.95-Hadoop-2/ws/hbase-common/pom.xml>
to /var/lib/jenkins/jobs/HBase-0.95-Hadoop-2/modules/org.apache.hbase$hbase-common/builds/2013-08-08_20-18-39/archive/org.apache.hbase/hbase-common/0.95.2-SNAPSHOT/hbase-common-0.95.2-SNAPSHOT.pom
[JENKINS] Archiving <http://54.241.6.143/job/HBase-0.95-Hadoop-2/ws/hbase-hadoop-compat/pom.xml>
to /var/lib/jenkins/jobs/HBase-0.95-Hadoop-2/modules/org.apache.hbase$hbase-hadoop-compat/builds/2013-08-08_20-18-39/archive/org.apache.hbase/hbase-hadoop-compat/0.95.2-SNAPSHOT/hbase-hadoop-compat-0.95.2-SNAPSHOT.pom
[JENKINS] Archiving <http://54.241.6.143/job/HBase-0.95-Hadoop-2/ws/hbase-examples/pom.xml>
to /var/lib/jenkins/jobs/HBase-0.95-Hadoop-2/modules/org.apache.hbase$hbase-examples/builds/2013-08-08_20-18-39/archive/org.apache.hbase/hbase-examples/0.95.2-SNAPSHOT/hbase-examples-0.95.2-SNAPSHOT.pom
[JENKINS] Archiving <http://54.241.6.143/job/HBase-0.95-Hadoop-2/ws/hbase-it/pom.xml>
to /var/lib/jenkins/jobs/HBase-0.95-Hadoop-2/modules/org.apache.hbase$hbase-it/builds/2013-08-08_20-18-39/archive/org.apache.hbase/hbase-it/0.95.2-SNAPSHOT/hbase-it-0.95.2-SNAPSHOT.pom
[JENKINS] Archiving <http://54.241.6.143/job/HBase-0.95-Hadoop-2/ws/pom.xml> to /var/lib/jenkins/jobs/HBase-0.95-Hadoop-2/modules/org.apache.hbase$hbase/builds/2013-08-08_20-18-38/archive/org.apache.hbase/hbase/0.95.2-SNAPSHOT/hbase-0.95.2-SNAPSHOT.pom
[JENKINS] Archiving <http://54.241.6.143/job/HBase-0.95-Hadoop-2/ws/hbase-assembly/pom.xml>
to /var/lib/jenkins/jobs/HBase-0.95-Hadoop-2/modules/org.apache.hbase$hbase-assembly/builds/2013-08-08_20-18-39/archive/org.apache.hbase/hbase-assembly/0.95.2-SNAPSHOT/hbase-assembly-0.95.2-SNAPSHOT.pom
[JENKINS] Archiving <http://54.241.6.143/job/HBase-0.95-Hadoop-2/ws/hbase-client/pom.xml>
to /var/lib/jenkins/jobs/HBase-0.95-Hadoop-2/modules/org.apache.hbase$hbase-client/builds/2013-08-08_20-18-39/archive/org.apache.hbase/hbase-client/0.95.2-SNAPSHOT/hbase-client-0.95.2-SNAPSHOT.pom
[JENKINS] Archiving <http://54.241.6.143/job/HBase-0.95-Hadoop-2/ws/hbase-prefix-tree/pom.xml>
to /var/lib/jenkins/jobs/HBase-0.95-Hadoop-2/modules/org.apache.hbase$hbase-prefix-tree/builds/2013-08-08_20-18-39/archive/org.apache.hbase/hbase-prefix-tree/0.95.2-SNAPSHOT/hbase-prefix-tree-0.95.2-SNAPSHOT.pom
[JENKINS] Archiving <http://54.241.6.143/job/HBase-0.95-Hadoop-2/ws/hbase-protocol/pom.xml>
to /var/lib/jenkins/jobs/HBase-0.95-Hadoop-2/modules/org.apache.hbase$hbase-protocol/builds/2013-08-08_20-18-38/archive/org.apache.hbase/hbase-protocol/0.95.2-SNAPSHOT/hbase-protocol-0.95.2-SNAPSHOT.pom
[JENKINS] Archiving <http://54.241.6.143/job/HBase-0.95-Hadoop-2/ws/hbase-server/pom.xml>
to /var/lib/jenkins/jobs/HBase-0.95-Hadoop-2/modules/org.apache.hbase$hbase-server/builds/2013-08-08_20-18-38/archive/org.apache.hbase/hbase-server/0.95.2-SNAPSHOT/hbase-server-0.95.2-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: Failure or timeout
cause : Failure or timeout
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: Failure or timeout
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217)
	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.MojoExecutionException: Failure or timeout
	at org.apache.maven.plugin.surefire.SurefirePlugin.assertNoFailureOrTimeout(SurefirePlugin.java:643)
	at org.apache.maven.plugin.surefire.SurefirePlugin.handleSummary(SurefirePlugin.java:624)
	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-0.95-Hadoop-2] $ /bin/bash -xe /tmp/hudson1567069731766755928.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