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 #428
Date Sat, 25 Apr 2015 02:16:45 GMT
See <https://builds.apache.org/job/HBase-1.1/428/changes>

Changes:

[tedyu] HBASE-13555 StackServlet produces 500 error

------------------------------------------
[...truncated 1978 lines...]
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.025 sec - in org.apache.hadoop.hbase.security.visibility.TestDefaultScanLabelGeneratorStack
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.769 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsOpWithDifferentUsersNoACL
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.356 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityWithCheckAuths
Running org.apache.hadoop.hbase.security.visibility.TestWithDisabledAuthorization
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.232 sec - in org.apache.hadoop.hbase.security.visibility.TestWithDisabledAuthorization
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLablesWithGroups
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.76 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLablesWithGroups
Running org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.723 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Running org.apache.hadoop.hbase.security.access.TestAccessController2
Running org.apache.hadoop.hbase.security.access.TestAccessController
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 34.913 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDefaultVisLabelService
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.835 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithCustomVisLabService
Tests run: 37, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.972 sec - in org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
Running org.apache.hadoop.hbase.security.access.TestTablePermissions
Running org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.739 sec - in org.apache.hadoop.hbase.security.access.TestAccessControlFilter
Running org.apache.hadoop.hbase.security.access.TestCellACLs
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.625 sec - in org.apache.hadoop.hbase.security.access.TestAccessController2
Running org.apache.hadoop.hbase.security.access.TestWithDisabledAuthorization
Running org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.251 sec - in org.apache.hadoop.hbase.security.access.TestCellACLs
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.622 sec - in org.apache.hadoop.hbase.security.access.TestNamespaceCommands
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.497 sec - in org.apache.hadoop.hbase.security.access.TestTablePermissions
Running org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.365 sec - in org.apache.hadoop.hbase.security.access.TestZKPermissionsWatcher
Running org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Running org.apache.hadoop.hbase.security.access.TestScanEarlyTermination
Running org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.374 sec - in org.apache.hadoop.hbase.security.access.TestScanEarlyTermination
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.247 sec - in org.apache.hadoop.hbase.security.token.TestZKSecretWatcher
Running org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.582 sec - in org.apache.hadoop.hbase.security.token.TestTokenAuthentication
Running org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.631 sec - in org.apache.hadoop.hbase.TestMetaTableAccessorNoCluster
Running org.apache.hadoop.hbase.TestMetaTableLocator
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.751 sec - in org.apache.hadoop.hbase.TestMetaTableLocator
Running org.apache.hadoop.hbase.security.token.TestGenerateDelegationToken
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.824 sec - in org.apache.hadoop.hbase.security.token.TestGenerateDelegationToken
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.585 sec - in org.apache.hadoop.hbase.security.access.TestWithDisabledAuthorization
Running org.apache.hadoop.hbase.TestZooKeeper
Running org.apache.hadoop.hbase.TestHBaseTestingUtility
Running org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.246 sec - in org.apache.hadoop.hbase.snapshot.TestSnapshotDescriptionUtils
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.359 sec - in org.apache.hadoop.hbase.security.access.TestCellACLWithMultipleVersions
Running org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Running org.apache.hadoop.hbase.snapshot.TestFlushSnapshotFromClient
Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.768 sec - in org.apache.hadoop.hbase.TestHBaseTestingUtility
Running org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 78.827 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: 17.248 sec - in org.apache.hadoop.hbase.snapshot.TestSnapshotClientRetries
Running org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 175.9 sec - in org.apache.hadoop.hbase.TestZooKeeper
Running org.apache.hadoop.hbase.TestInfoServers
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.833 sec - in org.apache.hadoop.hbase.TestInfoServers
Running org.apache.hadoop.hbase.quotas.TestQuotaAdmin
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.349 sec - in org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.792 sec - in org.apache.hadoop.hbase.quotas.TestQuotaAdmin
Running org.apache.hadoop.hbase.quotas.TestQuotaTableUtil
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.66 sec - in org.apache.hadoop.hbase.quotas.TestQuotaTableUtil
Running org.apache.hadoop.hbase.quotas.TestQuotaThrottle
Running org.apache.hadoop.hbase.procedure.TestZKProcedureControllers
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.222 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: 2.355 sec - in org.apache.hadoop.hbase.procedure.TestZKProcedure
Running org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.834 sec - in org.apache.hadoop.hbase.quotas.TestQuotaThrottle
Running org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.048 sec - in org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 332.783 sec - in org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Tests run: 56, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 466.643 sec - in org.apache.hadoop.hbase.security.access.TestAccessController
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.799 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Running org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.082 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.15 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Running org.apache.hadoop.hbase.io.hfile.TestCacheConfig
Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.979 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheConfig
Running org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Running org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 347.504 sec - in org.apache.hadoop.hbase.snapshot.TestExportSnapshot
Running org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.323 sec - in org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.026 sec - in org.apache.hadoop.hbase.io.encoding.TestBufferedDataBlockEncoder
Running org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Running org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 31.214 sec - in org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Running org.apache.hadoop.hbase.io.TestFileLink
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.038 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: 135.517 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: 16.155 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: 2.556 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: 6.806 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProvider
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.047 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.641 sec - in org.apache.hadoop.hbase.wal.TestSecureWAL
Running org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.233 sec - in org.apache.hadoop.hbase.wal.TestDefaultWALProviderWithHLogKey
Running org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingProvider
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.083 sec - in org.apache.hadoop.hbase.wal.TestBoundedRegionGroupingProvider
Running org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Tests run: 216, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 403.193 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 264.607 sec - in org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders
Running org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.14 sec - in org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 196.775 sec - in org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.298 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.919 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Running org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Running org.apache.hadoop.hbase.zookeeper.TestZKTableStateManager
Running org.apache.hadoop.hbase.zookeeper.TestZKMulti
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.239 sec - in org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.759 sec - in org.apache.hadoop.hbase.zookeeper.TestZKTableStateManager
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.678 sec - in org.apache.hadoop.hbase.zookeeper.TestZKMulti
Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Running org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.701 sec - in org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Running org.apache.hadoop.hbase.TestIOFencing
Running org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.517 sec - in org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Running org.apache.hadoop.hbase.TestMovedRegionsCleaner
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.499 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.754 sec - in org.apache.hadoop.hbase.TestMovedRegionsCleaner
Running org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.281 sec - in org.apache.hadoop.hbase.backup.example.TestZooKeeperTableArchiveClient
Running org.apache.hadoop.hbase.backup.TestHFileArchiving
Running org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.901 sec - in org.apache.hadoop.hbase.TestHColumnDescriptorDefaultVersions
Running org.apache.hadoop.hbase.ipc.TestProtoBufRpc
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.295 sec - in org.apache.hadoop.hbase.ipc.TestProtoBufRpc
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 192.19 sec - in org.apache.hadoop.hbase.wal.TestWALSplit
Running org.apache.hadoop.hbase.ipc.TestDelayedRpc
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.614 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.5 sec - in org.apache.hadoop.hbase.ipc.TestHBaseClient
Running org.apache.hadoop.hbase.TestNamespace
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.501 sec - in org.apache.hadoop.hbase.backup.TestHFileArchiving
Tests run: 9, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 25.367 sec - in org.apache.hadoop.hbase.TestNamespace
Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 192.036 sec - in org.apache.hadoop.hbase.wal.TestWALSplitCompressed
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 215.392 sec - in org.apache.hadoop.hbase.TestIOFencing

