kirktrue commented on PR #13990:
URL: https://github.com/apache/kafka/pull/13990#issuecomment-1646371022

   @junrao In [the JDK 11 
run](https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-13990/23/tests),
 `DeleteTopicTest.testDeleteTopicWithCleaner()` fails and the subsequent 
integration tests on the same `Executor` fail immediately because of the 
`verifyNoUnexpectedThreads` check:
   
   ```
   org.opentest4j.AssertionFailedError: Found 1 unexpected threads during 
@AfterAll: `Test worker-EventThread` ==> expected: <true> but was: <false>
   ```
   
   `DeleteTopicTest.testDeleteTopicWithCleaner()` fails during test cleanup:
   
   ```
   java.nio.file.NoSuchFileException: 
/tmp/kafka-17102487506151712666/test-0.60ecffe3f71048b49fa8da268bdc7d17-delete/00000000000000000038.snapshot
        at 
java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
        at 
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
        at 
java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
        at 
java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
        at 
java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149)
        at 
java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
        at java.base/java.nio.file.Files.readAttributes(Files.java:1764)
        at 
java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219)
        at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276)
        at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:373)
        at java.base/java.nio.file.Files.walkFileTree(Files.java:2761)
        at java.base/java.nio.file.Files.walkFileTree(Files.java:2797)
        at org.apache.kafka.common.utils.Utils.delete(Utils.java:899)
        at kafka.utils.CoreUtils$.$anonfun$delete$1(CoreUtils.scala:80)
        at kafka.utils.CoreUtils$.$anonfun$delete$1$adapted(CoreUtils.scala:80)
        at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:576)
        at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:574)
        at scala.collection.AbstractIterable.foreach(Iterable.scala:933)
        at kafka.utils.CoreUtils$.delete(CoreUtils.scala:80)
        at 
kafka.utils.TestUtils$.$anonfun$shutdownServers$2(TestUtils.scala:275)
        . . .
   ```
   
   I am still digging into the details, so I'm not sure what the proper "fix" 
is, yet.


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to