You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Michael Stack (Jira)" <ji...@apache.org> on 2020/04/08 20:25:00 UTC
[jira] [Resolved] (HBASE-24131) [Flakey Tests] TestExportSnapshot
takes too long; up against 13min max
[ https://issues.apache.org/jira/browse/HBASE-24131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Stack resolved HBASE-24131.
-----------------------------------
Fix Version/s: 2.3.0
3.0.0
Hadoop Flags: Reviewed
Assignee: Michael Stack
Resolution: Fixed
Pushed to branch-2.3+ Thanks [~psomogyi]
Just a note to say that this breakup did not solve the issue I was seeing on my local run. It later failed around this test . I think the local machine is just bound up on disk. When lots of parallelism (16cores in this case), a bunch of tests can get hung up on a resource such as disk and backup. A next project is to study test runs over time resource-wise. Meantime, breaking up bigger tests into smaller bits -- as long as they still have substance -- is always a good thing.
> [Flakey Tests] TestExportSnapshot takes too long; up against 13min max
> ----------------------------------------------------------------------
>
> Key: HBASE-24131
> URL: https://issues.apache.org/jira/browse/HBASE-24131
> Project: HBase
> Issue Type: Bug
> Reporter: Michael Stack
> Assignee: Michael Stack
> Priority: Major
> Fix For: 3.0.0, 2.3.0
>
>
> TestExportSnapshot fails fairly regularly locally. Looking, its test timeout. Looking at how long it ran, its 13minutes plus. Looking at recent successful branch-2 run, it passed but it took about 7-8minutes. Let me break up the test into to pieces.
> org.junit.runners.model.TestTimedOutException: test timed out after 780 seconds
> at org.apache.hadoop.hbase.snapshot.TestExportSnapshot.testExportFileSystemState(TestExportSnapshot.java:227)
> at org.apache.hadoop.hbase.snapshot.TestExportSnapshot.testExportRetry(TestExportSnapshot.java:267)
> ... I see this in the log:
> ====> TEST TIMED OUT. PRINTING THREAD DUMP. <====
> Test started at:
> 2020-04-06 17:19:21,739 INFO
> ... and the timestamp just above the TIMED OUT was
> 2020-04-06 17:31:01,758
--
This message was sent by Atlassian Jira
(v8.3.4#803005)