You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2017/06/17 18:04:26 UTC

[jira] [Closed] (GEODE-2456) Distributed Transaction dunit tests are failing during tearDown

     [ https://issues.apache.org/jira/browse/GEODE-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Baker closed GEODE-2456.
--------------------------------

> Distributed Transaction dunit tests are failing during tearDown
> ---------------------------------------------------------------
>
>                 Key: GEODE-2456
>                 URL: https://issues.apache.org/jira/browse/GEODE-2456
>             Project: Geode
>          Issue Type: Bug
>          Components: tests
>            Reporter: Kirk Lund
>            Assignee: Kirk Lund
>             Fix For: 1.2.0
>
>
> The Distributed Transaction dunit tests are failing during tearDown. It looks like the JUnit tearDown thread and some other async thread are racing to delete diskstore files.
> {noformat}
> Caused by: java.nio.file.NoSuchFileException: ./BACKUPDiskStore-0-0-org.apache.geode.disttx.DistributedTransactionDUnitTest.testPutAllWithTransactions_1.krf
> 	at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
> 	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
> 	at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
> 	at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244)
> 	at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103)
> 	at java.nio.file.Files.delete(Files.java:1126)
> 	at org.apache.geode.internal.FileUtil.delete(FileUtil.java:166)
> 	at org.apache.geode.test.dunit.cache.internal.JUnit4CacheTestCase.deleteBACKUPDiskStoreFile(JUnit4CacheTestCase.java:578)
> 	... 28 more
> {noformat}
> Recommended changes:
> * change from using org.apache.geode.internal.FileUtil to org.apache.commons.io.FileUtils
> * make sure distributed transaction dunit tests aren't leaving orphaned threads running after test completes



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