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-TRUNK #5772
Date Thu, 13 Nov 2014 08:23:37 GMT
See <https://builds.apache.org/job/HBase-TRUNK/5772/changes>

Changes:

[larsh] HBASE-12457 Regions in transition for a long time when CLOSE interleaves with a slow
compaction.

------------------------------------------
[...truncated 1903 lines...]
Running org.apache.hadoop.hbase.client.TestFromClientSideNoCodec
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.991 sec - in org.apache.hadoop.hbase.client.TestFromClientSideNoCodec
Running org.apache.hadoop.hbase.client.TestAdmin1
Running org.apache.hadoop.hbase.client.TestMultipleTimestamps
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.055 sec - in org.apache.hadoop.hbase.client.TestMultipleTimestamps
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.72 sec - in org.apache.hadoop.hbase.client.TestCloneSnapshotFromClient
Running org.apache.hadoop.hbase.client.TestPutWithDelete
Running org.apache.hadoop.hbase.client.TestHCM
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.845 sec - in org.apache.hadoop.hbase.client.TestPutWithDelete
Running org.apache.hadoop.hbase.client.TestSnapshotFromClientWithRegionReplicas
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.801 sec - in org.apache.hadoop.hbase.client.TestMetaScanner
Running org.apache.hadoop.hbase.client.TestAdmin2
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.505 sec - in org.apache.hadoop.hbase.client.TestSnapshotFromClientWithRegionReplicas
Running org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.349 sec - in org.apache.hadoop.hbase.client.replication.TestReplicationAdmin
Running org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.486 sec - in org.apache.hadoop.hbase.client.TestAdmin1
Tests run: 80, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 87.316 sec - in org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Running org.apache.hadoop.hbase.client.TestCloneSnapshotFromClientWithRegionReplicas
Running org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.572 sec - in org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.391 sec - in org.apache.hadoop.hbase.client.TestClientScannerRPCTimeout
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: 2.207 sec - in org.apache.hadoop.hbase.client.TestRpcControllerFactory
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.855 sec - in org.apache.hadoop.hbase.client.TestAdmin2
Running org.apache.hadoop.hbase.client.TestScannersFromClientSide
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.037 sec - in org.apache.hadoop.hbase.client.TestScannersFromClientSide
Running org.apache.hadoop.hbase.client.TestCheckAndMutate
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.945 sec - in org.apache.hadoop.hbase.client.TestCheckAndMutate
Running org.apache.hadoop.hbase.client.TestFromClientSide
Running org.apache.hadoop.hbase.client.TestUpdateConfiguration
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.096 sec - in org.apache.hadoop.hbase.client.TestUpdateConfiguration
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.661 sec - in org.apache.hadoop.hbase.client.TestCloneSnapshotFromClientWithRegionReplicas
Running org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClientWithRegionReplicas
Running org.apache.hadoop.hbase.client.TestReplicaWithCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.815 sec - in org.apache.hadoop.hbase.client.TestClientOperationInterrupt
Running org.apache.hadoop.hbase.client.TestHTableMultiplexer
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.032 sec - in org.apache.hadoop.hbase.client.TestReplicaWithCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.321 sec - in org.apache.hadoop.hbase.client.TestHTableMultiplexer
Running org.apache.hadoop.hbase.client.TestScannerTimeout
Running org.apache.hadoop.hbase.client.TestReplicasClient
Tests run: 21, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 146.829 sec - in org.apache.hadoop.hbase.client.TestHCM
Running org.apache.hadoop.hbase.client.TestTableSnapshotScanner
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.882 sec - in org.apache.hadoop.hbase.client.TestScannerTimeout
Tests run: 80, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 86.905 sec - in org.apache.hadoop.hbase.client.TestFromClientSide
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 76.07 sec - in org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClientWithRegionReplicas
Running org.apache.hadoop.hbase.client.TestFromClientSide3
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.86 sec - in org.apache.hadoop.hbase.client.TestTableSnapshotScanner
Running org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
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: 4.154 sec - in org.apache.hadoop.hbase.client.TestHTableMultiplexerFlushCache
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.888 sec - in org.apache.hadoop.hbase.client.TestSnapshotMetadata
Running org.apache.hadoop.hbase.TestMultiVersions
Running org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.82 sec - in org.apache.hadoop.hbase.client.TestFromClientSide3
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.537 sec - in org.apache.hadoop.hbase.TestMultiVersions
Running org.apache.hadoop.hbase.procedure.TestZKProcedure
Running org.apache.hadoop.hbase.procedure.TestZKProcedureControllers
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.658 sec - in org.apache.hadoop.hbase.procedure.TestZKProcedureControllers
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.161 sec - in org.apache.hadoop.hbase.procedure.TestZKProcedure
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.185 sec - in org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Running org.apache.hadoop.hbase.constraint.TestConstraint
Running org.apache.hadoop.hbase.TestNamespace
Running org.apache.hadoop.hbase.TestZooKeeper
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.14 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 5.969 sec - in org.apache.hadoop.hbase.TestNamespace
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 95.172 sec - in org.apache.hadoop.hbase.client.TestReplicasClient
Running org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Running org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.635 sec - in org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 35.831 sec - in org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.196 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: 42.842 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: 8.253 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook
Running org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.695 sec - in org.apache.hadoop.hbase.coprocessor.TestOpenTableInCoprocessor
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.448 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithAbort
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.469 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.336 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverInterface
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 192.218 sec - in org.apache.hadoop.hbase.TestZooKeeper
Running org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.429 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Tests run: 44, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.053 sec - in org.apache.hadoop.hbase.coprocessor.TestAggregateProtocol
Running org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.827 sec - in org.apache.hadoop.hbase.coprocessor.TestBatchCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerObserver
Running org.apache.hadoop.hbase.coprocessor.TestHTableWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.235 sec - in org.apache.hadoop.hbase.coprocessor.TestHTableWrapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.804 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerObserver
Running org.apache.hadoop.hbase.coprocessor.TestClassLoading
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 177.915 sec - in org.apache.hadoop.hbase.TestIOFencing
Running org.apache.hadoop.hbase.coprocessor.TestDoubleColumnInterpreter
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.023 sec - in org.apache.hadoop.hbase.coprocessor.TestClassLoading
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.894 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithAbort
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.488 sec - in org.apache.hadoop.hbase.coprocessor.TestDoubleColumnInterpreter
Running org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.489 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionObserverBypass
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.807 sec - in org.apache.hadoop.hbase.coprocessor.TestRowProcessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestBigDecimalColumnInterpreter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.74 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorStop
Tests run: 38, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.481 sec - in org.apache.hadoop.hbase.coprocessor.TestBigDecimalColumnInterpreter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.446 sec - in org.apache.hadoop.hbase.coprocessor.TestRegionServerCoprocessorExceptionWithRemove
Running org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Running org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Running org.apache.hadoop.hbase.coprocessor.TestWALObserver
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.359 sec - in org.apache.hadoop.hbase.coprocessor.TestCoprocessorEndpoint
Running org.apache.hadoop.hbase.TestGlobalMemStoreSize
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.008 sec - in org.apache.hadoop.hbase.coprocessor.TestMasterObserver
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.57 sec - in org.apache.hadoop.hbase.coprocessor.TestWALObserver
Running org.apache.hadoop.hbase.TestJMXListener
Running org.apache.hadoop.hbase.TestMetaTableLocator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.455 sec - in org.apache.hadoop.hbase.TestGlobalMemStoreSize
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.498 sec - in org.apache.hadoop.hbase.TestMetaTableLocator
Running org.apache.hadoop.hbase.zookeeper.TestZKMulti
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.335 sec - in org.apache.hadoop.hbase.zookeeper.TestZKMulti
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.284 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Running org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.124 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.229 sec - in org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 277.686 sec - in org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.439 sec - in org.apache.hadoop.hbase.TestJMXListener
Running org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Running org.apache.hadoop.hbase.TestClusterBootOrder
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.918 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.268 sec - in org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 272.707 sec - in org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.486 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.029 sec - in org.apache.hadoop.hbase.TestClusterBootOrder

