[
https://issues.apache.org/jira/browse/NIFI-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16000072#comment-16000072
]
Joseph Percivall commented on NIFI-3814:
----------------------------------------
Ran into this test failure on Win8 as well. It is due to
testRecoverFileThatHasTrailingNULBytesAndTruncation and
testRecoverFileThatHasTrailingNULBytesNoTruncation sharing the same lock
path/file. This causes repeatable issues when running consecutively.
> write ahead ff repo on win10 test failure
> -----------------------------------------
>
> Key: NIFI-3814
> URL: https://issues.apache.org/jira/browse/NIFI-3814
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Environment: Apache Maven 3.3.9
> (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
> Maven home: C:\development\tools\apache-maven-3.3.9
> Java version: 1.8.0_102, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.8.0_102\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
> Reporter: Joseph Witt
> Priority: Minor
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.wali.TestMinimalLockingWriteAheadLog
> Tests run: 12, Failures: 0, Errors: 1, Skipped: 2, Time elapsed: 2.41 sec <<<
> FAILURE! - in org.wali.TestMinimalLockingWriteAheadLog
> testRecoverFileThatHasTrailingNULBytesAndTruncation(org.wali.TestMinimalLockingWriteAheadLog)
> Time elapsed: 0.005 sec <<< ERROR!
> java.nio.channels.OverlappingFileLockException: null
> at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255)
> at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152)
> at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:1063)
> at java.nio.channels.FileChannel.lock(FileChannel.java:1053)
> at
> org.wali.MinimalLockingWriteAheadLog.<init>(MinimalLockingWriteAheadLog.java:187)
> at
> org.wali.MinimalLockingWriteAheadLog.<init>(MinimalLockingWriteAheadLog.java:108)
> at
> org.wali.TestMinimalLockingWriteAheadLog.testRecoverFileThatHasTrailingNULBytesAndTruncation(TestMinimalLockingWriteAheadLog.java:472)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)