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

------------------------------------------
[...truncated 7123 lines...]
Running org.apache.hadoop.hbase.regionserver.TestJoinedScanners
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.523 sec
Running org.apache.hadoop.hbase.regionserver.TestRegionFavoredNodes
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.95 sec
Running org.apache.hadoop.hbase.regionserver.TestMultiColumnScanner
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.888 sec
Running org.apache.hadoop.hbase.regionserver.TestBlocksRead
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.585 sec
Running org.apache.hadoop.hbase.regionserver.TestSplitLogWorker
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.04 sec
Running org.apache.hadoop.hbase.regionserver.TestServerCustomProtocol
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.441 sec
Running org.apache.hadoop.hbase.regionserver.TestStoreFileBlockCacheSummary
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 13.474 sec <<< FAILURE!
Running org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.332 sec
Running org.apache.hadoop.hbase.regionserver.TestCompaction
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 78.788 sec
Running org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.181 sec
Running org.apache.hadoop.hbase.security.access.TestTablePermissions
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.714 sec
Running org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.393 sec
Running org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.44 sec
Running org.apache.hadoop.hbase.TestInfoServers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.092 sec
Running org.apache.hadoop.hbase.thrift2.TestThriftHBaseServiceHandler
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.545 sec
Running org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.226 sec
Running org.apache.hadoop.hbase.security.access.TestAccessController
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.534 sec
Running org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.113 sec
Running org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.548 sec
Running org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.916 sec
Running org.apache.hadoop.hbase.io.hfile.slab.TestSlabCache
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.159 sec
Running org.apache.hadoop.hbase.io.hfile.slab.TestSingleSizeCache
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.454 sec
Running org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 111.692 sec
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.783 sec
Running org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.43 sec
Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.527 sec
Running org.apache.hadoop.hbase.io.hfile.TestHFilePerformance
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.001 sec
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.368 sec
Running org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.895 sec
Running org.apache.hadoop.hbase.io.TestFileLink
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.58 sec
Running org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.051 sec
Running org.apache.hadoop.hbase.TestDrainingServer
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.871 sec
Running org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 194.967 sec
Running org.apache.hadoop.hbase.mapred.TestTableInputFormat
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.323 sec
Running org.apache.hadoop.hbase.TestNamespace
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.356 sec
Running org.apache.hadoop.hbase.client.TestClientTimeouts
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.484 sec
Running org.apache.hadoop.hbase.backup.TestHFileArchiving
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 95.974 sec
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.699 sec
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.783 sec
Running org.apache.hadoop.hbase.mapred.TestTableMapReduce
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.483 sec
Running org.apache.hadoop.hbase.client.TestShell
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 99.518 sec
Running org.apache.hadoop.hbase.client.TestScannersFromClientSide
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.742 sec
Running org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.839 sec
Running org.apache.hadoop.hbase.client.TestFromClientSide3
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.651 sec
Running org.apache.hadoop.hbase.client.TestFromClientSide
Tests run: 64, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 123.792 sec
Running org.apache.hadoop.hbase.client.TestTimestampsFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.58 sec
Running org.apache.hadoop.hbase.client.TestCloneSnapshotFromClient
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 157.384 sec
Running org.apache.hadoop.hbase.client.TestMultiParallel
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.629 sec
Running org.apache.hadoop.hbase.client.TestSnapshotMetadata
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.684 sec
Running org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.013 sec
Running org.apache.hadoop.hbase.client.TestHCM
Tests run: 15, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 34.671 sec
Running org.apache.hadoop.hbase.client.TestHTableUtil
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.727 sec
Running org.apache.hadoop.hbase.client.TestMetaScanner
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.899 sec
Running org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.534 sec
Running org.apache.hadoop.hbase.client.TestMultipleTimestamps
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.849 sec
Running org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Tests run: 64, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 114.002 sec
Running org.apache.hadoop.hbase.client.TestHTableMultiplexer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.163 sec
Running org.apache.hadoop.hbase.client.TestSnapshotFromClient
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.927 sec
Running org.apache.hadoop.hbase.procedure.TestZKProcedureControllers
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.633 sec
Running org.apache.hadoop.hbase.client.TestScannerTimeout
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.154 sec
Running org.apache.hadoop.hbase.procedure.TestZKProcedure
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.418 sec
Running org.apache.hadoop.hbase.TestClusterBootOrder
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.732 sec
Running org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 141.448 sec
Running org.apache.hadoop.hbase.client.TestAdmin
Tests run: 43, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 545.787 sec

Results :

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

Tests in error: 
  org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB: File hdfs://localhost:46345/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,,1375966631629.0dc3d4ee7050004f548dd7cf8005ce37.
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 [24.838s]
[INFO] HBase - Common .................................... SUCCESS [1:35.337s]
[INFO] HBase - Protocol .................................. SUCCESS [18.154s]
[INFO] HBase - Client .................................... SUCCESS [50.756s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [5.627s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [23.056s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [5.060s]
[INFO] HBase - Server .................................... FAILURE [55:05.085s]
[INFO] HBase - Integration Tests ......................... SKIPPED
[INFO] HBase - Examples .................................. SKIPPED
[INFO] HBase - Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59:09.500s
[INFO] Finished at: Thu Aug 08 13:15:28 UTC 2013
[INFO] Final Memory: 60M/888M
[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_12-16-13/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_12-16-13/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_12-16-13/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_12-16-13/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_12-16-13/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_12-16-13/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_12-16-13/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_12-16-13/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_12-16-13/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_12-16-13/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_12-16-13/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/hudson2392397038293134526.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