Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-3440

Test failures on Win10 for recent test changes

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.2.0
    • None
    • None
    • Windows10

    Description

      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

      Mark Payne isnt this something you've addressed before perhaps in another test?

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            joewitt Joe Witt
            joewitt Joe Witt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment