Greg Harris created KAFKA-14534:
-----------------------------------
Summary: Flaky Test
TransactionsExpirationTest.testTransactionAfterProducerIdExpires
Key: KAFKA-14534
URL: https://issues.apache.org/jira/browse/KAFKA-14534
Project: Kafka
Issue Type: Test
Reporter: Greg Harris
This test has failed in several recent builds:
https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka/detail/trunk/1447/tests/
org.opentest4j.AssertionFailedError: expected: <0> but was: <1>
https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka/detail/trunk/1443/tests/
org.opentest4j.AssertionFailedError: expected: <0> but was: <1>
https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka/detail/trunk/1440/tests/
org.opentest4j.AssertionFailedError: expected: <0> but was: <1>
https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka/detail/trunk/1439/tests/
org.opentest4j.AssertionFailedError: expected: <0> but was: <1>
https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka/detail/trunk/1439/tests/
org.opentest4j.AssertionFailedError: expected: <0> but was: <1>
https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka/detail/trunk/1436/tests/
org.opentest4j.AssertionFailedError: expected: <0> but was: <1>
The stacktrace is as follows:
{noformat}
org.opentest4j.AssertionFailedError: expected: <0> but was: <1> at
app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at
app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at
app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197) at
app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:166) at
app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:161) at
app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:628) at
app//kafka.api.TransactionsExpirationTest.testTransactionAfterProducerIdExpires(TransactionsExpirationTest.scala:158)
at
[email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) at
[email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
[email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:566)
...{noformat}
This corresponds to the producer ID assertion in the test, and seems to
indicate that the test sometimes does not re-use the producer id.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)