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 #6085
Date Wed, 04 Feb 2015 07:24:02 GMT
See <https://builds.apache.org/job/HBase-TRUNK/6085/changes>

Changes:

[tedyu] HBASE-12957  Revert accidental checkin of unrelated test

------------------------------------------
[...truncated 1951 lines...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.303 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Tests run: 216, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 396.585 sec <<<
FAILURE! - in org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
testStoreFileCacheOnWrite[75](org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite)  Time elapsed:
1.603 sec  <<< FAILURE!
java.lang.AssertionError: shouldBeCached: false
isCached: true
Test description: [cacheOnWrite=DATA_BLOCKS, compress=NONE, encoderType=NO_BLOCK_ENCODING,
cacheCompressedData=true]
block: HFileBlock [ fileOffset=19495 headerSize()=33 blockType=LEAF_INDEX onDiskSizeWithoutHeader=545
uncompressedSizeWithoutHeader=537 prevBlockOffset=-1 isUseHBaseChecksum()=true checksumType=NULL
bytesPerChecksum=512 onDiskDataSizeWithHeader=570 getOnDiskSizeWithHeader()=578 totalChecksumBytes()=8
isUnpacked()=true buf=[ java.nio.HeapByteBuffer[pos=0 lim=578 cap=611] ] 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: NONE
blockCacheKey: 12b88a9fdf13481593162bec048bc0cf_19495
	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)

testStoreFileCacheOnWrite[87](org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite)  Time elapsed:
2.059 sec  <<< FAILURE!
java.lang.AssertionError: shouldBeCached: false
isCached: true
Test description: [cacheOnWrite=BLOOM_BLOCKS, compress=NONE, encoderType=NO_BLOCK_ENCODING,
cacheCompressedData=true]
block: HFileBlock [ fileOffset=371684 headerSize()=33 blockType=DATA onDiskSizeWithoutHeader=2111
uncompressedSizeWithoutHeader=2091 prevBlockOffset=365361 isUseHBaseChecksum()=true checksumType=NULL
bytesPerChecksum=512 onDiskDataSizeWithHeader=2124 getOnDiskSizeWithHeader()=2144 totalChecksumBytes()=20
isUnpacked()=true buf=[ java.nio.HeapByteBuffer[pos=0 lim=2144 cap=2177] ] dataBeginsWith=\x00\x00\x008\x00\x00\x001\x00
aaaaaaaaaaaaaaaaaaaaba 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: a56b2c15273f4d7486cea24f0248de3f_371684
	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)

testStoreFileCacheOnWrite[95](org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite)  Time elapsed:
2.499 sec  <<< FAILURE!
java.lang.AssertionError: shouldBeCached: false
isCached: true
Test description: [cacheOnWrite=BLOOM_BLOCKS, compress=GZ, encoderType=BLOCK_ENCODING_EVERYWHERE,
cacheCompressedData=true]
block: HFileBlock [ fileOffset=1004060 headerSize()=33 blockType=ENCODED_DATA onDiskSizeWithoutHeader=1245
uncompressedSizeWithoutHeader=1498 prevBlockOffset=998584 isUseHBaseChecksum()=true checksumType=NULL
bytesPerChecksum=512 onDiskDataSizeWithHeader=1266 getOnDiskSizeWithHeader()=1278 totalChecksumBytes()=12
isUnpacked()=true buf=[ java.nio.HeapByteBuffer[pos=0 lim=1543 cap=1576] ] dataBeginsWith=\x00\x02\x00\x00\x08\x13,"\x00\x00
aaaaaaaaaaaaaaaaaabab fileContext=HFileContext [ usesHBaseChecksum=true checksumType=NULL
bytesPerChecksum=512 blocksize=65536 encoding=NONE includesMvcc=true includesTags=true compressAlgo=NONE
compressTags=false cryptoContext=[ cipher=NONE keyHash=NONE ] ] ]
encodingInCache: PREFIX
blockCacheKey: 7a10ad59cc8544ab9f3f9d25cfd0fd2b_1004060
	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:239)

Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.623 sec - in org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Running org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster
Running org.apache.hadoop.hbase.replication.TestReplicationSource
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.162 sec - in org.apache.hadoop.hbase.replication.TestReplicationSource
Running org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Running org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.099 sec - in org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.12 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: 30.489 sec - in org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.782 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.03 sec - in org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Running org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.436 sec - in org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Running org.apache.hadoop.hbase.replication.TestReplicationWithTags
Running org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.144 sec - in org.apache.hadoop.hbase.replication.TestReplicationWithTags
Running org.apache.hadoop.hbase.replication.TestMasterReplication
Running org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.241 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Running org.apache.hadoop.hbase.util.TestMergeTool
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 312.454 sec - in org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat
Running org.apache.hadoop.hbase.util.TestFSTableDescriptors
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.618 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: 21.513 sec - in org.apache.hadoop.hbase.util.TestMergeTool
Running org.apache.hadoop.hbase.util.TestIdLock
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.606 sec - in org.apache.hadoop.hbase.util.TestHBaseFsckEncryption
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.366 sec - in org.apache.hadoop.hbase.util.TestIdLock
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.589 sec - in org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Running org.apache.hadoop.hbase.util.TestMergeTable
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.177 sec - in org.apache.hadoop.hbase.replication.TestMasterReplication
Running org.apache.hadoop.hbase.util.TestHBaseFsck
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.995 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.798 sec - in org.apache.hadoop.hbase.util.TestFSUtils
Running org.apache.hadoop.hbase.util.TestRegionSplitter
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.443 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.717 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Running org.apache.hadoop.hbase.util.TestTableName
Running org.apache.hadoop.hbase.util.TestProcessBasedCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.09 sec - in org.apache.hadoop.hbase.util.TestProcessBasedCluster
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.497 sec - in org.apache.hadoop.hbase.util.TestTableName
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadEncoded
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.14 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: 8.571 sec - in org.apache.hadoop.hbase.util.TestFSVisitor
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
Running org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.995 sec - in org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 272.694 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: 25.331 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
Running org.apache.hadoop.hbase.util.TestDefaultEnvironmentEdge
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.452 sec - in org.apache.hadoop.hbase.util.TestDefaultEnvironmentEdge
Running org.apache.hadoop.hbase.util.TestFSHDFSUtils
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.003 sec - in org.apache.hadoop.hbase.util.TestFSHDFSUtils
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.695 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap
Running org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.138 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildHole
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.556 sec - in org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster
Running org.apache.hadoop.hbase.TestNamespace
Running org.apache.hadoop.hbase.TestInfoServers
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 67.188 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadEncoded
Running org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.296 sec - in org.apache.hadoop.hbase.TestInfoServers
Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 8.79 sec - in org.apache.hadoop.hbase.TestNamespace
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.836 sec - in org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 49, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 317.725 sec - in org.apache.hadoop.hbase.util.TestHBaseFsck

