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 #6004
Date Thu, 08 Jan 2015 18:29:45 GMT
See <https://builds.apache.org/job/HBase-TRUNK/6004/changes>

Changes:

[tedyu] HBASE-12819 ExportSnapshot doesn't close FileSystem instances

[tedyu] HBASE-12811 [AccessController] NPE while scanning a table with user not having READ
permission on the namespace (Ashish)

------------------------------------------
[...truncated 1846 lines...]
Running org.apache.hadoop.hbase.security.access.TestTablePermissions
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.541 sec - in org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Running org.apache.hadoop.hbase.security.access.TestAccessController
Running org.apache.hadoop.hbase.security.access.TestAccessController2
Running org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.166 sec - in org.apache.hadoop.hbase.security.access.TestAccessController2
Running org.apache.hadoop.hbase.TestMetaTableLocator
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.155 sec - in org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.15 sec - in org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Running org.apache.hadoop.hbase.ipc.TestDelayedRpc
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.17 sec - in org.apache.hadoop.hbase.TestMetaTableLocator
Running org.apache.hadoop.hbase.ipc.TestHBaseClient
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.311 sec - in org.apache.hadoop.hbase.ipc.TestHBaseClient
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.198 sec - in org.apache.hadoop.hbase.ipc.TestDelayedRpc
Running org.apache.hadoop.hbase.ipc.TestProtoBufRpc
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.282 sec - in org.apache.hadoop.hbase.ipc.TestProtoBufRpc
Running org.apache.hadoop.hbase.TestGlobalMemStoreSize
Running org.apache.hadoop.hbase.TestFullLogReconstruction
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.773 sec - in org.apache.hadoop.hbase.security.access.TestTablePermissions
Running org.apache.hadoop.hbase.TestJMXListener
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.092 sec - in org.apache.hadoop.hbase.TestGlobalMemStoreSize
Running org.apache.hadoop.hbase.constraint.TestConstraint
Running org.apache.hadoop.hbase.trace.TestHTraceHooks
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.953 sec - in org.apache.hadoop.hbase.TestJMXListener
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.005 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.479 sec - in org.apache.hadoop.hbase.trace.TestHTraceHooks
Running org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.711 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.533 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Running org.apache.hadoop.hbase.io.hfile.TestCacheConfig
Running org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.409 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheConfig
Running org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.298 sec - in org.apache.hadoop.hbase.TestFullLogReconstruction
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.989 sec - in org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Running org.apache.hadoop.hbase.io.TestFileLink
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.111 sec - in org.apache.hadoop.hbase.io.TestFileLink
Running org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.189 sec - in org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Running org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.637 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Running org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 82.624 sec - in org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Running org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.443 sec - in org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Running org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.546 sec - in org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Running org.apache.hadoop.hbase.TestRegionRebalancing
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.197 sec - in org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Running org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.345 sec - in org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.856 sec - in org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.mapred.TestTableInputFormat
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.404 sec - in org.apache.hadoop.hbase.mapred.TestTableInputFormat
Running org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil
Running org.apache.hadoop.hbase.mapred.TestTableMapReduce
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 180.82 sec - in org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Running org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat
Tests run: 55, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 353.966 sec - in org.apache.hadoop.hbase.security.access.TestAccessController
Running org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.512 sec - in org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.091 sec - in org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil
Running org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.114 sec - in org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Running org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.846 sec - in org.apache.hadoop.hbase.mapred.TestTableMapReduce
Tests run: 216, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 337.683 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.445 sec - in org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.9 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Running org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
Tests run: 7, Failures: 0, Errors: 0, Skipped: 7, Time elapsed: 0.003 sec - in org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
Running org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.26 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.005 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Running org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster
Running org.apache.hadoop.hbase.replication.TestReplicationSource
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.223 sec - in org.apache.hadoop.hbase.replication.TestReplicationSource
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.604 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: 6.825 sec - in org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Running org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.025 sec - in org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster
Running org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.343 sec - in org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.106 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Running org.apache.hadoop.hbase.replication.TestReplicationWithTags
Running org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.989 sec - in org.apache.hadoop.hbase.replication.TestReplicationWithTags
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.193 sec - in org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Running org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.159 sec - in org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Running org.apache.hadoop.hbase.replication.TestMasterReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.287 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Running org.apache.hadoop.hbase.util.TestMergeTool
Running org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.161 sec - in org.apache.hadoop.hbase.util.TestMergeTool
Running org.apache.hadoop.hbase.util.TestFSTableDescriptors
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.017 sec - in org.apache.hadoop.hbase.util.TestFSTableDescriptors
Running org.apache.hadoop.hbase.util.TestHBaseFsckEncryption
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.946 sec - in org.apache.hadoop.hbase.util.TestHBaseFsckEncryption
Running org.apache.hadoop.hbase.util.TestIdLock
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.333 sec - in org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.384 sec - in org.apache.hadoop.hbase.util.TestIdLock
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Running org.apache.hadoop.hbase.util.TestMergeTable
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 73.248 sec - in org.apache.hadoop.hbase.replication.TestMasterReplication
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.034 sec - in org.apache.hadoop.hbase.util.TestMergeTable
Running org.apache.hadoop.hbase.util.TestHBaseFsck
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 296.069 sec - in org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat
Running org.apache.hadoop.hbase.util.TestFSUtils
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.078 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadSequential
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.503 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadParallel
Running org.apache.hadoop.hbase.util.TestProcessBasedCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.09 sec - in org.apache.hadoop.hbase.util.TestProcessBasedCluster
Running org.apache.hadoop.hbase.util.TestTableName
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.387 sec - in org.apache.hadoop.hbase.util.TestTableName
Running org.apache.hadoop.hbase.util.TestMiniClusterLoadEncoded
Running org.apache.hadoop.hbase.util.TestRegionSplitter
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 236.218 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.6 sec - in org.apache.hadoop.hbase.util.TestRegionSplitter
Running org.apache.hadoop.hbase.util.TestFSVisitor
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.947 sec - in org.apache.hadoop.hbase.util.TestFSUtils
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.749 sec - in org.apache.hadoop.hbase.util.TestFSVisitor
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap
Running org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.275 sec - in org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy
Running org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildHole
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.723 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildOverlap
Running org.apache.hadoop.hbase.util.TestDefaultEnvironmentEdge
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.231 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildBase
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.271 sec - in org.apache.hadoop.hbase.util.TestDefaultEnvironmentEdge
Running org.apache.hadoop.hbase.util.TestFSHDFSUtils
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.517 sec - in org.apache.hadoop.hbase.util.TestFSHDFSUtils
Running org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.577 sec - in org.apache.hadoop.hbase.util.hbck.TestOfflineMetaRebuildHole
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.301 sec - in org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.182 sec - in org.apache.hadoop.hbase.util.TestMiniClusterLoadEncoded
Running org.apache.hadoop.hbase.TestNamespace
Running org.apache.hadoop.hbase.TestInfoServers
Running org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.515 sec - in org.apache.hadoop.hbase.TestInfoServers
Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 9.636 sec - in org.apache.hadoop.hbase.TestNamespace
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.846 sec - in org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 48, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 327.033 sec - in org.apache.hadoop.hbase.util.TestHBaseFsck

