kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bae, Jae Hyeon" <metac...@gmail.com>
Subject Re: trunk unit test failure
Date Mon, 17 Feb 2014 04:42:20 GMT
Test failures are stable with the latest trunk, I am building Mac OSX with

Java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

The followings are log snippet from gradle build:

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 junit.framework.Assert.assertTrue(Assert.java:20)
        at
kafka.server.LogOffsetTest.testGetOffsetsBeforeLatestTime(LogOffsetTest.scala:88)

kafka.server.LogOffsetTest > testGetOffsetsBeforeNow FAILED
    junit.framework.AssertionFailedError: expected:<List(20, 16, 12, 8, 4,
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.testGetOffsetsBeforeNow(LogOffsetTest.scala:169)

kafka.server.LogOffsetTest > testEmptyLogsGetOffsets FAILED
    java.lang.IndexOutOfBoundsException: 0
        at
scala.collection.immutable.Vector.checkRangeConvert(Vector.scala:104)
        at scala.collection.immutable.Vector.apply(Vector.scala:94)
        at
kafka.server.LogOffsetTest$$anonfun$testEmptyLogsGetOffsets$1.apply$mcVI$sp(LogOffsetTest.scala:136)
        at
scala.collection.immutable.Range$ByOne$class.foreach$mVc$sp(Range.scala:282)
        at
scala.collection.immutable.Range$$anon$1.foreach$mVc$sp(Range.scala:274)
        at
kafka.server.LogOffsetTest.testEmptyLogsGetOffsets(LogOffsetTest.scala:129)

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)

kafka.test.ProducerSendTest > testSendToPartition FAILED
    java.lang.IllegalMonitorStateException
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:503)
        at
kafka.test.ProducerSendTest$$anonfun$testSendToPartition$2.apply(ProducerSendTest.scala:220)
        at
kafka.test.ProducerSendTest$$anonfun$testSendToPartition$2.apply(ProducerSendTest.scala:220)
        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.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:61)
        at scala.collection.immutable.List.foreach(List.scala:45)
        at
scala.collection.TraversableLike$class.map(TraversableLike.scala:206)
        at scala.collection.immutable.List.map(List.scala:45)
        at
kafka.test.ProducerSendTest.testSendToPartition(ProducerSendTest.scala:220)


On Sun, Feb 16, 2014 at 10:48 AM, Guozhang Wang <wangguoz@gmail.com> wrote:

> Is this error stable? could you check out a clean trunk and retry unit
> tests?
>
> Guozhang
>
>
> 2014-02-14 22:56 GMT-08:00 Bae, Jae Hyeon <metacret@gmail.com>:
>
> >    - LogOffsetTest <kafka.server.LogOffsetTest.html>.
> >
> >
>  testEmptyLogsGetOffsets<kafka.server.LogOffsetTest.html#testEmptyLogsGetOffsets>
> >    - LogOffsetTest <kafka.server.LogOffsetTest.html>.
> >
> >
>  testGetOffsetsBeforeEarliestTime<kafka.server.LogOffsetTest.html#testGetOffsetsBeforeEarliestTime>
> >    - LogOffsetTest <kafka.server.LogOffsetTest.html>.
> >
> >
>  testGetOffsetsBeforeLatestTime<kafka.server.LogOffsetTest.html#testGetOffsetsBeforeLatestTime>
> >    - LogOffsetTest <kafka.server.LogOffsetTest.html>.
> >
> >
>  testGetOffsetsBeforeNow<kafka.server.LogOffsetTest.html#testGetOffsetsBeforeNow>
> >    - ProducerSendTest <kafka.test.ProducerSendTest.html>.
> >
> >
>  testSendToPartition<kafka.test.ProducerSendTest.html#testSendToPartition>
> >
> > failed.
> >
> > Can I trust trunk? :)
> >
>
>
>
> --
> -- Guozhang
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message