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-0.98-on-Hadoop-1.1 #1066
Date Thu, 10 Sep 2015 13:13:17 GMT
See <https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/1066/changes>

Changes:

[ssrungarapu] HBASE-14261 Enhance Chaos Monkey framework by adding zookeeper and datanode
fault injections.

------------------------------------------
[...truncated 1806 lines...]
Running org.apache.hadoop.hbase.client.TestScannersFromClientSide
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.436 sec - in org.apache.hadoop.hbase.client.TestScannersFromClientSide
Running org.apache.hadoop.hbase.client.TestTableSnapshotScanner
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 70.885 sec - in org.apache.hadoop.hbase.client.TestTableSnapshotScanner
Running org.apache.hadoop.hbase.client.TestSnapshotMetadata
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.965 sec - in org.apache.hadoop.hbase.client.TestSnapshotMetadata
Running org.apache.hadoop.hbase.client.TestTimestampsFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.978 sec - in org.apache.hadoop.hbase.client.TestTimestampsFilter
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.865 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: 5.087 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableThreadLocalPool
Running org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Tests run: 81, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 144.753 sec - in org.apache.hadoop.hbase.client.TestFromClientSideWithCoprocessor
Running org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.948 sec - in org.apache.hadoop.hbase.client.TestSnapshotCloneIndependence
Running org.apache.hadoop.hbase.client.TestAdmin1
Tests run: 26, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 79.014 sec <<< FAILURE!
- in org.apache.hadoop.hbase.client.TestAdmin1
testHFileReplication(org.apache.hadoop.hbase.client.TestAdmin1)  Time elapsed: 2.266 sec 
<<< FAILURE!
java.lang.AssertionError: Column family rep1 should have only 1 copy
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.apache.hadoop.hbase.client.TestAdmin1.testHFileReplication(TestAdmin1.java:1245)

