kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Jenkins Server <jenk...@builds.apache.org>
Subject Build failed in Jenkins: Kafka-trunk #141
Date Sat, 25 Aug 2012 06:08:29 GMT
See <https://builds.apache.org/job/Kafka-trunk/141/changes>

Changes:

[junrao] Require values in Utils.getTopic* methods to be positive; patched by Swapnil Ghike;
reviewed by Jun Rao; KAFKA-481

------------------------------------------
[...truncated 2288 lines...]
[2012-08-25 06:07:52,155] INFO Shutting down Kafka server (kafka.server.KafkaServer:61)
[2012-08-25 06:07:52,155] INFO shutdown scheduler kafka-logcleaner- (kafka.utils.KafkaScheduler:61)
[2012-08-25 06:07:52,156] INFO shutdown scheduler kafka-logflusher- (kafka.utils.KafkaScheduler:61)
[2012-08-25 06:07:52,156] INFO Closing zookeeper client... (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:52,156] INFO zkActor stopped (kafka.log.LogManager:61)
[2012-08-25 06:07:52,158] INFO Kafka server shut down completed (kafka.server.KafkaServer:61)
[info] Test Passed: testPartitionedSendToNewBrokerInExistingTopic
[info] Test Starting: testDefaultPartitioner
[2012-08-25 06:07:53,203] INFO Starting Kafka server... (kafka.server.KafkaServer:61)
[2012-08-25 06:07:53,204] INFO starting log cleaner every 600000 ms (kafka.log.LogManager:61)
[2012-08-25 06:07:53,204] INFO connecting to ZK: 127.0.0.1:2182 (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:53,221] INFO Awaiting connections on port 50701 (kafka.network.Acceptor:130)
[2012-08-25 06:07:53,222] INFO Will not load MX4J, mx4j-tools.jar is not in the classpath
(kafka.utils.Mx4jLoader$:61)
[2012-08-25 06:07:53,222] INFO Registering broker /brokers/ids/0 (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:53,227] INFO Registering broker /brokers/ids/0 succeeded with id:0,creatorId:67.195.138.60-1345874873222,host:67.195.138.60,port:50701
(kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:53,227] INFO Starting log flusher every 3000 ms with the following overrides
Map() (kafka.log.LogManager:61)
[2012-08-25 06:07:53,227] INFO Kafka server started. (kafka.server.KafkaServer:61)
[2012-08-25 06:07:53,228] INFO Starting Kafka server... (kafka.server.KafkaServer:61)
[2012-08-25 06:07:53,228] INFO starting log cleaner every 600000 ms (kafka.log.LogManager:61)
[2012-08-25 06:07:53,229] INFO connecting to ZK: 127.0.0.1:2182 (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:53,232] INFO Awaiting connections on port 43800 (kafka.network.Acceptor:130)
[2012-08-25 06:07:53,232] INFO Will not load MX4J, mx4j-tools.jar is not in the classpath
(kafka.utils.Mx4jLoader$:61)
[2012-08-25 06:07:53,233] INFO Registering broker /brokers/ids/1 (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:53,234] INFO Registering broker /brokers/ids/1 succeeded with id:1,creatorId:67.195.138.60-1345874873233,host:67.195.138.60,port:43800
(kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:53,234] INFO Starting log flusher every 3000 ms with the following overrides
Map() (kafka.log.LogManager:61)
[2012-08-25 06:07:53,235] INFO Kafka server started. (kafka.server.KafkaServer:61)
[2012-08-25 06:07:53,235] INFO Connected to localhost:50701 for producing (kafka.producer.SyncProducer:61)
[2012-08-25 06:07:53,236] INFO Connected to localhost:43800 for producing (kafka.producer.SyncProducer:61)
[2012-08-25 06:07:53,236] INFO Created log for 'test-topic'-0 (kafka.log.LogManager:61)
[2012-08-25 06:07:53,236] INFO Begin registering broker topic /brokers/topics/test-topic/0
with 4 partitions (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:53,236] INFO Created log for 'test-topic'-2 (kafka.log.LogManager:61)
[2012-08-25 06:07:53,237] INFO Begin registering broker topic /brokers/topics/test-topic/1
with 4 partitions (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:53,246] INFO End registering broker topic /brokers/topics/test-topic/0 (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:53,246] INFO End registering broker topic /brokers/topics/test-topic/1 (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:53,737] INFO Closing all async producers (kafka.producer.ProducerPool:61)
[2012-08-25 06:07:53,738] INFO Shutting down Kafka server (kafka.server.KafkaServer:61)
[2012-08-25 06:07:53,739] INFO shutdown scheduler kafka-logcleaner- (kafka.utils.KafkaScheduler:61)
[2012-08-25 06:07:53,740] INFO shutdown scheduler kafka-logflusher- (kafka.utils.KafkaScheduler:61)
[2012-08-25 06:07:53,740] INFO Closing zookeeper client... (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:53,740] INFO zkActor stopped (kafka.log.LogManager:61)
[2012-08-25 06:07:53,750] INFO Kafka server shut down completed (kafka.server.KafkaServer:61)
[2012-08-25 06:07:53,751] INFO Shutting down Kafka server (kafka.server.KafkaServer:61)
[2012-08-25 06:07:53,751] INFO shutdown scheduler kafka-logcleaner- (kafka.utils.KafkaScheduler:61)
[2012-08-25 06:07:53,752] INFO shutdown scheduler kafka-logflusher- (kafka.utils.KafkaScheduler:61)
[2012-08-25 06:07:53,752] INFO Closing zookeeper client... (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:53,752] INFO zkActor stopped (kafka.log.LogManager:61)
[2012-08-25 06:07:53,753] INFO Kafka server shut down completed (kafka.server.KafkaServer:61)
[info] Test Passed: testDefaultPartitioner
[info] == core-kafka / kafka.producer.ProducerTest ==
[info] 
[info] == core-kafka / kafka.log4j.KafkaLog4jAppenderTest ==
[info] Test Starting: testKafkaLog4jConfigs
[2012-08-25 06:07:54,767] INFO Starting Kafka server... (kafka.server.KafkaServer:61)
[2012-08-25 06:07:54,767] INFO starting log cleaner every 600000 ms (kafka.log.LogManager:61)
[2012-08-25 06:07:54,767] INFO connecting to ZK: 127.0.0.1:2182 (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:54,786] INFO Awaiting connections on port 60023 (kafka.network.Acceptor:130)
[2012-08-25 06:07:54,786] INFO Will not load MX4J, mx4j-tools.jar is not in the classpath
(kafka.utils.Mx4jLoader$:61)
[2012-08-25 06:07:54,786] INFO Registering broker /brokers/ids/0 (kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:54,794] INFO Registering broker /brokers/ids/0 succeeded with id:0,creatorId:67.195.138.60-1345874874787,host:67.195.138.60,port:60023
(kafka.server.KafkaZooKeeper:61)
[2012-08-25 06:07:54,794] INFO Starting log flusher every 3000 ms with the following overrides
Map() (kafka.log.LogManager:61)
[2012-08-25 06:07:54,795] INFO Kafka server started. (kafka.server.KafkaServer:61)
[2012-08-25 06:07:54,795] INFO Starting Kafka server... (kafka.server.KafkaServer:61)
[2012-08-25 06:07:54,796] INFO starting log cleaner every 300000 ms (kafka.log.LogManager:61)
[2012-08-25 06:07:54,798] INFO Awaiting connections on port 50143 (kafka.network.Acceptor:130)
[2012-08-25 06:07:54,798] INFO Will not load MX4J, mx4j-tools.jar is not in the classpath
(kafka.utils.Mx4jLoader$:61)
[2012-08-25 06:07:54,798] INFO Starting log flusher every 3000 ms with the following overrides
Map() (kafka.log.LogManager:61)
[2012-08-25 06:07:54,799] INFO Kafka server started. (kafka.server.KafkaServer:61)
log4j:WARN Using default encoder - kafka.serializer.StringEncoder
log4j:WARN No appenders could be found for logger (kafka.producer.ProducerPool).
log4j:WARN Please initialize the log4j system properly.
[info] Test Passed: testKafkaLog4jConfigs
[info] Test Starting: testBrokerListLog4jAppends
log4j:WARN Using default encoder - kafka.serializer.StringEncoder
[info] Test Passed: testBrokerListLog4jAppends
[info] Test Starting: testZkConnectLog4jAppends
log4j:WARN Using default encoder - kafka.serializer.StringEncoder
[info] Test Passed: testZkConnectLog4jAppends
[info] == core-kafka / kafka.log4j.KafkaLog4jAppenderTest ==
[info] 
[info] == core-kafka / kafka.producer.AsyncProducerTest ==
[info] Test Starting: testProducerQueueSize
Queue is full..
[info] Test Passed: testProducerQueueSize
[info] Test Starting: testAddAfterQueueClosed
[info] Test Passed: testAddAfterQueueClosed
[info] Test Starting: testBatchSize
[info] Test Passed: testBatchSize
[info] Test Starting: testQueueTimeExpired
[info] Test Passed: testQueueTimeExpired
[info] Test Starting: testSenderThreadShutdown
[info] Test Passed: testSenderThreadShutdown
[info] Test Starting: testCollateEvents
[info] Test Passed: testCollateEvents
[info] Test Starting: testCollateAndSerializeEvents
[info] Test Passed: testCollateAndSerializeEvents
[info] == core-kafka / kafka.producer.AsyncProducerTest ==
[info] 
[info] == core-kafka / kafka.integration.AutoOffsetResetTest ==
[info] Test Starting: testEarliestOffsetResetForward(kafka.integration.AutoOffsetResetTest)
[info] Test Passed: testEarliestOffsetResetForward(kafka.integration.AutoOffsetResetTest)
[info] Test Starting: testEarliestOffsetResetBackward(kafka.integration.AutoOffsetResetTest)
[info] Test Passed: testEarliestOffsetResetBackward(kafka.integration.AutoOffsetResetTest)
[info] Test Starting: testLatestOffsetResetForward(kafka.integration.AutoOffsetResetTest)
[error] Test Failed: testLatestOffsetResetForward(kafka.integration.AutoOffsetResetTest)
junit.framework.AssertionFailedError: expected:<0> but was:<3>
	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 junit.framework.Assert.assertEquals(Assert.java:201)
	at kafka.integration.AutoOffsetResetTest.testLatestOffsetResetForward(AutoOffsetResetTest.scala:218)
	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 junit.framework.TestCase.runTest(TestCase.java:164)
	at junit.framework.TestCase.runBare(TestCase.java:130)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:120)
	at junit.framework.TestSuite.runTest(TestSuite.java:228)
	at junit.framework.TestSuite.run(TestSuite.java:223)
	at junit.framework.TestSuite.runTest(TestSuite.java:228)
	at junit.framework.TestSuite.run(TestSuite.java:223)
	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)
