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 #737
Date Fri, 02 Jan 2015 10:39:07 GMT
See <https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/737/changes>

Changes:

[apurtell] HBASE-12716 A bug in RegionSplitter.UniformSplit algorithm (Weichen Ye)

[apurtell] HBASE-12641 Grant all permissions of hbase zookeeper node to hbase superuser in
a secure cluster (Liu Shaohui)

------------------------------------------
[...truncated 1655 lines...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.616 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: 23.469 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: 4.823 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.213 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: 6.167 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: 9.035 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: 4.808 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.423 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.621 sec - in org.apache.hadoop.hbase.security.access.TestAccessController
Running org.apache.hadoop.hbase.security.visibility.TestDefaultScanLabelGeneratorStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.222 sec - in org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.287 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.429 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.459 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelReplicationWithExpAsString
Running org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.037 sec - in org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.09 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: 20.795 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: 69.548 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.008 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: 24.209 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.645 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: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.247 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.779 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.253 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: 1.173 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.562 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.209 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.426 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.12 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.332 sec - in org.apache.hadoop.hbase.zookeeper.TestZKMulti
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.455 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Running org.apache.hadoop.hbase.TestDrainingServer
Running org.apache.hadoop.hbase.TestRegionRebalancing
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.074 sec - in org.apache.hadoop.hbase.TestDrainingServer
Running org.apache.hadoop.hbase.TestAcidGuarantees
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.85 sec - in org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.migration.TestNamespaceUpgrade
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.634 sec - in org.apache.hadoop.hbase.migration.TestNamespaceUpgrade
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 109.484 sec - in org.apache.hadoop.hbase.TestAcidGuarantees
Running org.apache.hadoop.hbase.TestMultiVersions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.291 sec - in org.apache.hadoop.hbase.TestMultiVersions
Running org.apache.hadoop.hbase.migration.TestUpgradeTo96
Running org.apache.hadoop.hbase.master.TestAssignmentListener
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.457 sec - in org.apache.hadoop.hbase.migration.TestUpgradeTo96
Running org.apache.hadoop.hbase.master.TestHMasterRPCException
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.597 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.223 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: 9.286 sec - in org.apache.hadoop.hbase.master.TestAssignmentListener
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.129 sec - in org.apache.hadoop.hbase.master.TestMasterRestartAfterDisablingTable
Running org.apache.hadoop.hbase.master.TestZKBasedOpenCloseRegion
Running org.apache.hadoop.hbase.master.TestMasterFailoverBalancerPersistence
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.892 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.985 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: 20.648 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.839 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: 17.314 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.628 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: 1.008 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: 106.331 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.014 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.504 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: 79.92 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: 99.294 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.895 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: 16.871 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: 32.021 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: 10.375 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.744 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: 5.981 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: 29.79 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: 14.336 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: 7.983 sec - in org.apache.hadoop.hbase.master.handler.TestTableDescriptorModification
Running org.apache.hadoop.hbase.master.handler.TestCreateTableHandler
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 253.623 sec - in org.apache.hadoop.hbase.master.TestDistributedLogSplitting
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.537 sec - in org.apache.hadoop.hbase.master.handler.TestCreateTableHandler
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.413 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: 35.319 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.428 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.295 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.255 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.541 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: 32.891 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: 3.102 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.55 sec - in org.apache.hadoop.hbase.master.TestAssignmentManager
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.273 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: e9acdd3e92244ff69d528cb766babb4e_999057



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

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [3.587s]
[INFO] HBase - Checkstyle ................................ SUCCESS [0.802s]
[INFO] HBase - Annotations ............................... SUCCESS [1.015s]
[INFO] HBase - Common .................................... SUCCESS [40.235s]
[INFO] HBase - Protocol .................................. SUCCESS [20.119s]
[INFO] HBase - Client .................................... SUCCESS [45.139s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [6.915s]
[INFO] HBase - Hadoop One Compatibility .................. SUCCESS [4.457s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [7.710s]
[INFO] HBase - Server .................................... FAILURE [2:17:09.486s]
[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:20.344s
[INFO] Finished at: Fri Jan 02 10:37:34 UTC 2015
[INFO] Final Memory: 48M/747M
[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/hudson7069068377618298851.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
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 263595852 bytes
Compression is 0.1%
Took 1 min 7 sec
Recording test results
Updating HBASE-12641
Updating HBASE-12716

Mime
View raw message