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-1.0 #1010
Date Tue, 11 Aug 2015 09:53:14 GMT
See <https://builds.apache.org/job/HBase-1.0/1010/changes>

Changes:

[enis] HBASE-13089 Fix test compilation error on building against htrace-3.2.0-incubating

------------------------------------------
[...truncated 1898 lines...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.23 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.499 sec - in org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.875 sec - in org.apache.hadoop.hbase.security.access.TestAccessController2
Running org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.399 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: 3.411 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.222 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLablesWithGroups
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.811 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.797 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLablesWithGroups
Running org.apache.hadoop.hbase.security.visibility.TestWithDisabledAuthorization
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.002 sec - in org.apache.hadoop.hbase.security.visibility.TestWithDisabledAuthorization
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.475 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: 54, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 89.131 sec <<< FAILURE!
- in org.apache.hadoop.hbase.security.access.TestAccessController
testMergeRegions(org.apache.hadoop.hbase.security.access.TestAccessController)  Time elapsed:
0.992 sec  <<< FAILURE!
java.lang.AssertionError: Expected action to pass for user 'owner' but was denied
	at org.junit.Assert.fail(Assert.java:88)
	at org.apache.hadoop.hbase.security.access.SecureTestUtil.verifyAllowed(SecureTestUtil.java:168)
	at org.apache.hadoop.hbase.security.access.SecureTestUtil.verifyAllowed(SecureTestUtil.java:176)
	at org.apache.hadoop.hbase.security.access.TestAccessController.testMergeRegions(TestAccessController.java:687)

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.531 sec - in org.apache.hadoop.hbase.security.visibility.TestDefaultScanLabelGeneratorStack
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.694 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDistributedLogReplay
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.853 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsReplication
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.816 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelReplicationWithExpAsString
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 282.853 sec - in org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Running org.apache.hadoop.hbase.fs.TestBlockReorder
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.004 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.843 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelReplicationWithExpAsString
Running org.apache.hadoop.hbase.TestInfoServers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.158 sec - in org.apache.hadoop.hbase.TestInfoServers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.234 sec - in org.apache.hadoop.hbase.fs.TestBlockReorder
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.588 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Running org.apache.hadoop.hbase.wal.TestWALFactory
Running 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.46 sec - in org.apache.hadoop.hbase.wal.TestSecureWAL
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.893 sec - in org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Running org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Running org.apache.hadoop.hbase.wal.TestWALSplit
Running org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingProvider
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 282.568 sec - in org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.891 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Running org.apache.hadoop.hbase.wal.TestWALFiltering
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.838 sec - in org.apache.hadoop.hbase.wal.TestWALFactory
Running org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Running org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.076 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.561 sec - in org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingProvider
Running org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Running org.apache.hadoop.hbase.backup.TestHFileArchiving
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.806 sec - in org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.715 sec - in org.apache.hadoop.hbase.wal.TestWALFiltering
Running org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.259 sec - in org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Running org.apache.hadoop.hbase.zookeeper.TestZKTableStateManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.767 sec - in org.apache.hadoop.hbase.zookeeper.TestZKTableStateManager
Running org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.256 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.136 sec - in org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.291 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.027 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Running org.apache.hadoop.hbase.zookeeper.TestZKMulti
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.482 sec - in org.apache.hadoop.hbase.zookeeper.TestZKMulti
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.479 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.404 sec - in org.apache.hadoop.hbase.backup.TestHFileArchiving
Running org.apache.hadoop.hbase.mapreduce.TestHLogRecordReader
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.187 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: 197.769 sec - in org.apache.hadoop.hbase.wal.TestWALSplit
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 193.621 sec - in org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Running org.apache.hadoop.hbase.mapreduce.TestWALPlayer
Running org.apache.hadoop.hbase.mapreduce.TestCopyTable
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 168.645 sec - in org.apache.hadoop.hbase.mapreduce.TestTableMapReduce
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithOperationAttributes
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.927 sec - in org.apache.hadoop.hbase.mapreduce.TestWALPlayer
Running org.apache.hadoop.hbase.mapreduce.TestRowCounter
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 260.997 sec - in org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan2
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 121.1 sec - in org.apache.hadoop.hbase.mapreduce.TestCopyTable
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 78.558 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTSVWithOperationAttributes
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesUseSecurityEndPoint
Running org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFiles
Running org.apache.hadoop.hbase.mapreduce.TestImportTsv
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 57.548 sec - in org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesUseSecurityEndPoint
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.837 sec - in org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFiles
Running org.apache.hadoop.hbase.mapreduce.TestTimeRangeMapRed
Running org.apache.hadoop.hbase.mapreduce.TestTableInputFormat
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.701 sec - in org.apache.hadoop.hbase.mapreduce.TestTimeRangeMapRed
Running org.apache.hadoop.hbase.mapreduce.TestTableSnapshotInputFormat
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 192.718 sec - in org.apache.hadoop.hbase.mapreduce.TestRowCounter
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 412.303 sec - in org.apache.hadoop.hbase.mapreduce.TestImportExport
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFiles
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithTTLs
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 85.581 sec - in org.apache.hadoop.hbase.mapreduce.TestTableInputFormat
Running org.apache.hadoop.hbase.mapreduce.TestHRegionPartitioner
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.164 sec - in org.apache.hadoop.hbase.mapreduce.TestHRegionPartitioner
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesSplitRecovery
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 59.607 sec - in org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFiles
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.857 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTSVWithTTLs
Running org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.191 sec - in org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesSplitRecovery
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 237.744 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTsv
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithVisibilityLabels
Running org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2
Running org.apache.hadoop.hbase.mapreduce.TestMultithreadedTableMapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.278 sec - in org.apache.hadoop.hbase.mapreduce.TestMultithreadedTableMapper
Running org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 278.438 sec - in org.apache.hadoop.hbase.mapreduce.TestTableSnapshotInputFormat
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 182.561 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.743 sec - in org.apache.hadoop.hbase.mapreduce.TestWALRecordReader
Running org.apache.hadoop.hbase.mapreduce.TestCellCounter
Running org.apache.hadoop.hbase.mapreduce.TestMultiTableInputFormat
Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 257.679 sec - in org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat
Running org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFilesSplitRecovery
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.342 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.445 sec - in org.apache.hadoop.hbase.filter.TestScanRowPrefix
Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 297.304 sec - in org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2
Running org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.873 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.976 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: 2.502 sec - in org.apache.hadoop.hbase.filter.TestFilterWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.962 sec - in org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Running org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd
Running org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.917 sec - in org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 246.403 sec - in org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.416 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 180.365 sec - in org.apache.hadoop.hbase.mapreduce.TestMultiTableInputFormat
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 213.363 sec - in org.apache.hadoop.hbase.mapreduce.TestCellCounter

Results :

Failed tests: 
  TestAccessController.testMergeRegions:687->SecureTestUtil.verifyAllowed:176->SecureTestUtil.verifyAllowed:168
Expected action to pass for user 'owner' but was denied



Tests run: 2398, Failures: 1, Errors: 0, Skipped: 18

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ...................................... SUCCESS [4.712s]
[INFO] Apache HBase - Checkstyle ......................... SUCCESS [0.619s]
[INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.200s]
[INFO] Apache HBase - Annotations ........................ SUCCESS [1.041s]
[INFO] Apache HBase - Common ............................. SUCCESS [57.368s]
[INFO] Apache HBase - Protocol ........................... SUCCESS [9.087s]
[INFO] Apache HBase - Client ............................. SUCCESS [1:19.637s]
[INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [7.060s]
[INFO] Apache HBase - Hadoop Two Compatibility ........... SUCCESS [6.352s]
[INFO] Apache HBase - Prefix Tree ........................ SUCCESS [8.526s]
[INFO] Apache HBase - Server ............................. FAILURE [1:08:55.528s]
[INFO] Apache HBase - Testing Util ....................... SKIPPED
[INFO] Apache HBase - Thrift ............................. SKIPPED
[INFO] Apache HBase - Rest ............................... SKIPPED
[INFO] Apache HBase - Shell .............................. SKIPPED
[INFO] Apache HBase - Integration Tests .................. SKIPPED
[INFO] Apache HBase - Examples ........................... SKIPPED
[INFO] Apache HBase - Assembly ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:11:52.018s
[INFO] Finished at: Tue Aug 11 09:52:01 UTC 2015
[INFO] Final Memory: 46M/924M
[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-1.0/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-1.0] $ /bin/bash -xe /tmp/hudson404536645798812936.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-1.0 #1009
Archived 1923 artifacts
Archive block size is 32768
Received 29 blocks and 418223111 bytes
Compression is 0.2%
Took 1 min 47 sec
Recording test results
Updating HBASE-13089

Mime
View raw message