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

Bobby Tang commented on KAFKA-2541:
-----------------------------------

after above fix, those three failure test cases pass now. 
{code}
529 tests completed, 1 failed
:core:test FAILED

FAILURE: Build failed with an exception.

The failure one is now another one, which should be another issue. 
MetricsTest. testMetricsLeak

{code}

> Consistent failure of unit test cases 
> --------------------------------------
>
>                 Key: KAFKA-2541
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2541
>             Project: Kafka
>          Issue Type: Bug
>          Components: consumer
>         Environment: Environments: Mac OSX and Ubuntu
>            Reporter: Bobby Tang
>            Assignee: Neha Narkhede
>            Priority: Minor
>
> Env 
> {code:title=Mac OSX} 
> $ sw_vers 
> ProductName:  Mac OS X 
> ProductVersion:       10.10.5 
> BuildVersion: 14F27 
> {code} 
> {code:title=Ubuntu} 
> ~/opensource/kafka$ lsb_release -a 
> No LSB modules are available. 
> Distributor ID:       Ubuntu 
> Description:  Ubuntu 12.04.5 LTS 
> Release:      12.04 
> Codename:     precise 
> {code} 
> {code:title=Failure test cases on Mac OS X}
> $ ./gradlew test
> org.apache.kafka.common.utils.AbstractIteratorTest > testIterator PASSED
> 376 tests completed, 3 failed
> :clients:test FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':clients:test'.
> > There were failing tests. See the report at: 
> > file:///Users/bobbytang/opensource/kafka/clients/build/reports/tests/index.html
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> BUILD FAILED
> KafkaConsumerTest. testConstructorClose
> KafkaProducerTest. testConstructorFailureCloseResource
> SelectorTest. testNoRouteToHost
> {code}
> {code:title=Failure test cases on Ubuntu}
> $ ./gradlew test
> 376 tests completed, 3 failed
> :clients:test FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':clients:test'.
> > There were failing tests. See the report at: 
> > file:///home/opensource/kafka/clients/build/reports/tests/index.html
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output.
> BUILD FAILED
> Total time: 2 mins 24.664 secs
>     KafkaConsumerTest. testConstructorClose
>     KafkaProducerTest. testConstructorFailureCloseResource
>     SelectorTest. testNoRouteToHost
> {code}



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

Reply via email to