[ 
https://issues.apache.org/jira/browse/FLINK-40886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18126252#comment-18126252
 ] 

Robin Varghese commented on FLINK-40886:
----------------------------------------

Hello, [~martijnvisser] can I get assigned to this ticket.

> BlobLibraryCacheManagerTest.testApplicationLevelJarSharing fails with 
> FileAlreadyExistsException on the application directory
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-40886
>                 URL: https://issues.apache.org/jira/browse/FLINK-40886
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 2.3.1, 2.4.0
>            Reporter: Martijn Visser
>            Priority: Major
>              Labels: test-stability
>
> https://github.com/apache/flink/actions/runs/36962185529/job/110700140845 
> (master, push 2026-10-02, JDK 17)
> {code}
> [ERROR] 
> org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManagerTest.testApplicationLevelJarSharing[Use
>  system class loader: false] -- Time elapsed: 2.123 s <<< ERROR!
> java.nio.file.FileAlreadyExistsException: 
> /tmp/junit9368139808722016633/junit14002525613126454921/application_7d88d818dde28f23ff723e4d7286aa3c
>         at java.base/java.nio.file.Files.createDirectories(Files.java:753)
>         at 
> org.apache.flink.runtime.blob.BlobUtils.getStorageLocation(BlobUtils.java:295)
>         at 
> org.apache.flink.runtime.blob.PermanentBlobCache.getStorageLocation(PermanentBlobCache.java:515)
>         at 
> org.apache.flink.runtime.blob.TestingBlobHelpers.checkFileCountForApplication(TestingBlobHelpers.java:208)
>         at 
> org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManagerTest.verifyApplicationCleanup(BlobLibraryCacheManagerTest.java:948)
>         at 
> org.apache.flink.runtime.execution.librarycache.BlobLibraryCacheManagerTest.testApplicationLevelJarSharing(BlobLibraryCacheManagerTest.java:817)
> {code}
> The test was added with FLINK-39240. FLINK-17463 had the same exception on 
> the job directory in BlobCacheCleanupTest; its fix in 1.11.0 changed the 
> polling in checkFilesExist, not the final file-count check that fails here. 
> The test passed in the Azure core stage of the same commit: 
> https://dev.azure.com/apache-flink/98463496-1af2-4620-8eab-a2ecc1a2e6fe/_build/results?buildId=79681



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

Reply via email to