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 #5943
Date Thu, 18 Dec 2014 15:14:04 GMT
See <https://builds.apache.org/job/HBase-TRUNK/5943/changes>

Changes:

[tedyu] HBASE-12223 MultiTableInputFormatBase.getSplits is too slow (Yuanbo Peng)

------------------------------------------
[...truncated 1840 lines...]
Running org.apache.hadoop.hbase.security.access.TestScanEarlyTermination
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.281 sec - in org.apache.hadoop.hbase.security.access.TestScanEarlyTermination
Running org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.238 sec - in org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.645 sec - in org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Running org.apache.hadoop.hbase.security.access.TestCellACLs
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.24 sec - in org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.558 sec - in org.apache.hadoop.hbase.security.access.TestCellACLs
Running org.apache.hadoop.hbase.security.access.TestTablePermissions
Running org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Tests run: 21, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 145.511 sec - in org.apache.hadoop.hbase.client.TestHCM
Running org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.837 sec - in org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.949 sec - in org.apache.hadoop.hbase.security.access.TestTablePermissions
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.349 sec - in org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Running org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Running org.apache.hadoop.hbase.security.access.TestAccessController
Running org.apache.hadoop.hbase.security.access.TestAccessController2
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.29 sec - in org.apache.hadoop.hbase.security.access.TestAccessController2
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.273 sec - in org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Running org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.599 sec - in org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Running org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.83 sec - in org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.311 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.939 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.369 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.712 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDistributedLogReplay
Running org.apache.hadoop.hbase.security.visibility.TestDefaultScanLabelGeneratorStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.417 sec - in org.apache.hadoop.hbase.security.visibility.TestDefaultScanLabelGeneratorStack
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.909 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDistributedLogReplay
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.793 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.52 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.087 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsReplication
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.847 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelReplicationWithExpAsString
Running org.apache.hadoop.hbase.fs.TestBlockReorder
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.519 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelReplicationWithExpAsString
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.274 sec - in org.apache.hadoop.hbase.fs.TestBlockReorder
Running org.apache.hadoop.hbase.TestInfoServers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.693 sec - in org.apache.hadoop.hbase.TestInfoServers
Running org.apache.hadoop.hbase.wal.TestWALFactory
Running org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.685 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Running org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.508 sec - in org.apache.hadoop.hbase.wal.TestWALFactory
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.871 sec - in org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Running org.apache.hadoop.hbase.wal.TestSecureWAL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.463 sec - in org.apache.hadoop.hbase.wal.TestSecureWAL
Running org.apache.hadoop.hbase.wal.TestWALFiltering
Running org.apache.hadoop.hbase.wal.TestWALSplit
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 301.289 sec - in org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Running org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.047 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.57 sec - in org.apache.hadoop.hbase.wal.TestWALFiltering
Running org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Running org.apache.hadoop.hbase.backup.TestHFileArchiving
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 315.443 sec - in org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Running org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.893 sec - in org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Running org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.385 sec - in org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 257.371 sec - in org.apache.hadoop.hbase.security.access.TestAccessController
Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.248 sec - in org.apache.hadoop.hbase.backup.TestHFileArchiving
Running org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Running org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.121 sec - in org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.205 sec - in org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.948 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Running org.apache.hadoop.hbase.zookeeper.TestZKMulti
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.305 sec - in org.apache.hadoop.hbase.zookeeper.TestZKMulti
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.258 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.436 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Running org.apache.hadoop.hbase.mapreduce.TestHLogRecordReader
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.822 sec - in org.apache.hadoop.hbase.mapreduce.TestHLogRecordReader
Running org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan2
Running org.apache.hadoop.hbase.mapreduce.TestTableMapReduce
Running org.apache.hadoop.hbase.mapreduce.TestImportExport
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 188.602 sec - in org.apache.hadoop.hbase.wal.TestWALSplit
Running org.apache.hadoop.hbase.mapreduce.TestWALPlayer
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 198.341 sec - in org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Running org.apache.hadoop.hbase.mapreduce.TestCopyTable
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 163.786 sec - in org.apache.hadoop.hbase.mapreduce.TestTableMapReduce
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.53 sec - in org.apache.hadoop.hbase.mapreduce.TestWALPlayer
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithOperationAttributes
Running org.apache.hadoop.hbase.mapreduce.TestRowCounter
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 130.125 sec - in org.apache.hadoop.hbase.mapreduce.TestCopyTable
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.298 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTSVWithOperationAttributes
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 273.583 sec - in org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan2
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesUseSecurityEndPoint
Running org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFiles
Running org.apache.hadoop.hbase.mapreduce.TestImportTsv
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.721 sec - in org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesUseSecurityEndPoint
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.727 sec - in org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFiles
Running org.apache.hadoop.hbase.mapreduce.TestTableSnapshotInputFormat
Running org.apache.hadoop.hbase.mapreduce.TestTimeRangeMapRed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.02 sec - in org.apache.hadoop.hbase.mapreduce.TestTimeRangeMapRed
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithTTLs
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 222.424 sec - in org.apache.hadoop.hbase.mapreduce.TestRowCounter
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFiles
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.532 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTSVWithTTLs
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.497 sec - in org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFiles
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 447.012 sec - in org.apache.hadoop.hbase.mapreduce.TestImportExport
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesSplitRecovery
Running org.apache.hadoop.hbase.mapreduce.TestHRegionPartitioner
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.855 sec - in org.apache.hadoop.hbase.mapreduce.TestHRegionPartitioner
Running org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.417 sec - in org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesSplitRecovery
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithVisibilityLabels
Running org.apache.hadoop.hbase.mapreduce.TestMultithreadedTableMapper
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 246.359 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTsv
Running org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 286.4 sec - in org.apache.hadoop.hbase.mapreduce.TestTableSnapshotInputFormat
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 100.832 sec - in org.apache.hadoop.hbase.mapreduce.TestMultithreadedTableMapper
Running org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1
Running org.apache.hadoop.hbase.mapreduce.TestCellCounter
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 179.198 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTSVWithVisibilityLabels
Running org.apache.hadoop.hbase.mapreduce.TestWALRecordReader
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.816 sec - in org.apache.hadoop.hbase.mapreduce.TestWALRecordReader
Running org.apache.hadoop.hbase.mapreduce.TestMultiTableInputFormat
Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 297.875 sec - in org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat
Running org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFilesSplitRecovery
Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 272.072 sec - in org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.253 sec - in org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFilesSplitRecovery
Running org.apache.hadoop.hbase.filter.TestScanRowPrefix
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.395 sec - in org.apache.hadoop.hbase.filter.TestScanRowPrefix
Running org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.338 sec - in org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Running org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.117 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 210.44 sec - in org.apache.hadoop.hbase.mapreduce.TestCellCounter
Running org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Running org.apache.hadoop.hbase.filter.TestFilterWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.155 sec - in org.apache.hadoop.hbase.filter.TestFilterWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.71 sec - in org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Running org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.757 sec - in org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 243.019 sec - in org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 175.174 sec - in org.apache.hadoop.hbase.mapreduce.TestMultiTableInputFormat

Results :

Failed tests: 
  TestFastFail.testFastFail:262 There should be atleast one thread that retried instead of
failing



Tests run: 2039, Failures: 1, Errors: 0, Skipped: 25

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [3.184s]
[INFO] HBase - Checkstyle ................................ SUCCESS [0.815s]
[INFO] HBase - Annotations ............................... SUCCESS [0.961s]
[INFO] HBase - Protocol .................................. SUCCESS [12.932s]
[INFO] HBase - Common .................................... SUCCESS [1:04.774s]
[INFO] HBase - Client .................................... SUCCESS [1:16.892s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [7.041s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [6.086s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [8.686s]
[INFO] HBase - Server .................................... FAILURE [1:03:32.537s]
[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:06:34.756s
[INFO] Finished at: Thu Dec 18 15:11:57 UTC 2014
[INFO] Final Memory: 57M/1194M
[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-TRUNK/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
[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/hudson2277777933539212433.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-TRUNK #5941
Archived 1811 artifacts
Archive block size is 32768
Received 31 blocks and 336061185 bytes
Compression is 0.3%
Took 1 min 37 sec
Recording test results
Updating HBASE-12223

Mime
View raw message