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.0 #880
Date Fri, 24 Apr 2015 21:04:48 GMT
See <https://builds.apache.org/job/HBase-1.0/880/changes>

Changes:

[busbey] HBASE-13546 handle nulls in MasterAddressTracker when there is no master active.

------------------------------------------
[...truncated 1866 lines...]
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.562 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDistributedLogReplay
Running org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.659 sec - in org.apache.hadoop.hbase.security.visibility.TestEnforcingScanLabelGenerator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.091 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsReplication
Running org.apache.hadoop.hbase.security.visibility.TestDefaultScanLabelGeneratorStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.822 sec - in org.apache.hadoop.hbase.security.visibility.TestDefaultScanLabelGeneratorStack
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.665 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Running org.apache.hadoop.hbase.security.visibility.TestWithDisabledAuthorization
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.338 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.767 sec - in org.apache.hadoop.hbase.security.visibility.TestWithDisabledAuthorization
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLablesWithGroups
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.193 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLablesWithGroups
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.476 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 56.356 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.974 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Running org.apache.hadoop.hbase.security.access.TestAccessController2
Running org.apache.hadoop.hbase.security.access.TestAccessController
Running org.apache.hadoop.hbase.security.access.TestTablePermissions
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.274 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 220.598 sec - in org.apache.hadoop.hbase.replication.regionserver.TestReplicationWALReaderManager
Running org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.053 sec - in org.apache.hadoop.hbase.security.access.TestAccessController2
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.728 sec - in org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Running org.apache.hadoop.hbase.security.access.TestCellACLs
Running org.apache.hadoop.hbase.security.access.TestWithDisabledAuthorization
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.4 sec - in org.apache.hadoop.hbase.security.access.TestCellACLs
Running org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.007 sec - in org.apache.hadoop.hbase.security.access.TestTablePermissions
Running org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Running org.apache.hadoop.hbase.security.access.TestScanEarlyTermination
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.36 sec - in org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.53 sec - in org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Running org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.527 sec - in org.apache.hadoop.hbase.security.access.TestScanEarlyTermination
Running org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.506 sec - in org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Running org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Running org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.334 sec - in org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster
Running org.apache.hadoop.hbase.TestMetaTableLocator
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.223 sec - in org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.391 sec - in org.apache.hadoop.hbase.TestMetaTableLocator
Running org.apache.hadoop.hbase.TestHBaseTestingUtility
Running org.apache.hadoop.hbase.TestZooKeeper
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.503 sec - in org.apache.hadoop.hbase.security.access.TestWithDisabledAuthorization
Running org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 sec - in org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.467 sec - in org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Running org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 50.976 sec - in org.apache.hadoop.hbase.TestHBaseTestingUtility
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.666 sec - in org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Running org.apache.hadoop.hbase.snapshot.TestSnapshotClientRetries
Running org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.42 sec - in org.apache.hadoop.hbase.snapshot.TestSnapshotClientRetries
Running org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.368 sec - in org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Running org.apache.hadoop.hbase.TestInfoServers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.278 sec - in org.apache.hadoop.hbase.TestInfoServers
Running org.apache.hadoop.hbase.procedure.TestZKProcedureControllers
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.614 sec - in org.apache.hadoop.hbase.procedure.TestZKProcedureControllers
Running org.apache.hadoop.hbase.procedure.TestZKProcedure
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.942 sec - in org.apache.hadoop.hbase.procedure.TestZKProcedure
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 159.585 sec - in org.apache.hadoop.hbase.TestZooKeeper
Running org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Running org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Tests run: 54, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 255.105 sec - in org.apache.hadoop.hbase.security.access.TestAccessController
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.363 sec - in org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.399 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Running org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.277 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 95.244 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Running org.apache.hadoop.hbase.io.hfile.TestCacheConfig
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.644 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheConfig
Running org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.301 sec - in org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Running org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 299.479 sec - in org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Running org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.022 sec - in org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Running org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 298.182 sec - in org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Running org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.739 sec - in org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Running org.apache.hadoop.hbase.io.TestFileLink
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.851 sec - in org.apache.hadoop.hbase.io.TestFileLink
Running org.apache.hadoop.hbase.wal.TestWALFactory
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 133.027 sec - in org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Running org.apache.hadoop.hbase.wal.TestWALFiltering
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.807 sec - in org.apache.hadoop.hbase.wal.TestWALFactory
Running org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.86 sec - in org.apache.hadoop.hbase.wal.TestWALReaderOnSecureWAL
Running org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.062 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.378 sec - in org.apache.hadoop.hbase.wal.TestWALFiltering
Running org.apache.hadoop.hbase.wal.TestWALSplit
Running org.apache.hadoop.hbase.wal.TestSecureWAL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.309 sec - in org.apache.hadoop.hbase.wal.TestSecureWAL
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 103.095 sec - in org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Running org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Running org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingProvider
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.322 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Running org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.843 sec - in org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingProvider
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.251 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.127 sec - in org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.823 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Running org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.216 sec - in org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Running org.apache.hadoop.hbase.zookeeper.TestZKTableStateManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.738 sec - in org.apache.hadoop.hbase.zookeeper.TestZKTableStateManager
Running org.apache.hadoop.hbase.zookeeper.TestZKMulti
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 sec - in org.apache.hadoop.hbase.zookeeper.TestZKMulti
Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.441 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Running org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.492 sec - in org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 257.095 sec - in org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Running org.apache.hadoop.hbase.TestIOFencing
Running org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.811 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Running org.apache.hadoop.hbase.backup.TestHFileArchiving
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 38.412 sec - in org.apache.hadoop.hbase.backup.TestHFileArchiving
Running org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Tests run: 216, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 452.261 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.868 sec - in org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Running org.apache.hadoop.hbase.ipc.TestProtoBufRpc
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.589 sec - in org.apache.hadoop.hbase.ipc.TestProtoBufRpc
Running org.apache.hadoop.hbase.ipc.TestDelayedRpc
Running org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.594 sec - in org.apache.hadoop.hbase.ipc.TestDelayedRpc
Running org.apache.hadoop.hbase.ipc.TestHBaseClient
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.363 sec - in org.apache.hadoop.hbase.ipc.TestHBaseClient
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.162 sec - in org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Running org.apache.hadoop.hbase.TestNamespace
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 181.807 sec - in org.apache.hadoop.hbase.wal.TestWALSplit
Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 6.959 sec - in org.apache.hadoop.hbase.TestNamespace
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 184.629 sec - in org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 205.925 sec - in org.apache.hadoop.hbase.TestIOFencing

