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-TRUNK #6051
Date Sat, 24 Jan 2015 20:13:25 GMT
See <https://builds.apache.org/job/HBase-TRUNK/6051/changes>

Changes:

[tedyu] HBASE-8410 Basic quota support for namespaces (Vandana)

------------------------------------------
[...truncated 1912 lines...]
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.748 sec - in org.apache.hadoop.hbase.TestJMXListener
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.179 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.56 sec - in org.apache.hadoop.hbase.trace.TestHTraceHooks
Running org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.645 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.503 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Running org.apache.hadoop.hbase.io.hfile.TestCacheConfig
Running org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.577 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheConfig
Running org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.487 sec - in org.apache.hadoop.hbase.TestFullLogReconstruction
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.385 sec - in org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Running org.apache.hadoop.hbase.io.TestFileLink
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.173 sec - in org.apache.hadoop.hbase.io.TestFileLink
Running org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.945 sec - in org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Running org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 99.461 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Running org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.548 sec - in org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Running org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.948 sec - in org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Running org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.344 sec - in org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Running org.apache.hadoop.hbase.TestRegionRebalancing
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.389 sec - in org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Running org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.758 sec - in org.apache.hadoop.hbase.TestRegionRebalancing
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.701 sec - in org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Running org.apache.hadoop.hbase.mapred.TestTableInputFormat
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.889 sec - in org.apache.hadoop.hbase.mapred.TestTableInputFormat
Running org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil
Running org.apache.hadoop.hbase.mapred.TestTableMapReduce
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 174.723 sec - in org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Running org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat
Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 353.594 sec - in org.apache.hadoop.hbase.security.access.TestAccessController
Running org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.542 sec - in org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.874 sec - in org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil
Running org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.988 sec - in org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Running org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 106.305 sec - in org.apache.hadoop.hbase.mapred.TestTableMapReduce
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.919 sec - in org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Tests run: 216, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 371.811 sec <<<
FAILURE! - in org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
testStoreFileCacheOnWrite[83](org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite)  Time elapsed:
2.966 sec  <<< FAILURE!
java.lang.AssertionError: shouldBeCached: false
isCached: true
Test description: [cacheOnWrite=DATA_BLOCKS, compress=GZ, encoderType=BLOCK_ENCODING_EVERYWHERE,
cacheCompressedData=true]
block: HFileBlock [ fileOffset=12896 headerSize()=33 blockType=LEAF_INDEX onDiskSizeWithoutHeader=175
uncompressedSizeWithoutHeader=537 prevBlockOffset=-1 isUseHBaseChecksum()=true checksumType=NULL
bytesPerChecksum=512 onDiskDataSizeWithHeader=204 getOnDiskSizeWithHeader()=208 totalChecksumBytes()=4
isUnpacked()=true buf=[ java.nio.HeapByteBuffer[pos=0 lim=574 cap=607] ] dataBeginsWith=\x00\x00\x00\x09\x00\x00\x00\x00\x00\x00\x00:\x00\x00\x00r\x00\x00\x00\xA8\x00\x00\x00\xDF\x00\x00\x01\x16\x00\x00\x01L
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: PREFIX
blockCacheKey: 0e439eba93ab41f48efbba106f7813d3_12896
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.readStoreFile(TestCacheOnWrite.java:285)
	at org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.testStoreFileCacheOnWriteInternals(TestCacheOnWrite.java:244)
	at org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite.testStoreFileCacheOnWrite(TestCacheOnWrite.java:238)

Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Running org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.167 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.816 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Running org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
Tests run: 7, Failures: 0, Errors: 0, Skipped: 7, Time elapsed: 0.006 sec - in org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.464 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager
Running org.apache.hadoop.hbase.replication.TestReplicationSource
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.285 sec - in org.apache.hadoop.hbase.replication.TestReplicationSource
Running org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.987 sec - in org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Running org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.708 sec - in org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Running org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.55 sec - in org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster
Running org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.951 sec - in org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.736 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Running org.apache.hadoop.hbase.replication.TestReplicationWithTags
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 65.838 sec - in org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Running org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Running org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.523 sec - in org.apache.hadoop.hbase.replication.TestReplicationWithTags
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.2 sec - in org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Running org.apache.hadoop.hbase.replication.TestMasterReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.445 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Running org.apache.hadoop.hbase.util.TestMergeTool
Running org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.487 sec - in org.apache.hadoop.hbase.util.TestMergeTool
Running org.apache.hadoop.hbase.util.TestFSTableDescriptors
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.419 sec - in org.apache.hadoop.hbase.util.TestFSTableDescriptors
Running org.apache.hadoop.hbase.util.TestHBaseFsckEncryption
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.337 sec - in org.apache.hadoop.hbase.util.TestHBaseFsckEncryption
Running org.apache.hadoop.hbase.util.TestIdLock
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.169 sec - in org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.308 sec - in org.apache.hadoop.hbase.util.TestIdLock
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Running org.apache.hadoop.hbase.util.TestMergeTable
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.561 sec - in org.apache.hadoop.hbase.replication.TestMasterReplication
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 295.393 sec - in org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat
Running org.apache.hadoop.hbase.util.TestHBaseFsck
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.678 sec - in org.apache.hadoop.hbase.util.TestMergeTable
Running org.apache.hadoop.hbase.util.TestFSUtils
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.862 sec - in org.apache.hadoop.hbase.util.TestFSUtils
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.378 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Running org.apache.hadoop.hbase.util.TestProcessBasedCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 sec - in org.apache.hadoop.hbase.util.TestProcessBasedCluster
Running org.apache.hadoop.hbase.util.TestTableName
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.862 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.577 sec - in org.apache.hadoop.hbase.util.TestTableName
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadEncoded
Running org.apache.hadoop.hbase.util.TestRegionSplitter
Running org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.126 sec - in org.apache.hadoop.hbase.util.TestRegionSplitter
Running org.apache.hadoop.hbase.util.TestFSVisitor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.639 sec - in org.apache.hadoop.hbase.util.TestFSVisitor
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.24 sec - in org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 277.373 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildHole
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.8 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap
Running org.apache.hadoop.hbase.util.TestDefaultEnvironmentEdge
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.275 sec - in org.apache.hadoop.hbase.util.TestDefaultEnvironmentEdge
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.691 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
Running org.apache.hadoop.hbase.util.TestFSHDFSUtils
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.486 sec - in org.apache.hadoop.hbase.util.TestFSHDFSUtils
Running org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.149 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildHole
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.432 sec - in org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.98 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadEncoded
Running org.apache.hadoop.hbase.TestNamespace
Running org.apache.hadoop.hbase.TestInfoServers
Running org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.288 sec - in org.apache.hadoop.hbase.TestInfoServers
Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 8.689 sec - in org.apache.hadoop.hbase.TestNamespace
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.507 sec - in org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 49, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 344.844 sec - in org.apache.hadoop.hbase.util.TestHBaseFsck

Results :

Failed tests: 
  TestRegionObserverInterface.testCompactionOverride:548 Row should be 2: arrays first differed
at element [7]; expected:<1> but was:<2>
  TestCacheOnWrite.testStoreFileCacheOnWrite:238->testStoreFileCacheOnWriteInternals:244->readStoreFile:285
shouldBeCached: false
isCached: true
Test description: [cacheOnWrite=DATA_BLOCKS, compress=GZ, encoderType=BLOCK_ENCODING_EVERYWHERE,
cacheCompressedData=true]
block: HFileBlock [ fileOffset=12896 headerSize()=33 blockType=LEAF_INDEX onDiskSizeWithoutHeader=175
uncompressedSizeWithoutHeader=537 prevBlockOffset=-1 isUseHBaseChecksum()=true checksumType=NULL
bytesPerChecksum=512 onDiskDataSizeWithHeader=204 getOnDiskSizeWithHeader()=208 totalChecksumBytes()=4
isUnpacked()=true buf=[ java.nio.HeapByteBuffer[pos=0 lim=574 cap=607] ] dataBeginsWith=\x00\x00\x00\x09\x00\x00\x00\x00\x00\x00\x00:\x00\x00\x00r\x00\x00\x00\xA8\x00\x00\x00\xDF\x00\x00\x01\x16\x00\x00\x01L
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: PREFIX
blockCacheKey: 0e439eba93ab41f48efbba106f7813d3_12896

Tests in error: 
  TestAcidGuarantees.testScanAtomicity:354->runTestAtomicity:261->runTestAtomicity:322
? Runtime


Tests run: 2226, Failures: 2, Errors: 1, Skipped: 25

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [7.049s]
[INFO] HBase - Checkstyle ................................ SUCCESS [1.256s]
[INFO] HBase - Annotations ............................... SUCCESS [0.850s]
[INFO] HBase - Protocol .................................. SUCCESS [10.710s]
[INFO] HBase - Common .................................... SUCCESS [1:04.815s]
[INFO] HBase - Client .................................... SUCCESS [1:15.235s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [7.145s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [6.309s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [8.416s]
[INFO] HBase - Server .................................... FAILURE [1:09:41.023s]
[INFO] HBase - Testing Util .............................. SKIPPED
[INFO] HBase - Thrift .................................... SKIPPED
[INFO] HBase - Shell ..................................... SKIPPED
[INFO] HBase - Integration Tests ......................... SKIPPED
[INFO] HBase - Examples .................................. SKIPPED
[INFO] HBase - Rest ...................................... SKIPPED
[INFO] HBase - Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:12:44.862s
[INFO] Finished at: Sat Jan 24 20:11:25 UTC 2015
[INFO] Final Memory: 57M/899M
[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 /x1/jenkins/jenkins-slave/workspace/HBase-TRUNK/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
[FINDBUGS] Skipping publisher since build result is 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-TRUNK] $ /bin/bash -xe /tmp/hudson8566103098290152231.sh
++ grep surefirebooter
++ jps
++ 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-TRUNK #6050
Archived 1835 artifacts
Archive block size is 32768
Received 31 blocks and 368219371 bytes
Compression is 0.3%
Took 1 min 51 sec
Recording test results
Updating HBASE-8410

Mime
View raw message