You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2011/06/27 23:46:47 UTC

[jira] [Created] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Add timeout annotations to preempt surefire killing all tests
-------------------------------------------------------------

                 Key: HBASE-4037
                 URL: https://issues.apache.org/jira/browse/HBASE-4037
             Project: HBase
          Issue Type: Task
            Reporter: stack
         Attachments: 4037.txt

Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-4037:
--------------------------

    Attachment: 4037-addendum.txt

Here is my proposed change to TestFullLogReconstruction

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037-addendum.txt, 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056839#comment-13056839 ] 

Hudson commented on HBASE-4037:
-------------------------------

Integrated in HBase-TRUNK #1995 (See [https://builds.apache.org/job/HBase-TRUNK/1995/])
    

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-4037:
-------------------------

    Attachment: 4037.txt

Adds timeouts to TestDistributedLogSplitting and shortens those in TestSplitTransactionOnCluster

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>         Attachments: 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057539#comment-13057539 ] 

Ted Yu commented on HBASE-4037:
-------------------------------

Committed addendum to TRUNK after Stack and J-D reviewed it.

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037-addendum.txt, 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056817#comment-13056817 ] 

Ted Yu commented on HBASE-4037:
-------------------------------

Maybe we should implement our own test discovery algorithm so that the known fragile tests, such as TestDistributedLogSplitting, would be executed last in the test suite.

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-4037.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.92.0
         Assignee: stack

Applied to TRUNK

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056280#comment-13056280 ] 

Ted Yu commented on HBASE-4037:
-------------------------------

>From output, the following repeated for 12 minutes: 
{code}
2011-06-28 02:01:15,086 INFO  [Master:1;vesta.apache.org,57958,1309226315694] master.ServerManager(313): Waiting on regionserver(s) to go down vesta.apache.org,49256,1309226315823, vesta.apache.org,39058,1309226315809, vesta.apache.org,39157,1309226315839
{code}
But it is hard to tell what region server thread(s) got stuck from the output.

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057586#comment-13057586 ] 

Hudson commented on HBASE-4037:
-------------------------------

Integrated in HBase-TRUNK #1998 (See [https://builds.apache.org/job/HBase-TRUNK/1998/])
    HBASE-4037 add timeout for TestFullLogReconstruction

tedyu : 
Files : 
* /hbase/trunk/CHANGES.txt
* /hbase/trunk/src/test/java/org/apache/hadoop/hbase/TestFullLogReconstruction.java


> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037-addendum.txt, 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-4037.
--------------------------

    Resolution: Fixed

Enough commits have been made under this umbrella.  Resolving (TRUNK build is  blue every other time and the failures because of 15 minute timeouts haven't been seen in a while -- we seem to have gotten the current crop of timeouties).

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037-addendum.txt, 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057471#comment-13057471 ] 

Ted Yu commented on HBASE-4037:
-------------------------------

TestFullLogReconstruction took too long on Jenkins.
We should add timeout annotation to it.

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056292#comment-13056292 ] 

stack commented on HBASE-4037:
------------------------------

I saw that.  The (timeout=300000).  In local testing, we don't run 12 minutes.  We are killed after 300000ms.

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056273#comment-13056273 ] 

stack commented on HBASE-4037:
------------------------------

I just tested that the annotation does indeed work when I run things locally.  Baffled.

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056303#comment-13056303 ] 

Ted Yu commented on HBASE-4037:
-------------------------------

Interestingly there was no such log after shutdown request:
{code}
2011-06-27 21:42:02,552 DEBUG [RegionServer:2;192.168.2.107,61990,1309235896434-EventThread] zookeeper.ZooKeeperWatcher(258): regionserver:61990-0x130d48a5d4c0002 Received ZooKeeper Event, type=NodeDeleted, state=SyncConnected, path=/hbase/shutdown
{code}

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack reopened HBASE-4037:
--------------------------


This doesn't seem to be working going by https://builds.apache.org/job/HBase-TRUNK/1992/console  Reopening.

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-4037) Add timeout annotations to preempt surefire killing all tests

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057527#comment-13057527 ] 

stack commented on HBASE-4037:
------------------------------

+1

> Add timeout annotations to preempt surefire killing all tests
> -------------------------------------------------------------
>
>                 Key: HBASE-4037
>                 URL: https://issues.apache.org/jira/browse/HBASE-4037
>             Project: HBase
>          Issue Type: Task
>            Reporter: stack
>            Assignee: stack
>             Fix For: 0.92.0
>
>         Attachments: 4037-addendum.txt, 4037.txt
>
>
> Let me add the timeout annotation to a few of the tests that are currently without them and that go on so long, the maven surefire plugin steps in and kills the whole test run (Comes of discussion up on mailing list: http://search-hadoop.com/m/ALF0L1yBgA5/Build+failed+in+Jenkins%253A+HBase-TRUNK+%25231989&subj=Re+Build+failed+in+Jenkins+HBase+TRUNK+1892)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira