hbase-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: HBase-0.98-on-Hadoop-1.1 #734
Date Wed, 31 Dec 2014 02:39:26 GMT
See <https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/734/changes>

Changes:

[stack] HBASE-12270 A bug in the bucket cache, with cache blocks on write enabled (Liu Shaohui)
-- ADDENDUM

------------------------------------------
[...truncated 1654 lines...]
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.845 sec - in org.apache.hadoop.hbase.security.access.TestCellACLs
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.858 sec - in org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Running org.apache.hadoop.hbase.security.access.TestAccessController
Running org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.409 sec - in org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Running org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.267 sec - in org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Running org.apache.hadoop.hbase.security.access.TestTablePermissions
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.297 sec - in org.apache.hadoop.hbase.security.access.TestTablePermissions
Running org.apache.hadoop.hbase.security.access.TestScanEarlyTermination
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.127 sec - in org.apache.hadoop.hbase.security.access.TestScanEarlyTermination
Running org.apache.hadoop.hbase.security.access.TestAccessController2
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.963 sec - in org.apache.hadoop.hbase.security.access.TestAccessController2
Running org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.42 sec - in org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Running org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.436 sec - in org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Running org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 120.91 sec - in org.apache.hadoop.hbase.security.access.TestAccessController
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.202 sec - in org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Running org.apache.hadoop.hbase.security.visibility.TestDefaultScanLabelGeneratorStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.183 sec - in org.apache.hadoop.hbase.security.visibility.TestDefaultScanLabelGeneratorStack
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelReplicationWithExpAsString
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.398 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Running org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.974 sec - in org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.796 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelReplicationWithExpAsString
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.036 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.397 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsReplication
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDistributedLogReplay
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.845 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.366 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDistributedLogReplay
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.015 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.247 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.956 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.588 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.252 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Running org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.202 sec - in org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.553 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Running org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.222 sec - in org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Running org.apache.hadoop.hbase.zookeeper.TestZKTable
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.414 sec - in org.apache.hadoop.hbase.zookeeper.TestZKTable
Running org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.112 sec - in org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Running org.apache.hadoop.hbase.zookeeper.TestZKMulti
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 sec - in org.apache.hadoop.hbase.zookeeper.TestZKMulti
Running org.apache.hadoop.hbase.TestDrainingServer
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.45 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.099 sec - in org.apache.hadoop.hbase.TestDrainingServer
Running org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.TestAcidGuarantees
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.831 sec - in org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.migration.TestNamespaceUpgrade
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.285 sec - in org.apache.hadoop.hbase.TestAcidGuarantees
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.453 sec - in org.apache.hadoop.hbase.migration.TestNamespaceUpgrade
Running org.apache.hadoop.hbase.migration.TestUpgradeTo96
Running org.apache.hadoop.hbase.TestMultiVersions
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.501 sec - in org.apache.hadoop.hbase.migration.TestUpgradeTo96
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.744 sec - in org.apache.hadoop.hbase.TestMultiVersions
Running org.apache.hadoop.hbase.master.TestHMasterRPCException
Running org.apache.hadoop.hbase.master.TestAssignmentListener
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.591 sec - in org.apache.hadoop.hbase.master.TestHMasterRPCException
Running org.apache.hadoop.hbase.master.TestDeadServer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.211 sec - in org.apache.hadoop.hbase.master.TestDeadServer
Running org.apache.hadoop.hbase.master.TestMasterRestartAfterDisablingTable
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.177 sec - in org.apache.hadoop.hbase.master.TestAssignmentListener
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.228 sec - in org.apache.hadoop.hbase.master.TestMasterRestartAfterDisablingTable
Running org.apache.hadoop.hbase.master.TestMasterFailoverBalancerPersistence
Running org.apache.hadoop.hbase.master.TestZKBasedOpenCloseRegion
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.159 sec - in org.apache.hadoop.hbase.master.TestZKBasedOpenCloseRegion
Running org.apache.hadoop.hbase.master.snapshot.TestSnapshotFileCache
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.516 sec - in org.apache.hadoop.hbase.master.TestMasterFailoverBalancerPersistence
Running org.apache.hadoop.hbase.master.TestMasterShutdown
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.177 sec - in org.apache.hadoop.hbase.master.TestMasterShutdown
Running org.apache.hadoop.hbase.master.cleaner.TestHFileCleaner
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.828 sec - in org.apache.hadoop.hbase.master.cleaner.TestHFileCleaner
Running org.apache.hadoop.hbase.master.cleaner.TestSnapshotFromMaster
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.888 sec - in org.apache.hadoop.hbase.master.cleaner.TestSnapshotFromMaster
Running org.apache.hadoop.hbase.master.cleaner.TestLogsCleaner
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.637 sec - in org.apache.hadoop.hbase.master.cleaner.TestLogsCleaner
Running org.apache.hadoop.hbase.master.TestMasterStatusServlet
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.999 sec - in org.apache.hadoop.hbase.master.TestMasterStatusServlet
Running org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 101.412 sec - in org.apache.hadoop.hbase.master.snapshot.TestSnapshotFileCache
Running org.apache.hadoop.hbase.master.balancer.TestDefaultLoadBalancer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.033 sec - in org.apache.hadoop.hbase.master.balancer.TestDefaultLoadBalancer
Running org.apache.hadoop.hbase.master.balancer.TestBaseLoadBalancer
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524 sec - in org.apache.hadoop.hbase.master.balancer.TestBaseLoadBalancer
Running org.apache.hadoop.hbase.master.TestMasterFailover
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.351 sec - in org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer
Running org.apache.hadoop.hbase.master.TestDistributedLogSplitting
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.853 sec - in org.apache.hadoop.hbase.master.TestMasterFailover
Running org.apache.hadoop.hbase.master.TestMasterNoCluster
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.859 sec - in org.apache.hadoop.hbase.master.TestMasterNoCluster
Running org.apache.hadoop.hbase.master.TestGetLastFlushedSequenceId
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.226 sec - in org.apache.hadoop.hbase.master.TestGetLastFlushedSequenceId
Running org.apache.hadoop.hbase.master.TestRollingRestart
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.427 sec - in org.apache.hadoop.hbase.master.TestRollingRestart
Running org.apache.hadoop.hbase.master.TestMaster
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.653 sec - in org.apache.hadoop.hbase.master.TestMaster
Running org.apache.hadoop.hbase.master.TestMasterMetricsWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.901 sec - in org.apache.hadoop.hbase.master.TestMasterMetricsWrapper
Running org.apache.hadoop.hbase.master.TestActiveMasterManager
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.724 sec - in org.apache.hadoop.hbase.master.TestActiveMasterManager
Running org.apache.hadoop.hbase.master.TestMasterTransitions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 4.973 sec - in org.apache.hadoop.hbase.master.TestMasterTransitions
Running org.apache.hadoop.hbase.master.TestRestartCluster
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.712 sec - in org.apache.hadoop.hbase.master.TestRestartCluster
Running org.apache.hadoop.hbase.master.TestOpenedRegionHandler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.247 sec - in org.apache.hadoop.hbase.master.TestOpenedRegionHandler
Running org.apache.hadoop.hbase.master.handler.TestTableDescriptorModification
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.418 sec - in org.apache.hadoop.hbase.master.handler.TestTableDescriptorModification
Running org.apache.hadoop.hbase.master.handler.TestCreateTableHandler
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.673 sec - in org.apache.hadoop.hbase.master.handler.TestCreateTableHandler
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 252.403 sec - in org.apache.hadoop.hbase.master.TestDistributedLogSplitting
Running org.apache.hadoop.hbase.master.TestSplitLogManager
Running org.apache.hadoop.hbase.master.handler.TestTableDeleteFamilyHandler
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.402 sec - in org.apache.hadoop.hbase.master.handler.TestTableDeleteFamilyHandler
Running org.apache.hadoop.hbase.master.TestAssignmentManagerOnCluster
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.798 sec - in org.apache.hadoop.hbase.master.TestAssignmentManagerOnCluster
Running org.apache.hadoop.hbase.master.TestRegionPlacement
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.307 sec - in org.apache.hadoop.hbase.master.TestSplitLogManager
Running org.apache.hadoop.hbase.master.TestClusterStatusPublisher
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.294 sec - in org.apache.hadoop.hbase.master.TestClusterStatusPublisher
Running org.apache.hadoop.hbase.master.TestTableLockManager
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.571 sec - in org.apache.hadoop.hbase.master.TestRegionPlacement
Running org.apache.hadoop.hbase.master.TestMasterMetrics
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.525 sec - in org.apache.hadoop.hbase.master.TestMasterMetrics
Running org.apache.hadoop.hbase.master.TestZKLessAMOnCluster
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.922 sec - in org.apache.hadoop.hbase.master.TestZKLessAMOnCluster
Running org.apache.hadoop.hbase.master.TestMasterFileSystem
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.706 sec - in org.apache.hadoop.hbase.master.TestMasterFileSystem
Running org.apache.hadoop.hbase.master.TestAssignmentManager
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.577 sec - in org.apache.hadoop.hbase.master.TestAssignmentManager
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.174 sec - in org.apache.hadoop.hbase.master.TestTableLockManager

