kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy K." <andr...@homehealthcaresos.com>
Subject Re: broken unit tests, on a fresh checkout
Date Wed, 05 Oct 2011 01:04:00 GMT
Hi,

I was hoping to compare test failures in Neha's environment to a tests 
on a recent Kafka build on a Hudson or Jenkins server, but I could not 
find one at http://test.project-voldemort.com:8080 .
Is this still the correct CI server for Kafka?  I followed the link 
provided by the "unit tests" link on the Kafka Incubator page:
     http://incubator.apache.org/kafka/



On 10/04/2011 04:39 PM, Neha Narkhede wrote:
> Hi,
>
> I see that some unit tests are failing with NoSuchMethodError, on a
> fresh checkout of Kafka. This is what I did after the checkout
>
> ./sbt update test
>
> Some tests repeatedly fail with this error -
>
> [info] == core-kafka / kafka.javaapi.integration.PrimitiveApiTest ==
> java.lang.NoSuchMethodError:
> junit.framework.TestSuite.<init>([Ljava/lang/Class;)V
> 	at org.scalatest.junit.JUnit3Suite.run(JUnit3Suite.scala:309)
> 	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)
> [error] Could not run test kafka.javaapi.integration.PrimitiveApiTest:
> java.lang.NoSuchMethodError:
> junit.framework.TestSuite.<init>([Ljava/lang/Class;)V
>
> I wonder if this is due to multiple versions of scalatest on the
> classpath. Does anyone else see this ?
>
> Thanks,
> Neha
>
>


Mime
View raw message