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.1 #705
Date Wed, 14 Oct 2015 20:03:14 GMT
See <https://builds.apache.org/job/HBase-1.1/705/>

------------------------------------------
[...truncated 2054 lines...]
Running org.apache.hadoop.hbase.client.TestFromClientSide3
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 257.671 sec - in org.apache.hadoop.hbase.client.TestReplicasClient
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 448.472 sec - in org.apache.hadoop.hbase.client.TestFastFail
Running org.apache.hadoop.hbase.client.TestCheckAndMutate
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.594 sec - in org.apache.hadoop.hbase.client.TestCheckAndMutate
Running org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.421 sec - in org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Running org.apache.hadoop.hbase.client.replication.TestReplicationAdminWithClusters
Running org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.117 sec - in org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 146.188 sec - in org.apache.hadoop.hbase.client.TestCloneSnapshotFromClientWithRegionReplicas
Running org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.787 sec - in org.apache.hadoop.hbase.client.replication.TestReplicationAdminWithClusters
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.249 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Running org.apache.hadoop.hbase.client.TestAdmin2
Tests run: 82, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 205.508 sec - in org.apache.hadoop.hbase.client.TestFromClientSide
Running org.apache.hadoop.hbase.client.TestRpcControllerFactory
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.308 sec - in org.apache.hadoop.hbase.client.TestRpcControllerFactory
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 77.204 sec - in org.apache.hadoop.hbase.client.TestFromClientSide3
Running org.apache.hadoop.hbase.client.TestClientOperationInterrupt
Running org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
Running org.apache.hadoop.hbase.migration.TestNamespaceUpgrade
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.574 sec - in org.apache.hadoop.hbase.migration.TestNamespaceUpgrade
Running org.apache.hadoop.hbase.migration.TestUpgradeTo96
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.114 sec - in org.apache.hadoop.hbase.migration.TestUpgradeTo96
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.809 sec - in org.apache.hadoop.hbase.client.TestClientOperationInterrupt
Running org.apache.hadoop.hbase.master.TestWarmupRegion
Running org.apache.hadoop.hbase.master.procedure.TestDisableTableProcedure
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.209 sec - in org.apache.hadoop.hbase.master.procedure.TestDisableTableProcedure
Running org.apache.hadoop.hbase.master.procedure.TestAddColumnFamilyProcedure
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.487 sec - in org.apache.hadoop.hbase.master.TestWarmupRegion
Running org.apache.hadoop.hbase.master.procedure.TestDeleteTableProcedure
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.418 sec - in org.apache.hadoop.hbase.client.TestAdmin2
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.999 sec - in org.apache.hadoop.hbase.master.procedure.TestAddColumnFamilyProcedure
Running org.apache.hadoop.hbase.master.procedure.TestDeleteColumnFamilyProcedure
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.731 sec - in org.apache.hadoop.hbase.master.procedure.TestDeleteTableProcedure
Running org.apache.hadoop.hbase.master.procedure.TestEnableTableProcedure
Running org.apache.hadoop.hbase.master.procedure.TestModifyTableProcedure
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.034 sec - in org.apache.hadoop.hbase.master.procedure.TestDeleteColumnFamilyProcedure
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.762 sec - in org.apache.hadoop.hbase.master.procedure.TestEnableTableProcedure
Running org.apache.hadoop.hbase.master.procedure.TestModifyColumnFamilyProcedure
Running org.apache.hadoop.hbase.master.procedure.TestCreateTableProcedure
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.195 sec - in org.apache.hadoop.hbase.master.procedure.TestModifyTableProcedure
Running org.apache.hadoop.hbase.master.procedure.TestMasterFailoverWithProcedures
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.825 sec - in org.apache.hadoop.hbase.master.procedure.TestModifyColumnFamilyProcedure
Running org.apache.hadoop.hbase.master.procedure.TestWALProcedureStoreOnHDFS
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.4 sec - in org.apache.hadoop.hbase.master.procedure.TestCreateTableProcedure
Running org.apache.hadoop.hbase.master.procedure.TestCreateTableProcedure2
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 155.134 sec - in org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.035 sec - in org.apache.hadoop.hbase.master.procedure.TestCreateTableProcedure2
Running org.apache.hadoop.hbase.master.TestMasterFailoverBalancerPersistence
Running org.apache.hadoop.hbase.master.procedure.TestTruncateTableProcedure
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.841 sec - in org.apache.hadoop.hbase.master.TestMasterFailoverBalancerPersistence
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.459 sec - in org.apache.hadoop.hbase.master.procedure.TestWALProcedureStoreOnHDFS
Running org.apache.hadoop.hbase.master.TestMasterFailover
Tests run: 82, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 205.632 sec - in org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Running org.apache.hadoop.hbase.master.TestMetaShutdownHandler
Running org.apache.hadoop.hbase.master.TestAssignmentManagerOnCluster
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.675 sec - in org.apache.hadoop.hbase.master.procedure.TestTruncateTableProcedure
Running org.apache.hadoop.hbase.master.TestOpenedRegionHandler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.291 sec - in org.apache.hadoop.hbase.master.TestOpenedRegionHandler
Running org.apache.hadoop.hbase.master.TestMasterShutdown
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.783 sec - in org.apache.hadoop.hbase.master.TestMetaShutdownHandler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.135 sec - in org.apache.hadoop.hbase.master.TestMasterShutdown
Running org.apache.hadoop.hbase.master.TestMasterNoCluster
Running org.apache.hadoop.hbase.master.TestMasterFileSystem
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.235 sec - in org.apache.hadoop.hbase.master.TestMasterFileSystem
Running org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.468 sec - in org.apache.hadoop.hbase.master.TestMasterNoCluster
Running org.apache.hadoop.hbase.master.balancer.TestDefaultLoadBalancer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.74 sec - in org.apache.hadoop.hbase.master.balancer.TestDefaultLoadBalancer
Running org.apache.hadoop.hbase.master.balancer.TestBaseLoadBalancer
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.623 sec - in org.apache.hadoop.hbase.master.balancer.TestBaseLoadBalancer
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.463 sec - in org.apache.hadoop.hbase.master.TestMasterFailover
Running org.apache.hadoop.hbase.master.TestActiveMasterManager
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.193 sec - in org.apache.hadoop.hbase.master.TestActiveMasterManager
Running org.apache.hadoop.hbase.master.TestRestartCluster
Running org.apache.hadoop.hbase.master.TestRegionPlacement2
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.922 sec - in org.apache.hadoop.hbase.master.TestRegionPlacement2
Running org.apache.hadoop.hbase.master.TestMasterTransitions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 0.001 sec - in org.apache.hadoop.hbase.master.TestMasterTransitions
Running org.apache.hadoop.hbase.master.TestTableLockManager
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.346 sec - in org.apache.hadoop.hbase.master.TestRestartCluster
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 114.724 sec - in org.apache.hadoop.hbase.master.TestAssignmentManagerOnCluster
Running org.apache.hadoop.hbase.master.handler.TestTableDescriptorModification
Running org.apache.hadoop.hbase.master.handler.TestTableDeleteFamilyHandler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.017 sec - in org.apache.hadoop.hbase.master.handler.TestTableDeleteFamilyHandler
Running org.apache.hadoop.hbase.master.handler.TestEnableTableHandler
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.301 sec - in org.apache.hadoop.hbase.master.TestTableLockManager
Running org.apache.hadoop.hbase.master.handler.TestCreateTableHandler
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.533 sec - in org.apache.hadoop.hbase.master.handler.TestTableDescriptorModification
Running org.apache.hadoop.hbase.master.TestGetLastFlushedSequenceId
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.184 sec - in org.apache.hadoop.hbase.master.TestGetLastFlushedSequenceId
Running org.apache.hadoop.hbase.master.TestRollingRestart
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.721 sec - in org.apache.hadoop.hbase.master.handler.TestCreateTableHandler
Running org.apache.hadoop.hbase.master.TestProcedureConf
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.69 sec - in org.apache.hadoop.hbase.master.handler.TestEnableTableHandler
Running org.apache.hadoop.hbase.master.TestHMasterRPCException
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.291 sec - in org.apache.hadoop.hbase.master.TestHMasterRPCException
Running org.apache.hadoop.hbase.master.TestSplitLogManager
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.979 sec - in org.apache.hadoop.hbase.master.TestProcedureConf
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.526 sec - in org.apache.hadoop.hbase.master.TestRollingRestart
Running org.apache.hadoop.hbase.master.TestClusterStatusPublisher
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.49 sec - in org.apache.hadoop.hbase.master.TestClusterStatusPublisher
Running org.apache.hadoop.hbase.master.TestGetInfoPort
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 254.556 sec - in org.apache.hadoop.hbase.master.procedure.TestMasterFailoverWithProcedures
Running org.apache.hadoop.hbase.master.TestMaster
Running org.apache.hadoop.hbase.master.TestDeadServer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.362 sec - in org.apache.hadoop.hbase.master.TestDeadServer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.528 sec - in org.apache.hadoop.hbase.master.TestGetInfoPort
Running org.apache.hadoop.hbase.master.TestAssignmentManager
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.999 sec - in org.apache.hadoop.hbase.master.TestMaster
Running org.apache.hadoop.hbase.master.TestZKBasedOpenCloseRegion
Running org.apache.hadoop.hbase.master.TestMasterStatusServlet
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.751 sec - in org.apache.hadoop.hbase.master.TestMasterStatusServlet
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.63 sec - in org.apache.hadoop.hbase.master.TestZKBasedOpenCloseRegion
Running org.apache.hadoop.hbase.master.cleaner.TestHFileCleaner
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.011 sec - in org.apache.hadoop.hbase.master.cleaner.TestHFileCleaner
Running org.apache.hadoop.hbase.master.cleaner.TestLogsCleaner
Running org.apache.hadoop.hbase.master.cleaner.TestSnapshotFromMaster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.193 sec - in org.apache.hadoop.hbase.master.cleaner.TestLogsCleaner
Running org.apache.hadoop.hbase.master.TestZKLessAMOnCluster
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.768 sec - in org.apache.hadoop.hbase.master.cleaner.TestSnapshotFromMaster
Running org.apache.hadoop.hbase.master.TestMasterMetrics
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.265 sec - in org.apache.hadoop.hbase.master.TestMasterMetrics
Running org.apache.hadoop.hbase.master.TestDistributedLogSplitting
Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.324 sec - in org.apache.hadoop.hbase.master.TestAssignmentManager
Running org.apache.hadoop.hbase.master.TestMasterOperationsForRegionReplicas
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.26 sec - in org.apache.hadoop.hbase.master.TestMasterOperationsForRegionReplicas
Running org.apache.hadoop.hbase.master.TestMasterRestartAfterDisablingTable
Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 134.368 sec - in org.apache.hadoop.hbase.master.TestSplitLogManager
Running org.apache.hadoop.hbase.master.TestRegionPlacement
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.464 sec - in org.apache.hadoop.hbase.master.TestMasterRestartAfterDisablingTable
Running org.apache.hadoop.hbase.master.TestAssignmentListener
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.996 sec - in org.apache.hadoop.hbase.master.TestRegionPlacement
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.592 sec - in org.apache.hadoop.hbase.master.TestAssignmentListener
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.971 sec - in org.apache.hadoop.hbase.master.TestZKLessAMOnCluster
Running org.apache.hadoop.hbase.master.snapshot.TestSnapshotFileCache
Running org.apache.hadoop.hbase.master.TestMasterPriorityRpc
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.685 sec - in org.apache.hadoop.hbase.master.TestMasterPriorityRpc
Running org.apache.hadoop.hbase.master.TestMasterMetricsWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.615 sec - in org.apache.hadoop.hbase.master.TestMasterMetricsWrapper
Running org.apache.hadoop.hbase.snapshot.TestSnapshotClientRetries
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.993 sec - in org.apache.hadoop.hbase.snapshot.TestSnapshotClientRetries
Running org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Running org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.579 sec - in org.apache.hadoop.hbase.master.snapshot.TestSnapshotFileCache
Running org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.207 sec - in org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Running org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.002 sec - in org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.111 sec - in org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Tests run: 18, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 219.691 sec - in org.apache.hadoop.hbase.master.TestDistributedLogSplitting
Running org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 490.397 sec - in org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancer
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 321.441 sec - in org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 304.485 sec - in org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot

