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.2 » latest1.7,Hadoop #332
Date Sat, 31 Oct 2015 17:27:26 GMT
See <https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/332/>

------------------------------------------
[...truncated 44024 lines...]
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithVisibilityLabels
Running org.apache.hadoop.hbase.coprocessor.TestBigDecimalColumnInterpreter
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.597 sec - in org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.37 sec - in org.apache.hadoop.hbase.coprocessor.TestBigDecimalColumnInterpreter
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorTableEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.352 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.732 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorTableEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.407 sec - in org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.254 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 156.297 sec - in org.apache.hadoop.hbase.mapreduce.TestMultiTableSnapshotInputFormat
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.834 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.322 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.618 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.171 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Tests run: 14, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 102.297 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.984 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.727 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerObserver
Running org.apache.hadoop.hbase.coprocessor.TestWALObserver
Running org.apache.hadoop.hbase.coprocessor.TestDoubleColumnInterpreter
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.379 sec - in org.apache.hadoop.hbase.coprocessor.TestWALObserver
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.626 sec - in org.apache.hadoop.hbase.coprocessor.TestDoubleColumnInterpreter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.744 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerObserver
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Running org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Running org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.715 sec - in org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.1 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.199 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Running org.apache.hadoop.hbase.coprocessor.TestClassLoading
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.17 sec - in org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Running org.apache.hadoop.hbase.TestLocalHBaseCluster
Running org.apache.hadoop.hbase.TestNamespace
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.003 sec - in org.apache.hadoop.hbase.TestLocalHBaseCluster
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 448.735 sec - in org.apache.hadoop.hbase.mapreduce.TestImportExport
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 288.601 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTSVWithVisibilityLabels
Running org.apache.hadoop.hbase.TestMultiVersions
Running org.apache.hadoop.hbase.TestMetaTableAccessor
Running org.apache.hadoop.hbase.trace.TestHTraceHooks
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.248 sec - in org.apache.hadoop.hbase.trace.TestHTraceHooks
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.04 sec - in org.apache.hadoop.hbase.TestMultiVersions
Running org.apache.hadoop.hbase.TestMetaTableLocator
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.199 sec - in org.apache.hadoop.hbase.coprocessor.TestClassLoading
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.489 sec - in org.apache.hadoop.hbase.TestMetaTableLocator
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.326 sec - in org.apache.hadoop.hbase.TestMetaTableAccessor
Running org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 50.226 sec - in org.apache.hadoop.hbase.TestNamespace
Running org.apache.hadoop.hbase.snapshot.TestSnapshotClientRetries
Running org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.507 sec - in org.apache.hadoop.hbase.snapshot.TestSnapshotClientRetries
Running org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Running org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.222 sec - in org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Running org.apache.hadoop.hbase.TestMetaMigrationConvertingToPB
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.946 sec - in org.apache.hadoop.hbase.TestMetaMigrationConvertingToPB
Running org.apache.hadoop.hbase.TestMovedRegionsCleaner
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.977 sec - in org.apache.hadoop.hbase.TestMovedRegionsCleaner
Running org.apache.hadoop.hbase.quotas.TestQuotaTableUtil
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.176 sec - in org.apache.hadoop.hbase.quotas.TestQuotaTableUtil
Running org.apache.hadoop.hbase.quotas.TestQuotaAdmin
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.662 sec - in org.apache.hadoop.hbase.quotas.TestQuotaAdmin
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 103.331 sec - in org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel
Running org.apache.hadoop.hbase.quotas.TestQuotaThrottle
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 123.519 sec - in org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Running org.apache.hadoop.hbase.util.TestIdLock
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.487 sec - in org.apache.hadoop.hbase.util.TestIdLock
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.844 sec - in org.apache.hadoop.hbase.quotas.TestQuotaThrottle
Running org.apache.hadoop.hbase.util.TestMergeTable
Running org.apache.hadoop.hbase.util.TestHBaseFsck
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.266 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel
Running org.apache.hadoop.hbase.util.TestFSTableDescriptors
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.655 sec - in org.apache.hadoop.hbase.util.TestFSTableDescriptors
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.921 sec - in org.apache.hadoop.hbase.util.TestMergeTable
Running org.apache.hadoop.hbase.util.TestConnectionCache
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.348 sec - in org.apache.hadoop.hbase.util.TestConnectionCache
Running org.apache.hadoop.hbase.util.TestDefaultEnvironmentEdge
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.413 sec - in org.apache.hadoop.hbase.util.TestDefaultEnvironmentEdge
Running org.apache.hadoop.hbase.util.TestFSVisitor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.261 sec - in org.apache.hadoop.hbase.util.TestFSVisitor
Running org.apache.hadoop.hbase.util.TestTableName
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.593 sec - in org.apache.hadoop.hbase.util.TestTableName
Running org.apache.hadoop.hbase.util.TestHBaseFsckEncryption
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.599 sec - in org.apache.hadoop.hbase.util.TestHBaseFsckEncryption
Running org.apache.hadoop.hbase.util.TestFSHDFSUtils
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.895 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.033 sec - in org.apache.hadoop.hbase.util.TestFSHDFSUtils
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadEncoded
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap
Killed
Killed
Killed
Killed
Killed
Running org.apache.hadoop.hbase.util.TestFSUtils
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildHole
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
Running org.apache.hadoop.hbase.util.TestMergeTool
Running org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.105 sec - in org.apache.hadoop.hbase.util.TestMergeTool
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.969 sec - in org.apache.hadoop.hbase.util.TestFSUtils
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.859 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildHole
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.777 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.841 sec - in org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy
Running org.apache.hadoop.hbase.util.TestRegionSplitter
Running org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Running org.apache.hadoop.hbase.TestFullLogReconstruction
Running org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingProvider
Running org.apache.hadoop.hbase.wal.TestWALFactory
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.956 sec - in org.apache.hadoop.hbase.util.TestRegionSplitter
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.72 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Running org.apache.hadoop.hbase.wal.TestWALFiltering
Running org.apache.hadoop.hbase.wal.TestSecureWAL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.699 sec - in org.apache.hadoop.hbase.wal.TestSecureWAL
Running org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.161 sec - in org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.045 sec - in org.apache.hadoop.hbase.wal.TestWALFactory
Running org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster
Running org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.293 sec - in org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingProvider
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.864 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.112 sec - in org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.866 sec - in org.apache.hadoop.hbase.wal.TestWALFiltering
Running org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.151 sec - in org.apache.hadoop.hbase.TestFullLogReconstruction
Running org.apache.hadoop.hbase.TestZooKeeper
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.262 sec - in org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide
Running org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd
Running org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter
Running org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Running org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.295 sec - in org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.74 sec - in org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Running org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Running org.apache.hadoop.hbase.filter.TestFilterWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.423 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.374 sec - in org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.228 sec - in org.apache.hadoop.hbase.filter.TestFilterWrapper
Running org.apache.hadoop.hbase.filter.TestScanRowPrefix
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.583 sec - in org.apache.hadoop.hbase.filter.TestScanRowPrefix
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 190.769 sec - in org.apache.hadoop.hbase.TestZooKeeper
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 284.679 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd

Results :

Tests run: 2251, Failures: 0, Errors: 0, Skipped: 39

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ...................................... SUCCESS [1:44.091s]
[INFO] Apache HBase - Checkstyle ......................... SUCCESS [8.929s]
[INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.166s]
[INFO] Apache HBase - Annotations ........................ SUCCESS [0.907s]
[INFO] Apache HBase - Protocol ........................... SUCCESS [17.116s]
[INFO] Apache HBase - Common ............................. SUCCESS [2:51.328s]
[INFO] Apache HBase - Procedure .......................... SUCCESS [1:52.467s]
[INFO] Apache HBase - Client ............................. SUCCESS [1:33.875s]
[INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [8.071s]
[INFO] Apache HBase - Hadoop Two Compatibility ........... SUCCESS [8.751s]
[INFO] Apache HBase - Prefix Tree ........................ SUCCESS [9.525s]
[INFO] Apache HBase - Server ............................. FAILURE [1:41:02.134s]
[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 - External Block Cache ............... SKIPPED
[INFO] Apache HBase - Assembly ........................... SKIPPED
[INFO] Apache HBase - Shaded ............................. SKIPPED
[INFO] Apache HBase - Shaded - Client .................... SKIPPED
[INFO] Apache HBase - Shaded - Server .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:50:27.650s
[INFO] Finished at: Sat Oct 31 17:25:23 UTC 2015
[INFO] Final Memory: 93M/663M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
(secondPartTestsExecution) on project hbase-server: ExecutionException: java.lang.RuntimeException:
The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
[ERROR] Command was /bin/sh -c cd <https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/ws/hbase-server>
&& /home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.7/jre/bin/java -enableassertions
-XX:MaxDirectMemorySize=1G -Xmx2800m -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom
-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -jar <https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefirebooter6081991296188788655.jar>
<https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefire3395058207026111546tmp>
<https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefire_12124488228755855370870tmp>
[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 -v | grep surefirebooter | grep '-Dhbase.test'
| wc -l`
  if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
    #It seems sometimes the tests are not dying immediately. Let's give them 30s
    echo "Suspicious java process found - waiting 30s to see if there are just slow to stop"
    sleep 30
    ZOMBIE_TESTS_COUNT=`jps -v | grep surefirebooter | grep '-Dhbase.test' | 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 "************ zombies jps listing"
      jps -v
      jps -v | grep surefirebooter | grep '-Dhbase.test'
      echo "************ BEGIN zombies jstack extract"
      # HBase tests have been flagged with an innocuous '-Dhbase.test' just so they can
      # be identified as hbase in a process listing.
      ZB_STACK=`jps -v | grep surefirebooter | grep '-Dhbase.test' | cut -d ' ' -f 1 | xargs
-n 1 jstack | grep ".test" | grep "\.java"`
      jps -v | grep surefirebooter | grep '-Dhbase.test' | 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
      # Killing these zombies
      echo 'Killing ZOMBIES!!!'
      jps -v
      jps -v | grep surefirebooter | grep '-Dhbase.test' | 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
[Hadoop] $ /bin/bash -xe /tmp/hudson1768000515775416015.sh
++ jps -v
++ grep surefirebooter
++ grep -Dhbase.test
++ wc -l
grep: unknown devices method
+ ZOMBIE_TESTS_COUNT=0
/tmp/hudson1768000515775416015.sh: line 30: syntax error: unexpected end of file
POST BUILD TASK : FAILURE
END OF POST BUILD TASK : 0
Archiving artifacts
Recording test results

Mime
View raw message