jiafu1115 opened a new pull request, #20845: URL: https://github.com/apache/kafka/pull/20845
Found the flaky test on https://github.com/apache/kafka/actions/runs/19152512773/job/54746814581?pr=20842 Core Issue: Class loading time is unpredictable, and 100ms timeout is too short The Error: ``` Gradle Test Run :storage:test > Gradle Test Executor 121 > RemoteLogManagerTest > testCopyQuota(boolean) > "testCopyQuota(boolean).quotaExceeded=false" STARTED org.apache.kafka.server.log.remote.storage.RemoteLogManagerTest.testCopyQuota(boolean)[1] failed, log available in /home/runner/work/kafka/kafka/storage/build/reports/testOutput/org.apache.kafka.server.log.remote.storage.RemoteLogManagerTest.testCopyQuota(boolean)[1].test.stdout Gradle Test Run :storage:test > Gradle Test Executor 121 > RemoteLogManagerTest > testCopyQuota(boolean) > "testCopyQuota(boolean).quotaExceeded=false" FAILED org.opentest4j.AssertionFailedError: execution timed out after 100 ms at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152) at app//org.junit.jupiter.api.AssertTimeoutPreemptively.createAssertionFailure(AssertTimeoutPreemptively.java:132) at app//org.junit.jupiter.api.AssertTimeoutPreemptively.resolveFutureAndHandleException(AssertTimeoutPreemptively.java:116) at app//org.junit.jupiter.api.AssertTimeoutPreemptively.assertTimeoutPreemptively(AssertTimeoutPreemptively.java:82) at app//org.junit.jupiter.api.AssertTimeoutPreemptively.assertTimeoutPreemptively(AssertTimeoutPreemptively.java:65) at app//org.junit.jupiter.api.AssertTimeoutPreemptively.assertTimeoutPreemptively(AssertTimeoutPreemptively.java:47) at app//org.junit.jupiter.api.AssertTimeoutPreemptively.assertTimeoutPreemptively(AssertTimeoutPreemptively.java:43) at app//org.junit.jupiter.api.Assertions.assertTimeoutPreemptively(Assertions.java:3459) at app//org.apache.kafka.server.log.remote.storage.RemoteLogManagerTest.testCopyQuota(RemoteLogManagerTest.java:3425) Caused by: org.junit.jupiter.api.AssertTimeoutPreemptively$ExecutionTimeoutException: Execution timed out in thread junit-timeout-thread-1 at [email protected]/sun.net.www.protocol.file.Handler.parseURL(Handler.java:56) at [email protected]/java.net.URL.<init>(URL.java:764) at [email protected]/java.net.URL.<init>(URL.java:630) at [email protected]/jdk.internal.loader.URLClassPath$FileLoader.getResource(URLClassPath.java:935) at [email protected]/jdk.internal.loader.URLClassPath.getResource(URLClassPath.java:332) at [email protected]/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:688) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
