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 #11
Date Mon, 15 Jun 2015 20:52:28 GMT
See <https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/11/changes>

Changes:

[apurtell] HBASE-13901 Error while calling watcher on creating and deleting an HBase table

------------------------------------------
[...truncated 45640 lines...]
Running org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClientWithRegionReplicas
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.955 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Running org.apache.hadoop.hbase.client.TestTableSnapshotScanner
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 145.425 sec - in org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
Running org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.318 sec - in org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout
Running org.apache.hadoop.hbase.client.TestAdmin2
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.865 sec - in org.apache.hadoop.hbase.client.TestTableSnapshotScanner
Running org.apache.hadoop.hbase.client.TestHTableUtil
Tests run: 21, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 160.508 sec - in org.apache.hadoop.hbase.client.TestHCM
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.391 sec - in org.apache.hadoop.hbase.client.TestHTableUtil
Running org.apache.hadoop.hbase.client.TestUpdateConfiguration
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.23 sec - in org.apache.hadoop.hbase.client.TestUpdateConfiguration
Running org.apache.hadoop.hbase.client.TestScannersFromClientSide
Running org.apache.hadoop.hbase.client.TestFromClientSide
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.306 sec - in org.apache.hadoop.hbase.client.TestScannersFromClientSide
Running org.apache.hadoop.hbase.client.TestSnapshotFromClientWithRegionReplicas
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.368 sec - in org.apache.hadoop.hbase.client.TestSnapshotFromClientWithRegionReplicas
Running org.apache.hadoop.hbase.client.TestCheckAndMutate
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.644 sec - in org.apache.hadoop.hbase.client.TestCheckAndMutate
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 102.548 sec - in org.apache.hadoop.hbase.client.TestAdmin2
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 153.578 sec - in org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClientWithRegionReplicas
Running org.apache.hadoop.hbase.client.TestResultSizeEstimation
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 258.718 sec - in org.apache.hadoop.hbase.client.TestReplicasClient
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.905 sec - in org.apache.hadoop.hbase.client.TestResultSizeEstimation
Running org.apache.hadoop.hbase.TestDrainingServer
Running org.apache.hadoop.hbase.client.TestSnapshotMetadata
Running org.apache.hadoop.hbase.client.TestClientOperationInterrupt
Running org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.116 sec - in org.apache.hadoop.hbase.client.TestSnapshotMetadata
Running org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.095 sec - in org.apache.hadoop.hbase.client.TestClientOperationInterrupt
Running org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.864 sec - in org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.989 sec - in org.apache.hadoop.hbase.TestDrainingServer
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.939 sec - in org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildHole
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.727 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap
Running org.apache.hadoop.hbase.util.TestTableName
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.382 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.612 sec - in org.apache.hadoop.hbase.util.TestTableName
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadEncoded
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.522 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildHole
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Running org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.437 sec - in org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy
Running org.apache.hadoop.hbase.util.TestIdLock
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.43 sec - in org.apache.hadoop.hbase.util.TestIdLock
Running org.apache.hadoop.hbase.util.TestMergeTable
Tests run: 82, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 208.742 sec - in org.apache.hadoop.hbase.client.TestFromClientSide
Running org.apache.hadoop.hbase.util.TestHBaseFsckEncryption
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.529 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadEncoded
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.173 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.502 sec - in org.apache.hadoop.hbase.util.TestHBaseFsckEncryption
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.824 sec - in org.apache.hadoop.hbase.util.TestMergeTable
Running org.apache.hadoop.hbase.util.TestProcessBasedCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.173 sec - in org.apache.hadoop.hbase.util.TestProcessBasedCluster
Running org.apache.hadoop.hbase.util.TestHBaseFsck
Running org.apache.hadoop.hbase.util.TestMergeTool
Running org.apache.hadoop.hbase.util.TestFSTableDescriptors
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.889 sec - in org.apache.hadoop.hbase.util.TestFSTableDescriptors
Running org.apache.hadoop.hbase.util.TestFSHDFSUtils
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.534 sec - in org.apache.hadoop.hbase.util.TestFSHDFSUtils
Running org.apache.hadoop.hbase.util.TestConnectionCache
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.642 sec - in org.apache.hadoop.hbase.util.TestMergeTool
Running org.apache.hadoop.hbase.util.TestFSVisitor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.001 sec - in org.apache.hadoop.hbase.util.TestFSVisitor
Running org.apache.hadoop.hbase.util.TestFSUtils
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.186 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel
Running org.apache.hadoop.hbase.util.TestDefaultEnvironmentEdge
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.936 sec - in org.apache.hadoop.hbase.util.TestConnectionCache
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.454 sec - in org.apache.hadoop.hbase.util.TestDefaultEnvironmentEdge
Running org.apache.hadoop.hbase.wal.TestWALFiltering
Running org.apache.hadoop.hbase.util.TestRegionSplitter
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.732 sec - in org.apache.hadoop.hbase.util.TestFSUtils
Running org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.263 sec - in org.apache.hadoop.hbase.util.TestRegionSplitter
Running org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.94 sec - in org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Tests run: 82, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 211.039 sec - in org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.292 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Running org.apache.hadoop.hbase.wal.TestSecureWAL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.405 sec - in org.apache.hadoop.hbase.wal.TestSecureWAL
Running org.apache.hadoop.hbase.wal.TestWALSplit
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.395 sec - in org.apache.hadoop.hbase.wal.TestWALFiltering
Running org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Running org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Running org.apache.hadoop.hbase.wal.TestWALFactory
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.137 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Running org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingProvider
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.927 sec - in org.apache.hadoop.hbase.wal.TestWALFactory
Running org.apache.hadoop.hbase.namespace.TestZKLessNamespaceAuditor
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.556 sec - in org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingProvider
Running org.apache.hadoop.hbase.namespace.TestNamespaceAuditor
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.116 sec - in org.apache.hadoop.hbase.namespace.TestZKLessNamespaceAuditor
Running org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.206 sec - in org.apache.hadoop.hbase.namespace.TestNamespaceAuditor
Running org.apache.hadoop.hbase.TestNamespace
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.023 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Running org.apache.hadoop.hbase.TestMetaMigrationConvertingToPB
Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 25.5 sec - in org.apache.hadoop.hbase.TestNamespace
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.344 sec - in org.apache.hadoop.hbase.TestMetaMigrationConvertingToPB
Running org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.TestInfoServers
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 193.459 sec - in org.apache.hadoop.hbase.wal.TestWALSplit
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 190.169 sec - in org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.88 sec - in org.apache.hadoop.hbase.TestInfoServers
Running org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter
Running org.apache.hadoop.hbase.filter.TestScanRowPrefix
Running org.apache.hadoop.hbase.filter.TestFilterWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.002 sec - in org.apache.hadoop.hbase.filter.TestScanRowPrefix
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.672 sec - in org.apache.hadoop.hbase.filter.TestFilterWrapper
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.992 sec - in org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd
Running org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.945 sec - in org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter
Running org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.564 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Running org.apache.hadoop.hbase.io.TestFileLink
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.06 sec - in org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Running org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.979 sec - in org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Running org.apache.hadoop.hbase.io.hfile.TestCacheConfig
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.937 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheConfig
Running org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.233 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.284 sec - in org.apache.hadoop.hbase.io.TestFileLink
Running org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Running org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.622 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.99 sec - in org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.472 sec - in org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Running org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.58 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Tests run: 51, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 377.315 sec - in org.apache.hadoop.hbase.util.TestHBaseFsck
Running org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Running org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.057 sec - in org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Running org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.751 sec - in org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Running org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.664 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Running org.apache.hadoop.hbase.TestClusterBootOrder
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.063 sec - in org.apache.hadoop.hbase.TestClusterBootOrder
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 129.485 sec - in org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 188.007 sec - in org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 226.98 sec - in org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Tests run: 216, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 410.326 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite

Results :




Tests run: 2606, Failures: 0, Errors: 0, Skipped: 18

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [52.396s]
[INFO] HBase - Checkstyle ................................ SUCCESS [6.062s]
[INFO] HBase - Annotations ............................... SUCCESS [1.281s]
[INFO] HBase - Protocol .................................. SUCCESS [16.046s]
[INFO] HBase - Common .................................... SUCCESS [2:07.857s]
[INFO] HBase - Procedure ................................. SUCCESS [1:51.057s]
[INFO] HBase - Client .................................... SUCCESS [1:27.560s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [8.824s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [8.991s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [9.375s]
[INFO] HBase - Server .................................... FAILURE [1:29:17.005s]
[INFO] HBase - Testing Util .............................. SKIPPED
[INFO] HBase - Thrift .................................... SKIPPED
[INFO] HBase - Rest ...................................... SKIPPED
[INFO] HBase - Shell ..................................... SKIPPED
[INFO] HBase - Integration Tests ......................... SKIPPED
[INFO] HBase - Examples .................................. SKIPPED
[INFO] HBase - Assembly .................................. SKIPPED
[INFO] HBase - Shaded .................................... SKIPPED
[INFO] HBase - Shaded - Client ........................... SKIPPED
[INFO] HBase - Shaded - Server ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:36:45.031s
[INFO] Finished at: Mon Jun 15 20:48:53 UTC 2015
[INFO] Final Memory: 95M/649M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18: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/surefirebooter9161969650097574324.jar>
<https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefire3862724059706996083tmp>
<https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefire_10096294495820982896038tmp>
[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
[Hadoop] $ /bin/bash -xe /tmp/hudson4262176279545914276.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.2 » latest1.7,Hadoop #8
Archived 2091 artifacts
Archive block size is 32768
Received 39 blocks and 499072476 bytes
Compression is 0.3%
Took 3 min 11 sec

Mime
View raw message