Results :

Failed tests: 
  TestSnapshotCloneIndependence.testOnlineSnapshotDeleteIndependent:182->runTestSnapshotDeleteIndependent:425
expected:<17576> but was:<14046>
  TestCreateTableProcedure.testSimpleCreateWithSplits:108->testSimpleCreate:114 f2 family
dir does not exist



Tests run: 2558, Failures: 2, Errors: 0, Skipped: 18

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [6.331s]
[INFO] HBase - Checkstyle ................................ SUCCESS [1.217s]
[INFO] HBase - Annotations ............................... SUCCESS [1.670s]
[INFO] HBase - Protocol .................................. SUCCESS [17.533s]
[INFO] HBase - Common .................................... SUCCESS [1:37.286s]
[INFO] HBase - Procedure ................................. SUCCESS [1:20.377s]
[INFO] HBase - Client .................................... SUCCESS [1:35.687s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [8.129s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [10.745s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [17.422s]
[INFO] HBase - Server .................................... FAILURE [1:35:12.721s]
[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:40:51.641s
[INFO] Finished at: Sat Apr 25 02:12:38 UTC 2015
[INFO] Final Memory: 92M/865M
[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.1/ws/hbase-server>
&& /home/jenkins/jenkins-slave/tools/hudson.model.JDK/jdk-1.7u51/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.1/ws/hbase-server/target/surefire/surefirebooter8255024442590557532.jar>
<https://builds.apache.org/job/HBase-1.1/ws/hbase-server/target/surefire/surefire7830946706672387661tmp>
<https://builds.apache.org/job/HBase-1.1/ws/hbase-server/target/surefire/surefire_8243491894556024887835tmp>
[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.1] $ /bin/bash -xe /tmp/hudson3781878947074321429.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.1 #427
Archived 2026 artifacts
Archive block size is 32768
Received 27 blocks and 487634154 bytes
Compression is 0.2%
Took 3 min 50 sec
Recording test results
Updating HBASE-13555

Mime
View raw message