hbase-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stack <st...@duboce.net>
Subject Re: Build failed in Jenkins: HBase-0.98 #2
Date Sun, 08 Dec 2013 21:30:39 GMT
Interesting how 0.98 builds both fail with the below but 0.96 and trunk are
passing:


Failed

org.apache.hadoop.hbase.security.TestHBaseSaslRpcClient.testHBaseSaslRpcClientCreation
Failing for the past 3 builds (Since [image:
Failed]#1<https://builds.apache.org/view/H-L/view/HBase/job/HBase-0.98/1/>
 )
Took 2 ms.<https://builds.apache.org/view/H-L/view/HBase/job/HBase-0.98/3/testReport/org.apache.hadoop.hbase.security/TestHBaseSaslRpcClient/testHBaseSaslRpcClientCreation/history>
add description<https://builds.apache.org/view/H-L/view/HBase/job/HBase-0.98/3/testReport/org.apache.hadoop.hbase.security/TestHBaseSaslRpcClient/testHBaseSaslRpcClientCreation/editDescription>
Stacktrace

java.lang.AssertionError
	at org.junit.Assert.fail(Assert.java:86)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at org.junit.Assert.assertTrue(Assert.java:52)
	at org.apache.hadoop.hbase.security.TestHBaseSaslRpcClient.testHBaseSaslRpcClientCreation(TestHBaseSaslRpcClient.java:119)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runners.Suite.runChild(Suite.java:127)
	at org.junit.runners.Suite.runChild(Suite.java:26)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)

Standard Output

2013-12-08 08:08:28,074 INFO  [pool-1-thread-1]
hbase.ResourceChecker(147): before:
security.TestHBaseSaslRpcClient#testHBaseSaslRpcClientCreation
Thread=71, OpenFileDescriptor=183, MaxFileDescriptor=4096,
SystemLoadAverage=150, ProcessCount=115, AvailableMemoryMB=179,
ConnectionCount=2
2013-12-08 08:08:28,085 DEBUG [pool-1-thread-1]
security.HBaseSaslRpcClient(84): Creating SASL GSSAPI client. Server's
Kerberos principal name is null
2013-12-08 08:08:28,085 ERROR [pool-1-thread-1]
security.TestHBaseSaslRpcClient(232): Failed to specify server's
Kerberos principal name
java.io.IOException: Failed to specify server's Kerberos principal name
	at org.apache.hadoop.hbase.security.HBaseSaslRpcClient.<init>(HBaseSaslRpcClient.java:90)
	at org.apache.hadoop.hbase.security.TestHBaseSaslRpcClient.createSaslRpcClientForKerberos(TestHBaseSaslRpcClient.java:260)
	at org.apache.hadoop.hbase.security.TestHBaseSaslRpcClient.assertSuccessCreationKerberosPrincipal(TestHBaseSaslRpcClient.java:230)
	at org.apache.hadoop.hbase.security.TestHBaseSaslRpcClient.testHBaseSaslRpcClientCreation(TestHBaseSaslRpcClient.java:116)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)




On Sat, Dec 7, 2013 at 1:35 PM, Apache Jenkins Server <
jenkins@builds.apache.org> wrote:

