You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Divij Vaidya (Jira)" <ji...@apache.org> on 2022/09/21 10:01:00 UTC

[jira] [Updated] (KAFKA-14249) Flaky test Tls13SelectorTest. testCloseOldestConnection

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

Divij Vaidya updated KAFKA-14249:
---------------------------------
    Description: 
Execution run: [https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-12590/10/testReport/org.apache.kafka.common.network/Tls13SelectorTest/Build___JDK_17_and_Scala_2_13___testCloseOldestConnection__/] 

Stack trace:
{noformat}
Error Messageorg.opentest4j.AssertionFailedError: The idle connection should have been closed ==> expected: <true> but was: <false>Stacktraceorg.opentest4j.AssertionFailedError: The idle connection should have been closed ==> expected: <true> but was: <false>
	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.AssertTrue.failNotTrue(AssertTrue.java:63)
	at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:210)
	at app//org.apache.kafka.common.network.SelectorTest.testCloseOldestConnection(SelectorTest.java:457)
	at java.base@17.0.4.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base@17.0.4.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base@17.0.4.1/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base@17.0.4.1/java.lang.reflect.Method.invoke(Method.java:568)
	at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727){noformat}

  was:
Execution run: https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-12590/10/testReport/org.apache.kafka.common.network/Tls13SelectorTest/Build___JDK_17_and_Scala_2_13___testCloseOldestConnection__/ 

Stack trace:


{noformat}
[2022-09-20 08:28:32,446] ERROR Failed to close release connections with type org.apache.kafka.common.network.Selector$$Lambda$1330/0x0000000801184590 (org.apache.kafka.common.utils.Utils:1036)
java.lang.RuntimeException: you should fail
	at org.apache.kafka.common.network.SelectorTest$2$1.close(SelectorTest.java:414)
	at org.apache.kafka.common.network.Selector.doClose(Selector.java:956)
	at org.apache.kafka.common.network.Selector.close(Selector.java:940)
	at org.apache.kafka.common.network.Selector.close(Selector.java:886)
	at org.apache.kafka.common.network.Selector.lambda$close$0(Selector.java:368)
	at org.apache.kafka.common.utils.Utils.closeQuietly(Utils.java:1033)
	at org.apache.kafka.common.utils.Utils.closeAllQuietly(Utils.java:1048)
	at org.apache.kafka.common.network.Selector.close(Selector.java:367)
	at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:53)
	at org.junit.jupiter.api.AssertThrows.assertThrows(AssertThrows.java:35)
	at org.junit.jupiter.api.Assertions.assertThrows(Assertions.java:3082)
	at org.apache.kafka.common.network.SelectorTest.testCloseAllChannels(SelectorTest.java:424)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60){noformat}


> Flaky test Tls13SelectorTest. testCloseOldestConnection
> -------------------------------------------------------
>
>                 Key: KAFKA-14249
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14249
>             Project: Kafka
>          Issue Type: Test
>          Components: unit tests
>            Reporter: Divij Vaidya
>            Priority: Minor
>              Labels: flaky-test
>
> Execution run: [https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-12590/10/testReport/org.apache.kafka.common.network/Tls13SelectorTest/Build___JDK_17_and_Scala_2_13___testCloseOldestConnection__/] 
> Stack trace:
> {noformat}
> Error Messageorg.opentest4j.AssertionFailedError: The idle connection should have been closed ==> expected: <true> but was: <false>Stacktraceorg.opentest4j.AssertionFailedError: The idle connection should have been closed ==> expected: <true> but was: <false>
> 	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.AssertTrue.failNotTrue(AssertTrue.java:63)
> 	at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
> 	at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:210)
> 	at app//org.apache.kafka.common.network.SelectorTest.testCloseOldestConnection(SelectorTest.java:457)
> 	at java.base@17.0.4.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.base@17.0.4.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
> 	at java.base@17.0.4.1/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.base@17.0.4.1/java.lang.reflect.Method.invoke(Method.java:568)
> 	at app//org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:727){noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)