hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Hentschel (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-17703) TestThriftServerCmdLine is flaky in master branch
Date Fri, 03 Mar 2017 19:06:45 GMT

     [ https://issues.apache.org/jira/browse/HBASE-17703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jan Hentschel updated HBASE-17703:
----------------------------------
    Status: Patch Available  (was: In Progress)

It seems that when tests are run in parallel the port 9095 (HBase Thrift Server Web UI) is
always in use ("java.net.BindException: Port in use: 0.0.0.0:9095"). This patch assigns the
infoport randomly in the test similar how it is done with the Thrift server port.

> TestThriftServerCmdLine is flaky in master branch
> -------------------------------------------------
>
>                 Key: HBASE-17703
>                 URL: https://issues.apache.org/jira/browse/HBASE-17703
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Jan Hentschel
>         Attachments: HBASE-17703.master.001.patch
>
>
> According to https://builds.apache.org/job/HBASE-Find-Flaky-Tests/lastSuccessfulBuild/artifact/dashboard.html
, TestThriftServerCmdLine is the top flaky test.
> It fails in QA run sometimes.
> https://builds.apache.org/job/PreCommit-HBASE-Build/5848/artifact/patchprocess/patch-unit-hbase-thrift.txt
> {code}
> testRunThriftServer[0](org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine)  Time
elapsed: 10.057 sec  <<< ERROR!
> java.lang.NullPointerException: null
> 	at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.testRunThriftServer(TestThriftServerCmdLine.java:187)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 60.212 sec <<<
FAILURE! - in org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine
> testRunThriftServer[0](org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine)  Time
elapsed: 0.166 sec  <<< FAILURE!
> java.lang.AssertionError: null
> 	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.thrift.TestThriftServer.checkTableList(TestThriftServer.java:254)
> 	at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.talkToThriftServer(TestThriftServerCmdLine.java:227)
> 	at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.testRunThriftServer(TestThriftServerCmdLine.java:190)
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 64.428 sec <<<
FAILURE! - in org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine
> testRunThriftServer[0](org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine)  Time
elapsed: 0.144 sec  <<< FAILURE!
> java.lang.AssertionError: null
> 	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.thrift.TestThriftServer.checkTableList(TestThriftServer.java:254)
> 	at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.talkToThriftServer(TestThriftServerCmdLine.java:227)
> 	at org.apache.hadoop.hbase.thrift.TestThriftServerCmdLine.testRunThriftServer(TestThriftServerCmdLine.java:190)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message