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-TRUNK #5440
Date Thu, 28 Aug 2014 12:40:27 GMT
See <https://builds.apache.org/job/HBase-TRUNK/5440/changes>

Changes:

[anoopsamjohn] HBASE-9875 Removing the empty file NamespaceJanitor

------------------------------------------
[...truncated 978 lines...]
Running org.apache.hadoop.hbase.mapreduce.TestSimpleTotalOrderPartitioner
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.348 sec - in org.apache.hadoop.hbase.mapreduce.TestSimpleTotalOrderPartitioner
Running org.apache.hadoop.hbase.mapreduce.TestTableMapReduceUtil
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.159 sec - in org.apache.hadoop.hbase.mapreduce.TestTableMapReduceUtil
Running org.apache.hadoop.hbase.mapreduce.hadoopbackport.TestJarFinder
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.268 sec - in org.apache.hadoop.hbase.mapreduce.hadoopbackport.TestJarFinder
Running org.apache.hadoop.hbase.mapreduce.TestTableSplit
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.193 sec - in org.apache.hadoop.hbase.mapreduce.TestTableSplit
Running org.apache.hadoop.hbase.TestSerialization
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.286 sec - in org.apache.hadoop.hbase.TestSerialization
Running org.apache.hadoop.hbase.util.TestCompressionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.082 sec - in org.apache.hadoop.hbase.util.TestCompressionTest
Running org.apache.hadoop.hbase.util.TestSortedCopyOnWriteSet
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.898 sec - in org.apache.hadoop.hbase.util.TestSortedCopyOnWriteSet
Running org.apache.hadoop.hbase.util.TestRegionSizeCalculator
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.94 sec - in org.apache.hadoop.hbase.util.TestRegionSizeCalculator
Running org.apache.hadoop.hbase.util.TestRootPath
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.549 sec - in org.apache.hadoop.hbase.util.TestRootPath
Running org.apache.hadoop.hbase.util.TestIncrementingEnvironmentEdge
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.747 sec - in org.apache.hadoop.hbase.util.TestIncrementingEnvironmentEdge
Running org.apache.hadoop.hbase.util.TestTableName
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.873 sec - in org.apache.hadoop.hbase.util.TestTableName
Running org.apache.hadoop.hbase.util.TestByteBloomFilter
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.126 sec - in org.apache.hadoop.hbase.util.TestByteBloomFilter
Running org.apache.hadoop.hbase.util.TestHBaseFsckComparator
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.016 sec - in org.apache.hadoop.hbase.util.TestHBaseFsckComparator
Running org.apache.hadoop.hbase.util.TestRegionSplitCalculator
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.174 sec - in org.apache.hadoop.hbase.util.TestRegionSplitCalculator
Running org.apache.hadoop.hbase.util.TestPoolMap$TestRoundRobinPoolType
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.922 sec - in org.apache.hadoop.hbase.util.TestPoolMap$TestRoundRobinPoolType
Running org.apache.hadoop.hbase.util.TestPoolMap$TestThreadLocalPoolType
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.321 sec - in org.apache.hadoop.hbase.util.TestPoolMap$TestThreadLocalPoolType
Running org.apache.hadoop.hbase.util.TestPoolMap$TestReusablePoolType
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.358 sec - in org.apache.hadoop.hbase.util.TestPoolMap$TestReusablePoolType
Running org.apache.hadoop.hbase.util.TestHFileArchiveUtil
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.566 sec - in org.apache.hadoop.hbase.util.TestHFileArchiveUtil
Running org.apache.hadoop.hbase.util.TestBoundedPriorityBlockingQueue
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.344 sec - in org.apache.hadoop.hbase.util.TestBoundedPriorityBlockingQueue
Running org.apache.hadoop.hbase.util.TestByteBufferUtils
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.432 sec - in org.apache.hadoop.hbase.util.TestByteBufferUtils
Running org.apache.hadoop.hbase.filter.TestNullComparator
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.84 sec - in org.apache.hadoop.hbase.filter.TestNullComparator
Running org.apache.hadoop.hbase.filter.TestFilter
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.613 sec - in org.apache.hadoop.hbase.filter.TestFilter
Running org.apache.hadoop.hbase.filter.TestInclusiveStopFilter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.69 sec - in org.apache.hadoop.hbase.filter.TestInclusiveStopFilter
Running org.apache.hadoop.hbase.filter.TestDependentColumnFilter
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.791 sec - in org.apache.hadoop.hbase.filter.TestDependentColumnFilter
Running org.apache.hadoop.hbase.filter.TestParseFilter
Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.973 sec - in org.apache.hadoop.hbase.filter.TestParseFilter
Running org.apache.hadoop.hbase.filter.TestComparatorSerialization
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.39 sec - in org.apache.hadoop.hbase.filter.TestComparatorSerialization
Running org.apache.hadoop.hbase.filter.TestMultipleColumnPrefixFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.128 sec - in org.apache.hadoop.hbase.filter.TestMultipleColumnPrefixFilter
Running org.apache.hadoop.hbase.filter.TestColumnPaginationFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.096 sec - in org.apache.hadoop.hbase.filter.TestColumnPaginationFilter
Running org.apache.hadoop.hbase.filter.TestRandomRowFilter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.334 sec - in org.apache.hadoop.hbase.filter.TestRandomRowFilter
Running org.apache.hadoop.hbase.filter.TestSingleColumnValueFilter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.974 sec - in org.apache.hadoop.hbase.filter.TestSingleColumnValueFilter
Running org.apache.hadoop.hbase.filter.TestPageFilter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.917 sec - in org.apache.hadoop.hbase.filter.TestPageFilter
Running org.apache.hadoop.hbase.filter.TestFilterSerialization
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.77 sec - in org.apache.hadoop.hbase.filter.TestFilterSerialization
Running org.apache.hadoop.hbase.filter.TestInvocationRecordFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.233 sec - in org.apache.hadoop.hbase.filter.TestInvocationRecordFilter
Running org.apache.hadoop.hbase.filter.TestFilterList
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.61 sec - in org.apache.hadoop.hbase.filter.TestFilterList
Running org.apache.hadoop.hbase.filter.TestFirstKeyValueMatchingQualifiersFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.636 sec - in org.apache.hadoop.hbase.filter.TestFirstKeyValueMatchingQualifiersFilter
Running org.apache.hadoop.hbase.filter.TestFuzzyRowFilter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.775 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowFilter
Running org.apache.hadoop.hbase.filter.TestPrefixFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.602 sec - in org.apache.hadoop.hbase.filter.TestPrefixFilter
Running org.apache.hadoop.hbase.filter.TestSingleColumnValueExcludeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.556 sec - in org.apache.hadoop.hbase.filter.TestSingleColumnValueExcludeFilter
Running org.apache.hadoop.hbase.filter.TestBitComparator
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.104 sec - in org.apache.hadoop.hbase.filter.TestBitComparator
Running org.apache.hadoop.hbase.filter.TestColumnPrefixFilter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.697 sec - in org.apache.hadoop.hbase.filter.TestColumnPrefixFilter
Running org.apache.hadoop.hbase.TestServerName
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.919 sec - in org.apache.hadoop.hbase.TestServerName
Running org.apache.hadoop.hbase.TestPerformanceEvaluation
Tests run: 4, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 1.105 sec - in org.apache.hadoop.hbase.TestPerformanceEvaluation
Running org.apache.hadoop.hbase.TestServerLoad
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.783 sec - in org.apache.hadoop.hbase.TestServerLoad
Running org.apache.hadoop.hbase.client.TestPutDeleteEtcCellIteration
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.447 sec - in org.apache.hadoop.hbase.client.TestPutDeleteEtcCellIteration
Running org.apache.hadoop.hbase.client.TestConnectionUtils
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.726 sec - in org.apache.hadoop.hbase.client.TestConnectionUtils
Running org.apache.hadoop.hbase.client.TestIntraRowPagination
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.402 sec - in org.apache.hadoop.hbase.client.TestIntraRowPagination
Running org.apache.hadoop.hbase.client.TestResult
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.153 sec - in org.apache.hadoop.hbase.client.TestResult
Running org.apache.hadoop.hbase.client.TestHBaseAdminNoCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.934 sec - in org.apache.hadoop.hbase.client.TestHBaseAdminNoCluster
Running org.apache.hadoop.hbase.protobuf.TestProtobufUtil
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.905 sec - in org.apache.hadoop.hbase.protobuf.TestProtobufUtil
Running org.apache.hadoop.hbase.protobuf.TestReplicationProtobuf
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.683 sec - in org.apache.hadoop.hbase.protobuf.TestReplicationProtobuf
Running org.apache.hadoop.hbase.procedure.TestProcedureMember
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.925 sec - in org.apache.hadoop.hbase.procedure.TestProcedureMember
Running org.apache.hadoop.hbase.procedure.TestProcedureManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.51 sec - in org.apache.hadoop.hbase.procedure.TestProcedureManager
Running org.apache.hadoop.hbase.procedure.TestProcedure
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.736 sec - in org.apache.hadoop.hbase.procedure.TestProcedure
Running org.apache.hadoop.hbase.procedure.TestProcedureCoordinator
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.484 sec - in org.apache.hadoop.hbase.procedure.TestProcedureCoordinator
Running org.apache.hadoop.hbase.constraint.TestConstraints
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.327 sec - in org.apache.hadoop.hbase.constraint.TestConstraints
Running org.apache.hadoop.hbase.rest.TestGZIPResponseWrapper
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.071 sec - in org.apache.hadoop.hbase.rest.TestGZIPResponseWrapper
Running org.apache.hadoop.hbase.rest.client.TestRemoteAdminRetries
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.427 sec - in org.apache.hadoop.hbase.rest.client.TestRemoteAdminRetries
Running org.apache.hadoop.hbase.rest.client.TestRemoteHTableRetries
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.642 sec - in org.apache.hadoop.hbase.rest.client.TestRemoteHTableRetries
Running org.apache.hadoop.hbase.rest.model.TestVersionModel
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.237 sec - in org.apache.hadoop.hbase.rest.model.TestVersionModel
Running org.apache.hadoop.hbase.rest.model.TestStorageClusterVersionModel
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.066 sec - in org.apache.hadoop.hbase.rest.model.TestStorageClusterVersionModel
Running org.apache.hadoop.hbase.rest.model.TestColumnSchemaModel
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.304 sec - in org.apache.hadoop.hbase.rest.model.TestColumnSchemaModel
Running org.apache.hadoop.hbase.rest.model.TestCellModel
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.234 sec - in org.apache.hadoop.hbase.rest.model.TestCellModel
Running org.apache.hadoop.hbase.rest.model.TestTableListModel
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.296 sec - in org.apache.hadoop.hbase.rest.model.TestTableListModel
Running org.apache.hadoop.hbase.rest.model.TestStorageClusterStatusModel
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.429 sec - in org.apache.hadoop.hbase.rest.model.TestStorageClusterStatusModel
Running org.apache.hadoop.hbase.rest.model.TestScannerModel
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.35 sec - in org.apache.hadoop.hbase.rest.model.TestScannerModel
Running org.apache.hadoop.hbase.rest.model.TestTableSchemaModel
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.25 sec - in org.apache.hadoop.hbase.rest.model.TestTableSchemaModel
Running org.apache.hadoop.hbase.rest.model.TestTableInfoModel
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.294 sec - in org.apache.hadoop.hbase.rest.model.TestTableInfoModel
Running org.apache.hadoop.hbase.rest.model.TestTableRegionModel
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.373 sec - in org.apache.hadoop.hbase.rest.model.TestTableRegionModel
Running org.apache.hadoop.hbase.rest.model.TestRowModel
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.076 sec - in org.apache.hadoop.hbase.rest.model.TestRowModel
Running org.apache.hadoop.hbase.rest.model.TestCellSetModel
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.336 sec - in org.apache.hadoop.hbase.rest.model.TestCellSetModel
Running org.apache.hadoop.hbase.TestHTableDescriptor
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.28 sec - in org.apache.hadoop.hbase.TestHTableDescriptor
Running org.apache.hadoop.hbase.snapshot.TestRestoreSnapshotHelper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.69 sec - in org.apache.hadoop.hbase.snapshot.TestRestoreSnapshotHelper
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverStacking
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.961 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverStacking
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorInterface
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.488 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorInterface
Running org.apache.hadoop.hbase.executor.TestExecutorService
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.378 sec - in org.apache.hadoop.hbase.executor.TestExecutorService
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperMainServer
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.569 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperMainServer
Running org.apache.hadoop.hbase.zookeeper.TestZKConfig
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.783 sec - in org.apache.hadoop.hbase.zookeeper.TestZKConfig
Running org.apache.hadoop.hbase.metrics.TestMetricsHistogram
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.701 sec - in org.apache.hadoop.hbase.metrics.TestMetricsHistogram
Running org.apache.hadoop.hbase.TestHColumnDescriptor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.32 sec - in org.apache.hadoop.hbase.TestHColumnDescriptor
Running org.apache.hadoop.hbase.monitoring.TestMemoryBoundedLogMessageBuffer
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.793 sec - in org.apache.hadoop.hbase.monitoring.TestMemoryBoundedLogMessageBuffer
Running org.apache.hadoop.hbase.monitoring.TestTaskMonitor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.796 sec - in org.apache.hadoop.hbase.monitoring.TestTaskMonitor

