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 #94
Date Thu, 06 Aug 2015 22:38:28 GMT
See <https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/94/changes>

Changes:

[ndimiduk] HBASE-13865 Increase the default value for hbase.hregion.memstore.block.multipler
from 2 to 4 (part 2)

------------------------------------------
[...truncated 45651 lines...]
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 257.143 sec - in org.apache.hadoop.hbase.client.TestReplicasClient
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 103.469 sec - in org.apache.hadoop.hbase.client.TestAdmin2
Running org.apache.hadoop.hbase.TestDrainingServer
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.663 sec - in org.apache.hadoop.hbase.client.TestSnapshotMetadata
Running org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.337 sec - in org.apache.hadoop.hbase.TestMetaTableAccessor
Running org.apache.hadoop.hbase.TestHBaseOnOtherDfsCluster
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.062 sec - in org.apache.hadoop.hbase.TestDrainingServer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.91 sec - in org.apache.hadoop.hbase.client.TestClientOperationInterrupt
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.854 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: 24.17 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap
Running org.apache.hadoop.hbase.util.TestTableName
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.63 sec - in org.apache.hadoop.hbase.util.TestTableName
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.659 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildHole
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadEncoded
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.034 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
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: 14.645 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.441 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: 209.687 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.1 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: 52.86 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.178 sec - in org.apache.hadoop.hbase.util.TestHBaseFsckEncryption
Running org.apache.hadoop.hbase.util.TestProcessBasedCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.839 sec - in org.apache.hadoop.hbase.util.TestMergeTable
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.113 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: 3.278 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.391 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: 22.707 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.65 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: 47.406 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.977 sec - in org.apache.hadoop.hbase.util.TestConnectionCache
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.554 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.94 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.583 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: 2.023 sec - in org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.323 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Tests run: 82, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 211.431 sec - in org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Running org.apache.hadoop.hbase.wal.TestSecureWAL
Running org.apache.hadoop.hbase.wal.TestWALSplit
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.594 sec - in org.apache.hadoop.hbase.wal.TestSecureWAL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.971 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: 8.373 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: 12.598 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.967 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.363 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.6 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: 25.408 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Running org.apache.hadoop.hbase.TestMetaMigrationConvertingToPB
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.192 sec - in org.apache.hadoop.hbase.TestMetaMigrationConvertingToPB
Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 25.509 sec - in org.apache.hadoop.hbase.TestNamespace
Running org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.TestInfoServers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.886 sec - in org.apache.hadoop.hbase.TestInfoServers
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 196.696 sec - in org.apache.hadoop.hbase.wal.TestWALSplit
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 198.551 sec - in org.apache.hadoop.hbase.wal.TestWALSplitCompressed
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: 7.045 sec - in org.apache.hadoop.hbase.filter.TestScanRowPrefix
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.669 sec - in org.apache.hadoop.hbase.filter.TestFilterWrapper
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.413 sec - in org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.044 sec - in org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter
Running org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Running org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.448 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Running org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Running org.apache.hadoop.hbase.io.TestFileLink
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.444 sec - in org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.03 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.936 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.418 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Running org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.245 sec - in org.apache.hadoop.hbase.io.TestFileLink
Running org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.477 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: 40.764 sec - in org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.51 sec - in org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Running org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.448 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Running org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Tests run: 51, Failures: 1, Errors: 0, Skipped: 1, Time elapsed: 386.177 sec <<<
FAILURE! - in org.apache.hadoop.hbase.util.TestHBaseFsck
testSplitDaughtersNotInMeta(org.apache.hadoop.hbase.util.TestHBaseFsck)  Time elapsed: 8.136
sec  <<< FAILURE!
java.lang.AssertionError: expected:<[NOT_IN_META_OR_DEPLOYED, NOT_IN_META_OR_DEPLOYED,
HOLE_IN_REGION_CHAIN]> but was:<[NOT_IN_META_OR_DEPLOYED, NOT_IN_META_OR_DEPLOYED, NOT_IN_HDFS_OR_DEPLOYED,
HOLE_IN_REGION_CHAIN]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at org.apache.hadoop.hbase.util.hbck.HbckTestingUtil.assertErrors(HbckTestingUtil.java:99)
	at org.apache.hadoop.hbase.util.TestHBaseFsck.testSplitDaughtersNotInMeta(TestHBaseFsck.java:1756)

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 404.007 sec - in org.apache.hadoop.hbase.util.TestHBaseFsck
Running org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.479 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: 25.364 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.963 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: 28.557 sec - in org.apache.hadoop.hbase.TestClusterBootOrder
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 125.724 sec - in org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 189.717 sec - in org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 240.152 sec - in org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Tests run: 216, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 409.39 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite

Results :



Flaked tests: 
org.apache.hadoop.hbase.master.procedure.TestMasterFailoverWithProcedures.testWALfencingWithoutWALRolling(org.apache.hadoop.hbase.master.procedure.TestMasterFailoverWithProcedures)
  Run 1: TestMasterFailoverWithProcedures.testWALfencingWithoutWALRolling:173->testWALfencing:205
» Remote
  Run 2: PASS

org.apache.hadoop.hbase.master.procedure.TestMasterFailoverWithProcedures.testWalRecoverLease(org.apache.hadoop.hbase.master.procedure.TestMasterFailoverWithProcedures)
  Run 1: TestMasterFailoverWithProcedures.testWalRecoverLease:135 » Remote failed to cr...
  Run 2: PASS

org.apache.hadoop.hbase.util.TestHBaseFsck.testSplitDaughtersNotInMeta(org.apache.hadoop.hbase.util.TestHBaseFsck)
  Run 1: TestHBaseFsck.testSplitDaughtersNotInMeta:1756 expected:<[NOT_IN_META_OR_DEPLOYED,
NOT_IN_META_OR_DEPLOYED, HOLE_IN_REGION_CHAIN]> but was:<[NOT_IN_META_OR_DEPLOYED, NOT_IN_META_OR_DEPLOYED,
NOT_IN_HDFS_OR_DEPLOYED, HOLE_IN_REGION_CHAIN]>
  Run 2: PASS


Tests run: 2523, Failures: 0, Errors: 0, Skipped: 20, Flakes: 3

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ...................................... SUCCESS [1:29.958s]
[INFO] Apache HBase - Checkstyle ......................... SUCCESS [5.723s]
[INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.203s]
[INFO] Apache HBase - Annotations ........................ SUCCESS [1.271s]
[INFO] Apache HBase - Protocol ........................... SUCCESS [24.085s]
[INFO] Apache HBase - Common ............................. SUCCESS [3:05.652s]
[INFO] Apache HBase - Procedure .......................... SUCCESS [1:58.171s]
[INFO] Apache HBase - Client ............................. SUCCESS [1:53.057s]
[INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [8.217s]
[INFO] Apache HBase - Hadoop Two Compatibility ........... SUCCESS [14.346s]
[INFO] Apache HBase - Prefix Tree ........................ SUCCESS [12.375s]
[INFO] Apache HBase - Server ............................. FAILURE [1:40:31.137s]
[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] 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:36.970s
[INFO] Finished at: Thu Aug 06 22:36:10 UTC 2015
[INFO] Final Memory: 95M/634M
[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/surefirebooter5740475756626500771.jar>
<https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefire3144277615723144858tmp>
<https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefire_9162682875487090128070tmp>
[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/hudson1395822382634352651.sh
++ jps
++ wc -l
++ grep surefirebooter
+ 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 #93
Archived 2085 artifacts
Archive block size is 32768
Received 39 blocks and 495382420 bytes
Compression is 0.3%
Took 2 min 52 sec

Mime
View raw message