Results :




Tests run: 2196, Failures: 0, Errors: 0, Skipped: 25

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [9.526s]
[INFO] HBase - Checkstyle ................................ SUCCESS [6.526s]
[INFO] HBase - Annotations ............................... SUCCESS [3.686s]
[INFO] HBase - Protocol .................................. SUCCESS [11.085s]
[INFO] HBase - Common .................................... SUCCESS [1:09.336s]
[INFO] HBase - Client .................................... SUCCESS [1:13.484s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [7.234s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [6.423s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [8.294s]
[INFO] HBase - Server .................................... FAILURE [1:08:47.667s]
[INFO] HBase - Testing Util .............................. SKIPPED
[INFO] HBase - Thrift .................................... SKIPPED
[INFO] HBase - Shell ..................................... SKIPPED
[INFO] HBase - Integration Tests ......................... SKIPPED
[INFO] HBase - Examples .................................. SKIPPED
[INFO] HBase - Rest ...................................... SKIPPED
[INFO] HBase - Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:12:04.119s
[INFO] Finished at: Thu Jan 08 18:27:54 UTC 2015
[INFO] Final Memory: 57M/651M
[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 /x1/jenkins/jenkins-slave/workspace/HBase-TRUNK/hbase-server
&& /x1/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 /x1/jenkins/jenkins-slave/workspace/HBase-TRUNK/hbase-server/target/surefire/surefirebooter8581971610061572567.jar
/x1/jenkins/jenkins-slave/workspace/HBase-TRUNK/hbase-server/target/surefire/surefire8559246288236532118tmp
/x1/jenkins/jenkins-slave/workspace/HBase-TRUNK/hbase-server/target/surefire/surefire_6682223802361313204329tmp
[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
[FINDBUGS] Skipping publisher since build result is 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/hudson3583146063614238240.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 #6001
Archived 1820 artifacts
Archive block size is 32768
Received 31 blocks and 354354625 bytes
Compression is 0.3%
Took 1 min 42 sec
Recording test results
Updating HBASE-12819
Updating HBASE-12811

Mime
View raw message