FAQ
Script to find hanging test cases in build
------------------------------------------

Key: HBASE-4560
URL: https://issues.apache.org/jira/browse/HBASE-4560
Project: HBase
Issue Type: Improvement
Reporter: ramkrishna.s.vasudevan
Priority: Minor


A script that parses the console output to get the hanging test names. This will be very useful to know the hanging test case names when we see in some builds all the test cases run but still the build shows failed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

  • ramkrishna.s.vasudevan (Updated) (JIRA) at Oct 9, 2011 at 5:35 pm
    [ https://issues.apache.org/jira/browse/HBASE-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    ramkrishna.s.vasudevan updated HBASE-4560:
    ------------------------------------------

    Attachment: findHangingTest.sh

    A script that parses the console output and finds the testcases that hangs.
    Script to find hanging test cases in build
    ------------------------------------------

    Key: HBASE-4560
    URL: https://issues.apache.org/jira/browse/HBASE-4560
    Project: HBase
    Issue Type: Improvement
    Reporter: ramkrishna.s.vasudevan
    Priority: Minor
    Attachments: findHangingTest.sh


    A script that parses the console output to get the hanging test names. This will be very useful to know the hanging test case names when we see in some builds all the test cases run but still the build shows failed.
    --
    This message is automatically generated by JIRA.
    If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Ted Yu (Commented) (JIRA) at Oct 10, 2011 at 4:01 pm
    [ https://issues.apache.org/jira/browse/HBASE-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13124205#comment-13124205 ]

    Ted Yu commented on HBASE-4560:
    -------------------------------

    Using the attached script, the following test was found to hang in build 2314:
    {code}
    Running org.apache.hadoop.hbase.client.TestShell
    Running org.apache.hadoop.hbase.client.TestFromClientSide
    Tests run: 46, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 128.669 sec
    {code}
    Script to find hanging test cases in build
    ------------------------------------------

    Key: HBASE-4560
    URL: https://issues.apache.org/jira/browse/HBASE-4560
    Project: HBase
    Issue Type: Improvement
    Reporter: ramkrishna.s.vasudevan
    Priority: Minor
    Attachments: findHangingTest.sh


    A script that parses the console output to get the hanging test names. This will be very useful to know the hanging test case names when we see in some builds all the test cases run but still the build shows failed.
    --
    This message is automatically generated by JIRA.
    If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • ramkrishna.s.vasudevan (Updated) (JIRA) at Oct 13, 2011 at 4:23 pm
    [ https://issues.apache.org/jira/browse/HBASE-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    ramkrishna.s.vasudevan updated HBASE-4560:
    ------------------------------------------

    Attachment: findHangingTest.sh

    Here is updated script which can deal with the following (seen in 0.92 builds):

    Forking command line: /bin/sh -c cd /home/jenkins/jenkins-slave/workspace/HBase-0.92/trunk && /home/jenkins/tools/java/jdk1.6.0_20-32/jre/bin/java -enableassertions -Xmx1400m -jar /home/jenkins/jenkins-slave/workspace/HBase-0.92/trunk/target/surefire/surefirebooter4703782102378142256.jar /home/jenkins/jenkins-slave/workspace/HBase-0.92/trunk/target/surefire/surefire3949665940469355164tmp /home/jenkins/jenkins-slave/workspace/HBase-0.92/trunk/target/surefire/surefire6167598571578719491tmp
    Script to find hanging test cases in build
    ------------------------------------------

    Key: HBASE-4560
    URL: https://issues.apache.org/jira/browse/HBASE-4560
    Project: HBase
    Issue Type: Improvement
    Reporter: ramkrishna.s.vasudevan
    Priority: Minor
    Attachments: findHangingTest.sh, findHangingTest.sh


    A script that parses the console output to get the hanging test names. This will be very useful to know the hanging test case names when we see in some builds all the test cases run but still the build shows failed.
    --
    This message is automatically generated by JIRA.
    If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Jesse Yates (JIRA) at Aug 28, 2012 at 1:04 am
    [ https://issues.apache.org/jira/browse/HBASE-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442860#comment-13442860 ]

    Jesse Yates commented on HBASE-4560:
    ------------------------------------

    Can we close this? Looks like its in trunk and 0.94
    Script to find hanging test cases in build
    ------------------------------------------

    Key: HBASE-4560
    URL: https://issues.apache.org/jira/browse/HBASE-4560
    Project: HBase
    Issue Type: Improvement
    Reporter: ramkrishna.s.vasudevan
    Priority: Minor
    Attachments: findHangingTest.sh, findHangingTest.sh


    A script that parses the console output to get the hanging test names. This will be very useful to know the hanging test case names when we see in some builds all the test cases run but still the build shows failed.
    --
    This message is automatically generated by JIRA.
    If you think it was sent incorrectly, please contact your JIRA administrators
    For more information on JIRA, see: http://www.atlassian.com/software/jira
  • Ted Yu (JIRA) at Aug 28, 2012 at 1:34 am
    [ https://issues.apache.org/jira/browse/HBASE-4560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Ted Yu resolved HBASE-4560.
    ---------------------------

    Resolution: Fixed
    Assignee: ramkrishna.s.vasudevan
    Script to find hanging test cases in build
    ------------------------------------------

    Key: HBASE-4560
    URL: https://issues.apache.org/jira/browse/HBASE-4560
    Project: HBase
    Issue Type: Improvement
    Reporter: ramkrishna.s.vasudevan
    Assignee: ramkrishna.s.vasudevan
    Priority: Minor
    Attachments: findHangingTest.sh, findHangingTest.sh


    A script that parses the console output to get the hanging test names. This will be very useful to know the hanging test case names when we see in some builds all the test cases run but still the build shows failed.
    --
    This message is automatically generated by JIRA.
    If you think it was sent incorrectly, please contact your JIRA administrators
    For more information on JIRA, see: http://www.atlassian.com/software/jira

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupissues @
categorieshbase, hadoop
postedOct 9, '11 at 5:33p
activeAug 28, '12 at 1:34a
posts6
users1
websitehbase.apache.org

1 user in discussion

Ted Yu (JIRA): 6 posts

People

Translate

site design / logo © 2021 Grokbase