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 #17
Date Thu, 23 Apr 2015 07:17:55 GMT
See <https://builds.apache.org/job/HBase-1.2/17/changes>

Changes:

[anoopsamjohn] HBASE-13496 Make Bytes::compareTo inlineable.

[jerryjch] HBASE-13526 TestRegionServerReportForDuty can be flaky: hang or timeout

------------------------------------------
[...truncated 1971 lines...]
Running org.apache.hadoop.hbase.client.TestFromClientSide3
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 144.254 sec - in org.apache.hadoop.hbase.client.TestCloneSnapshotFromClientWithRegionReplicas
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.404 sec - in org.apache.hadoop.hbase.client.TestFromClientSide3
Running org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Running org.apache.hadoop.hbase.TestPartialResultsFromClientSide
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 148.334 sec - in org.apache.hadoop.hbase.client.TestRestoreSnapshotFromClient
Running org.apache.hadoop.hbase.regionserver.TestTags
Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 53.888 sec - in org.apache.hadoop.hbase.TestPartialResultsFromClientSide
Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 136.189 sec - in org.apache.hadoop.hbase.client.TestAdmin1
Running org.apache.hadoop.hbase.regionserver.TestPriorityRpc
Running org.apache.hadoop.hbase.regionserver.TestRegionServerNoMaster
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.5 sec - in org.apache.hadoop.hbase.regionserver.TestPriorityRpc
Running org.apache.hadoop.hbase.regionserver.TestBlocksRead
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.208 sec - in org.apache.hadoop.hbase.regionserver.TestBlocksRead
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 258.067 sec - in org.apache.hadoop.hbase.client.TestReplicasClient
Running org.apache.hadoop.hbase.regionserver.compactions.TestCompactionWithThroughputController
Running org.apache.hadoop.hbase.regionserver.TestEncryptionRandomKeying
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.303 sec - in org.apache.hadoop.hbase.regionserver.TestRegionServerNoMaster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.697 sec - in org.apache.hadoop.hbase.regionserver.TestEncryptionRandomKeying
Running org.apache.hadoop.hbase.regionserver.TestMasterAddressTracker
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.725 sec - in org.apache.hadoop.hbase.regionserver.TestMasterAddressTracker
Running org.apache.hadoop.hbase.regionserver.TestCompaction
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.019 sec - in org.apache.hadoop.hbase.regionserver.TestTags
Running org.apache.hadoop.hbase.regionserver.TestRSKilledWhenInitializing
Running org.apache.hadoop.hbase.regionserver.TestScannerWithBulkload
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.429 sec - in org.apache.hadoop.hbase.regionserver.TestScannerWithBulkload
Running org.apache.hadoop.hbase.regionserver.TestRegionServerReportForDuty
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.09 sec - in org.apache.hadoop.hbase.regionserver.TestRSKilledWhenInitializing
Running org.apache.hadoop.hbase.regionserver.TestMultiColumnScanner
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.434 sec - in org.apache.hadoop.hbase.regionserver.TestCompaction
Running org.apache.hadoop.hbase.regionserver.TestStoreScanner
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.918 sec - in org.apache.hadoop.hbase.regionserver.TestStoreScanner
Running org.apache.hadoop.hbase.regionserver.TestRegionServerHostname
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.941 sec - in org.apache.hadoop.hbase.regionserver.TestRegionServerReportForDuty
Running org.apache.hadoop.hbase.regionserver.TestParallelPut
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.971 sec - in org.apache.hadoop.hbase.regionserver.TestRegionServerHostname
Running org.apache.hadoop.hbase.regionserver.TestHRegionServerBulkLoad
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.687 sec - in org.apache.hadoop.hbase.regionserver.compactions.TestCompactionWithThroughputController
Running org.apache.hadoop.hbase.regionserver.TestJoinedScanners
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.093 sec - in org.apache.hadoop.hbase.regionserver.TestMultiColumnScanner
Running org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.743 sec - in org.apache.hadoop.hbase.regionserver.TestJoinedScanners
Running org.apache.hadoop.hbase.regionserver.TestReversibleScanners
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.767 sec - in org.apache.hadoop.hbase.regionserver.TestHRegionServerBulkLoad
Running org.apache.hadoop.hbase.regionserver.TestHRegion
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.609 sec - in org.apache.hadoop.hbase.regionserver.TestReversibleScanners
Running org.apache.hadoop.hbase.regionserver.TestRegionServerOnlineConfigChange
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.025 sec - in org.apache.hadoop.hbase.regionserver.TestRegionServerOnlineConfigChange
Running org.apache.hadoop.hbase.regionserver.TestHRegionOnCluster
Tests run: 81, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 209.463 sec - in org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Running org.apache.hadoop.hbase.regionserver.TestRecoveredEdits
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.564 sec - in org.apache.hadoop.hbase.regionserver.TestParallelPut
Running org.apache.hadoop.hbase.regionserver.TestHRegionReplayEvents
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.159 sec - in org.apache.hadoop.hbase.regionserver.TestHRegionOnCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.614 sec - in org.apache.hadoop.hbase.regionserver.TestRecoveredEdits
Running org.apache.hadoop.hbase.regionserver.TestStore
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.827 sec - in org.apache.hadoop.hbase.regionserver.TestHRegionReplayEvents
Running org.apache.hadoop.hbase.regionserver.TestGetClosestAtOrBefore
Running org.apache.hadoop.hbase.regionserver.TestEndToEndSplitTransaction
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.111 sec - in org.apache.hadoop.hbase.regionserver.TestGetClosestAtOrBefore
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.946 sec - in org.apache.hadoop.hbase.regionserver.TestStore
Running org.apache.hadoop.hbase.regionserver.TestCacheOnWriteInSchema
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.852 sec - in org.apache.hadoop.hbase.regionserver.TestCacheOnWriteInSchema
Running org.apache.hadoop.hbase.regionserver.TestSeekOptimizations
Running org.apache.hadoop.hbase.regionserver.TestSCVFWithMiniCluster
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.429 sec - in org.apache.hadoop.hbase.regionserver.TestSCVFWithMiniCluster
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.071 sec - in org.apache.hadoop.hbase.regionserver.TestSeekOptimizations
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.15 sec - in org.apache.hadoop.hbase.regionserver.TestEndToEndSplitTransaction
Running org.apache.hadoop.hbase.regionserver.wal.TestProtobufLog
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.437 sec - in org.apache.hadoop.hbase.regionserver.wal.TestProtobufLog
Running org.apache.hadoop.hbase.regionserver.wal.TestWALReplay
Running org.apache.hadoop.hbase.regionserver.wal.TestWALReplayCompressed
Running org.apache.hadoop.hbase.regionserver.wal.TestLogRollPeriod
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 88.17 sec - in org.apache.hadoop.hbase.regionserver.TestSplitTransactionOnCluster
Running org.apache.hadoop.hbase.regionserver.wal.TestLogRolling
Tests run: 92, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.18 sec - in org.apache.hadoop.hbase.regionserver.TestHRegion
Running org.apache.hadoop.hbase.regionserver.wal.TestSecureWALReplay
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.432 sec - in org.apache.hadoop.hbase.regionserver.wal.TestWALReplay
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.707 sec - in org.apache.hadoop.hbase.regionserver.wal.TestWALReplayCompressed
Running org.apache.hadoop.hbase.regionserver.wal.TestLogRollAbort
Running org.apache.hadoop.hbase.regionserver.wal.TestFSHLog
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.411 sec - in org.apache.hadoop.hbase.regionserver.wal.TestFSHLog
Running org.apache.hadoop.hbase.regionserver.wal.TestReadOldRootAndMetaEdits
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.27 sec - in org.apache.hadoop.hbase.regionserver.wal.TestReadOldRootAndMetaEdits
Running org.apache.hadoop.hbase.regionserver.wal.TestDurability
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.571 sec - in org.apache.hadoop.hbase.regionserver.wal.TestDurability
Running org.apache.hadoop.hbase.regionserver.TestMinorCompaction
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.587 sec - in org.apache.hadoop.hbase.regionserver.wal.TestLogRollAbort
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.608 sec - in org.apache.hadoop.hbase.regionserver.wal.TestLogRollPeriod
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.276 sec - in org.apache.hadoop.hbase.regionserver.TestMinorCompaction
Running org.apache.hadoop.hbase.regionserver.TestDefaultMemStore
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.113 sec - in org.apache.hadoop.hbase.regionserver.wal.TestSecureWALReplay
Running org.apache.hadoop.hbase.regionserver.TestRegionMergeTransactionOnCluster
Running org.apache.hadoop.hbase.regionserver.TestZKLessMergeOnCluster
Running org.apache.hadoop.hbase.regionserver.TestServerCustomProtocol
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.69 sec - in org.apache.hadoop.hbase.regionserver.TestDefaultMemStore
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.497 sec - in org.apache.hadoop.hbase.regionserver.TestRegionMergeTransactionOnCluster
Running org.apache.hadoop.hbase.regionserver.TestPerColumnFamilyFlush
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.511 sec - in org.apache.hadoop.hbase.regionserver.TestZKLessMergeOnCluster
Running org.apache.hadoop.hbase.regionserver.TestRegionFavoredNodes
Running org.apache.hadoop.hbase.regionserver.TestZKLessSplitOnCluster
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.153 sec - in org.apache.hadoop.hbase.regionserver.TestRegionFavoredNodes
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.437 sec - in org.apache.hadoop.hbase.regionserver.TestServerCustomProtocol
Running org.apache.hadoop.hbase.regionserver.TestRowTooBig
Running org.apache.hadoop.hbase.regionserver.TestScannerHeartbeatMessages
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.209 sec - in org.apache.hadoop.hbase.regionserver.TestRowTooBig
Running org.apache.hadoop.hbase.regionserver.TestCompactionWithCoprocessor
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 26.314 sec - in org.apache.hadoop.hbase.regionserver.TestScannerHeartbeatMessages
Running org.apache.hadoop.hbase.regionserver.TestAtomicOperation
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.592 sec - in org.apache.hadoop.hbase.regionserver.TestCompactionWithCoprocessor
Running org.apache.hadoop.hbase.regionserver.TestSplitLogWorker
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.472 sec - in org.apache.hadoop.hbase.regionserver.TestSplitLogWorker
Running org.apache.hadoop.hbase.regionserver.TestRegionReplicaFailover
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 78.749 sec - in org.apache.hadoop.hbase.regionserver.TestZKLessSplitOnCluster
Running org.apache.hadoop.hbase.regionserver.TestMajorCompaction
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.908 sec - in org.apache.hadoop.hbase.regionserver.TestAtomicOperation
Running org.apache.hadoop.hbase.regionserver.TestClusterId
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 101.306 sec - in org.apache.hadoop.hbase.regionserver.TestPerColumnFamilyFlush
Running org.apache.hadoop.hbase.regionserver.TestCompactionState
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.454 sec - in org.apache.hadoop.hbase.regionserver.TestClusterId
Running org.apache.hadoop.hbase.regionserver.TestFSErrorsExposed
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.492 sec - in org.apache.hadoop.hbase.regionserver.TestMajorCompaction
Running org.apache.hadoop.hbase.regionserver.TestRegionReplicas
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.567 sec - in org.apache.hadoop.hbase.regionserver.TestCompactionState
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.22 sec - in org.apache.hadoop.hbase.regionserver.TestFSErrorsExposed
Running org.apache.hadoop.hbase.regionserver.TestCompoundBloomFilter
Running org.apache.hadoop.hbase.regionserver.TestEncryptionKeyRotation
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 261.487 sec - in org.apache.hadoop.hbase.regionserver.wal.TestLogRolling
Running org.apache.hadoop.hbase.regionserver.handler.TestOpenRegionHandler
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.166 sec - in org.apache.hadoop.hbase.regionserver.handler.TestOpenRegionHandler
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.092 sec - in org.apache.hadoop.hbase.regionserver.TestEncryptionKeyRotation
Running org.apache.hadoop.hbase.regionserver.handler.TestCloseRegionHandler
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.304 sec - in org.apache.hadoop.hbase.regionserver.TestCompoundBloomFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.397 sec - in org.apache.hadoop.hbase.regionserver.handler.TestCloseRegionHandler
Running org.apache.hadoop.hbase.TestLocalHBaseCluster
Running org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.421 sec - in org.apache.hadoop.hbase.TestLocalHBaseCluster
Running 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.048 sec - in org.apache.hadoop.hbase.migration.TestUpgradeTo96
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.954 sec - in org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics
Running org.apache.hadoop.hbase.quotas.TestQuotaThrottle
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 21.497 sec - in org.apache.hadoop.hbase.migration.TestNamespaceUpgrade
Running org.apache.hadoop.hbase.quotas.TestQuotaAdmin
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.443 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.578 sec - in org.apache.hadoop.hbase.quotas.TestQuotaTableUtil
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.44 sec - in org.apache.hadoop.hbase.quotas.TestQuotaThrottle
Running org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.088 sec - in org.apache.hadoop.hbase.constraint.TestConstraint
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 233.662 sec - in org.apache.hadoop.hbase.regionserver.TestRegionReplicaFailover
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 174.613 sec - in org.apache.hadoop.hbase.regionserver.TestRegionReplicas

