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.2 » latest1.7,Hadoop #278
Date Tue, 20 Oct 2015 17:02:17 GMT
See <https://builds.apache.org/job/HBase-1.2/jdk=latest1.7,label=Hadoop/278/>

------------------------------------------
[...truncated 44718 lines...]
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 111.363 sec - in org.apache.hadoop.hbase.client.TestAdmin2
Tests run: 21, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 159.57 sec - in org.apache.hadoop.hbase.client.TestHCM
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.946 sec - in org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout
Tests run: 8, Failures: 0, Errors: 0, Skipped: 5, Time elapsed: 39.928 sec - in org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
Running org.apache.hadoop.hbase.client.TestClientOperationInterrupt
Running org.apache.hadoop.hbase.client.TestRpcControllerFactory
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.845 sec - in org.apache.hadoop.hbase.client.TestRpcControllerFactory
Running org.apache.hadoop.hbase.client.TestScannersFromClientSide
Running org.apache.hadoop.hbase.client.TestCheckAndMutate
Running org.apache.hadoop.hbase.client.TestFromClientSide
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.167 sec - in org.apache.hadoop.hbase.client.TestCheckAndMutate
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.717 sec - in org.apache.hadoop.hbase.client.TestScannersFromClientSide
Running org.apache.hadoop.hbase.client.TestUpdateConfiguration
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.207 sec - in org.apache.hadoop.hbase.client.TestUpdateConfiguration
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.784 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Running org.apache.hadoop.hbase.client.TestClientPushback
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.645 sec - in org.apache.hadoop.hbase.client.TestClientPushback
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.563 sec - in org.apache.hadoop.hbase.client.TestClientOperationInterrupt
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.178 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Running org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClientWithRegionReplicas
Running org.apache.hadoop.hbase.client.TestReplicaWithCluster
Running org.apache.hadoop.hbase.client.TestHTableMultiplexer
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.553 sec - in org.apache.hadoop.hbase.client.TestHTableMultiplexer
Running org.apache.hadoop.hbase.client.TestScannerTimeout
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.763 sec - in org.apache.hadoop.hbase.client.TestReplicaWithCluster
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.225 sec - in org.apache.hadoop.hbase.client.TestScannerTimeout
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.972 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.877 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 164.316 sec - in org.apache.hadoop.hbase.client.TestCloneSnapshotFromClientWithRegionReplicas
Running org.apache.hadoop.hbase.client.TestTableSnapshotScanner
Running org.apache.hadoop.hbase.client.TestReplicasClient
Running org.apache.hadoop.hbase.client.TestFromClientSide3
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.067 sec - in org.apache.hadoop.hbase.client.TestTableSnapshotScanner
Running org.apache.hadoop.hbase.client.TestMetaWithReplicas
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 160.465 sec - in org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClientWithRegionReplicas
Tests run: 82, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 211.146 sec - in org.apache.hadoop.hbase.client.TestFromClientSide
Running org.apache.hadoop.hbase.client.TestResultSizeEstimation
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.06 sec - in org.apache.hadoop.hbase.client.TestResultSizeEstimation
Running org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.221 sec - in org.apache.hadoop.hbase.client.TestFromClientSide3
Running org.apache.hadoop.hbase.client.TestSnapshotMetadata
Running org.apache.hadoop.hbase.client.TestHTableMultiplexerFlushCache
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.575 sec - in org.apache.hadoop.hbase.client.TestHTableMultiplexerFlushCache
Running org.apache.hadoop.hbase.TestMultiVersions
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.369 sec - in org.apache.hadoop.hbase.client.TestSnapshotMetadata
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.944 sec - in org.apache.hadoop.hbase.TestMultiVersions
Running org.apache.hadoop.hbase.procedure.TestZKProcedure
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.637 sec - in org.apache.hadoop.hbase.procedure.TestZKProcedure
Running org.apache.hadoop.hbase.procedure.TestZKProcedureControllers
Running org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.379 sec - in org.apache.hadoop.hbase.procedure.TestZKProcedureControllers
Running org.apache.hadoop.hbase.TestNamespace
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.419 sec - in org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Running org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 25.201 sec - in org.apache.hadoop.hbase.TestNamespace
Running org.apache.hadoop.hbase.TestZooKeeper
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 142.712 sec - in org.apache.hadoop.hbase.client.TestMetaWithReplicas
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.954 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Running org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 147.309 sec - in org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 260.407 sec - in org.apache.hadoop.hbase.client.TestReplicasClient
Running org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Running org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 81.332 sec - in org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestSnapshotClientRetries
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.82 sec - in org.apache.hadoop.hbase.snapshot.TestSnapshotClientRetries
Running org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.245 sec - in org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Running org.apache.hadoop.hbase.TestIOFencing
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.733 sec - in org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.371 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 174.436 sec - in org.apache.hadoop.hbase.TestZooKeeper
Running org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.801 sec - in org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.117 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorTableEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.432 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.253 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorTableEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.252 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 112.505 sec - in org.apache.hadoop.hbase.TestIOFencing
Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.892 sec - in org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Running org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestHTableWrapper
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.869 sec - in org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerObserver
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.405 sec - in org.apache.hadoop.hbase.coprocessor.TestHTableWrapper
Running org.apache.hadoop.hbase.coprocessor.TestClassLoading
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.542 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerObserver
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.303 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Tests run: 14, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 68.776 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.037 sec - in org.apache.hadoop.hbase.coprocessor.TestClassLoading
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Running org.apache.hadoop.hbase.coprocessor.TestDoubleColumnInterpreter
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.669 sec - in org.apache.hadoop.hbase.coprocessor.TestDoubleColumnInterpreter
Running org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.702 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.77 sec - in org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.182 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.683 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestBigDecimalColumnInterpreter
Running org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.712 sec - in org.apache.hadoop.hbase.coprocessor.TestBigDecimalColumnInterpreter
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 313.5 sec - in org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.809 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Running org.apache.hadoop.hbase.TestGlobalMemStoreSize
Running org.apache.hadoop.hbase.coprocessor.TestWALObserver
Running org.apache.hadoop.hbase.TestJMXListener
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.956 sec - in org.apache.hadoop.hbase.TestGlobalMemStoreSize
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.518 sec - in org.apache.hadoop.hbase.coprocessor.TestWALObserver
Running org.apache.hadoop.hbase.TestMetaTableLocator
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.678 sec - in org.apache.hadoop.hbase.TestMetaTableLocator
Running org.apache.hadoop.hbase.zookeeper.TestZKTableStateManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.778 sec - in org.apache.hadoop.hbase.zookeeper.TestZKTableStateManager
Running org.apache.hadoop.hbase.zookeeper.TestZKMulti
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.355 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.728 sec - in org.apache.hadoop.hbase.zookeeper.TestZKMulti
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.323 sec - in org.apache.hadoop.hbase.TestJMXListener
Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Running org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.137 sec - in org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Running org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.695 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.248 sec - in org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.967 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Running org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Running org.apache.hadoop.hbase.TestClusterBootOrder
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.509 sec - in org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Running org.apache.hadoop.hbase.TestPartialResultsFromClientSide
Running org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 316.049 sec - in org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.097 sec - in org.apache.hadoop.hbase.TestServerSideScanMetricsFromClientSide
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.522 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.288 sec - in org.apache.hadoop.hbase.TestClusterBootOrder

Results :

Tests in error: 
  TestMasterFailoverWithProcedures.testWalRecoverLease:135 » TestTimedOut test t...
Flaked tests: 
org.apache.hadoop.hbase.client.TestMultiParallel.testFlushCommitsNoAbort(org.apache.hadoop.hbase.client.TestMultiParallel)
  Run 1: TestMultiParallel.testFlushCommitsNoAbort:241->doTestFlushCommits:293->validateLoadedData:676
null
  Run 2: PASS


Tests run: 2468, Failures: 0, Errors: 1, Skipped: 61, Flakes: 1

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ...................................... SUCCESS [3:36.526s]
[INFO] Apache HBase - Checkstyle ......................... SUCCESS [23.103s]
[INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.208s]
[INFO] Apache HBase - Annotations ........................ SUCCESS [0.932s]
[INFO] Apache HBase - Protocol ........................... SUCCESS [19.373s]
[INFO] Apache HBase - Common ............................. SUCCESS [3:58.865s]
[INFO] Apache HBase - Procedure .......................... SUCCESS [1:51.824s]
[INFO] Apache HBase - Client ............................. SUCCESS [1:32.952s]
[INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [8.400s]
[INFO] Apache HBase - Hadoop Two Compatibility ........... SUCCESS [10.966s]
[INFO] Apache HBase - Prefix Tree ........................ SUCCESS [9.438s]
[INFO] Apache HBase - Server ............................. FAILURE [1:37:49.446s]
[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:50:50.555s
[INFO] Finished at: Tue Oct 20 17:00:37 UTC 2015
[INFO] Final Memory: 470M/642M
[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:
java.lang.RuntimeException: org.apache.maven.surefire.report.ReporterException: When writing
xml report stdout/stderr: /tmp/stderr2472320823435645887deferred (No such file or directory)
-> [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
[Hadoop] $ /bin/bash -xe /tmp/hudson2174942837051918168.sh
++ jps -v
++ grep -Dhbase.test
++ wc -l
grep: unknown devices method
++ grep surefirebooter
+ ZOMBIE_TESTS_COUNT=0
/tmp/hudson2174942837051918168.sh: line 30: syntax error: unexpected end of file
POST BUILD TASK : FAILURE
END OF POST BUILD TASK : 0
Archiving artifacts

Mime
View raw message