Running org.apache.hadoop.hbase.client.TestSizeFailures
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.444 sec - in org.apache.hadoop.hbase.client.TestSizeFailures
Running org.apache.hadoop.hbase.client.TestHCM
Tests run: 15, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 46.972 sec - in org.apache.hadoop.hbase.client.TestHCM
Running org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.681 sec - in org.apache.hadoop.hbase.client.TestHTablePool$TestHTableReusablePool
Running org.apache.hadoop.hbase.client.TestFromClientSide3
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.228 sec - in org.apache.hadoop.hbase.client.TestFromClientSide3
Running org.apache.hadoop.hbase.client.TestAdmin2
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.411 sec - in org.apache.hadoop.hbase.client.TestAdmin2
Running org.apache.hadoop.hbase.client.TestFromClientSideNoCodec
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.342 sec - in org.apache.hadoop.hbase.client.TestFromClientSideNoCodec
Running org.apache.hadoop.hbase.catalog.TestCatalogTracker
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.454 sec - in org.apache.hadoop.hbase.catalog.TestCatalogTracker
Running org.apache.hadoop.hbase.catalog.TestMetaReaderEditorNoCluster
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.94 sec - in org.apache.hadoop.hbase.catalog.TestMetaReaderEditorNoCluster
Running org.apache.hadoop.hbase.catalog.TestMetaReaderEditor
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.889 sec - in org.apache.hadoop.hbase.catalog.TestMetaReaderEditor
Running org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.466 sec - in org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB
Running org.apache.hadoop.hbase.TestZooKeeper
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 94.646 sec - in org.apache.hadoop.hbase.TestZooKeeper
Running org.apache.hadoop.hbase.TestAcidGuarantees
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.956 sec - in org.apache.hadoop.hbase.TestAcidGuarantees
Running org.apache.hadoop.hbase.trace.TestHTraceHooks
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.255 sec - in org.apache.hadoop.hbase.trace.TestHTraceHooks
Running org.apache.hadoop.hbase.TestHBaseTestingUtility
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.224 sec - in org.apache.hadoop.hbase.TestHBaseTestingUtility
Running org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.003 sec - in org.apache.hadoop.hbase.zookeeper.TestHQuorumPeer
Running org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.23 sec - in org.apache.hadoop.hbase.zookeeper.TestRecoverableZooKeeper
Running org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.574 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperNodeTracker
Running org.apache.hadoop.hbase.zookeeper.TestZKTable
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.465 sec - in org.apache.hadoop.hbase.zookeeper.TestZKTable
Running org.apache.hadoop.hbase.zookeeper.TestZKMulti
Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.699 sec - in org.apache.hadoop.hbase.zookeeper.TestZKMulti
Running org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.114 sec - in org.apache.hadoop.hbase.zookeeper.TestZKLeaderManager
Running org.apache.hadoop.hbase.zookeeper.lock.TestZKInterProcessReadWriteLock
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.448 sec - in 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.268 sec - in org.apache.hadoop.hbase.zookeeper.TestZooKeeperACL
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFiles
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.937 sec - in org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFiles
Running org.apache.hadoop.hbase.mapreduce.TestCellCounter
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 214.396 sec - in org.apache.hadoop.hbase.mapreduce.TestCellCounter
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithOperationAttributes
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 171.522 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTSVWithOperationAttributes
Running org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFilesSplitRecovery
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.385 sec - in org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFilesSplitRecovery
Running org.apache.hadoop.hbase.mapreduce.TestTableInputFormat
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.242 sec - in org.apache.hadoop.hbase.mapreduce.TestTableInputFormat
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesSplitRecovery
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 45.34 sec - in org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesSplitRecovery
Running org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesUseSecurityEndPoint
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 74.897 sec - in org.apache.hadoop.hbase.mapreduce.TestLoadIncrementalHFilesUseSecurityEndPoint
Running org.apache.hadoop.hbase.mapreduce.TestHLogRecordReader
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.241 sec - in org.apache.hadoop.hbase.mapreduce.TestHLogRecordReader
Running org.apache.hadoop.hbase.mapreduce.TestHRegionPartitioner
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.14 sec - in org.apache.hadoop.hbase.mapreduce.TestHRegionPartitioner
Running org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat
Tests run: 13, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 301.55 sec - in org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat
Running org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan2
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 195.942 sec - in org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan2
Running org.apache.hadoop.hbase.mapreduce.TestImportTsv
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 250.577 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTsv
Running org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFiles
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 71.977 sec - in org.apache.hadoop.hbase.mapreduce.TestSecureLoadIncrementalHFiles
Running org.apache.hadoop.hbase.mapreduce.TestTableMapReduce
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 170.782 sec - in org.apache.hadoop.hbase.mapreduce.TestTableMapReduce
Running org.apache.hadoop.hbase.mapreduce.TestWALPlayer
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 89.388 sec - in org.apache.hadoop.hbase.mapreduce.TestWALPlayer
Running org.apache.hadoop.hbase.mapreduce.TestImportExport
Killed
Running org.apache.hadoop.hbase.mapreduce.TestRowCounter
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 210.914 sec - in org.apache.hadoop.hbase.mapreduce.TestRowCounter
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithVisibilityLabels
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 217.147 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTSVWithVisibilityLabels
Running org.apache.hadoop.hbase.mapreduce.TestHashTable
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 159.728 sec - in org.apache.hadoop.hbase.mapreduce.TestHashTable
Running org.apache.hadoop.hbase.mapreduce.TestImportTSVWithTTLs
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 91.021 sec - in org.apache.hadoop.hbase.mapreduce.TestImportTSVWithTTLs
Running org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2
Tests run: 14, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 409.654 sec - in org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat2
Running org.apache.hadoop.hbase.mapreduce.TestMultiTableSnapshotInputFormat
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 182.771 sec - in org.apache.hadoop.hbase.mapreduce.TestMultiTableSnapshotInputFormat
Running org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 166.071 sec - in org.apache.hadoop.hbase.mapreduce.TestTableInputFormatScan1
Running org.apache.hadoop.hbase.mapreduce.TestMultithreadedTableMapper
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 125.937 sec - in org.apache.hadoop.hbase.mapreduce.TestMultithreadedTableMapper
Running org.apache.hadoop.hbase.mapreduce.TestTableSnapshotInputFormat
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 229.901 sec - in org.apache.hadoop.hbase.mapreduce.TestTableSnapshotInputFormat
Running org.apache.hadoop.hbase.mapreduce.TestTimeRangeMapRed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 88.666 sec - in org.apache.hadoop.hbase.mapreduce.TestTimeRangeMapRed
Running org.apache.hadoop.hbase.mapreduce.TestSyncTable
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 128.402 sec - in org.apache.hadoop.hbase.mapreduce.TestSyncTable
Running org.apache.hadoop.hbase.mapreduce.TestCopyTable
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 181.283 sec - in org.apache.hadoop.hbase.mapreduce.TestCopyTable
Running org.apache.hadoop.hbase.mapreduce.TestMultiTableInputFormat
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 236.303 sec - in org.apache.hadoop.hbase.mapreduce.TestMultiTableInputFormat
Running org.apache.hadoop.hbase.io.TestFileLink
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.906 sec - in org.apache.hadoop.hbase.io.TestFileLink
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.169 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlockIndex
Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.916 sec - in org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingTTL
Running org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.868 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileSeek
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Tests run: 28, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 96.946 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlock
Running org.apache.hadoop.hbase.io.hfile.slab.TestSlabCache
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.536 sec - in org.apache.hadoop.hbase.io.hfile.slab.TestSlabCache
Running org.apache.hadoop.hbase.io.hfile.slab.TestSingleSizeCache
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.186 sec - in org.apache.hadoop.hbase.io.hfile.slab.TestSingleSizeCache
Running org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 43.718 sec - in org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
Running org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Tests run: 216, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 383.778 sec - in org.apache.hadoop.hbase.io.hfile.TestCacheOnWrite
Running org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.096 sec - in org.apache.hadoop.hbase.io.encoding.TestLoadAndSwitchEncodeOnDisk
Running org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.101 sec - in org.apache.hadoop.hbase.io.encoding.TestChangingEncoding
Running org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 88.841 sec - in org.apache.hadoop.hbase.io.encoding.TestEncodedSeekers
Running org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders

Results :

Failed tests: 
  TestAdmin1.testHFileReplication:1245 Column family rep1 should have only 1 copy

Tests in error: 
  TestZKLessAMOnCluster>TestAssignmentManagerOnCluster.testSSHWhenDisablingTableRegionsInOpeningOrPendingOpenState:676
ยป 


Tests run: 2261, Failures: 1, Errors: 1, Skipped: 24

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ...................................... SUCCESS [5.131s]
[INFO] Apache HBase - Checkstyle ......................... SUCCESS [1.003s]
[INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.336s]
[INFO] Apache HBase - Annotations ........................ SUCCESS [1.493s]
[INFO] Apache HBase - Common ............................. SUCCESS [48.840s]
[INFO] Apache HBase - Protocol ........................... SUCCESS [9.440s]
[INFO] Apache HBase - Client ............................. SUCCESS [51.897s]
[INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [7.113s]
[INFO] Apache HBase - Hadoop One Compatibility ........... SUCCESS [6.069s]
[INFO] Apache HBase - Prefix Tree ........................ SUCCESS [8.486s]
[INFO] Apache HBase - Server ............................. FAILURE [4:45:26.505s]
[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 - Assembly ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:47:48.279s
[INFO] Finished at: Thu Sep 10 13:11:56 UTC 2015
[INFO] Final Memory: 287M/537M
[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-0.98-on-Hadoop-1.1/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-0.98-on-Hadoop-1.1/ws/hbase-server/target/surefire/surefirebooter4902875042375053442.jar>
<https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/ws/hbase-server/target/surefire/surefire7842622312800926055tmp>
<https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/ws/hbase-server/target/surefire/surefire_10293734512970250164563tmp>
[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-0.98-on-Hadoop-1.1] $ /bin/bash -xe /tmp/hudson7845639712663526765.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-0.98-on-Hadoop-1.1 #978
Archived 1904 artifacts
Archive block size is 32768
Received 6 blocks and 288329883 bytes
Compression is 0.1%
Took 1 min 8 sec
Recording test results
Updating HBASE-14261

Mime
View raw message