Build: #826 failed

Job: Kafka failed

Stages & jobs

  1. Default Stage

Job result summary

Completed
Duration
6 minutes
Agent
bamboo-21.af.pivotal.io
Revision
334fce4f6e666d1cc2217afebcde6dd3a24bd206 334fce4f6e666d1cc2217afebcde6dd3a24bd206
Total tests
155
Failing since
#824 (Rebuilt by Simon Basle)
Fixed in
#833 (Manual run by Stephane Maldini)

Tests

  • 155 tests in total
  • 3 tests failed
  • 1 test was fixed
  • 6 minutes taken in total.
Existing test failures 3
Status Test Failing since Duration
java.lang.AssertionError: java.lang.AssertionError: expectation failed (expected no event: onNext(ConsumerRecord(topic = offsetResetLatest_332429031882550, partition = 2, offset = 0, CreateTime = 1569344975474, serialized key size = 4, serialized value size = 9, headers = RecordHeaders(headers = [], isReadOnly = false), key = 2, value = Message 2)))
java.lang.AssertionError: expectation failed (expected no event: onNext(ConsumerRecord(topic = offsetResetLatest_332429031882550, partition = 2, offset = 0, CreateTime = 1569344975474, serialized key size = 4, serialized value size = 9, headers = RecordHeaders(headers = [], isReadOnly = false), key = 2, value = Message 2)))
	at reactor.test.MessageFormatter.assertionError(MessageFormatter.java:115)
	at reactor.test.MessageFormatter.failPrefix(MessageFormatter.java:104)
	at reactor.test.MessageFormatter.fail(MessageFormatter.java:73)
	at reactor.test.DefaultStepVerifierBuilder$DefaultVerifySubscriber.setFailure(DefaultStepVerifierBuilder.java:1274)
	at reactor.test.DefaultStepVerifierBuilder$DefaultVerifySubscriber.onExpectation(DefaultStepVerifierBuilder.java:1366)
	at reactor.test.DefaultStepVerifierBuilder$DefaultVerifySubscriber.onNext(DefaultStepVerifierBuilder.java:1083)
(29 more lines...)
java.lang.AssertionError: java.lang.AssertionError: expected:<[12, 16]> but was:<[0, 4, 8]>
java.lang.AssertionError: expected:<[12, 16]> but was:<[0, 4, 8]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at reactor.kafka.AbstractKafkaTest.checkConsumedMessages(AbstractKafkaTest.java:152)
	at reactor.kafka.AbstractKafkaTest.checkConsumedMessages(AbstractKafkaTest.java:144)
(53 more lines...)
java.lang.AssertionError: java.lang.AssertionError: expected:<[5, 9, 13, 17]> but was:<[1, 5, 9, 13, 17]>
java.lang.AssertionError: expected:<[5, 9, 13, 17]> but was:<[1, 5, 9, 13, 17]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at reactor.kafka.AbstractKafkaTest.checkConsumedMessages(AbstractKafkaTest.java:152)
	at reactor.kafka.AbstractKafkaTest.checkConsumedMessages(AbstractKafkaTest.java:144)
(53 more lines...)
Fixed tests 1
Status Test Failing since Duration
Successful KafkaReceiverTest autoAckPollWithIntervalWillNotFailOnOverflow History
Failing since build #825 (Manual run by Simon Basle) 7 secs

Error summary

The build generated some errors. See the full build log for more details.

        consumer.poll(requestTimeoutMillis);
                ^
  where K,V are type-variables:
    K extends Object declared in interface Consumer
    V extends Object declared in interface Consumer
/opt/bamboo-home/xml-data/build-dir/REACTOR-RKAFKA-AERON/src/test/java/reactor/kafka/sender/KafkaSenderTest.java:558: warning: [deprecation] poll(long) in Consumer has been deprecated
            ConsumerRecords<Integer, String> records = consumer.poll(1000);
                                                               ^
  where K,V are type-variables:
    K extends Object declared in interface Consumer
    V extends Object declared in interface Consumer
/opt/bamboo-home/xml-data/build-dir/REACTOR-RKAFKA-AERON/src/test/java/reactor/kafka/sender/KafkaSenderTest.java:565: warning: [deprecation] poll(long) in Consumer has been deprecated
        ConsumerRecords<Integer, String> records = consumer.poll(500);
                                                           ^
  where K,V are type-variables:
    K extends Object declared in interface Consumer
    V extends Object declared in interface Consumer
/opt/bamboo-home/xml-data/build-dir/REACTOR-RKAFKA-AERON/src/test/java/reactor/kafka/receiver/ReceiverOptionsTest.java:46: warning: [deprecation] toImmutable() in ReceiverOptions has been deprecated
        ReceiverOptions<String, String> immutableOptions = receiverOptions.toImmutable();
                                                                          ^
  where K,V are type-variables:
    K extends Object declared in interface ReceiverOptions
    V extends Object declared in interface ReceiverOptions
/opt/bamboo-home/xml-data/build-dir/REACTOR-RKAFKA-AERON/src/test/java/reactor/kafka/receiver/internals/MockReceiverTest.java:1275: warning: [deprecation] poll(long) in Consumer has been deprecated
        testDisallowedConsumerMethod(c -> c.poll(0));
                                           ^
  where K,V are type-variables:
    K extends Object declared in interface Consumer
    V extends Object declared in interface Consumer
8 warnings

155 tests completed, 3 failed

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///opt/bamboo-home/xml-data/build-dir/REACTOR-RKAFKA-AERON/build/reports/tests/test/index.html

* Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':test'.
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:110)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:77)
        at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
        at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
        at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
        at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
        at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
        at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
        at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
        at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
        at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
        at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
        at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.run(EventFiringTaskExecuter.java:51)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:46)
        at org.gradle.execution.taskgraph.LocalTaskInfoExecutor.execute(LocalTaskInfoExecutor.java:42)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:277)
        at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareWorkItemExecutor.execute(DefaultTaskExecutionGraph.java:262)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:135)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:130)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.execute(DefaultTaskPlanExecutor.java:200)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.executeWithWork(DefaultTaskPlanExecutor.java:191)
        at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$ExecutorWorker.run(DefaultTaskPlanExecutor.java:130)
        at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
        at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
        at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: org.gradle.api.GradleException: There were failing tests. See the report at: file:///opt/bamboo-home/xml-data/build-dir/REACTOR-RKAFKA-AERON/build/reports/tests/test/index.html
        at org.gradle.api.tasks.testing.AbstractTestTask.handleTestFailures(AbstractTestTask.java:612)
        at org.gradle.api.tasks.testing.AbstractTestTask.executeTests(AbstractTestTask.java:484)
        at org.gradle.api.tasks.testing.Test.executeTests(Test.java:603)
        at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:46)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
        at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:801)
        at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:768)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:131)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:300)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:292)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:174)
        at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:90)
        at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:120)
        at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:99)
        ... 31 more


* Get more help at https://help.gradle.org

BUILD FAILED in 6m 41s