Results :

Failed tests: 
  TestCacheOnWrite.testStoreFileCacheOnWrite:237->testStoreFileCacheOnWriteInternals:243->readStoreFile:284
shouldBeCached: true
isCached: false
Test description: [cacheOnWrite=INDEX_BLOCKS, compress=GZ, encoderType=NO_BLOCK_ENCODING,
cacheCompressedData=true]
block: HFileBlock [ fileOffset=999057 headerSize()=33 blockType=LEAF_INDEX onDiskSizeWithoutHeader=181
uncompressedSizeWithoutHeader=542 prevBlockOffset=985449 isUseHBaseChecksum()=true checksumType=NULL
bytesPerChecksum=512 onDiskDataSizeWithHeader=210 getOnDiskSizeWithHeader()=214 totalChecksumBytes()=4
isUnpacked()=true buf=[ java.nio.HeapByteBuffer[pos=0 lim=579 cap=612], array().length=612,
arrayOffset()=0 ] dataBeginsWith=\x00\x00\x00\x09\x00\x00\x00\x00\x00\x00\x007\x00\x00\x00o\x00\x00\x00\xA6\x00\x00\x00\xDE\x00\x00\x01\x15\x00\x00\x01M
fileContext=HFileContext [ usesHBaseChecksum=true checksumType=NULL bytesPerChecksum=512 blocksize=65536
encoding=NONE includesMvcc=true includesTags=false compressAlgo=NONE compressTags=false cryptoContext=[
cipher=NONE keyHash=NONE ] ] ]
encodingInCache: NONE
blockCacheKey: c075fc377ead4378b1cf657a95f7e48b_999057



