Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> Tests failing on 0.7


Copy link to this message
-
Re: Tests failing on 0.7
Hi Neha, sorry for the delay...
This are some of the tests I see failing while building src-tar.gz
downloaded from incubator.apache.org...

[error] Test Failed: testCleanupExpiredSegments
junit.framework.AssertionFailedError: Now there should only be only one
segment. expected:<1> but was:<13>
        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:77)

[error] Test Failed: testPartitionedSendToNewTopic
java.lang.AssertionError:
  Unexpected method call send("test-topic1", 0,
ByteBufferMessageSet(MessageAndOffset(message(magic = 1, attributes = 0,
 crc = 2326977762, payload = java.nio.HeapByteBuffer[pos=0 lim=5
cap=5]),15), )):
    close(): expected: 1, actual: 0
        at
org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:45)
        at
org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:73)
        at
org.easymock.internal.ClassProxyFactory$MockMethodInterceptor.intercept(ClassProxyFactory.java:92)
        at
kafka.producer.SyncProducer$$EnhancerByCGLIB$$1cc94208.send(<generated>)
        at
kafka.producer.ProducerPool$$anonfun$send$1.apply$mcVI$sp(ProducerPool.scala:116)
        at
kafka.producer.ProducerPool$$anonfun$send$1.apply(ProducerPool.scala:102)
        at
kafka.producer.ProducerPool$$anonfun$send$1.apply(ProducerPool.scala:102)
        at
scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:57)
        at
scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:43)
        at kafka.producer.ProducerPool.send(ProducerPool.scala:102)
        at kafka.producer.Producer.zkSend(Producer.scala:143)
        at kafka.producer.Producer.send(Producer.scala:105)
        at
kafka.producer.ProducerTest.testPartitionedSendToNewTopic(ProducerTest.scala:564)

[error] Test Failed: testZKSendToExistingTopicWithNoBrokers
junit.framework.AssertionFailedError: Message set should have 1 message
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at
kafka.producer.ProducerTest.testZKSendToExistingTopicWithNoBrokers(ProducerTest.scala:509)

[error] Test Failed: testZKSendToNewTopic
junit.framework.AssertionFailedError: Message set should have 1 message
        at junit.framework.Assert.fail(Assert.java:47)
        at junit.framework.Assert.assertTrue(Assert.java:20)
        at
kafka.producer.ProducerTest.testZKSendToNewTopic(ProducerTest.scala:419)

Any ideas? Is there a way I can "disable" tests (assuming Kafka still
works)?

El 23 de abril de 2012 17:12, Neha Narkhede <[EMAIL PROTECTED]>escribió:

> Roman,
>
> Please could you send around the failure stack trace ?
>
> Thanks,
> Neha
>
> On Mon, Apr 23, 2012 at 1:09 PM, Roman Garcia <[EMAIL PROTECTED]>
> wrote:
> > Hi, I'm trying to package 0.7 using "release-zip" in an attempt to obtain
> > the usual "tar.gz", but I keep getting failures on unit/integration
> tests.
> >
> > Is there something else I shoud do, besides "sbt update release-zip"?
> >
> > Regards,
> > Roman
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB