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-0.98 #1162
Date Tue, 20 Oct 2015 14:02:51 GMT
See <https://builds.apache.org/job/HBase-0.98/1162/changes>

Changes:

[tedyu] HBASE-14604 Improve MoveCostFunction in StochasticLoadBalancer (Guanghao

------------------------------------------
[...truncated 1965 lines...]
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.313 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.077 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Running org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.078 sec - in org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.401 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLablesWithGroups
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.646 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLablesWithGroups
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.128 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.274 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Running org.apache.hadoop.hbase.security.visibility.TestWithDisabledAuthorization
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.518 sec - in org.apache.hadoop.hbase.security.visibility.TestWithDisabledAuthorization
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.43 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Running org.apache.hadoop.hbase.catalog.TestMetaReaderEditor
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.787 sec - in org.apache.hadoop.hbase.catalog.TestMetaReaderEditor
Running org.apache.hadoop.hbase.catalog.TestCatalogTracker
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.66 sec - in org.apache.hadoop.hbase.catalog.TestCatalogTracker
Running org.apache.hadoop.hbase.catalog.TestMetaReaderEditorNoCluster
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.186 sec - in org.apache.hadoop.hbase.catalog.TestMetaReaderEditorNoCluster
Running org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.799 sec - in org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB
Running org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.392 sec - in org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Running org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.598 sec - in org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Running org.apache.hadoop.hbase.backup.TestHFileArchiving
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.619 sec - in org.apache.hadoop.hbase.backup.TestHFileArchiving
Running org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.745 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Running org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 254.314 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd
Running org.apache.hadoop.hbase.filter.TestFilterWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.562 sec - in org.apache.hadoop.hbase.filter.TestFilterWrapper
Running org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.034 sec - in org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Running org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.671 sec - in org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Running org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.029 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Running org.apache.hadoop.hbase.trace.TestHTraceHooks
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.895 sec - in org.apache.hadoop.hbase.trace.TestHTraceHooks
Running org.apache.hadoop.hbase.TestDrainingServer
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.465 sec - in org.apache.hadoop.hbase.TestDrainingServer
Running org.apache.hadoop.hbase.TestLocalHBaseCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.225 sec - in org.apache.hadoop.hbase.TestLocalHBaseCluster
Running org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.064 sec - in org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster
Running org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.28 sec - in org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Running org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.898 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.094 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationHLogReaderManager
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 284.429 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationHLogReaderManager
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.396 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Running org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.685 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: 4.345 sec - in org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.343 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.239 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Running org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.991 sec - in org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Running org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.747 sec - in org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Running org.apache.hadoop.hbase.replication.TestReplicationWithTags
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.506 sec - in org.apache.hadoop.hbase.replication.TestReplicationWithTags
Running org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.566 sec - in org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Running org.apache.hadoop.hbase.replication.TestReplicationSource
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.499 sec - in org.apache.hadoop.hbase.replication.TestReplicationSource
Running org.apache.hadoop.hbase.replication.TestMasterReplication
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.358 sec - in org.apache.hadoop.hbase.replication.TestMasterReplication
Running org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.461 sec - in org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Running org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.834 sec - in org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Running org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.213 sec - in org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.545 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestWALObserver
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.916 sec - in org.apache.hadoop.hbase.coprocessor.TestWALObserver
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.6 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
Running org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.644 sec - in org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerObserver
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.767 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerObserver
Running org.apache.hadoop.hbase.coprocessor.TestDoubleColumnInterpreter
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.126 sec - in org.apache.hadoop.hbase.coprocessor.TestDoubleColumnInterpreter
Running org.apache.hadoop.hbase.coprocessor.TestHTableWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.223 sec - in org.apache.hadoop.hbase.coprocessor.TestHTableWrapper
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorHConnection
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.344 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorHConnection
Running org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.481 sec - in org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.287 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.925 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.151 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Running org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.794 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Running org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.288 sec - in org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.969 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.887 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorTableEndpoint
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.068 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorTableEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.578 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestBigDecimalColumnInterpreter
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.274 sec - in org.apache.hadoop.hbase.coprocessor.TestBigDecimalColumnInterpreter
Running org.apache.hadoop.hbase.coprocessor.TestClassLoading
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.804 sec - in org.apache.hadoop.hbase.coprocessor.TestClassLoading
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.258 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Running org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.299 sec - in org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.241 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.TestJMXListener
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.88 sec - in org.apache.hadoop.hbase.TestJMXListener
Running org.apache.hadoop.hbase.TestHBaseTestingUtility
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.339 sec - in org.apache.hadoop.hbase.TestHBaseTestingUtility

Results :

Failed tests: 
  TestCopyTable.testCopyTable:123->doCopyTableTest:101 copy job failed expected:<0>
but was:<1>
  TestCopyTable.testRenameFamily:214 null
  TestCopyTable.testStartStopRow:159 expected:<0> but was:<1>
  TestImportExport.testDurability:654 null
  TestImportExport.testImport94Table:230 null
  TestImportExport.testSimpleCase:188 null
  TestImportExport.testWithDeletes:323 null
  TestImportExport.testWithFilter:460 null
  TestImportExport.testWithMultipleDeleteFamilyMarkersOfSameRowSameFamily:393 null
  TestImportTSVWithOperationAttributes.testMROnTable:121->doMROnTableTest:175 expected:<0>
but was:<1>
  TestImportTSVWithOperationAttributes.testMROnTableWithInvalidOperationAttr:137->doMROnTableTest:175
expected:<0> but was:<1>
  TestImportTSVWithTTLs.testMROnTable:113->doMROnTableTest:143 expected:<0> but was:<1>
  TestImportTSVWithVisibilityLabels.testMROnTable:162->doMROnTableTest:307 expected:<0>
but was:<1>
  TestImportTSVWithVisibilityLabels.testMROnTableWithDeletes:177->doMROnTableTest:307 expected:<0>
but was:<1>
  TestImportTsv.testMROnTable:114->doMROnTableTest:294 expected:<0> but was:<1>
  TestImportTsv.testMROnTableWithCustomMapper:149->doMROnTableTest:294 expected:<0>
but was:<1>
  TestMultithreadedTableMapper.testMultithreadedTableMapper:126->runTestOnTable:150 null
  TestSyncTable.testSyncTable:88->syncTables:189 sync table job failed expected:<0>
but was:<1>
  TestTableMapReduce>TestTableMapReduceBase.testCombiner:104->runTestOnTable:110 null
  TestTableMapReduce>TestTableMapReduceBase.testMultiRegionTable:96->runTestOnTable:110
null
Tests in error: 
  TestCopyTable.testCopyTableWithBulkload:131->doCopyTableTest:81 » TableExists ...
  TestCopyTable.testDeprecatedCopyTable:276 » TableExists org.apache.hadoop.hbas...

Tests run: 2112, Failures: 20, Errors: 2, Skipped: 22

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ...................................... SUCCESS [4.156s]
[INFO] Apache HBase - Checkstyle ......................... SUCCESS [0.996s]
[INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.265s]
[INFO] Apache HBase - Annotations ........................ SUCCESS [1.018s]
[INFO] Apache HBase - Common ............................. SUCCESS [51.725s]
[INFO] Apache HBase - Protocol ........................... SUCCESS [9.465s]
[INFO] Apache HBase - Client ............................. SUCCESS [57.982s]
[INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [7.182s]
[INFO] Apache HBase - Hadoop Two Compatibility ........... SUCCESS [6.517s]
[INFO] Apache HBase - Prefix Tree ........................ SUCCESS [8.345s]
[INFO] Apache HBase - Server ............................. FAILURE [3:30:13.099s]
[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: 3:32:42.493s
[INFO] Finished at: Tue Oct 20 14:01:08 UTC 2015
[INFO] Final Memory: 41M/410M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
(secondPartTestsExecution) on project hbase-server: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/HBase-0.98/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-0.98] $ /bin/bash -xe /tmp/hudson1101906972633132978.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
Recording test results
Updating HBASE-14604

Mime
View raw message