Results :

Failed tests: 
  TestCacheOnWrite.testStoreFileCacheOnWrite:238->testStoreFileCacheOnWriteInternals:244->readStoreFile:285
shouldBeCached: false
isCached: true
Test description: [cacheOnWrite=DATA_BLOCKS, compress=NONE, encoderType=NO_BLOCK_ENCODING,
cacheCompressedData=true]
block: HFileBlock [ fileOffset=19495 headerSize()=33 blockType=LEAF_INDEX onDiskSizeWithoutHeader=545
uncompressedSizeWithoutHeader=537 prevBlockOffset=-1 isUseHBaseChecksum()=true checksumType=NULL
bytesPerChecksum=512 onDiskDataSizeWithHeader=570 getOnDiskSizeWithHeader()=578 totalChecksumBytes()=8
isUnpacked()=true buf=[ java.nio.HeapByteBuffer[pos=0 lim=578 cap=611] ] 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: NONE
blockCacheKey: 12b88a9fdf13481593162bec048bc0cf_19495
  TestCacheOnWrite.testStoreFileCacheOnWrite:238->testStoreFileCacheOnWriteInternals:244->readStoreFile:285
shouldBeCached: false
isCached: true
Test description: [cacheOnWrite=BLOOM_BLOCKS, compress=NONE, encoderType=NO_BLOCK_ENCODING,
cacheCompressedData=true]
block: HFileBlock [ fileOffset=371684 headerSize()=33 blockType=DATA onDiskSizeWithoutHeader=2111
uncompressedSizeWithoutHeader=2091 prevBlockOffset=365361 isUseHBaseChecksum()=true checksumType=NULL
bytesPerChecksum=512 onDiskDataSizeWithHeader=2124 getOnDiskSizeWithHeader()=2144 totalChecksumBytes()=20
isUnpacked()=true buf=[ java.nio.HeapByteBuffer[pos=0 lim=2144 cap=2177] ] dataBeginsWith=\x00\x00\x008\x00\x00\x001\x00
aaaaaaaaaaaaaaaaaaaaba 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: a56b2c15273f4d7486cea24f0248de3f_371684
  TestCacheOnWrite.testStoreFileCacheOnWrite:239->testStoreFileCacheOnWriteInternals:244->readStoreFile:285
shouldBeCached: false
isCached: true
Test description: [cacheOnWrite=BLOOM_BLOCKS, compress=GZ, encoderType=BLOCK_ENCODING_EVERYWHERE,
cacheCompressedData=true]
block: HFileBlock [ fileOffset=1004060 headerSize()=33 blockType=ENCODED_DATA onDiskSizeWithoutHeader=1245
uncompressedSizeWithoutHeader=1498 prevBlockOffset=998584 isUseHBaseChecksum()=true checksumType=NULL
bytesPerChecksum=512 onDiskDataSizeWithHeader=1266 getOnDiskSizeWithHeader()=1278 totalChecksumBytes()=12
isUnpacked()=true buf=[ java.nio.HeapByteBuffer[pos=0 lim=1543 cap=1576] ] dataBeginsWith=\x00\x02\x00\x00\x08\x13,"\x00\x00
aaaaaaaaaaaaaaaaaabab fileContext=HFileContext [ usesHBaseChecksum=true checksumType=NULL
bytesPerChecksum=512 blocksize=65536 encoding=NONE includesMvcc=true includesTags=true compressAlgo=NONE
compressTags=false cryptoContext=[ cipher=NONE keyHash=NONE ] ] ]
encodingInCache: PREFIX
blockCacheKey: 7a10ad59cc8544ab9f3f9d25cfd0fd2b_1004060
  TestMasterFailover.testPendingOpenOrCloseWhenMasterFailover:307 Waiting timed out after
[60,000] msec



Tests run: 2253, Failures: 4, Errors: 0, Skipped: 25

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [2.975s]
[INFO] HBase - Checkstyle ................................ SUCCESS [0.615s]
[INFO] HBase - Annotations ............................... SUCCESS [0.708s]
[INFO] HBase - Protocol .................................. SUCCESS [10.983s]
[INFO] HBase - Common .................................... SUCCESS [1:16.439s]
[INFO] HBase - Client .................................... SUCCESS [1:14.893s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [7.051s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [5.860s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [8.201s]
[INFO] HBase - Server .................................... FAILURE [1:13:06.234s]
[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:16:14.850s
[INFO] Finished at: Wed Feb 04 07:21:28 UTC 2015
[INFO] Final Memory: 57M/1170M
[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/hudson4709965039928836075.sh
++ jps
++ grep surefirebooter
++ wc -l
+ ZOMBIE_TESTS_COUNT=1
+ [[ 1 != 0 ]]
+ echo 'Suspicious java process found - waiting 10s to see if there are just slow to stop'
Suspicious java process found - waiting 10s to see if there are just slow to stop
+ sleep 10
++ jps
++ grep surefirebooter
++ wc -l
+ ZOMBIE_TESTS_COUNT=1
+ [[ 1 != 0 ]]
+ echo 'There are 1 zombie tests, they should have been killed by surefire but survived'
There are 1 zombie tests, they should have been killed by surefire but survived
+ echo '************ BEGIN zombies jstack extract'
************ BEGIN zombies jstack extract
++ jps
++ grep surefirebooter
++ cut -d ' ' -f 1
++ xargs -n 1 jstack
++ grep .test
++ grep '\.java'
18368: Unable to open socket file: target process not responding or HotSpot VM not loaded
The -F option can be used when the target process is not responding
+ ZB_STACK=
POST BUILD TASK : FAILURE
END OF POST BUILD TASK : 0
Archiving artifacts
Sending artifact delta relative to HBase-TRUNK #6068
Archived 1847 artifacts
Archive block size is 32768
Received 31 blocks and 400258354 bytes
Compression is 0.3%
Took 2 min 5 sec
Recording test results
Updating HBASE-12957

Mime
View raw message