Results :

Failed tests: 
  TestSnapshotCloneIndependence.testOnlineSnapshotDeleteIndependent:182->runTestSnapshotDeleteIndependent:425
expected:<17576> but was:<13798>

Tests in error: 
  TestLoadIncrementalHFiles.setUpBeforeClass:83 » IO Shutting down
  TestMultithreadedTableMapper.beforeClass:68 » IO Shutting down


Tests run: 2306, Failures: 1, Errors: 2, Skipped: 17

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [5.078s]
[INFO] HBase - Checkstyle ................................ SUCCESS [0.932s]
[INFO] HBase - Annotations ............................... SUCCESS [1.307s]
[INFO] HBase - Common .................................... SUCCESS [1:11.016s]
[INFO] HBase - Protocol .................................. SUCCESS [18.581s]
[INFO] HBase - Client .................................... SUCCESS [1:41.829s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [8.079s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [9.425s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [14.806s]
[INFO] HBase - Server .................................... FAILURE [1:17:13.783s]
[INFO] HBase - Testing Util .............................. SKIPPED
[INFO] HBase - Thrift .................................... SKIPPED
[INFO] HBase - Rest ...................................... SKIPPED
[INFO] HBase - Shell ..................................... SKIPPED
[INFO] HBase - Integration Tests ......................... SKIPPED
[INFO] HBase - Examples .................................. SKIPPED
[INFO] HBase - Assembly .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:21:05.822s
[INFO] Finished at: Fri Apr 24 21:01:47 UTC 2015
[INFO] Final Memory: 47M/1107M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18: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.0/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-1.0/ws/hbase-server/target/surefire/surefirebooter6877841193574672890.jar>
<https://builds.apache.org/job/HBase-1.0/ws/hbase-server/target/surefire/surefire1974475909585898387tmp>
<https://builds.apache.org/job/HBase-1.0/ws/hbase-server/target/surefire/surefire_7116827484440468832861tmp>
[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-1.0] $ /bin/bash -xe /tmp/hudson6663021459073309211.sh
++ jps
++ grep surefirebooter
++ wc -l
+ 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-1.0 #868
Archived 1883 artifacts
Archive block size is 32768
Received 27 blocks and 388725016 bytes
Compression is 0.2%
Took 2 min 41 sec
Recording test results
Updating HBASE-13546

Mime
View raw message