You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2017/03/31 02:14:41 UTC

[jira] [Commented] (NIFI-3440) Test failure on Win10 for FileSystemRepository/content repo and provenance

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

Joseph Witt commented on NIFI-3440:
-----------------------------------

past the content repo tests.  Now provenace repo test

Tests run: 35, Failures: 1, Errors: 0, Skipped: 2, Time elapsed: 101.748 sec <<< FAILURE! - in org.apache.nifi.provenance.TestPersistentProvenanceRepository
testMergeJournalsEmptyJournal(org.apache.nifi.provenance.TestPersistentProvenanceRepository)  Time elapsed: 0.126 sec  <<< FAILURE!
java.lang.AssertionError: mergeJournals() should not error on empty journal expected:<0> but was:<16>
        at org.junit.Assert.fail(Assert.java:88)
        at org.junit.Assert.failNotEquals(Assert.java:834)
        at org.junit.Assert.assertEquals(Assert.java:645)
        at org.apache.nifi.provenance.TestPersistentProvenanceRepository.testMergeJournalsEmptyJournal(TestPersistentProvenanceRepository.java:1998)


> Test failure on Win10 for FileSystemRepository/content repo and provenance
> --------------------------------------------------------------------------
>
>                 Key: NIFI-3440
>                 URL: https://issues.apache.org/jira/browse/NIFI-3440
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>         Environment: Windows10
>            Reporter: Joseph Witt
>             Fix For: 1.2.0
>
>         Attachments: 0001-NIFI-3440-Added-retry-logic-when-trying-to-delete-ne.patch, 0001-NIFI-3440-Use-File-I-O-API-instead-of-NIO-API-for-de.patch, NIFI-3340_ignore_on_windows.patch, NIFI-3340_ignore_on_windows.patch
>
>
> Running org.apache.nifi.controller.repository.io.TestLimitedInputStream
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec - in org.apache.nifi.controller.repository.io.Test
> LimitedInputStream
> Running org.apache.nifi.controller.repository.TestFileSystemRepository
> Tests run: 31, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 28.698 sec <<< FAILURE! - in org.apache.nifi.controller
> .repository.TestFileSystemRepository
> testReadWithContentArchived(org.apache.nifi.controller.repository.TestFileSystemRepository)  Time elapsed: 0.596 sec  <<
> < ERROR!
> java.nio.file.FileSystemException: C:\Users\nifi\nifi.git\nifi-nar-bundles\nifi-framework-bundle\nifi-framework\nifi-fra
> mework-core\target\content_repository\1\1486264479123-1: The process cannot access the file because it is being used by
> another process.
>         at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
>         at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
>         at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
>         at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
>         at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
>         at java.nio.file.Files.deleteIfExists(Files.java:1165)
>         at org.apache.nifi.controller.repository.TestFileSystemRepository.testReadWithContentArchived(TestFileSystemRepo
> sitory.java:408)
> testReadWithNoContentArchived(org.apache.nifi.controller.repository.TestFileSystemRepository)  Time elapsed: 0.621 sec
> <<< ERROR!
> java.lang.Exception: Unexpected exception, expected<org.apache.nifi.controller.repository.ContentNotFoundException> but
> was<java.nio.file.FileSystemException>
>         at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
>         at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
>         at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
>         at sun.nio.fs.WindowsFileSystemProvider.implDelete(WindowsFileSystemProvider.java:269)
>         at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108)
>         at java.nio.file.Files.deleteIfExists(Files.java:1165)
>         at org.apache.nifi.controller.repository.TestFileSystemRepository.testReadWithNoContentArchived(TestFileSystemRe
> pository.java:429)
> Running org.apache.nifi.controller.repository.TestRingBufferEventRepository
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec - in org.apache.nifi.controller.repository.Tes
> tRingBufferEventRepository
> Running org.apache.nifi.controller.repository.TestStandardProcessSession
> [~markap14] isnt this something you've addressed before perhaps in another test?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)