hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12881) TestFastFail is not compatible with surefire.rerunFailingTestsCount
Date Mon, 19 Jan 2015 23:52:34 GMT

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

Nick Dimiduk commented on HBASE-12881:
--------------------------------------

{noformat}
$ mvn clean test -Dsurefire.rerunFailingTestsCount=5 -Dtest=TestFastFail
...
Running org.apache.hadoop.hbase.client.TestFastFail
Tests run: 6, Failures: 6, Errors: 0, Skipped: 0, Time elapsed: 93.453 sec <<< FAILURE!
- in org.apache.hadoop.hbase.client.TestFastFail
testFastFail(org.apache.hadoop.hbase.client.TestFastFail)  Time elapsed: 12.936 sec  <<<
FAILURE!
java.lang.AssertionError: Only few thread should ideally be waiting for the dead regionserver
to be coming back. numBlockedWorkers:5 threads that retried : 1
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.apache.hadoop.hbase.client.TestFastFail.testFastFail(TestFastFail.java:281)

testFastFail(org.apache.hadoop.hbase.client.TestFastFail)  Time elapsed: 11.76 sec  <<<
FAILURE!
java.lang.AssertionError: Only few thread should ideally be waiting for the dead regionserver
to be coming back. numBlockedWorkers:23 threads that retried : 1
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.apache.hadoop.hbase.client.TestFastFail.testFastFail(TestFastFail.java:281)

testFastFail(org.apache.hadoop.hbase.client.TestFastFail)  Time elapsed: 11.742 sec  <<<
FAILURE!
java.lang.AssertionError: Only few thread should ideally be waiting for the dead regionserver
to be coming back. numBlockedWorkers:2 threads that retried : 1
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.apache.hadoop.hbase.client.TestFastFail.testFastFail(TestFastFail.java:281)

testFastFail(org.apache.hadoop.hbase.client.TestFastFail)  Time elapsed: 11.935 sec  <<<
FAILURE!
java.lang.AssertionError: Only few thread should ideally be waiting for the dead regionserver
to be coming back. numBlockedWorkers:17 threads that retried : 1
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.apache.hadoop.hbase.client.TestFastFail.testFastFail(TestFastFail.java:281)

testFastFail(org.apache.hadoop.hbase.client.TestFastFail)  Time elapsed: 11.752 sec  <<<
FAILURE!
java.lang.AssertionError: Only few thread should ideally be waiting for the dead regionserver
to be coming back. numBlockedWorkers:2 threads that retried : 1
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.apache.hadoop.hbase.client.TestFastFail.testFastFail(TestFastFail.java:281)

testFastFail(org.apache.hadoop.hbase.client.TestFastFail)  Time elapsed: 11.781 sec  <<<
FAILURE!
java.lang.AssertionError: Only few thread should ideally be waiting for the dead regionserver
to be coming back. numBlockedWorkers:3 threads that retried : 1
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.assertTrue(Assert.java:41)
        at org.apache.hadoop.hbase.client.TestFastFail.testFastFail(TestFastFail.java:281)
{noformat}

> TestFastFail is not compatible with surefire.rerunFailingTestsCount
> -------------------------------------------------------------------
>
>                 Key: HBASE-12881
>                 URL: https://issues.apache.org/jira/browse/HBASE-12881
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>            Reporter: Nick Dimiduk
>            Priority: Minor
>             Fix For: 1.0.0, 2.0.0, 1.1.0
>
>         Attachments: HBASE-12881.00.patch
>
>
> TestFastFail makes uses of a static counter for tracking test behavior. It does not reset
this counter across test runs, which makes it incompatible with how we run tests in jenkins.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message