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

Manikumar Reddy commented on KAFKA-1377:
----------------------------------------

LogOffsetTests are consistently failing on my machine.

kafka.server.LogOffsetTest > testGetOffsetsBeforeLatestTime FAILED
junit.framework.AssertionFailedError: Log for partition [topic,0] should be 
created
at junit.framework.Assert.fail(Assert.java:47)
at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:589)
at 
kafka.server.LogOffsetTest.testGetOffsetsBeforeLatestTime(LogOffsetTest.scala:85)

kafka.server.LogOffsetTest > testGetOffsetsBeforeEarliestTime FAILED
    junit.framework.AssertionFailedError: Leader should be elected
        at junit.framework.Assert.fail(Assert.java:47)
        at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:589)
        at 
kafka.server.LogOffsetTest.testGetOffsetsBeforeEarliestTime(LogOffsetTest.scala:188)

kafka.server.LogOffsetTest > testEmptyLogsGetOffsets FAILED
    junit.framework.AssertionFailedError: Partition [kafka,0] metadata not 
propagated after 5000 ms
        at junit.framework.Assert.fail(Assert.java:47)
        at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:589)
        at 
kafka.utils.TestUtils$.waitUntilMetadataIsPropagated(TestUtils.scala:629)
        at 
kafka.utils.TestUtils$$anonfun$createTopic$1.apply(TestUtils.scala:174)
        at 
kafka.utils.TestUtils$$anonfun$createTopic$1.apply(TestUtils.scala:173)
        at 
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:206)
        at 
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:206)
        at scala.collection.immutable.Range$ByOne$class.foreach(Range.scala:285)
        at scala.collection.immutable.Range$$anon$2.foreach(Range.scala:265)
        at scala.collection.TraversableLike$class.map(TraversableLike.scala:206)
        at scala.collection.immutable.Range.map(Range.scala:39)
        at kafka.utils.TestUtils$.createTopic(TestUtils.scala:173)
        at 
kafka.server.LogOffsetTest.testEmptyLogsGetOffsets(LogOffsetTest.scala:122)

kafka.server.LogOffsetTest > testGetOffsetsBeforeNow FAILED
    junit.framework.AssertionFailedError: Leader should be elected
        at junit.framework.Assert.fail(Assert.java:47)
        at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:589)
        at 
kafka.server.LogOffsetTest.testGetOffsetsBeforeNow(LogOffsetTest.scala:160)


> transient unit test failure in LogOffsetTest
> --------------------------------------------
>
>                 Key: KAFKA-1377
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1377
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>             Fix For: 0.8.2
>
>         Attachments: KAFKA-1377.patch, KAFKA-1377_2014-04-11_17:42:13.patch, 
> KAFKA-1377_2014-04-11_18:14:45.patch
>
>
> Saw the following transient unit test failure.
> kafka.server.LogOffsetTest > testGetOffsetsBeforeEarliestTime FAILED
>     junit.framework.AssertionFailedError: expected:<List(0)> but 
> was:<Vector()>
>         at junit.framework.Assert.fail(Assert.java:47)
>         at junit.framework.Assert.failNotEquals(Assert.java:277)
>         at junit.framework.Assert.assertEquals(Assert.java:64)
>         at junit.framework.Assert.assertEquals(Assert.java:71)
>         at 
> kafka.server.LogOffsetTest.testGetOffsetsBeforeEarliestTime(LogOffsetTest.scala:198)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to