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 #5543
Date Tue, 23 Sep 2014 02:33:01 GMT
See <https://builds.apache.org/job/HBase-TRUNK/5543/changes>

Changes:

[apurtell] HBASE-12043 REST server should respond with FORBIDDEN(403) code on AccessDeniedException
(Aditya Kishore)

[apurtell] HBASE-12044 REST delete operation should not retry disableTable for DoNotRetryIOException
(Aditya Kishore)

[apurtell] HBASE-12045 REST proxy users configuration in hbase-site.xml is ignored (Aditya
Kishore)

------------------------------------------
[...truncated 1640 lines...]
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.421 sec - in org.apache.hadoop.hbase.client.TestSnapshotFromClientWithRegionReplicas
Running org.apache.hadoop.hbase.client.TestClientOperationInterrupt
Running org.apache.hadoop.hbase.client.TestMultipleTimestamps
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 125.141 sec - in org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClientWithRegionReplicas
Running org.apache.hadoop.hbase.client.TestMetaScanner
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.616 sec - in org.apache.hadoop.hbase.client.TestMultipleTimestamps
Running org.apache.hadoop.hbase.client.TestClientTimeouts
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.686 sec - in org.apache.hadoop.hbase.client.TestClientTimeouts
Running org.apache.hadoop.hbase.client.TestCloneSnapshotFromClient
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.77 sec - in org.apache.hadoop.hbase.client.TestMetaScanner
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.185 sec - in org.apache.hadoop.hbase.client.TestClientOperationInterrupt
Running org.apache.hadoop.hbase.client.TestPutWithDelete
Running org.apache.hadoop.hbase.client.TestHCM
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.997 sec - in org.apache.hadoop.hbase.client.TestPutWithDelete
Running org.apache.hadoop.hbase.TestLocalHBaseCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.57 sec - in org.apache.hadoop.hbase.TestLocalHBaseCluster
Running org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.252 sec - in org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Running org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Tests run: 79, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 113.961 sec - in org.apache.hadoop.hbase.client.TestFromClientSide
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.632 sec - in org.apache.hadoop.hbase.client.TestCloneSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.799 sec - in org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.791 sec - in org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Running org.apache.hadoop.hbase.TestMultiVersions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.268 sec - in org.apache.hadoop.hbase.TestMultiVersions
Running org.apache.hadoop.hbase.TestGlobalMemStoreSize
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.326 sec - in org.apache.hadoop.hbase.TestGlobalMemStoreSize
Running org.apache.hadoop.hbase.TestRegionRebalancing
Tests run: 21, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 165.123 sec - in org.apache.hadoop.hbase.client.TestHCM
Running org.apache.hadoop.hbase.security.access.TestScanEarlyTermination
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.883 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.201 sec - in org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Running org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.011 sec - in org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.802 sec - in org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.security.access.TestCellACLs
Running org.apache.hadoop.hbase.security.access.TestTablePermissions
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.338 sec - in org.apache.hadoop.hbase.security.access.TestCellACLs
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.125 sec - in org.apache.hadoop.hbase.security.access.TestTablePermissions
Running org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Running org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.905 sec - in org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.136 sec - in org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Running org.apache.hadoop.hbase.security.access.TestAccessController
Running org.apache.hadoop.hbase.security.access.TestAccessController2
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.12 sec - in org.apache.hadoop.hbase.security.access.TestAccessController2
Running org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.356 sec - in org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Running org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.506 sec - in org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Running org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.809 sec - in org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.435 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Tests run: 46, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 546.1 sec - in org.apache.hadoop.hbase.client.TestAdmin
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.635 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.336 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.788 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDistributedLogReplay
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Tests run: 47, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 125.711 sec - in org.apache.hadoop.hbase.security.access.TestAccessController
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.501 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDistributedLogReplay
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 348.075 sec - in org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.859 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Running org.apache.hadoop.hbase.fs.TestBlockReorder
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Running org.apache.hadoop.hbase.TestInfoServers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.733 sec - in org.apache.hadoop.hbase.TestInfoServers
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.67 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Running org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.319 sec - in org.apache.hadoop.hbase.fs.TestBlockReorder
Running org.apache.hadoop.hbase.backup.TestHFileArchiving
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.981 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: 1.719 sec - in org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Running org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.305 sec - in 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.161 sec - in org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 359.701 sec - in org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.531 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.46 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.555 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.909 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.727 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Running org.apache.hadoop.hbase.mapreduce.TestHLogRecordReader
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.461 sec - in org.apache.hadoop.hbase.mapreduce.TestHLogRecordReader
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.159 sec - in org.apache.hadoop.hbase.backup.TestHFileArchiving
Running org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan2
Running org.apache.hadoop.hbase.mapreduce.TestTableMapReduce
Running org.apache.hadoop.hbase.mapreduce.TestImportExport
Running org.apache.hadoop.hbase.mapreduce.TestWALPlayer
Running org.apache.hadoop.hbase.mapreduce.TestCopyTable
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.937 sec - in org.apache.hadoop.hbase.mapreduce.TestWALPlayer
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithOperationAttributes
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 184.97 sec - in org.apache.hadoop.hbase.mapreduce.TestCopyTable
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 208.499 sec - in org.apache.hadoop.hbase.mapreduce.TestTableMapReduce
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 114.81 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTSVWithOperationAttributes
Running org.apache.hadoop.hbase.mapreduce.TestRowCounter
Running org.apache.hadoop.hbase.mapreduce.TestImportTsv
Running org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFiles
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.97 sec - in org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFiles
Running org.apache.hadoop.hbase.mapreduce.TestTimeRangeMapRed
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 319.335 sec - in org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan2
Running org.apache.hadoop.hbase.mapreduce.TestTableSnapshotInputFormat
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 138.708 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: 79.18 sec - in org.apache.hadoop.hbase.mapreduce.TestTimeRangeMapRed
Running org.apache.hadoop.hbase.mapreduce.TestHRegionPartitioner
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.368 sec - in org.apache.hadoop.hbase.mapreduce.TestHRegionPartitioner
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.706 sec - in org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFiles
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesSplitRecovery
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 452.882 sec - in org.apache.hadoop.hbase.mapreduce.TestImportExport
Running org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.281 sec - in org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesSplitRecovery
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithVisibilityLabels
Running org.apache.hadoop.hbase.mapreduce.TestMultithreadedTableMapper
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 257.143 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTsv
Running org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 122.168 sec - in org.apache.hadoop.hbase.mapreduce.TestMultithreadedTableMapper
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 337.538 sec - in org.apache.hadoop.hbase.mapreduce.TestTableSnapshotInputFormat
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: 221.411 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTSVWithVisibilityLabels
Running org.apache.hadoop.hbase.mapreduce.TestMultiTableInputFormat
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.171 sec - in org.apache.hadoop.hbase.mapreduce.TestCellCounter
Running org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFilesSplitRecovery
Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 325.564 sec - in org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.268 sec - in org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFilesSplitRecovery
Running 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.715 sec - in org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.179 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
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: 4.422 sec - in org.apache.hadoop.hbase.filter.TestFilterWrapper
Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 362.425 sec - in org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.935 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: 10.644 sec - in org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 276.793 sec - in org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 208.254 sec - in org.apache.hadoop.hbase.mapreduce.TestMultiTableInputFormat

