Sophie Blee-Goldman created KAFKA-10251:
-------------------------------------------
Summary: Flaky Test
kafka.api.TransactionsBounceTest.testWithGroupMetadata
Key: KAFKA-10251
URL: https://issues.apache.org/jira/browse/KAFKA-10251
Project: Kafka
Issue Type: Bug
Components: core
Reporter: Sophie Blee-Goldman
h3. Stacktrace
org.scalatest.exceptions.TestFailedException: Consumed 0 records before timeout
instead of the expected 200 records at
org.scalatest.Assertions.newAssertionFailedException(Assertions.scala:530) at
org.scalatest.Assertions.newAssertionFailedException$(Assertions.scala:529) at
org.scalatest.Assertions$.newAssertionFailedException(Assertions.scala:1389) at
org.scalatest.Assertions.fail(Assertions.scala:1091) at
org.scalatest.Assertions.fail$(Assertions.scala:1087) at
org.scalatest.Assertions$.fail(Assertions.scala:1389) at
kafka.utils.TestUtils$.pollUntilAtLeastNumRecords(TestUtils.scala:842) at
kafka.api.TransactionsBounceTest.testWithGroupMetadata(TransactionsBounceTest.scala:109)
The logs are pretty much just this on repeat:
{code:java}
[2020-07-08 23:41:04,034] ERROR Error when sending message to topic
output-topic with key: 9955, value: 9955 with error:
(org.apache.kafka.clients.producer.internals.ErrorLoggingCallback:52)
org.apache.kafka.common.KafkaException: Failing batch since transaction was
aborted at
org.apache.kafka.clients.producer.internals.Sender.maybeSendAndPollTransactionalRequest(Sender.java:423)
at org.apache.kafka.clients.producer.internals.Sender.runOnce(Sender.java:313)
at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:240) at
java.lang.Thread.run(Thread.java:748) [2020-07-08 23:41:04,034] ERROR Error
when sending message to topic output-topic with key: 9959, value: 9959 with
error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback:52)
org.apache.kafka.common.KafkaException: Failing batch since transaction was
aborted at
org.apache.kafka.clients.producer.internals.Sender.maybeSendAndPollTransactionalRequest(Sender.java:423)
at org.apache.kafka.clients.producer.internals.Sender.runOnce(Sender.java:313)
at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:240) at
java.lang.Thread.run(Thread.java:748)
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)