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.3 » latest1.7,Hadoop #224
Date Fri, 02 Oct 2015 01:50:46 GMT
See <https://builds.apache.org/job/HBase-1.3/jdk=latest1.7,label=Hadoop/224/changes>

Changes:

[apurtell] HBASE-14475 Region split requests are always audited with hbase user

------------------------------------------
[...truncated 45191 lines...]
	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.scan(ClientProtos.java:33032)
	at org.apache.hadoop.hbase.client.ScannerCallable.openScanner(ScannerCallable.java:393)
	at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:202)
	at org.apache.hadoop.hbase.client.ScannerCallable.call(ScannerCallable.java:64)
	at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:200)
	at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas$RetryingRPC.call(ScannerCallableWithReplicas.java:346)
	at org.apache.hadoop.hbase.client.ScannerCallableWithReplicas$RetryingRPC.call(ScannerCallableWithReplicas.java:320)
	at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:126)
	at org.apache.hadoop.hbase.client.ResultBoundedCompletionService$QueueingFuture.run(ResultBoundedCompletionService.java:64)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.21 sec - in org.apache.hadoop.hbase.TestFullLogReconstruction
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.984 sec - in org.apache.hadoop.hbase.TestMovedRegionsCleaner
Running org.apache.hadoop.hbase.TestPartialResultsFromClientSide
Running org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Running org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.312 sec - in org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Running org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.336 sec - in org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Running org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.417 sec - in org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 257.93 sec - in org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.327 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Running org.apache.hadoop.hbase.zookeeper.TestZKMulti
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.578 sec - in org.apache.hadoop.hbase.zookeeper.TestZKMulti
Running org.apache.hadoop.hbase.zookeeper.TestZKTableStateManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.103 sec - in org.apache.hadoop.hbase.zookeeper.TestZKTableStateManager
Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.311 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.827 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Running org.apache.hadoop.hbase.TestZooKeeper
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.99 sec - in org.apache.hadoop.hbase.TestPartialResultsFromClientSide
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.371 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Running org.apache.hadoop.hbase.TestDrainingServer
Running org.apache.hadoop.hbase.migration.TestNamespaceUpgrade
Running org.apache.hadoop.hbase.migration.TestUpgradeTo96
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.639 sec - in org.apache.hadoop.hbase.migration.TestUpgradeTo96
Running org.apache.hadoop.hbase.TestNamespace
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.593 sec - in org.apache.hadoop.hbase.migration.TestNamespaceUpgrade
Running org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.399 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Running org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.436 sec - in org.apache.hadoop.hbase.TestDrainingServer
Running org.apache.hadoop.hbase.wal.TestWALFactory
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.779 sec - in org.apache.hadoop.hbase.wal.TestWALFactory
Running org.apache.hadoop.hbase.wal.TestWALFiltering
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.466 sec - in org.apache.hadoop.hbase.TestNamespace
Running org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingStrategy
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 265.705 sec - in org.apache.hadoop.hbase.client.TestReplicasClient
Running org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.234 sec - in org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Running org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.382 sec - in org.apache.hadoop.hbase.wal.TestWALFiltering
Running org.apache.hadoop.hbase.wal.TestSecureWAL
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.069 sec - in org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingStrategy
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.587 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.575 sec - in org.apache.hadoop.hbase.wal.TestSecureWAL
Running org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.77 sec - in org.apache.hadoop.hbase.replication.TestReplicationTrackerZKImpl
Running org.apache.hadoop.hbase.wal.TestWALSplit
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.335 sec - in org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Running org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.632 sec - in org.apache.hadoop.hbase.replication.TestReplicationDisableInactivePeer
Running org.apache.hadoop.hbase.replication.multiwal.TestReplicationEndpointWithMultipleWAL
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.408 sec - in org.apache.hadoop.hbase.replication.multiwal.TestReplicationEndpointWithMultipleWAL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.823 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRSCompressed
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 221.533 sec - in org.apache.hadoop.hbase.TestZooKeeper
Running org.apache.hadoop.hbase.replication.multiwal.TestReplicationKillMasterRSCompressedWithMultipleWAL
Running org.apache.hadoop.hbase.replication.TestReplicationSource
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.278 sec - in org.apache.hadoop.hbase.replication.TestReplicationSource
Running org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Running org.apache.hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleWAL
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.73 sec - in org.apache.hadoop.hbase.wal.TestWALSplit
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.544 sec - in org.apache.hadoop.hbase.replication.multiwal.TestReplicationKillMasterRSCompressedWithMultipleWAL
Running org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.09 sec - in org.apache.hadoop.hbase.replication.TestReplicationEndpoint
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.378 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSourceManager
Running org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.952 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationSink
Running org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.528 sec - in org.apache.hadoop.hbase.replication.TestReplicationSmallTests
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.005 sec - in org.apache.hadoop.hbase.replication.multiwal.TestReplicationSyncUpToolWithMultipleWAL
Running org.apache.hadoop.hbase.replication.TestMasterReplication
Running org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster
Running org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.178 sec - in org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpointNoMaster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.078 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillMasterRS
Running org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Running org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.688 sec - in org.apache.hadoop.hbase.replication.TestReplicationChangingPeerRegionservers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 119.392 sec - in org.apache.hadoop.hbase.replication.TestMasterReplication
Running org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 130.262 sec - in org.apache.hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
Running org.apache.hadoop.hbase.replication.TestReplicationWithTags
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 47.551 sec - in org.apache.hadoop.hbase.replication.TestPerTableCFReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.814 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: 3.62 sec - in org.apache.hadoop.hbase.replication.TestReplicationStateZKImpl
Running org.apache.hadoop.hbase.TestStochasticBalancerJmxMetrics
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.288 sec - in org.apache.hadoop.hbase.TestStochasticBalancerJmxMetrics
Running org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Running org.apache.hadoop.hbase.TestLocalHBaseCluster
Running org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 48.898 sec - in org.apache.hadoop.hbase.replication.TestMultiSlaveReplication
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.164 sec - in org.apache.hadoop.hbase.TestLocalHBaseCluster
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 235.158 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.79 sec - in org.apache.hadoop.hbase.replication.TestReplicationKillSlaveRS
Running org.apache.hadoop.hbase.fs.TestBlockReorder
Running org.apache.hadoop.hbase.TestMetaTableAccessor
Running org.apache.hadoop.hbase.TestMultiVersions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.675 sec - in org.apache.hadoop.hbase.TestMultiVersions
Running org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.034 sec - in org.apache.hadoop.hbase.TestMetaTableAccessor
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.388 sec - in org.apache.hadoop.hbase.filter.TestFilterWithScanLimits
Running org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.778 sec - in org.apache.hadoop.hbase.replication.TestReplicationSyncUpTool
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.726 sec - in org.apache.hadoop.hbase.filter.TestFuzzyRowAndColumnRangeFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.149 sec - in org.apache.hadoop.hbase.fs.TestBlockReorder
Running org.apache.hadoop.hbase.filter.TestScanRowPrefix
Running org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.172 sec - in org.apache.hadoop.hbase.filter.TestScanRowPrefix
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.969 sec - in org.apache.hadoop.hbase.filter.TestColumnRangeFilter
Running org.apache.hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd
Running org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat
Running org.apache.hadoop.hbase.filter.TestFilterWrapper
Running org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.02 sec - in org.apache.hadoop.hbase.filter.TestFilterWrapper
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesUseSecurityEndPoint
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.265 sec - in org.apache.hadoop.hbase.filter.TestMultiRowRangeFilter

