Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-33641

JUnit5 fails to delete a directory on AZP for various table-planner tests

    XMLWordPrintableJSON

Details

    Description

      this build https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=54856&view=logs&j=a9db68b9-a7e0-54b6-0f98-010e0aff39e2&t=cdd32e0b-6047-565b-c58f-14054472f1be&l=11289
      fails with

      Nov 24 02:21:53 	Suppressed: java.nio.file.DirectoryNotEmptyException: /tmp/junit1727687356898183357/junit4798298549994985259/1ac07a5866d81240870d5a2982531508
      Nov 24 02:21:53 		at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242)
      Nov 24 02:21:53 		at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
      Nov 24 02:21:53 		at java.nio.file.Files.delete(Files.java:1126)
      Nov 24 02:21:53 		at org.junit.jupiter.engine.extension.TempDirectory$CloseablePath$1.deleteAndContinue(TempDirectory.java:293)
      Nov 24 02:21:53 		at org.junit.jupiter.engine.extension.TempDirectory$CloseablePath$1.postVisitDirectory(TempDirectory.java:288)
      Nov 24 02:21:53 		at org.junit.jupiter.engine.extension.TempDirectory$CloseablePath$1.postVisitDirectory(TempDirectory.java:264)
      Nov 24 02:21:53 		at java.nio.file.Files.walkFileTree(Files.java:2688)
      Nov 24 02:21:53 		at java.nio.file.Files.walkFileTree(Files.java:2742)
      Nov 24 02:21:53 		at org.junit.jupiter.engine.extension.TempDirectory$CloseablePath.deleteAllFilesAndDirectories(TempDirectory.java:264)
      Nov 24 02:21:53 		at org.junit.jupiter.engine.extension.TempDirectory$CloseablePath.close(TempDirectory.java:249)
      Nov 24 02:21:53 		... 92 more
      
      

      not sure however this might be related to recent JUnit4 => JUnit5 upgrade

      Attachments

        Issue Links

          Activity

            People

              jiabao.sun jiabao.sun
              Sergey Nuyanzin Sergey Nuyanzin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: