You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Greg Harris (Jira)" <ji...@apache.org> on 2022/12/19 22:52:00 UTC

[jira] [Updated] (KAFKA-14534) Flaky Test TransactionsExpirationTest.testTransactionAfterProducerIdExpires

     [ https://issues.apache.org/jira/browse/KAFKA-14534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Greg Harris updated KAFKA-14534:
--------------------------------
    Description: 
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 java.base@11.0.16.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base@11.0.16.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base@11.0.16.1/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base@11.0.16.1/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.

  was:
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 java.base@11.0.16.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at java.base@11.0.16.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at java.base@11.0.16.1/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.base@11.0.16.1/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.


> Flaky Test TransactionsExpirationTest.testTransactionAfterProducerIdExpires
> ---------------------------------------------------------------------------
>
>                 Key: KAFKA-14534
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14534
>             Project: Kafka
>          Issue Type: Test
>            Reporter: Greg Harris
>            Priority: Major
>              Labels: flaky-test
>
> 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 java.base@11.0.16.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.base@11.0.16.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at java.base@11.0.16.1/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.base@11.0.16.1/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)