Results :

Failed tests: 
  TestMasterOperationsForRegionReplicas.testCreateTableWithMultipleReplicas:176->validateFromSnapshotFromMeta:326
expected:<3> but was:<4>
  TestPerTableCFReplication.testPerTableCFReplication:300->ensureRowNotReplicated:386 expected:<0>
but was:<1>
  TestMultiParallel.testActiveThreadsCount:157 expected:<5> but was:<4>

Tests run: 2022, Failures: 3, Errors: 0, Skipped: 19

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [5.653s]
[INFO] HBase - Common .................................... SUCCESS [1:32.226s]
[INFO] HBase - Protocol .................................. SUCCESS [15.440s]
[INFO] HBase - Client .................................... SUCCESS [1:19.505s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [8.368s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [8.294s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [15.109s]
[INFO] HBase - Server .................................... FAILURE [1:18:13.831s]
[INFO] HBase - Testing Util .............................. SKIPPED
[INFO] HBase - Thrift .................................... 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: 1:21:59.884s
[INFO] Finished at: Tue Sep 23 02:28:01 UTC 2014
[INFO] Final Memory: 40M/212M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17: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
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/hudson8143294109537069643.sh
++ grep surefirebooter
++ wc -l
++ jps
+ 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 #5541
Archived 1803 artifacts
Archive block size is 32768
Received 75 blocks and 534543700 bytes
Compression is 0.5%
Took 3 min 2 sec
Recording test results
Updating HBASE-12043
Updating HBASE-12044
Updating HBASE-12045

Mime
View raw message