[ https://issues.apache.org/jira/browse/FLINK-23867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Visser closed FLINK-23867. ---------------------------------- Fix Version/s: (was: 1.16.0) Resolution: Cannot Reproduce > FlinkKafkaInternalProducerITCase.testCommitTransactionAfterClosed fails with > IllegalStateException > -------------------------------------------------------------------------------------------------- > > Key: FLINK-23867 > URL: https://issues.apache.org/jira/browse/FLINK-23867 > Project: Flink > Issue Type: Bug > Components: Connectors / Kafka > Affects Versions: 1.14.0, 1.13.2 > Reporter: Xintong Song > Assignee: Fabian Paul > Priority: Major > Labels: stale-assigned, test-stability > > https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=22465&view=logs&j=72d4811f-9f0d-5fd0-014a-0bc26b72b642&t=c1d93a6a-ba91-515d-3196-2ee8019fbda7&l=6862 > {code} > Aug 18 23:20:14 [ERROR] Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, > Time elapsed: 51.905 s <<< FAILURE! - in > org.apache.flink.streaming.connectors.kafka.FlinkKafkaInternalProducerITCase > Aug 18 23:20:14 [ERROR] > testCommitTransactionAfterClosed(org.apache.flink.streaming.connectors.kafka.FlinkKafkaInternalProducerITCase) > Time elapsed: 7.848 s <<< ERROR! > Aug 18 23:20:14 java.lang.Exception: Unexpected exception, > expected<java.lang.IllegalStateException> but was<java.lang.AssertionError> > Aug 18 23:20:14 at > org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28) > Aug 18 23:20:14 at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298) > Aug 18 23:20:14 at > org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292) > Aug 18 23:20:14 at > java.util.concurrent.FutureTask.run(FutureTask.java:266) > Aug 18 23:20:14 at java.lang.Thread.run(Thread.java:748) > Aug 18 23:20:14 Caused by: java.lang.AssertionError: The message should have > been successfully sent expected null, but > was:<org.apache.kafka.common.KafkaException: Producer is closed forcefully.> > Aug 18 23:20:14 at org.junit.Assert.fail(Assert.java:88) > Aug 18 23:20:14 at org.junit.Assert.failNotNull(Assert.java:755) > Aug 18 23:20:14 at org.junit.Assert.assertNull(Assert.java:737) > Aug 18 23:20:14 at > org.apache.flink.streaming.connectors.kafka.FlinkKafkaInternalProducerITCase.getClosedProducer(FlinkKafkaInternalProducerITCase.java:228) > Aug 18 23:20:14 at > org.apache.flink.streaming.connectors.kafka.FlinkKafkaInternalProducerITCase.testCommitTransactionAfterClosed(FlinkKafkaInternalProducerITCase.java:177) > Aug 18 23:20:14 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) > Aug 18 23:20:14 at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > Aug 18 23:20:14 at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > Aug 18 23:20:14 at java.lang.reflect.Method.invoke(Method.java:498) > Aug 18 23:20:14 at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) > Aug 18 23:20:14 at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > Aug 18 23:20:14 at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) > Aug 18 23:20:14 at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > Aug 18 23:20:14 at > org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)