Results :

Tests run: 2485, Failures: 0, Errors: 0, Skipped: 21

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ...................................... SUCCESS [7.666s]
[INFO] Apache HBase - Checkstyle ......................... SUCCESS [1.570s]
[INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.282s]
[INFO] Apache HBase - Annotations ........................ SUCCESS [1.168s]
[INFO] Apache HBase - Protocol ........................... SUCCESS [12.929s]
[INFO] Apache HBase - Common ............................. SUCCESS [1:31.506s]
[INFO] Apache HBase - Procedure .......................... SUCCESS [1:13.482s]
[INFO] Apache HBase - Client ............................. SUCCESS [1:23.032s]
[INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [7.554s]
[INFO] Apache HBase - Hadoop Two Compatibility ........... SUCCESS [7.065s]
[INFO] Apache HBase - Prefix Tree ........................ SUCCESS [9.252s]
[INFO] Apache HBase - Server ............................. FAILURE [1:36:28.601s]
[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] 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:41:26.521s
[INFO] Finished at: Wed Oct 14 20:01:22 UTC 2015
[INFO] Final Memory: 451M/627M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
(secondPartTestsExecution) on project hbase-server: There was a timeout or other error in
the fork -> [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 -v | grep surefirebooter | grep '-Dhbase.test'
| wc -l`
  if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
    #It seems sometimes the tests are not dying immediately. Let's give them 30s
    echo "Suspicious java process found - waiting 30s to see if there are just slow to stop"
    sleep 30
    ZOMBIE_TESTS_COUNT=`jps -v | grep surefirebooter | grep '-Dhbase.test' | 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 "************ zombies jps listing"
      jps -v
      jps -v | grep surefirebooter | grep '-Dhbase.test'
      echo "************ BEGIN zombies jstack extract"
      # HBase tests have been flagged with an innocuous '-Dhbase.test' just so they can
      # be identified as hbase in a process listing.
      ZB_STACK=`jps -v | grep surefirebooter | grep '-Dhbase.test' | cut -d ' ' -f 1 | xargs
-n 1 jstack | grep ".test" | grep "\.java"`
      jps -v | grep surefirebooter | grep '-Dhbase.test' | 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
      # Killing these zombies
      echo 'Killing ZOMBIES!!!'
      jps -v
      jps -v | grep surefirebooter | grep '-Dhbase.test' | 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
[HBase-1.1] $ /bin/bash -xe /tmp/hudson766551539368790901.sh
++ jps -v
++ grep surefirebooter
++ wc -l
++ grep -Dhbase.test
grep: unknown devices method
+ ZOMBIE_TESTS_COUNT=0
/tmp/hudson766551539368790901.sh: line 30: syntax error: unexpected end of file
POST BUILD TASK : FAILURE
END OF POST BUILD TASK : 0
Archiving artifacts
Recording test results

Mime
View raw message