Results :

Failed tests: 
  TestRegionReplicas.testFlushAndCompactionsInPrimary:409 expected null, but was:<java.io.IOException:
Could not seek StoreFileScanner[HFileScanner for reader reader=hdfs://localhost:58238/user/jenkins/hbase/data/default/TestRegionReplicas/e1ccb63dd93905e775af4b428a7e2838/info/061b47fe6df844678e7c694309615b9e,
compression=none, cacheConf=blockCache=LruBlockCache{blockCount=0, currentSize=416032, freeSize=707975712,
maxSize=708391744, heapSize=416032, minSize=672972160, minFactor=0.95, multiSize=336486080,
multiFactor=0.5, singleSize=168243040, singleFactor=0.25}, cacheDataOnRead=true, cacheDataOnWrite=false,
cacheIndexesOnWrite=false, cacheBloomsOnWrite=false, cacheEvictOnClose=false, cacheDataCompressed=false,
prefetchOnOpen=false, firstKey=0/info:/1415864077950/Put, lastKey=999/info:/1415864077674/Put,
avgKeyLen=18, avgValueLen=2, entries=1000, length=34322, cur=null] to key /info:/LATEST_TIMESTAMP/DeleteFamily/vlen=0/seqid=0>

Tests in error: 
  TestRegionReplicas.testOpenRegionReplica:123 »  test timed out after 60000 mil...
  TestRegionReplicas.testRefreshStoreFiles:277 » IO Could not seek StoreFileScan...
  TestRegionReplicas.testRegionReplicaGets:151 »  test timed out after 60000 mil...
  TestRegionReplicas.testVerifySecondaryAbilityToReadWithOnFiles:421->restartRegionServer:220->afterClass:107