Results :

Failed tests: 
org.apache.hadoop.hbase.master.handler.TestEnableTableHandler.testEnableTableWithNoRegionServers(org.apache.hadoop.hbase.master.handler.TestEnableTableHandler)
  Run 1: TestEnableTableHandler.testEnableTableWithNoRegionServers:113 expected:<testEnableTableWithNoRegionServers>
but was:<hbase:namespace>
  Run 2: TestEnableTableHandler.testEnableTableWithNoRegionServers:113 expected:<testEnableTableWithNoRegionServers>
but was:<hbase:namespace>
  Run 3: TestEnableTableHandler.testEnableTableWithNoRegionServers:113 expected:<testEnableTableWithNoRegionServers>
but was:<hbase:namespace>

Flaked tests: 
org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence.testOnlineSnapshotDeleteIndependent(org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence)
  Run 1: TestSnapshotCloneIndependence.testOnlineSnapshotDeleteIndependent:184->runTestSnapshotDeleteIndependent:427
expected:<17576> but was:<14046>
  Run 2: TestSnapshotCloneIndependence.testOnlineSnapshotDeleteIndependent:184->runTestSnapshotDeleteIndependent:426
» RetriesExhausted
  Run 3: PASS

org.apache.hadoop.hbase.master.TestRestartCluster.testClusterRestart(org.apache.hadoop.hbase.master.TestRestartCluster)
  Run 1: TestRestartCluster.testClusterRestart:127 » IO Shutting down
  Run 2: PASS


Tests run: 2217, Failures: 1, Errors: 0, Skipped: 37, Flakes: 2

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ...................................... SUCCESS [3:54.363s]
[INFO] Apache HBase - Checkstyle ......................... SUCCESS [18.931s]
[INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.248s]
[INFO] Apache HBase - Annotations ........................ SUCCESS [1.568s]
[INFO] Apache HBase - Protocol ........................... SUCCESS [24.416s]
[INFO] Apache HBase - Common ............................. SUCCESS [2:53.714s]
[INFO] Apache HBase - Procedure .......................... SUCCESS [2:01.634s]
[INFO] Apache HBase - Client ............................. SUCCESS [1:37.302s]
[INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [9.760s]
[INFO] Apache HBase - Hadoop Two Compatibility ........... SUCCESS [15.974s]
[INFO] Apache HBase - Prefix Tree ........................ SUCCESS [13.606s]
[INFO] Apache HBase - Server ............................. FAILURE [1:44:17.045s]
[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 - External Block Cache ............... 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:57:20.916s
[INFO] Finished at: Fri Oct 02 01:48:59 UTC 2015
[INFO] Final Memory: 451M/650M
[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-1.3/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.3/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefirebooter5116842724326702474.jar>
<https://builds.apache.org/job/HBase-1.3/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefire8547583977422218667tmp>
<https://builds.apache.org/job/HBase-1.3/jdk=latest1.7,label=Hadoop/ws/hbase-server/target/surefire/surefire_829431975998421188705tmp>
[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/hudson9181050242110250002.sh
++ grep surefirebooter
++ jps
++ wc -l
+ ZOMBIE_TESTS_COUNT=3
+ [[ 3 != 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

Mime
View raw message