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 #1114
Date Mon, 19 Oct 2015 18:49:59 GMT
See <https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/1114/changes>

Changes:

[tedyu] HBASE-14631 Region merge request should be audited with request user

------------------------------------------
[...truncated 1338 lines...]
Running org.apache.hadoop.hbase.TestInfoServers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.184 sec - in org.apache.hadoop.hbase.TestInfoServers
Running org.apache.hadoop.hbase.TestLocalHBaseCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.901 sec - in org.apache.hadoop.hbase.TestLocalHBaseCluster
Running org.apache.hadoop.hbase.trace.TestHTraceHooks
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.713 sec - in org.apache.hadoop.hbase.trace.TestHTraceHooks
Running org.apache.hadoop.hbase.ipc.TestHBaseClient
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.283 sec - in org.apache.hadoop.hbase.ipc.TestHBaseClient
Running org.apache.hadoop.hbase.ipc.TestProtoBufRpc
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.333 sec - in org.apache.hadoop.hbase.ipc.TestProtoBufRpc
Running org.apache.hadoop.hbase.ipc.TestDelayedRpc
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.342 sec - in org.apache.hadoop.hbase.ipc.TestDelayedRpc
Running org.apache.hadoop.hbase.master.TestMasterRestartAfterDisablingTable
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.724 sec - in org.apache.hadoop.hbase.master.TestMasterRestartAfterDisablingTable
Running org.apache.hadoop.hbase.master.TestMasterFailoverBalancerPersistence
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.056 sec - in org.apache.hadoop.hbase.master.TestMasterFailoverBalancerPersistence
Running org.apache.hadoop.hbase.master.TestMasterMetricsWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.539 sec - in org.apache.hadoop.hbase.master.TestMasterMetricsWrapper
Running org.apache.hadoop.hbase.master.TestGetLastFlushedSequenceId
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.406 sec - in org.apache.hadoop.hbase.master.TestGetLastFlushedSequenceId
Running org.apache.hadoop.hbase.master.TestAssignmentManager
Killed
Running org.apache.hadoop.hbase.master.TestZKBasedOpenCloseRegion
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.813 sec - in org.apache.hadoop.hbase.master.TestZKBasedOpenCloseRegion
Running org.apache.hadoop.hbase.master.TestMasterTransitions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 4.061 sec - in org.apache.hadoop.hbase.master.TestMasterTransitions
Running org.apache.hadoop.hbase.master.cleaner.TestSnapshotFromMaster
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.96 sec - in org.apache.hadoop.hbase.master.cleaner.TestSnapshotFromMaster
Running org.apache.hadoop.hbase.master.cleaner.TestLogsCleaner
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.994 sec - in org.apache.hadoop.hbase.master.cleaner.TestLogsCleaner
Running org.apache.hadoop.hbase.master.cleaner.TestHFileCleaner
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.874 sec - in org.apache.hadoop.hbase.master.cleaner.TestHFileCleaner
Running org.apache.hadoop.hbase.master.TestMasterFileSystem
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.985 sec - in org.apache.hadoop.hbase.master.TestMasterFileSystem
Running org.apache.hadoop.hbase.master.TestAssignmentListener
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.846 sec - in org.apache.hadoop.hbase.master.TestAssignmentListener
Running org.apache.hadoop.hbase.master.handler.TestCreateTableHandler
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.625 sec - in org.apache.hadoop.hbase.master.handler.TestCreateTableHandler
Running org.apache.hadoop.hbase.master.handler.TestCreateTableHandler2
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.856 sec - in org.apache.hadoop.hbase.master.handler.TestCreateTableHandler2
Running org.apache.hadoop.hbase.master.handler.TestEnableTableHandler
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.328 sec - in org.apache.hadoop.hbase.master.handler.TestEnableTableHandler
Running org.apache.hadoop.hbase.master.handler.TestTableDeleteFamilyHandler
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.482 sec - in org.apache.hadoop.hbase.master.handler.TestTableDeleteFamilyHandler
Running org.apache.hadoop.hbase.master.handler.TestTableDescriptorModification
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.577 sec - in org.apache.hadoop.hbase.master.handler.TestTableDescriptorModification
Running org.apache.hadoop.hbase.master.TestRegionPlacement
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.685 sec - in org.apache.hadoop.hbase.master.TestRegionPlacement
Running org.apache.hadoop.hbase.master.TestAssignmentManagerOnCluster
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.054 sec - in org.apache.hadoop.hbase.master.TestAssignmentManagerOnCluster
Running org.apache.hadoop.hbase.master.TestMasterMetrics
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.838 sec - in org.apache.hadoop.hbase.master.TestMasterMetrics
Running org.apache.hadoop.hbase.master.TestActiveMasterManager
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.86 sec - in org.apache.hadoop.hbase.master.TestActiveMasterManager
Running org.apache.hadoop.hbase.master.TestDistributedLogSplitting
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 255.931 sec - in org.apache.hadoop.hbase.master.TestDistributedLogSplitting
Running org.apache.hadoop.hbase.master.TestHMasterRPCException
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.792 sec - in org.apache.hadoop.hbase.master.TestHMasterRPCException
Running org.apache.hadoop.hbase.master.TestMasterStatusServlet
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.159 sec - in org.apache.hadoop.hbase.master.TestMasterStatusServlet
Running org.apache.hadoop.hbase.master.TestRestartCluster
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.104 sec - in org.apache.hadoop.hbase.master.TestRestartCluster
Running org.apache.hadoop.hbase.master.TestMasterFailover
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 103.334 sec - in org.apache.hadoop.hbase.master.TestMasterFailover
Running org.apache.hadoop.hbase.master.snapshot.TestSnapshotFileCache
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 127.537 sec - in org.apache.hadoop.hbase.master.snapshot.TestSnapshotFileCache
Running org.apache.hadoop.hbase.master.TestMasterNoCluster
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.927 sec - in org.apache.hadoop.hbase.master.TestMasterNoCluster
Running org.apache.hadoop.hbase.master.TestTableLockManager
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 101.683 sec - in org.apache.hadoop.hbase.master.TestTableLockManager
Running org.apache.hadoop.hbase.master.TestOpenedRegionHandler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.38 sec - in org.apache.hadoop.hbase.master.TestOpenedRegionHandler
Running org.apache.hadoop.hbase.master.TestMasterShutdown
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.64 sec - in org.apache.hadoop.hbase.master.TestMasterShutdown
Running org.apache.hadoop.hbase.master.TestMaster
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.844 sec - in org.apache.hadoop.hbase.master.TestMaster
Running org.apache.hadoop.hbase.master.balancer.TestDefaultLoadBalancer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.951 sec - in org.apache.hadoop.hbase.master.balancer.TestDefaultLoadBalancer
Running org.apache.hadoop.hbase.master.balancer.TestBaseLoadBalancer
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.561 sec - in org.apache.hadoop.hbase.master.balancer.TestBaseLoadBalancer
Running org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.658 sec - in org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer
Running org.apache.hadoop.hbase.master.TestRollingRestart
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.392 sec - in org.apache.hadoop.hbase.master.TestRollingRestart
Running org.apache.hadoop.hbase.master.TestSplitLogManager
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.644 sec - in org.apache.hadoop.hbase.master.TestSplitLogManager
Running org.apache.hadoop.hbase.master.TestClusterStatusPublisher
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.348 sec - in org.apache.hadoop.hbase.master.TestClusterStatusPublisher
Running org.apache.hadoop.hbase.master.TestDeadServer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.235 sec - in org.apache.hadoop.hbase.master.TestDeadServer
Running org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.388 sec - in org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Running org.apache.hadoop.hbase.backup.TestHFileArchiving
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 90.82 sec - in org.apache.hadoop.hbase.backup.TestHFileArchiving
Running org.apache.hadoop.hbase.mapred.TestTableMapReduce
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 204.718 sec - in org.apache.hadoop.hbase.mapred.TestTableMapReduce
Running org.apache.hadoop.hbase.mapred.TestTableInputFormat
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.579 sec - in org.apache.hadoop.hbase.mapred.TestTableInputFormat
Running org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 296.677 sec - in org.apache.hadoop.hbase.mapred.TestTableSnapshotInputFormat
Running org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 127.422 sec - in org.apache.hadoop.hbase.mapred.TestTableMapReduceUtil
Running org.apache.hadoop.hbase.mapred.TestMultiTableSnapshotInputFormat
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 197.677 sec - in org.apache.hadoop.hbase.mapred.TestMultiTableSnapshotInputFormat
Running org.apache.hadoop.hbase.fs.TestBlockReorder
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.578 sec - in org.apache.hadoop.hbase.fs.TestBlockReorder
Running org.apache.hadoop.hbase.TestRegionRebalancing
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.852 sec - in org.apache.hadoop.hbase.TestRegionRebalancing
Running org.apache.hadoop.hbase.io.TestFileLink
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.662 sec - in org.apache.hadoop.hbase.io.TestFileLink
Running org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 205.072 sec - in org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Running org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.839 sec - in org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Running org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.934 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.252 sec - in org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Running org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 78.251 sec - in org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.888 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.552 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Running org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 131.897 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Running org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.066 sec - in org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Running org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.935 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.953 sec - in org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Running org.apache.hadoop.hbase.io.hfile.slab.TestSingleSizeCache
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.043 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: 15.717 sec - in org.apache.hadoop.hbase.io.hfile.slab.TestSlabCache
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.062 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationHLogReaderManager
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 224.165 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationHLogReaderManager
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.344 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Running org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.016 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: 6.393 sec - in org.apache.hadoop.hbase.replication.TestReplicationWithTags
Running org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.902 sec - in org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Running org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.207 sec - in org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Running org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.094 sec - in org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Running org.apache.hadoop.hbase.replication.TestMasterReplication
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.81 sec - in org.apache.hadoop.hbase.replication.TestMasterReplication
Running org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.738 sec - in org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl

Results :

Tests run: 881, Failures: 0, Errors: 0, Skipped: 6

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ...................................... SUCCESS [4.342s]
[INFO] Apache HBase - Checkstyle ......................... SUCCESS [1.007s]
[INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.347s]
[INFO] Apache HBase - Annotations ........................ SUCCESS [2.262s]
[INFO] Apache HBase - Common ............................. SUCCESS [1:01.108s]
[INFO] Apache HBase - Protocol ........................... SUCCESS [11.981s]
[INFO] Apache HBase - Client ............................. SUCCESS [1:01.664s]
[INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [7.626s]
[INFO] Apache HBase - Hadoop One Compatibility ........... SUCCESS [6.737s]
[INFO] Apache HBase - Prefix Tree ........................ SUCCESS [8.922s]
[INFO] Apache HBase - Server ............................. FAILURE [1:58:05.760s]
[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:00:54.364s
[INFO] Finished at: Mon Oct 19 18:49:57 UTC 2015
[INFO] Final Memory: 114M/745M
[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/surefirebooter4741203038444129202.jar>
<https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/ws/hbase-server/target/surefire/surefire2618996240003045196tmp>
<https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/ws/hbase-server/target/surefire/surefire_7315678520736592497318tmp>
[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/hudson6513773471865208975.sh
++ jps
++ grep surefirebooter
++ wc -l
+ 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-14631

Mime
View raw message