You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Darrel Schneider (JIRA)" <ji...@apache.org> on 2017/07/17 23:58:00 UTC

[jira] [Commented] (GEODE-3186) CI failure (windows): org.apache.geode.internal.cache.DiskIFJUnitTest.testTwoDiskStores failed with java.lang.RuntimeException: Error deleting file

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

Darrel Schneider commented on GEODE-3186:
-----------------------------------------

This is a common problem on Windows. If a file is still open then attempts to delete the file will fail.
What is hard to tell in this case is when this happened. The failure does not have any line numbers.
I think we need to rerun this one by itself in a debugger to figure out what code is attempting to remove the .if file.


> CI failure (windows): org.apache.geode.internal.cache.DiskIFJUnitTest.testTwoDiskStores failed with java.lang.RuntimeException: Error deleting file
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: GEODE-3186
>                 URL: https://issues.apache.org/jira/browse/GEODE-3186
>             Project: Geode
>          Issue Type: Bug
>          Components: persistence
>            Reporter: Lynn Gallinat
>
> {noformat}
> org.apache.geode.internal.cache.DiskIFJUnitTest > testTwoDiskStores FAILED
>     java.lang.RuntimeException: Error deleting file testingDirectory\testTwoDiskStores1\BACKUPtestTwoDiskStores.if
>         Caused by:
>         java.nio.file.FileSystemException: testingDirectory\testTwoDiskStores1\BACKUPtestTwoDiskStores.if: The process cannot access the file because it is being used by another process.{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)