[ https://issues.apache.org/jira/browse/HBASE-24123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17079509#comment-17079509 ]
Michael Stack commented on HBASE-24123: --------------------------------------- Ran into this one running test suite on laptop: {code} ------------------------------------------------------------------------------- Test set: org.apache.hadoop.hbase.thrift.TestThriftHttpServer ------------------------------------------------------------------------------- Tests run: 5, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 755.916 s <<< FAILURE! - in org.apache.hadoop.hbase.thrift.TestThriftHttpServer org.apache.hadoop.hbase.thrift.TestThriftHttpServer Time elapsed: 743.05 s <<< ERROR! org.junit.runners.model.TestTimedOutException: test timed out after 780 seconds at org.apache.hadoop.hbase.thrift.TestThriftHttpServer.stopHttpServerThread(TestThriftHttpServer.java:247) at org.apache.hadoop.hbase.thrift.TestThriftHttpServer.runThriftServer(TestThriftHttpServer.java:183) at org.apache.hadoop.hbase.thrift.TestThriftHttpServer.testRunThriftServerWithHeaderBufferLength(TestThriftHttpServer.java:147) org.apache.hadoop.hbase.thrift.TestThriftHttpServer.testRunThriftServerWithHeaderBufferLength Time elapsed: 743.052 s <<< FAILURE! java.lang.AssertionError: Expected: (an instance of org.apache.thrift.transport.TTransportException and exception with message a string containing "HTTP Response code: 431") but: an instance of org.apache.thrift.transport.TTransportException <java.lang.InterruptedException> is a java.lang.InterruptedException Stacktrace was: java.lang.InterruptedException at java.lang.Object.wait(Native Method) at java.lang.Thread.join(Thread.java:1252) at java.lang.Thread.join(Thread.java:1326) {code} > [Flakey Tests] TestThrift?ServerCmdLine > --------------------------------------- > > Key: HBASE-24123 > URL: https://issues.apache.org/jira/browse/HBASE-24123 > Project: HBase > Issue Type: Bug > Reporter: Michael Stack > Priority: Major > > TestThrift2ServerCmdLine and TestThriftServerCmdLine are flakey. They fail > frequently in local runs for myriad reasons: protocol failures, wrong answers > on query, connection resets, etc. Each test runs 40 different combinations of > config. > This is after work done to try and stabilize by fixing port clash issues. > Let me list in here the ways in which it fails. I will disable after I get a > good list. Will also try and do some more stabilization too in sub-issues. > Lets see which prevails; stabilization or disabling. > For starters, this morning I got this: > {code} > > ------------------------------------------------------------------------------- > Test set: org.apache.hadoop.hbase.thrift2.TestThrift2ServerCmdLine > > ------------------------------------------------------------------------------- > Tests run: 32, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 126.301 s > <<< FAILURE! - in org.apache.hadoop.hbase.thrift2.TestThrift2ServerCmdLine > > org.apache.hadoop.hbase.thrift2.TestThrift2ServerCmdLine.testRunThriftServer[29] > Time elapsed: 0.964 s <<< ERROR! > java.lang.Exception: org.apache.thrift.transport.TTransportException: > java.net.SocketException: Connection reset > at > org.apache.hadoop.hbase.thrift2.TestThrift2ServerCmdLine.talkToThriftServer(TestThrift2ServerCmdLine.java:92) > Caused by: java.net.SocketException: Connection reset > at > org.apache.hadoop.hbase.thrift2.TestThrift2ServerCmdLine.talkToThriftServer(TestThrift2ServerCmdLine.java:92) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)