> See <https://builds.apache.org/job/HBase-0.98/2/>
>
> ------------------------------------------
> [...truncated 3922 lines...]
> Running org.apache.hadoop.hbase.regionserver.TestDefaultStoreEngine
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
> Running org.apache.hadoop.hbase.TestHDFSBlocksDistribution
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running org.apache.hadoop.hbase.TestHTableDescriptor
> Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.156 sec
> Running org.apache.hadoop.hbase.security.visibility.TestExpressionParser
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec
> Running org.apache.hadoop.hbase.security.visibility.TestExpressionExpander
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 sec
> Running org.apache.hadoop.hbase.security.TestUser
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.213 sec
> Running org.apache.hadoop.hbase.ipc.TestIPC
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.596 sec
> Running org.apache.hadoop.hbase.ipc.TestRpcMetrics
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.058 sec
> Running org.apache.hadoop.hbase.ipc.TestCallRunner
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
> Running org.apache.hadoop.hbase.ipc.TestSimpleRpcScheduler
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.101 sec
> Running org.apache.hadoop.hbase.ipc.TestBufferChain
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.101 sec
> Running org.apache.hadoop.hbase.constraint.TestConstraints
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.488 sec
> Running org.apache.hadoop.hbase.rest.client.TestRemoteHTableRetries
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.177 sec
> Running org.apache.hadoop.hbase.rest.client.TestRemoteAdminRetries
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.153 sec
> Running org.apache.hadoop.hbase.rest.model.TestVersionModel
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.165 sec
> Running org.apache.hadoop.hbase.rest.model.TestTableRegionModel
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.104 sec
> Running org.apache.hadoop.hbase.rest.model.TestTableListModel
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 sec
> Running org.apache.hadoop.hbase.rest.model.TestStorageClusterStatusModel
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.098 sec
> Running org.apache.hadoop.hbase.rest.model.TestColumnSchemaModel
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.096 sec
> Running org.apache.hadoop.hbase.rest.model.TestCellSetModel
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec
> Running org.apache.hadoop.hbase.rest.model.TestTableSchemaModel
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.109 sec
> Running org.apache.hadoop.hbase.rest.model.TestStorageClusterVersionModel
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.101 sec
> Running org.apache.hadoop.hbase.rest.model.TestTableInfoModel
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 sec
> Running org.apache.hadoop.hbase.rest.model.TestCellModel
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec
> Running org.apache.hadoop.hbase.rest.model.TestRowModel
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.086 sec
> Running org.apache.hadoop.hbase.rest.model.TestScannerModel
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.116 sec
> Running org.apache.hadoop.hbase.rest.TestGZIPResponseWrapper
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.069 sec
> Running org.apache.hadoop.hbase.metrics.TestMetricsHistogram
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 sec
> Running org.apache.hadoop.hbase.io.hfile.TestHFileWriterV2
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.565 sec
> Running org.apache.hadoop.hbase.io.hfile.TestHFileEncryption
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.242 sec
> Running org.apache.hadoop.hbase.io.hfile.TestScannerSelectionUsingKeyRange
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec
> Running org.apache.hadoop.hbase.io.hfile.TestHFile
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.437 sec
> Running org.apache.hadoop.hbase.io.hfile.TestLruBlockCache
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.539 sec
> Running org.apache.hadoop.hbase.io.hfile.TestFixedFileTrailer
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.087 sec
> Running org.apache.hadoop.hbase.io.hfile.TestCachedBlockQueue
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec
> Running org.apache.hadoop.hbase.io.hfile.TestHFileBlockCompatibility
> Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.995 sec
> Running org.apache.hadoop.hbase.io.hfile.TestHFileWriterV3
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.296 sec
> Running org.apache.hadoop.hbase.io.hfile.TestReseekTo
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.092 sec
> Running org.apache.hadoop.hbase.io.hfile.TestChecksum
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.236 sec
> Running org.apache.hadoop.hbase.io.hfile.TestHFileDataBlockEncoder
> Tests run: 30, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.441 sec
> Running org.apache.hadoop.hbase.io.hfile.TestSeekTo
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.246 sec
> Running org.apache.hadoop.hbase.io.hfile.TestBlockCacheColumnFamilySummary
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
> Running org.apache.hadoop.hbase.io.hfile.slab.TestSlab
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
> Running
> org.apache.hadoop.hbase.io.hfile.TestHFileInlineToRootChunkConversion
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
> Running org.apache.hadoop.hbase.io.hfile.bucket.TestBucketCache
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 39.818 sec
> Running org.apache.hadoop.hbase.io.hfile.bucket.TestByteBufferIOEngine
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec
> Running org.apache.hadoop.hbase.io.hfile.bucket.TestFileIOEngine
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> Running org.apache.hadoop.hbase.io.TestHalfStoreFileReader
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.088 sec
> Running org.apache.hadoop.hbase.io.TestImmutableBytesWritable
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.049 sec
> Running org.apache.hadoop.hbase.io.TestHeapSize
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 sec
> Running org.apache.hadoop.hbase.io.TestReference
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
> Running org.apache.hadoop.hbase.io.encoding.TestPrefixTreeEncoding
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.233 sec
> Running org.apache.hadoop.hbase.io.TestHFileLink
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
> Running org.apache.hadoop.hbase.mapred.TestRowCounter
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.598 sec
> Running org.apache.hadoop.hbase.mapred.TestGroupingTableMap
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.099 sec
> Running org.apache.hadoop.hbase.mapred.TestSplitTable
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
> Running org.apache.hadoop.hbase.mapred.TestDriver
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
> Running org.apache.hadoop.hbase.mapred.TestIdentityTableMap
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec
> Running
> org.apache.hadoop.hbase.replication.regionserver.TestReplicationSinkManager
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.186 sec
> Running org.apache.hadoop.hbase.TestCheckTestClasses
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.725 sec
> Running org.apache.hadoop.hbase.util.TestHBaseFsckComparator
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.074 sec
> Running org.apache.hadoop.hbase.util.TestCompressionTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047 sec
> Running org.apache.hadoop.hbase.util.TestSortedCopyOnWriteSet
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.028 sec
> Running org.apache.hadoop.hbase.util.TestHFileArchiveUtil
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.094 sec
> Running org.apache.hadoop.hbase.util.TestByteBloomFilter
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.757 sec
> Running org.apache.hadoop.hbase.util.TestRootPath
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.apache.hadoop.hbase.util.TestByteBufferUtils
> Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.214 sec
> Running org.apache.hadoop.hbase.util.TestPoolMap$TestRoundRobinPoolType
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.05 sec
> Running org.apache.hadoop.hbase.util.TestPoolMap$TestThreadLocalPoolType
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.048 sec
> Running org.apache.hadoop.hbase.util.TestPoolMap$TestReusablePoolType
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
> Running org.apache.hadoop.hbase.util.TestIncrementingEnvironmentEdge
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.015 sec
> Running org.apache.hadoop.hbase.util.TestRegionSplitCalculator
> Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.243 sec
> Running org.apache.hadoop.hbase.TestHRegionLocation
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.051 sec
> Running org.apache.hadoop.hbase.TestNodeHealthCheckChore
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.159 sec
> Running org.apache.hadoop.hbase.TestServerLoad
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.041 sec
> Running org.apache.hadoop.hbase.TestCompare
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.011 sec
> Running org.apache.hadoop.hbase.errorhandling.TestTimeoutExceptionInjector
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.103 sec
> Running
> org.apache.hadoop.hbase.errorhandling.TestForeignExceptionDispatcher
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
> Running
> org.apache.hadoop.hbase.errorhandling.TestForeignExceptionSerialization
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
> Running org.apache.hadoop.hbase.TestServerName
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 186.684 sec
> Running org.apache.hadoop.hbase.security.TestSecureRPC
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 186.684 sec
> Running
> org.apache.hadoop.hbase.security.TestUsersOperationsWithSecureHadoop
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 186.684 sec
> Running org.apache.hadoop.hbase.security.TestHBaseSaslRpcClient
> Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 186.684
> sec <<< FAILURE!
>
> Results :
>
> Failed tests:
> testHBaseSaslRpcClientCreation(org.apache.hadoop.hbase.security.TestHBaseSaslRpcClient)
>
> Tests run: 799, Failures: 1, Errors: 0, Skipped: 2
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] HBase ............................................. SUCCESS [5.407s]
> [INFO] HBase - Common .................................... SUCCESS
> [25.310s]
> [INFO] HBase - Protocol .................................. SUCCESS [7.923s]
> [INFO] HBase - Client .................................... SUCCESS
> [38.651s]
> [INFO] HBase - Hadoop Compatibility ...................... SUCCESS [5.365s]
> [INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [2.001s]
> [INFO] HBase - Prefix Tree ............................... SUCCESS [3.217s]
> [INFO] HBase - Server .................................... FAILURE
> [3:22.048s]
> [INFO] HBase - Testing Util .............................. SKIPPED
> [INFO] HBase - Thrift .................................... 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: 4:50.651s
> [INFO] Finished at: Sat Dec 07 21:35:24 UTC 2013
> [INFO] Final Memory: 68M/730M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-surefire-plugin:2.12-TRUNK-HBASE-2:test
> (default-test) on project hbase-server: There are test failures.
> [ERROR]
> [ERROR] Please refer to
> /x1/jenkins/jenkins-slave/workspace/HBase-0.98/0.98/hbase-server/target/surefire-reports
> for the individual test results.
> [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] $ /bin/bash -xe /tmp/hudson266136282117283868.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
> Recording test results
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message