Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8, 6.0
    • Component/s: general/test
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      As pointed out by Uwe, something dodgy is going on with unremovable file detection because they seem to cross a suite boundary, as in.

      // trunk
      svn update -r1586300
      cd lucene\core
      ant clean test -Dtests.directory=SimpleFSDirectory
      
         [junit4] Suite: org.apache.lucene.search.spans.TestSpanSearchEquivalence
      ...
         [junit4] ERROR   0.00s J1 | TestSpanSearchEquivalence (suite) <<<
         [junit4]    > Throwable #1: java.io.IOException: Could not remove the following files (in the order of attempts):
         [junit4]    >    C:\Work\lucene-solr-svn\trunk\lucene\build\core\test\J1\.\lucene.util.junitcompat.TestFailOnFieldCacheInsanity$Nested1-8886562EBCD30121-001\index-SimpleFSDirectory-001\_0.fdt
         [junit4]    >    C:\Work\lucene-solr-svn\trunk\lucene\build\core\test\J1\.\lucene.util.junitcompat.TestFailOnFieldCacheInsanity$Nested1-8886562EBCD30121-001\index-SimpleFSDirectory-001\_0_Lucene41_0.doc
         [junit4]    >    C:\Work\lucene-solr-svn\trunk\lucene\build\core\test\J1\.\lucene.util.junitcompat.TestFailOnFieldCacheInsanity$Nested1-8886562EBCD30121-001\index-SimpleFSDirectory-001\_0_Lucene41_0.tim
         [junit4]    >    C:\Work\lucene-solr-svn\trunk\lucene\build\core\test\J1\.\lucene.util.junitcompat.TestFailOnFieldCacheInsanity$Nested1-8886562EBCD30121-001\index-SimpleFSDirectory-001
         [junit4]    >    C:\Work\lucene-solr-svn\trunk\lucene\build\core\test\J1\.\lucene.util.junitcompat.TestFailOnFieldCacheInsanity$Nested1-8886562EBCD30121-001
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([8886562EBCD30121]:0)
         [junit4]    > 	at org.apache.lucene.util.TestUtil.rm(TestUtil.java:118)
         [junit4]    > 	at org.apache.lucene.util.LuceneTestCase$TemporaryFilesCleanupRule.afterAlways(LuceneTestCase.java:2358)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:722)
         [junit4] Completed on J1 in 0.41s, 8 tests, 1 error <<< FAILURES!
      

        Activity

        Hide
        Dawid Weiss added a comment -

        Oh, it's a silly, silly bug. I'll clean up the code as part of this though.

        Show
        Dawid Weiss added a comment - Oh, it's a silly, silly bug. I'll clean up the code as part of this though.
        Hide
        ASF subversion and git services added a comment -

        Commit 1586337 from dweiss@apache.org in branch 'dev/trunk'
        [ https://svn.apache.org/r1586337 ]

        LUCENE-5592: Incorrectly reported uncloseable files.

        Show
        ASF subversion and git services added a comment - Commit 1586337 from dweiss@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1586337 ] LUCENE-5592 : Incorrectly reported uncloseable files.
        Hide
        ASF subversion and git services added a comment -

        Commit 1586338 from dweiss@apache.org in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1586338 ]

        LUCENE-5592: Incorrectly reported uncloseable files.

        Show
        ASF subversion and git services added a comment - Commit 1586338 from dweiss@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1586338 ] LUCENE-5592 : Incorrectly reported uncloseable files.
        Hide
        Uwe Schindler added a comment -

        Close issue after release of 4.8.0

        Show
        Uwe Schindler added a comment - Close issue after release of 4.8.0

          People

          • Assignee:
            Dawid Weiss
            Reporter:
            Dawid Weiss
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development