[info] == core-kafka / kafka.integration.AutoOffsetResetTest ==
[info] 
[info] == core-kafka / kafka.integration.PrimitiveApiTest ==
[info] Test Starting: testProduceAndMultiFetch(kafka.integration.PrimitiveApiTest)
[info] Test Passed: testProduceAndMultiFetch(kafka.integration.PrimitiveApiTest)
[info] Test Starting: testProduceAndMultiFetchWithCompression(kafka.integration.PrimitiveApiTest)
[info] Test Passed: testProduceAndMultiFetchWithCompression(kafka.integration.PrimitiveApiTest)
[info] Test Starting: testMultiProduce(kafka.integration.PrimitiveApiTest)
[info] Test Passed: testMultiProduce(kafka.integration.PrimitiveApiTest)
[info] Test Starting: testMultiProduceWithCompression(kafka.integration.PrimitiveApiTest)
[info] Test Passed: testMultiProduceWithCompression(kafka.integration.PrimitiveApiTest)
[info] Test Starting: testDefaultEncoderProducerAndFetch(kafka.integration.PrimitiveApiTest)
[info] Test Passed: testDefaultEncoderProducerAndFetch(kafka.integration.PrimitiveApiTest)
[info] Test Starting: testDefaultEncoderProducerAndFetchWithCompression(kafka.integration.PrimitiveApiTest)
[info] Test Passed: testDefaultEncoderProducerAndFetchWithCompression(kafka.integration.PrimitiveApiTest)
[info] Test Starting: testConsumerNotExistTopic(kafka.integration.PrimitiveApiTest)
[info] Test Passed: testConsumerNotExistTopic(kafka.integration.PrimitiveApiTest)
[info] == core-kafka / kafka.integration.PrimitiveApiTest ==
[info] 
[info] == core-kafka / kafka.javaapi.producer.ProducerTest ==
[info] Test Starting: testSend
[info] Test Passed: testSend
[info] Test Starting: testSendSingleMessage
[info] Test Passed: testSendSingleMessage
[info] Test Starting: testInvalidPartition
[info] Test Passed: testInvalidPartition
[info] Test Starting: testSyncProducerPool
[info] Test Passed: testSyncProducerPool
[info] Test Starting: testAsyncProducerPool
[info] Test Passed: testAsyncProducerPool
[info] Test Starting: testSyncUnavailableProducerException
[info] Test Passed: testSyncUnavailableProducerException
[info] Test Starting: testAsyncUnavailableProducerException
[info] Test Passed: testAsyncUnavailableProducerException
[info] Test Starting: testConfigBrokerPartitionInfoWithPartitioner
[info] Test Passed: testConfigBrokerPartitionInfoWithPartitioner
[info] Test Starting: testConfigBrokerPartitionInfo
[info] Test Passed: testConfigBrokerPartitionInfo
[info] Test Starting: testZKSendToNewTopic
[info] Test Passed: testZKSendToNewTopic
[info] Test Starting: testZKSendWithDeadBroker
[info] Test Passed: testZKSendWithDeadBroker
[info] Test Starting: testPartitionedSendToNewTopic
[info] Test Passed: testPartitionedSendToNewTopic
[info] Test Starting: testPartitionedSendToNewBrokerInExistingTopic
[info] Test Passed: testPartitionedSendToNewBrokerInExistingTopic
[info] Test Starting: testDefaultPartitioner
[info] Test Passed: testDefaultPartitioner
[info] == core-kafka / kafka.javaapi.producer.ProducerTest ==
[info] 
[info] == core-kafka / kafka.message.FileMessageSetTest ==
[info] Test Starting: testWrittenEqualsRead
[info] Test Passed: testWrittenEqualsRead
[info] Test Starting: testIteratorIsConsistent
[info] Test Passed: testIteratorIsConsistent
[info] Test Starting: testSizeInBytes
[info] Test Passed: testSizeInBytes
[info] Test Starting: testWriteTo
[info] Test Passed: testWriteTo
[info] Test Starting: testFileSize
[info] Test Passed: testFileSize
[info] Test Starting: testIterationOverPartialAndTruncation
[info] Test Passed: testIterationOverPartialAndTruncation
[info] Test Starting: testIterationDoesntChangePosition
[info] Test Passed: testIterationDoesntChangePosition
[info] Test Starting: testRead
[info] Test Passed: testRead
[info] == core-kafka / kafka.message.FileMessageSetTest ==
[info] 
[info] == core-kafka / kafka.message.CompressionUtilTest ==
[info] Test Starting: testSimpleCompressDecompress
[info] Test Passed: testSimpleCompressDecompress
[info] Test Starting: testComplexCompressDecompress
[info] Test Passed: testComplexCompressDecompress
[info] Test Starting: testSnappyCompressDecompressExplicit
[info] Test Passed: testSnappyCompressDecompressExplicit
[info] == core-kafka / kafka.message.CompressionUtilTest ==
[info] 
[info] == core-kafka / kafka.log.LogCorruptionTest ==
[info] Test Starting: testMessageSizeTooLarge(kafka.log.LogCorruptionTest)
This is good
[info] Test Passed: testMessageSizeTooLarge(kafka.log.LogCorruptionTest)
[info] == core-kafka / kafka.log.LogCorruptionTest ==
[info] 
[info] == core-kafka / Test cleanup 1 ==
[info] Deleting directory /tmp/sbt_dc8c451e
[info] == core-kafka / Test cleanup 1 ==
[info] 
[info] == core-kafka / test-finish ==
[error] Failed: : Total 140, Failed 2, Errors 0, Passed 138, Skipped 0
[info] == core-kafka / test-finish ==
[info] 
[info] == core-kafka / test-cleanup ==
[info] == core-kafka / test-cleanup ==
[error] Error running kafka.zk.ZKEphemeralTest: Test FAILED
[error] Error running kafka.integration.AutoOffsetResetTest: Test FAILED
[error] Error running test: One or more subtasks failed
[info] 
[info] Total time: 131 s, completed Aug 25, 2012 6:08:28 AM
[info] 
[info] Total session time: 132 s, completed Aug 25, 2012 6:08:28 AM
[error] Error during build.
Build step 'Execute shell' marked build as failure

Mime
View raw message