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 » latest1.8,Hadoop #278
Date Tue, 20 Oct 2015 15:38:22 GMT
See <https://builds.apache.org/job/HBase-1.2/jdk=latest1.8,label=Hadoop/278/>

------------------------------------------
[...truncated 44239 lines...]
Running org.apache.hadoop.hbase.filter.TestColumnPaginationFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.735 sec - in org.apache.hadoop.hbase.filter.TestColumnPaginationFilter
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.filter.TestPrefixFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.345 sec - in org.apache.hadoop.hbase.filter.TestPrefixFilter
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.filter.TestFilter
Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.331 sec - in org.apache.hadoop.hbase.filter.TestFilter
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.filter.TestSingleColumnValueExcludeFilter
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.295 sec - in org.apache.hadoop.hbase.filter.TestSingleColumnValueExcludeFilter
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.filter.TestPageFilter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.424 sec - in org.apache.hadoop.hbase.filter.TestPageFilter
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.filter.TestBitComparator
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.513 sec - in org.apache.hadoop.hbase.filter.TestBitComparator
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.filter.TestColumnPrefixFilter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.117 sec - in org.apache.hadoop.hbase.filter.TestColumnPrefixFilter
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.filter.TestFilterList
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.044 sec - in org.apache.hadoop.hbase.filter.TestFilterList
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.filter.TestComparatorSerialization
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.025 sec - in org.apache.hadoop.hbase.filter.TestComparatorSerialization
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.filter.TestInclusiveStopFilter
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.33 sec - in org.apache.hadoop.hbase.filter.TestInclusiveStopFilter
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.filter.TestMultipleColumnPrefixFilter
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.283 sec - in org.apache.hadoop.hbase.filter.TestMultipleColumnPrefixFilter
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.filter.TestRegexComparator
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.612 sec - in org.apache.hadoop.hbase.filter.TestRegexComparator
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.filter.TestFilterSerialization
Tests run: 26, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.743 sec - in org.apache.hadoop.hbase.filter.TestFilterSerialization
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.TestReference
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.599 sec - in org.apache.hadoop.hbase.io.TestReference
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.TestByteBufferOutputStream
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.383 sec - in org.apache.hadoop.hbase.io.TestByteBufferOutputStream
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestLruCachedBlock
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.524 sec - in org.apache.hadoop.hbase.io.hfile.TestLruCachedBlock
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestHFileDataBlockEncoder
Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.51 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileDataBlockEncoder
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestReseekTo
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.884 sec - in org.apache.hadoop.hbase.io.hfile.TestReseekTo
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestHFileEncryption
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.026 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileEncryption
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestLazyDataBlockDecompression
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.141 sec - in org.apache.hadoop.hbase.io.hfile.TestLazyDataBlockDecompression
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestHFileInlineToRootChunkConversion
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.857 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileInlineToRootChunkConversion
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestChecksum
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.091 sec - in org.apache.hadoop.hbase.io.hfile.TestChecksum
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestHFileWriterV3
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.292 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileWriterV3
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestPrefetch
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.903 sec - in org.apache.hadoop.hbase.io.hfile.TestPrefetch
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestHFile
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.758 sec - in org.apache.hadoop.hbase.io.hfile.TestHFile
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestSeekTo
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.086 sec - in org.apache.hadoop.hbase.io.hfile.TestSeekTo
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestLruBlockCache
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.126 sec - in org.apache.hadoop.hbase.io.hfile.TestLruBlockCache
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingKeyRange
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.759 sec - in org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingKeyRange
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestFixedFileTrailer
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.784 sec - in org.apache.hadoop.hbase.io.hfile.TestFixedFileTrailer
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestBlockCacheReporting
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.779 sec - in org.apache.hadoop.hbase.io.hfile.TestBlockCacheReporting
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockCompatibility
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.069 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlockCompatibility
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestHFileWriterV2
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.45 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileWriterV2
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestCachedBlockQueue
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.402 sec - in org.apache.hadoop.hbase.io.hfile.TestCachedBlockQueue
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.bucket.TestByteBufferIOEngine
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.44 sec - in org.apache.hadoop.hbase.io.hfile.bucket.TestByteBufferIOEngine
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.bucket.TestBucketCache
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.821 sec - in org.apache.hadoop.hbase.io.hfile.bucket.TestBucketCache
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.bucket.TestFileIOEngine
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.379 sec - in org.apache.hadoop.hbase.io.hfile.bucket.TestFileIOEngine
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.bucket.TestBucketWriterThread
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.805 sec - in org.apache.hadoop.hbase.io.hfile.bucket.TestBucketWriterThread
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockPositionalRead
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.71 sec - in org.apache.hadoop.hbase.io.hfile.TestHFileBlockPositionalRead
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.TestImmutableBytesWritable
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.453 sec - in org.apache.hadoop.hbase.io.TestImmutableBytesWritable
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.encoding.TestSeekToBlockWithEncoders
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.762 sec - in org.apache.hadoop.hbase.io.encoding.TestSeekToBlockWithEncoders
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.encoding.TestPrefixTree
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.714 sec - in org.apache.hadoop.hbase.io.encoding.TestPrefixTree
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.encoding.TestPrefixTreeEncoding
Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.895 sec - in org.apache.hadoop.hbase.io.encoding.TestPrefixTreeEncoding
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.encoding.TestSeekBeforeWithReverseScan
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.658 sec - in org.apache.hadoop.hbase.io.encoding.TestSeekBeforeWithReverseScan
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.TestHFileLink
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.479 sec - in org.apache.hadoop.hbase.io.TestHFileLink
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.TestHalfStoreFileReader
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.041 sec - in org.apache.hadoop.hbase.io.TestHalfStoreFileReader
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0
Running org.apache.hadoop.hbase.io.TestHeapSize
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.431 sec - in org.apache.hadoop.hbase.io.TestHeapSize
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed
in 8.0

Results :

Tests run: 976, Failures: 0, Errors: 0, Skipped: 20

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Apache HBase ...................................... SUCCESS [1:28.698s]
[INFO] Apache HBase - Checkstyle ......................... SUCCESS [8.954s]
[INFO] Apache HBase - Resource Bundle .................... SUCCESS [0.144s]
[INFO] Apache HBase - Annotations ........................ SUCCESS [0.909s]
[INFO] Apache HBase - Protocol ........................... SUCCESS [16.768s]
[INFO] Apache HBase - Common ............................. SUCCESS [5:42.163s]
[INFO] Apache HBase - Procedure .......................... SUCCESS [1:52.277s]
[INFO] Apache HBase - Client ............................. SUCCESS [1:25.754s]
[INFO] Apache HBase - Hadoop Compatibility ............... SUCCESS [8.269s]
[INFO] Apache HBase - Hadoop Two Compatibility ........... SUCCESS [8.784s]
[INFO] Apache HBase - Prefix Tree ........................ SUCCESS [7.667s]
[INFO] Apache HBase - Server ............................. FAILURE [13:30.962s]
[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 - External Block Cache ............... SKIPPED
[INFO] Apache HBase - Assembly ........................... SKIPPED
[INFO] Apache HBase - Shaded ............................. SKIPPED
[INFO] Apache HBase - Shaded - Client .................... SKIPPED
[INFO] Apache HBase - Shaded - Server .................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25:17.498s
[INFO] Finished at: Tue Oct 20 15:38:54 UTC 2015
[INFO] Final Memory: 97M/775M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test
(default-test) 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/jdk=latest1.8,label=Hadoop/ws/hbase-server>
&& /home/jenkins/jenkins-slave/tools/hudson.model.JDK/latest1.8/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/jdk=latest1.8,label=Hadoop/ws/hbase-server/target/surefire/surefirebooter7268977537399547943.jar>
<https://builds.apache.org/job/HBase-1.2/jdk=latest1.8,label=Hadoop/ws/hbase-server/target/surefire/surefire8490952321970055131tmp>
<https://builds.apache.org/job/HBase-1.2/jdk=latest1.8,label=Hadoop/ws/hbase-server/target/surefire/surefire_1823433856053289362166tmp>
[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 -v | grep surefirebooter | grep '-Dhbase.test'
| wc -l`
  if [[ $ZOMBIE_TESTS_COUNT != 0 ]] ; then
    #It seems sometimes the tests are not dying immediately. Let's give them 30s
    echo "Suspicious java process found - waiting 30s to see if there are just slow to stop"
    sleep 30
    ZOMBIE_TESTS_COUNT=`jps -v | grep surefirebooter | grep '-Dhbase.test' | 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 "************ zombies jps listing"
      jps -v
      jps -v | grep surefirebooter | grep '-Dhbase.test'
      echo "************ BEGIN zombies jstack extract"
      # HBase tests have been flagged with an innocuous '-Dhbase.test' just so they can
      # be identified as hbase in a process listing.
      ZB_STACK=`jps -v | grep surefirebooter | grep '-Dhbase.test' | cut -d ' ' -f 1 | xargs
-n 1 jstack | grep ".test" | grep "\.java"`
      jps -v | grep surefirebooter | grep '-Dhbase.test' | 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
      # Killing these zombies
      echo 'Killing ZOMBIES!!!'
      jps -v
      jps -v | grep surefirebooter | grep '-Dhbase.test' | 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
[Hadoop] $ /bin/bash -xe /tmp/hudson2376775088301962010.sh
++ jps -v
++ grep surefirebooter
++ wc -l
++ grep -Dhbase.test
grep: unknown devices method
grep: write error: Broken pipe
+ ZOMBIE_TESTS_COUNT=0
/tmp/hudson2376775088301962010.sh: line 30: syntax error: unexpected end of file
POST BUILD TASK : FAILURE
END OF POST BUILD TASK : 0
Archiving artifacts

Mime
View raw message