Results :

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



Tests run: 2512, Failures: 1, Errors: 0, Skipped: 16

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] HBase ............................................. SUCCESS [3.245s]
[INFO] HBase - Checkstyle ................................ SUCCESS [0.560s]
[INFO] HBase - Annotations ............................... SUCCESS [0.922s]
[INFO] HBase - Protocol .................................. SUCCESS [12.913s]
[INFO] HBase - Common .................................... SUCCESS [1:20.750s]
[INFO] HBase - Procedure ................................. SUCCESS [1:41.548s]
[INFO] HBase - Client .................................... SUCCESS [1:19.640s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [7.175s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [6.510s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [8.863s]
[INFO] HBase - Server .................................... FAILURE [1:19:12.768s]
[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:24:16.939s
[INFO] Finished at: Thu Apr 23 07:14:53 UTC 2015
[INFO] Final Memory: 90M/642M
[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.2/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.2/ws/hbase-server/target/surefire/surefirebooter6310806158839403366.jar>
<https://builds.apache.org/job/HBase-1.2/ws/hbase-server/target/surefire/surefire8182397155794131740tmp>
<https://builds.apache.org/job/HBase-1.2/ws/hbase-server/target/surefire/surefire_10031427260750368447028tmp>
[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.2] $ /bin/bash -xe /tmp/hudson2243997300077176254.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.2 #16
Archived 2013 artifacts
Archive block size is 32768
Received 27 blocks and 498414437 bytes
Compression is 0.2%
Took 2 min 47 sec
Recording test results
Updating HBASE-13496
Updating HBASE-13526

Mime
View raw message