Tests run: 2190, Failures: 1, Errors: 0, Skipped: 23

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [3.376s]
[INFO] HBase - Checkstyle ................................ SUCCESS [0.717s]
[INFO] HBase - Annotations ............................... SUCCESS [0.985s]
[INFO] HBase - Common .................................... SUCCESS [40.391s]
[INFO] HBase - Protocol .................................. SUCCESS [19.759s]
[INFO] HBase - Client .................................... SUCCESS [44.893s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [6.907s]
[INFO] HBase - Hadoop One Compatibility .................. SUCCESS [4.505s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [7.789s]
[INFO] HBase - Server .................................... FAILURE [2:17:25.035s]
[INFO] HBase - Testing Util .............................. SKIPPED
[INFO] HBase - Thrift .................................... SKIPPED
[INFO] HBase - Rest ...................................... 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: 2:19:35.246s
[INFO] Finished at: Wed Dec 31 02:37:53 UTC 2014
[INFO] Final Memory: 38M/709M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (secondPartTestsExecution)
on project hbase-server: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/ws/hbase-server/target/surefire-reports>
for the individual test results.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following
articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hbase-server
Build step 'Invoke top-level Maven targets' marked build as failure
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
    #It seems sometimes the tests are not dying immediately. Let's give them 10s
    echo "Suspicious java process found - waiting 10s to see if there are just slow to stop"
    sleep 10
    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.98-on-Hadoop-1.1] $ /bin/bash -xe /tmp/hudson6235338298880822201.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
Archiving artifacts
Sending artifact delta relative to HBase-0.98-on-Hadoop-1.1 #732
Archived 1667 artifacts
Archive block size is 32768
Received 7 blocks and 262965355 bytes
Compression is 0.1%
Took 1 min 7 sec
Recording test results
Updating HBASE-12270

Mime
View raw message