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-0.98-on-Hadoop-1.1 #1089
Date Thu, 01 Oct 2015 22:12:04 GMT
See <https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/1089/changes>

Changes:

[apurtell] HBASE-14494 Add missing commas on shell command usages

------------------------------------------
[...truncated 1525 lines...]
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.742 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Running org.apache.hadoop.hbase.zookeeper.TestZKTable
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.676 sec - in org.apache.hadoop.hbase.zookeeper.TestZKTable
Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.103 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Running org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.363 sec - in org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Running org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.057 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Running org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.259 sec - in org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Running org.apache.hadoop.hbase.io.hfile.slab.TestSingleSizeCache
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.18 sec - in org.apache.hadoop.hbase.io.hfile.slab.TestSingleSizeCache
Running org.apache.hadoop.hbase.io.hfile.slab.TestSlabCache
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.189 sec - in org.apache.hadoop.hbase.io.hfile.slab.TestSlabCache
Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.007 sec - in org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.27 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Running org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Killed
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 99.249 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Running org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.265 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: 27.561 sec - in org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Running org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.71 sec - in org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Running org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.816 sec - in org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Running org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 202.835 sec - in org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Running org.apache.hadoop.hbase.io.TestFileLink
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.872 sec - in org.apache.hadoop.hbase.io.TestFileLink
Running org.apache.hadoop.hbase.TestInfoServers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.959 sec - in org.apache.hadoop.hbase.TestInfoServers
Running org.apache.hadoop.hbase.TestJMXListener
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.382 sec - in org.apache.hadoop.hbase.TestJMXListener
Running org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.011 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Running org.apache.hadoop.hbase.replication.TestReplicationSource
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.888 sec - in org.apache.hadoop.hbase.replication.TestReplicationSource
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationHLogReaderManager
Killed
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.391 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.369 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Running org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.815 sec - in org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Running org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.866 sec - in org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.491 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Running org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.673 sec - in org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Running org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.007 sec - in org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Running org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.421 sec - in org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Running org.apache.hadoop.hbase.replication.TestMasterReplication
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 116.231 sec - in org.apache.hadoop.hbase.replication.TestMasterReplication
Running org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.28 sec - in org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Running org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.802 sec - in org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.539 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Running org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.717 sec - in org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Running org.apache.hadoop.hbase.replication.TestReplicationWithTags
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.874 sec - in org.apache.hadoop.hbase.replication.TestReplicationWithTags
Running org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.462 sec - in org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Running org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.448 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Running org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.52 sec - in org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Running org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.302 sec - in org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.728 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDistributedLogReplay
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.711 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDistributedLogReplay
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.556 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Tests run: 39, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.336 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.219 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsReplication
Running org.apache.hadoop.hbase.security.visibility.TestDefaultScanLabelGeneratorStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.357 sec - in org.apache.hadoop.hbase.security.visibility.TestDefaultScanLabelGeneratorStack
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLablesWithGroups
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.768 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLablesWithGroups
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelReplicationWithExpAsString
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.389 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelReplicationWithExpAsString
Running org.apache.hadoop.hbase.security.visibility.TestWithDisabledAuthorization
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.316 sec - in org.apache.hadoop.hbase.security.visibility.TestWithDisabledAuthorization
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.997 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Running org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.137 sec - in org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.152 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.28 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.816 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Running org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.371 sec - in org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Running org.apache.hadoop.hbase.security.access.TestAccessController2
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.063 sec - in org.apache.hadoop.hbase.security.access.TestAccessController2
Running org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.468 sec - in org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Running org.apache.hadoop.hbase.security.access.TestScanEarlyTermination
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.996 sec - in org.apache.hadoop.hbase.security.access.TestScanEarlyTermination
Running org.apache.hadoop.hbase.security.access.TestAccessController
Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.008 sec - in org.apache.hadoop.hbase.security.access.TestAccessController
Running org.apache.hadoop.hbase.security.access.TestAccessController3
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.758 sec - in org.apache.hadoop.hbase.security.access.TestAccessController3
Running org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.345 sec - in org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Running org.apache.hadoop.hbase.security.access.TestWithDisabledAuthorization
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.013 sec - in org.apache.hadoop.hbase.security.access.TestWithDisabledAuthorization
Running org.apache.hadoop.hbase.security.access.TestTablePermissions
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.1 sec - in org.apache.hadoop.hbase.security.access.TestTablePermissions
Running org.apache.hadoop.hbase.security.access.TestCellACLs
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.813 sec - in org.apache.hadoop.hbase.security.access.TestCellACLs
Running org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.374 sec - in org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Running org.apache.hadoop.hbase.TestClusterBootOrder
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.033 sec - in org.apache.hadoop.hbase.TestClusterBootOrder
Running org.apache.hadoop.hbase.TestAcidGuarantees
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 109.871 sec - in org.apache.hadoop.hbase.TestAcidGuarantees
Running org.apache.hadoop.hbase.TestRegionRebalancing
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.433 sec - in org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.TestHBaseTestingUtility
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.037 sec - in org.apache.hadoop.hbase.TestHBaseTestingUtility
Running org.apache.hadoop.hbase.TestDrainingServer
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.583 sec - in org.apache.hadoop.hbase.TestDrainingServer
Running org.apache.hadoop.hbase.fs.TestBlockReorder
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.461 sec - in org.apache.hadoop.hbase.fs.TestBlockReorder
Running org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 131.735 sec - in org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil
Running org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 352.302 sec - in org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat
Running org.apache.hadoop.hbase.mapred.TestTableInputFormat
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.486 sec - in org.apache.hadoop.hbase.mapred.TestTableInputFormat
Running org.apache.hadoop.hbase.mapred.TestTableMapReduce
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 206.107 sec - in org.apache.hadoop.hbase.mapred.TestTableMapReduce

