Matthias Pohl created FLINK-26393:
-------------------------------------

             Summary: KafkaITCase.testBrokerFailure fails due to a topic isn't 
cleaned up properly 
                 Key: FLINK-26393
                 URL: https://issues.apache.org/jira/browse/FLINK-26393
             Project: Flink
          Issue Type: Bug
          Components: Connectors / Kafka
    Affects Versions: 1.15.0
            Reporter: Matthias Pohl
             Fix For: 1.15.0


[This 
build|https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=32281&view=logs&j=c5f0071e-1851-543e-9a45-9ac140befc32&t=15a22db7-8faa-5b34-3920-d33c9f0ca23c&l=36306]
 is (not exclusively) failing because of {{KafkaITCase.testBrokerFailure}}:
{code}
Feb 28 08:54:10 [ERROR] 
org.apache.flink.streaming.connectors.kafka.KafkaITCase.testBrokerFailure  Time 
elapsed: 60.196 s  <<< FAILURE!
Feb 28 08:54:10 java.lang.AssertionError: Create test topic : 
brokerFailureTestTopic failed, 
org.apache.kafka.common.errors.TopicExistsException: Topic 
'brokerFailureTestTopic' already exists.
Feb 28 08:54:10         at org.junit.Assert.fail(Assert.java:89)
Feb 28 08:54:10         at 
org.apache.flink.streaming.connectors.kafka.KafkaTestEnvironmentImpl.createTestTopic(KafkaTestEnvironmentImpl.java:208)
Feb 28 08:54:10         at 
org.apache.flink.streaming.connectors.kafka.KafkaTestEnvironment.createTestTopic(KafkaTestEnvironment.java:97)
Feb 28 08:54:10         at 
org.apache.flink.streaming.connectors.kafka.KafkaTestBase.createTestTopic(KafkaTestBase.java:216)
Feb 28 08:54:10         at 
org.apache.flink.streaming.connectors.kafka.KafkaConsumerTestBase.runBrokerFailureTest(KafkaConsumerTestBase.java:1471)
Feb 28 08:54:10         at 
org.apache.flink.streaming.connectors.kafka.KafkaITCase.testBrokerFailure(KafkaITCase.java:112)
Feb 28 08:54:10         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
Feb 28 08:54:10         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Feb 28 08:54:10         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Feb 28 08:54:10         at java.lang.reflect.Method.invoke(Method.java:498)
Feb 28 08:54:10         at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
Feb 28 08:54:10         at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
Feb 28 08:54:10         at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
Feb 28 08:54:10         at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
Feb 28 08:54:10         at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
Feb 28 08:54:10         at 
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
Feb 28 08:54:10         at 
java.util.concurrent.FutureTask.run(FutureTask.java:266)
Feb 28 08:54:10         at java.lang.Thread.run(Thread.java:748)
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to