hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19986) If HBaseTestClassRule timesout a test, thread dump.
Date Tue, 13 Feb 2018 05:54:00 GMT

    [ https://issues.apache.org/jira/browse/HBASE-19986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16361855#comment-16361855
] 

Hudson commented on HBASE-19986:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-Trunk_matrix #4575 (See [https://builds.apache.org/job/HBase-Trunk_matrix/4575/])
HBASE-19986 If HBaseTestClassRule timesout a test, thread dump (stack: rev c2ee82c9091a721e22a0eb69be17cd0217739099)
* (edit) pom.xml
* (edit) hbase-common/src/test/java/org/apache/hadoop/hbase/HBaseClassTestRule.java
* (edit) hbase-common/src/test/java/org/apache/hadoop/hbase/TestTimeout.java
* (add) hbase-common/src/test/java/org/apache/hadoop/hbase/TimedOutTestsListener.java
* (delete) hbase-server/src/test/java/org/apache/hadoop/hbase/TimedOutTestsListener.java


> If HBaseTestClassRule timesout a test, thread dump.
> ---------------------------------------------------
>
>                 Key: HBASE-19986
>                 URL: https://issues.apache.org/jira/browse/HBASE-19986
>             Project: HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: stack
>            Priority: Major
>             Fix For: 2.0.0-beta-2
>
>         Attachments: HBASE-19986.branch-2.001.patch, HBASE-19986.branch-2.002.patch,
HBASE-19986.branch-2.003.patch
>
>
> We set look for stuck thread in our timeout rule but it is super conservative in what
it prints.. it looks for a RUNNABLE thread and prints first found ONLY. Pretty useless for
us.  If a test timesout, often the printing has stopped in the stderr/stdout.
> I'm trying to debug TestAsyncRegionAdminApi. It says test timed out after 10 minutes
but we've stopped printing to the logs and here is what junit prints:
> -------------------------------------------------------------------------------
> Test set: org.apache.hadoop.hbase.client.TestAsyncRegionAdminApi
> -------------------------------------------------------------------------------
> Tests run: 25, Failures: 0, Errors: 2, Skipped: 2, Time elapsed: 572.508 s <<<
FAILURE! - in org.apache.hadoop.hbase.client.TestAsyncRegionAdminApi
> org.apache.hadoop.hbase.client.TestAsyncRegionAdminApi  Time elapsed: 14.642 s  <<<
ERROR!
> org.junit.runners.model.TestTimedOutException: test timed out after 600 seconds
>   at org.apache.hadoop.hbase.client.TestAsyncRegionAdminApi.testMergeRegions(TestAsyncRegionAdminApi.java:363)
> org.apache.hadoop.hbase.client.TestAsyncRegionAdminApi  Time elapsed: 14.642 s  <<<
ERROR!
> java.lang.Exception: Appears to be stuck in thread Socket Reader #1 for port 35917



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message