Results :

Failed tests: 
  TestAdmin1.testHFileReplication:1245 Column family rep1 should have only 1 copy
Tests in error: 
  TestSnapshotCloneIndependence.testOfflineSnapshotDeleteIndependent:178->runTestSnapshotDeleteIndependent:442
ยป 

Tests run: 1306, Failures: 1, Errors: 1, Skipped: 17

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ...................................... SUCCESS [4.370s]
[INFO] Apache HBase - Checkstyle ......................... SUCCESS [0.942s]
[INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.254s]
[INFO] Apache HBase - Annotations ........................ SUCCESS [1.039s]
[INFO] Apache HBase - Common ............................. SUCCESS [46.614s]
[INFO] Apache HBase - Protocol ........................... SUCCESS [9.717s]
[INFO] Apache HBase - Client ............................. SUCCESS [54.444s]
[INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [7.495s]
[INFO] Apache HBase - Hadoop One Compatibility ........... SUCCESS [5.974s]
[INFO] Apache HBase - Prefix Tree ........................ SUCCESS [8.506s]
[INFO] Apache HBase - Server ............................. FAILURE [2:50:18.909s]
[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] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:52:40.251s
[INFO] Finished at: Thu Oct 01 22:11:28 UTC 2015
[INFO] Final Memory: 177M/614M
[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-0.98-on-Hadoop-1.1/ws/hbase-server>
&& /home/jenkins/tools/java/jdk1.7.0_25-32/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-0.98-on-Hadoop-1.1/ws/hbase-server/target/surefire/surefirebooter9026278522337163316.jar>
<https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/ws/hbase-server/target/surefire/surefire5779457308706824080tmp>
<https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/ws/hbase-server/target/surefire/surefire_8142479951787411549324tmp>
[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-0.98-on-Hadoop-1.1] $ /bin/bash -xe /tmp/hudson1957896886720781752.sh
++ jps
++ wc -l
++ grep surefirebooter
+ ZOMBIE_TESTS_COUNT=1
+ [[ 1 != 0 ]]
+ echo 'Suspicious java process found - waiting 10s to see if there are just slow to stop'
Suspicious java process found - waiting 10s to see if there are just slow to stop
+ sleep 10
++ jps
++ grep surefirebooter
++ wc -l
+ ZOMBIE_TESTS_COUNT=0
+ [[ 0 != 0 ]]
+ echo 'We'\''re ok: there is no zombie test, but some tests took some time to stop'
We're ok: there is no zombie test, but some tests took some time to stop
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Archiving artifacts
Recording test results
Updating HBASE-14494

Mime
View raw message