incubator-kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Rao (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-220) LogManager test fails on linux
Date Tue, 06 Mar 2012 02:49:57 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jun Rao updated KAFKA-220:
--------------------------

    Attachment: kafka-220.patch
    
> LogManager test fails on linux
> ------------------------------
>
>                 Key: KAFKA-220
>                 URL: https://issues.apache.org/jira/browse/KAFKA-220
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.7
>         Environment: nnarkhed-ld:~ nnarkhed$ uname -r
> 2.6.32-131.4.1.el6.x86_64
>            Reporter: Neha Narkhede
>            Priority: Critical
>              Labels: newbie
>             Fix For: 0.7.1
>
>         Attachments: kafka-220.patch
>
>
> On Linux, LogManagerTest fails on each and every run
> [info] Test Starting: testCleanupExpiredSegments
> [error] Test Failed: testCleanupExpiredSegments
> junit.framework.AssertionFailedError: Now there should only be only one segment. expected:<1>
but was:<12>
>         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:195)
>         at kafka.log.LogManagerTest.testCleanupExpiredSegments(LogManagerTest.scala:87)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
>         at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
>         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>         at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
>         at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
>         at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71)
>         at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
>         at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
>         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
>         at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
>         at org.junit.internal.runners.CompositeRunner.run(CompositeRunner.java:29)
>         at org.junit.runner.JUnitCore.run(JUnitCore.java:121)
>         at org.junit.runner.JUnitCore.run(JUnitCore.java:100)
>         at org.junit.runner.JUnitCore.run(JUnitCore.java:91)
>         at org.scalatest.junit.JUnitSuite$class.run(JUnitSuite.scala:261)
>         at kafka.log.LogManagerTest.run(LogManagerTest.scala:28)
>         at org.scalatest.tools.ScalaTestFramework$ScalaTestRunner.run(ScalaTestFramework.scala:40)
>         at sbt.TestRunner.run(TestFramework.scala:53)
>         at sbt.TestRunner.runTest$1(TestFramework.scala:67)
>         at sbt.TestRunner.run(TestFramework.scala:76)
>         at sbt.TestFramework$$anonfun$10$$anonfun$apply$11.runTest$2(TestFramework.scala:194)
>         at sbt.TestFramework$$anonfun$10$$anonfun$apply$11$$anonfun$apply$12.apply(TestFramework.scala:205)
>         at sbt.TestFramework$$anonfun$10$$anonfun$apply$11$$anonfun$apply$12.apply(TestFramework.scala:205)
>         at sbt.NamedTestTask.run(TestFramework.scala:92)
>         at sbt.ScalaProject$$anonfun$sbt$ScalaProject$$toTask$1.apply(ScalaProject.scala:193)
>         at sbt.ScalaProject$$anonfun$sbt$ScalaProject$$toTask$1.apply(ScalaProject.scala:193)
>         at sbt.TaskManager$Task.invoke(TaskManager.scala:62)
>         at sbt.impl.RunTask.doRun$1(RunTask.scala:77)
>         at sbt.impl.RunTask.runTask(RunTask.scala:85)
>         at sbt.impl.RunTask.sbt$impl$RunTask$$runIfNotRoot(RunTask.scala:60)
>         at sbt.impl.RunTask$$anonfun$runTasksExceptRoot$2.apply(RunTask.scala:48)
>         at sbt.impl.RunTask$$anonfun$runTasksExceptRoot$2.apply(RunTask.scala:48)
>         at sbt.Distributor$Run$Worker$$anonfun$2.apply(ParallelRunner.scala:131)
>         at sbt.Distributor$Run$Worker$$anonfun$2.apply(ParallelRunner.scala:131)
>         at sbt.Control$.trapUnit(Control.scala:19)
>         at sbt.Distributor$Run$Worker.run(ParallelRunner.scala:131)
> [info] Test Starting: testCleanupSegmentsToMaintainSize

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message