» 


Tests run: 1998, Failures: 1, Errors: 4, Skipped: 24

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [3.028s]
[INFO] HBase - Checkstyle ................................ SUCCESS [0.742s]
[INFO] HBase - Annotations ............................... SUCCESS [0.883s]
[INFO] HBase - Common .................................... SUCCESS [58.830s]
[INFO] HBase - Protocol .................................. SUCCESS [12.090s]
[INFO] HBase - Client .................................... SUCCESS [1:17.753s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [6.896s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [5.673s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [8.255s]
[INFO] HBase - Server .................................... FAILURE [57:53.289s]
[INFO] HBase - Testing Util .............................. SKIPPED
[INFO] HBase - Thrift .................................... SKIPPED
[INFO] HBase - Shell ..................................... SKIPPED
[INFO] HBase - Integration Tests ......................... SKIPPED
[INFO] HBase - Examples .................................. SKIPPED
[INFO] HBase - Rest ...................................... SKIPPED
[INFO] HBase - Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:00:48.261s
[INFO] Finished at: Thu Nov 13 08:20:57 UTC 2014
[INFO] Final Memory: 56M/647M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18:test (secondPartTestsExecution)
on project hbase-server: There are test failures.
[ERROR] 
[ERROR] Please refer to <https://builds.apache.org/job/HBase-TRUNK/ws/hbase-server/target/surefire-reports>
for the individual test results.
[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
[FINDBUGS] Skipping publisher since build result is 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-TRUNK] $ /bin/bash -xe /tmp/hudson8605784149512979765.sh
++ jps
++ wc -l
++ grep surefirebooter
+ ZOMBIE_TESTS_COUNT=0
+ [[ 0 != 0 ]]
+ echo 'We'\''re ok: there is no zombie test'
We're ok: there is no zombie test
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Archiving artifacts
Sending artifact delta relative to HBase-TRUNK #5771
Archived 1768 artifacts
Archive block size is 32768
Received 32 blocks and 300536225 bytes
Compression is 0.3%
Took 1 min 37 sec
Recording test results
Updating HBASE-12457

Mime
View raw message