[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15691106#comment-15691106 ] Guozhang Wang commented on KAFKA-1377: -- [~ijuma] Is this still an issue? I cannot remember seeing this failure in recent Jenkins builds. > 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 > Labels: newbie > Fix For: 0.10.1.1 > > 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:but > was:
> 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.3.4#6332)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15066882#comment-15066882 ] Guozhang Wang commented on KAFKA-1377: -- [~pyritschard] Which Kafka version are you running for these tests? > 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 > Labels: newbie > Fix For: 0.10.0.0 > > 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:but > was:
> 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.3.4#6332)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15067096#comment-15067096 ] Ismael Juma commented on KAFKA-1377: [~pyritschard], this JIRA is about LogOffsetTest, if you are seeing other failures (ie Sasl related), please file a separate issue (in case it hasn't been filed already). > 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 > Labels: newbie > Fix For: 0.10.0.0 > > 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:but > was:
> 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.3.4#6332)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15067053#comment-15067053 ] Pierre-Yves Ritschard commented on KAFKA-1377: -- [~guozhang] I'm testing against trunk. > 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 > Labels: newbie > Fix For: 0.10.0.0 > > 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:but > was:
> 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.3.4#6332)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15067138#comment-15067138 ] Pierre-Yves Ritschard commented on KAFKA-1377: -- [~ijuma] will do. it looked to me as a generalization of the previous problem. > 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 > Labels: newbie > Fix For: 0.10.0.0 > > 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:but > was:
> 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.3.4#6332)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15066345#comment-15066345 ] Pierre-Yves Ritschard commented on KAFKA-1377: -- FWIW, bumping the waitTime parameter in TestUtils.scala does not change the behavior, so this is not timing related (waiting for 15s instead of 5s still exhibits the same behavior). > 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 > Labels: newbie > Fix For: 0.10.0.0 > > 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:but > was:
> 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.3.4#6332)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14123041#comment-14123041 ] Manikumar Reddy commented on KAFKA-1377: Yes, these failures are consistent on my machine. My machine configuration: 32 bit Ubuntu OS, i5 processor, 4GB 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 Labels: newbie Fix For: 0.9.0 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.3.4#6332)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14122012#comment-14122012 ] Guozhang Wang commented on KAFKA-1377: -- Pushing to 0.9 as for now, [~omkreddy] is it still a consistently reproducible issue on your side? 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.3.4#6332)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14060720#comment-14060720 ] Jun Rao commented on KAFKA-1377: Is this on trunk? Thanks, 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)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13967303#comment-13967303 ] Jun Rao commented on KAFKA-1377: Updated reviewboard https://reviews.apache.org/r/20186/ against branch origin/trunk 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 Attachments: KAFKA-1377.patch, KAFKA-1377_2014-04-11_17:42:13.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)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13967323#comment-13967323 ] Jun Rao commented on KAFKA-1377: Updated reviewboard https://reviews.apache.org/r/20186/ against branch origin/trunk 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 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)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13964400#comment-13964400 ] Jun Rao commented on KAFKA-1377: Not sure the exact cause. One potential issue that I saw is the following. We call waitUntilTrue(() = isLeaderLocalOnBroker(topic, part, server), 1000) before the assertion. However, if waitUntilTrue returns false. We proceed. We should add the assertion on waitUntilTrue and probably increase the wait time. 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 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)
[jira] [Commented] (KAFKA-1377) transient unit test failure in LogOffsetTest
[ https://issues.apache.org/jira/browse/KAFKA-1377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13964873#comment-13964873 ] Jun Rao commented on KAFKA-1377: Created reviewboard https://reviews.apache.org/r/20186/ against branch origin/trunk 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 Attachments: KAFKA-1377.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)