Results :

Tests run: 906, Failures: 0, Errors: 0, Skipped: 7

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [5.911s]
[INFO] HBase - Common .................................... SUCCESS [2:15.858s]
[INFO] HBase - Protocol .................................. SUCCESS [22.928s]
[INFO] HBase - Client .................................... SUCCESS [1:30.628s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [11.430s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [15.036s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [23.806s]
[INFO] HBase - Server .................................... FAILURE [25:56.888s]
[INFO] HBase - Testing Util .............................. SKIPPED
[INFO] HBase - Thrift .................................... SKIPPED
[INFO] HBase - Shell ..................................... SKIPPED
[INFO] HBase - Integration Tests ......................... SKIPPED
[INFO] HBase - Examples .................................. SKIPPED
[INFO] HBase - Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 31:04.839s
[INFO] Finished at: Thu Aug 28 12:35:38 UTC 2014
[INFO] Final Memory: 67M/1143M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test)
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-TRUNK/ws/hbase-server>
&& /home/jenkins/tools/java/jdk1.7.0_25-32/jre/bin/java -enableassertions -XX:MaxDirectMemorySize=1G
-Xmx1900m -XX:MaxPermSize=256m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
-Djava.awt.headless=true -jar <https://builds.apache.org/job/HBase-TRUNK/ws/hbase-server/target/surefire/surefirebooter2351632613565200327.jar>
<https://builds.apache.org/job/HBase-TRUNK/ws/hbase-server/target/surefire/surefire5700738989331264744tmp>
<https://builds.apache.org/job/HBase-TRUNK/ws/hbase-server/target/surefire/surefire_1827135860700058313927tmp>
[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-TRUNK] $ /bin/bash -xe /tmp/hudson5935502231338609910.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-TRUNK #5421
Archived 889 artifacts
Archive block size is 32768
Received 8 blocks and 33082056 bytes
Compression is 0.8%
Took 1 min 5 sec
Recording test results
Updating HBASE-9875

Mime
View raw message